supplierdeeply

IXUS 1100 HS ELPH 510 Porting Thread

  • 70 Replies
  • 4052 Views
IXUS 1100 HS ELPH 510 Porting Thread
« on: 06 / February / 2014, 20:03:40 »
Advertisements
Hello, wanted to get this one going.  I've got the camera, and I've already dumped the firmware, and have the source checked out and am ready to get going.  It seems possible this is related to the IXUS 210 ELPH 310, but not yet sure.  The starting point of the firmware of 0xFF0000 was right to get the dump going.

Any pointers people can give me would be great, but I think from what I've seen its hopefully not going to be to horrid.

~Phil

Re: IXUS 1100 HS ELPH 510 Porting Thread
« Reply #1 on: 06 / February / 2014, 20:10:47 »
It's a DIGIC IV camera so should be fairly straightforward.  As you have already noticed,  its almost identical to the ELPH310 - which has already been ported to CHDK.  They were released on the same date and seem to only differ a bit in zoom lens range and LCD size.

Good luck and let us know if you need help.  Starting from the ELPH310 port should greatly simplify things for you.

The CHDK IRC forum can be a good place to checkout too - especially late evenings in the USA.
« Last Edit: 06 / February / 2014, 20:34:10 by waterwingz »

Re: IXUS 1100 HS ELPH 510 Porting Thread
« Reply #2 on: 06 / February / 2014, 20:45:40 »
Excellent,  Right now I'm using an arm cross compiler I have from my Magic Lantern work, but it isn't compiling for me, I'm getting this error: 
Code: [Select]
thumb1_case.o -> libc.a
<< Leaving modules/../lib/libc
gui_fselect.c -> gui_fselect.o
nothumb.c -> nothumb.o
-> fselect.flt
In file .o/fselect.elf:
elf2flt unknown symbol: '__aeabi_uidiv'
elf2flt unknown symbol: ''
make[1]: *** [fselect.flt] Error 5
make: *** [all-recursive] Error 1
Any ideas? Is there a better cross compiler I can get somewhere than the arm-none-eabi one they use there?

I'm on CentOS 6.5 and I also have the devtools 1.1 installed so I have a more recent gcc for the i686 x64 arches locally. 

~Phil

*

Offline philmoz

  • *****
  • 2936
    • Photos
Re: IXUS 1100 HS ELPH 510 Porting Thread
« Reply #3 on: 06 / February / 2014, 20:53:23 »
Excellent,  Right now I'm using an arm cross compiler I have from my Magic Lantern work, but it isn't compiling for me, I'm getting this error: 
Code: [Select]
thumb1_case.o -> libc.a
<< Leaving modules/../lib/libc
gui_fselect.c -> gui_fselect.o
nothumb.c -> nothumb.o
-> fselect.flt
In file .o/fselect.elf:
elf2flt unknown symbol: '__aeabi_uidiv'
elf2flt unknown symbol: ''
make[1]: *** [fselect.flt] Error 5
make: *** [all-recursive] Error 1
Any ideas? Is there a better cross compiler I can get somewhere than the arm-none-eabi one they use there?

I'm on CentOS 6.5 and I also have the devtools 1.1 installed so I have a more recent gcc for the i686 x64 arches locally. 

~Phil

ML uses arm-none-eabi-gcc. CHDK requires arm-elf-gcc.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)


Re: IXUS 1100 HS ELPH 510 Porting Thread
« Reply #4 on: 06 / February / 2014, 20:57:51 »
Phil,

Thanks, I'm trying to build my own arm toolchain then.  I'll give that a try.

~Phil

Re: IXUS 1100 HS ELPH 510 Porting Thread
« Reply #5 on: 06 / February / 2014, 21:06:27 »
Thanks, I'm trying to build my own arm toolchain then.  I'll give that a try.
FWIW,  here's a link to the toolchain that is (or at least was) used for the CHDK autobuild.  Its my "daily driver" for every CHDK build I do on Fedora ( every since F5 or something):  https://app.box.com/s/2bs0i77srru9d68cy6j5

Re: IXUS 1100 HS ELPH 510 Porting Thread
« Reply #6 on: 06 / February / 2014, 21:16:52 »
Is that 32 or 64 bit? I don't have a 32 bit OS installed anywhere and don't really want to build a VM :P

EDIT:  besides I've got binutils compiled and am working on gcc now.  I found out that gcc 4.7 obsoleted arm-elf and 4.8 obsoleted it so I had to go back and grab gcc 4.6.4 and am building it now.

~Phil

Re: IXUS 1100 HS ELPH 510 Porting Thread
« Reply #7 on: 06 / February / 2014, 21:31:48 »
Is that 32 or 64 bit? I don't have a 32 bit OS installed anywhere and don't really want to build a VM :P
Runs fine "as is" in my 64 bit Fedora machine.

Quote
EDIT:  besides I've got binutils compiled and am working on gcc now.  I found out that gcc 4.7 obsoleted arm-elf and 4.8 obsoleted it so I had to go back and grab gcc 4.6.4 and am building it now.
Hey - it was just an offer to help save you some time.  The stuff in the package is 4.4.3.   Works well.  But feel free to brew up whatever works for you.
« Last Edit: 06 / February / 2014, 21:33:49 by waterwingz »


Re: IXUS 1100 HS ELPH 510 Porting Thread
« Reply #8 on: 06 / February / 2014, 22:19:35 »
I may go that route, the damn gcc won't compile now, sigh.  You'd think it would be easier. 

~Phil

Re: IXUS 1100 HS ELPH 510 Porting Thread
« Reply #9 on: 06 / February / 2014, 23:00:51 »
You'd think it would be easier. 
I seem to recall somebody's sig mentioning what the "H" is for .....

and "it's only free if your time has no value" ...
« Last Edit: 06 / February / 2014, 23:02:22 by waterwingz »

 

Related Topics