Author Topic: [REQ]Adding new cameras, applying patches into trunk (with source code prepared)  (Read 51122 times)

Offline GrAnd

  • Developers
  • Hero Member
  • ****
  • Posts: 916
  • [A610, S3IS]
    • CHDK
Re: Adding new cameras into trunk (with source code prepared)
« Reply #15 on: 12 / March / 2008, 17:42:37 »
A550 - integrated into trunk #323.
CHDK Developer.

Offline muttley

  • Rookie
  • *
  • Posts: 47
  • + pilu x tutti!
    • A550 Porting
Re: Adding new cameras into trunk (with source code prepared)
« Reply #16 on: 12 / March / 2008, 18:08:12 »
Great GrAnd!!

you are a flash, thank you!!  :)

Offline image13

  • Jr. Member
  • **
  • Posts: 64
please also import the a530 port
« Reply #17 on: 20 / March / 2008, 00:54:11 »
hi,

would it be possible to also integrate the a530 port into
the subversion trunk? - it is nearly completely working
now (usb remote doesnot seem to work yet, but every-
thing else seems to be ok)

i have put together the sources angainst trunk-334 at

  a530-trunk-334.zip - 0.23MB

most credits go to bondo, ewavr, whoever

a lot of thanks in advance and best wishes - image13

Offline GrAnd

  • Developers
  • Hero Member
  • ****
  • Posts: 916
  • [A610, S3IS]
    • CHDK
Re: Adding new cameras into trunk (with source code prepared)
« Reply #18 on: 20 / March / 2008, 15:36:09 »
A530 - integrated into trunk #335.
CHDK Developer.

Offline whim

  • Guru Member
  • ******
  • Posts: 1957
  • A620/A630/A590-101b/i70-101b/i870-101a/i300
Re: Adding new cameras into trunk (with source code prepared)
« Reply #19 on: 20 / March / 2008, 16:34:58 »
@GrAnd

#335 does not create an A530 CHDK for me, GCC reports a missing file:

E:\CHDK\trunk335\bin\logs\err-a530-100a.txt

arm-elf-gcc: stubs_auto.S: No such file or directory
arm-elf-gcc: no input files
E:\CHDK\gcc\bin\gmake[4]: *** [stubs_auto.o] Error 1
E:\CHDK\gcc\bin\gmake[3]: *** [all-recursive] Error 1
E:\CHDK\gcc\bin\gmake[2]: *** [all-recursive] Error 1
E:\CHDK\gcc\bin\gmake[1]: *** [all-recursive] Error 1
gmake: *** [all-recursive] Error 1


wim

PS This is - of course - from a freshly unpacked,  untouched trunk-r335.zip
« Last Edit: 20 / March / 2008, 16:38:43 by whim »

Offline GrAnd

  • Developers
  • Hero Member
  • ****
  • Posts: 916
  • [A610, S3IS]
    • CHDK
Re: Adding new cameras into trunk (with source code prepared)
« Reply #20 on: 20 / March / 2008, 17:20:45 »
Hm... The section, which is responsible for creation of this file under Windows, was commented out. What's the reason? Decommented.
CHDK Developer.

Offline whim

  • Guru Member
  • ******
  • Posts: 1957
  • A620/A630/A590-101b/i70-101b/i870-101a/i300
Re: Adding new cameras into trunk (with source code prepared)
« Reply #21 on: 20 / March / 2008, 17:53:09 »
@GrAnd

#336 XREF'ed & Tested: is OK now for A530 (the compile, don't have the cam to test binaries)

wim

Offline image13

  • Jr. Member
  • **
  • Posts: 64
Re: Adding new cameras into trunk (with source code prepared)
« Reply #22 on: 20 / March / 2008, 23:22:51 »
hi,

thanks for importing the a530 code and uncommenting that one
part - looks like a left over from the old code.

i just fetched a fresh copy of the trunk via svn from scratch,
compiled and tested it on the a530 and it works fine!

i also found the reason why the usb remote did not work in the
a540 beta 0.5 code (credits go to niederhammer) and now also
usb remote works on the a530

a diff against trunk 336 and some compiled binaries can be
found at

  a530-336-usbremote.zip - 0.21MB

the diff also contains two more defines for include/camera.h
which i think should be correct: it looks like focus override
also works in mf mode and i think the zoom unlock change
(rev 333) was not yet done for the a530 - it would be nice if
someone can submit this little change into trunk as well

best wishes - image13

Offline GrAnd

  • Developers
  • Hero Member
  • ****
  • Posts: 916
  • [A610, S3IS]
    • CHDK
Re: Adding new cameras into trunk (with source code prepared)
« Reply #23 on: 20 / March / 2008, 23:53:07 »
Code: [Select]
#if !defined(CAMERA_a530)
        physw_status[USB_REG] = kbd_new_state[USB_REG] & ~USB_MASK;
#endif

I do not understand why it does affect usb remote function?
CHDK Developer.

CHDK Forum

Re: Adding new cameras into trunk (with source code prepared)
« Reply #23 on: 20 / March / 2008, 23:53:07 »

Offline image13

  • Jr. Member
  • **
  • Posts: 64
Re: Adding new cameras into trunk (with source code prepared)
« Reply #24 on: 21 / March / 2008, 00:01:11 »
hi grand,

me neither (i'm not really deep into the chdk code), but
it definitely does - without this, usb remote does not work
and with it does ... maybe niederhammer (from whom
this code is) can explain it?

best wishes - image13

Offline image13

  • Jr. Member
  • **
  • Posts: 64
Re: Adding new cameras into trunk (with source code prepared)
« Reply #25 on: 21 / March / 2008, 20:32:17 »
hi,

how about adding the current version of the a540
port to the trunk as well - it works completely fine
now as far as i can see ... sources and a diff to the
336 rev of the trunk is at

  a540-336-new.zip - 0.02MB

a lot of thanks in advance and best wishes - image13

p.s.: all the credits for this code go to niederhammer
- i just updated it to the current tree and fixed that
file numbering bug

Offline GrAnd

  • Developers
  • Hero Member
  • ****
  • Posts: 916
  • [A610, S3IS]
    • CHDK
Re: Adding new cameras into trunk (with source code prepared)
« Reply #26 on: 22 / March / 2008, 02:01:56 »
A540 - added to #338.
CHDK Developer.

Offline niederhammer

  • Rookie
  • *
  • Posts: 5
physw_status[USB_REG] = kbd_new_state[USB_REG] & ~USB_MASK;

it seems to me, that this writes back the bits to the hardware  register of the camera, except the usb-bit.

on a530&a540 this confuses the camera.

Offline borisbergman

  • Rookie
  • *
  • Posts: 6
here's a dump of the ixus70_sd1000 firmware 1.01a.

P.S. I would love to port it myself, or at least try. Is there a good point to start with?
« Last Edit: 04 / April / 2008, 20:26:39 by borisbergman »

Offline kennyb03

  • Rookie
  • *
  • Posts: 25
Here you go grand.  I added the 100d sub for the ixus55_sd450.

zSHARE - sd450_100d_trunk.zip

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal