SD1100/ixus 80 porting .... - page 4 - DryOS Development - CHDK Forum

SD1100/ixus 80 porting ....

  • 360 Replies
  • 163810 Views
*

Offline whim

  • ******
  • 2042
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: SD1100/ixus 80 porting ....
« Reply #30 on: 23 / August / 2008, 05:17:10 »
Advertisements
@Nosferatu

Probably nothing wrong. chr uses the Linux toolchain (i think)
if he uses a newer version than 3.4.6 (the standard for win32)
there could be incompatibilities ...

Look at the makefile.inc in the root directory:
(vanilla trunk491)
Quote
------------ snip @ line 152 ------------------
CFLAGS=-fno-inline -Os -fno-strict-aliasing
# flags for gcc v4
# CFLAGS+=-mtune=arm946e-s
CTHUMB=-mthumb
---- snip ----------------------------------
you can see that he must be using a gcc v4, 'cause
that's the exact flag that your compile complained
about. You could try removing it ...


wim
« Last Edit: 23 / August / 2008, 05:36:07 by whim »

*

Offline brake

  • *
  • 23
  • IXUS90IS / SD790IS
Re: SD1100/ixus 80 porting ....
« Reply #31 on: 24 / August / 2008, 01:20:09 »
May sound like a stupid question, but when I compile your source after patching I end up with a diskboot.bin file that's 750kB, where as your .bin file is only 169kB. Did you just write the CORE_FILE to a file?

Also, do you encode your file, or is it just straight from the compiler, maybe I haven't read something/set something up correctly.

edit: Hrm, no matter what I compile actually the resulting .bin file from the chdk/bin folder has a massive chunk of whitespace in it resulting in a file that's 700-900kB depending on the firmware and obviously they're not matching the firmwares that I download from http://chdk.wikia.com/wiki/Downloads. I have no idea what the problem is so i'll probably just download and compile binutils/gcc from source as per the wiki instead of using the binaries downloaded from gnu-arm.

edit2: That fixed it. I feel silly now.
« Last Edit: 24 / August / 2008, 02:47:33 by brake »

Re: SD1100/ixus 80 porting ....
« Reply #32 on: 26 / August / 2008, 16:46:46 »
Bricked on boot just like everyone else. 

SD1100IS
Firmware Ver. GM1.01A

Looks like good progress... keep up the great work!  Wish I could help but I don't think my perl programming skills would be any help.

*

Offline will

  • *
  • 26
  • IXUS 80IS fw 1.01a
Re: SD1100/ixus 80 porting ....
« Reply #33 on: 26 / August / 2008, 18:36:26 »
Wow, sounds like everyone bar chr (thus far) has a GM1.01A firmware, whereas he's got the GM1.00C firmware.

I wonder how different the two firmware versions are?


*

Offline uzzy

  • *
  • 5
  • SD1100 IS
Re: SD1100/ixus 80 porting ....
« Reply #34 on: 27 / August / 2008, 00:32:39 »
Works great on my SD1100 (firmware is GM1.00C).  I have been playing with it all day.  It does lock up the camera when switching from camera mode to play mode, but a quick turn off and turn back on and I'm good to go.  Keep up the good work!

Re: SD1100/ixus 80 porting ....
« Reply #35 on: 28 / August / 2008, 06:48:16 »
camera doesnt even boot up with a diskboot.bin (tryed also DOSKBOOT.BIN) on a locked card. needed to take out the battery, so the camera functioned normaly.

*

Offline fe50

  • ******
  • 3139
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: SD1100/ixus 80 porting ....
« Reply #36 on: 28 / August / 2008, 08:47:55 »
camera doesnt even boot up with a diskboot.bin (tryed also DOSKBOOT.BIN) on a locked card. needed to take out the battery, so the camera functioned normaly.

What's your cameras firmware version ? (see CHDK wikia: FAQ#How can I get the original firmware version number of my camera ?)

-> The CHDK beta version from here is only for fw. 1.00C, if you have an other fw version this CHDK is NOT running  with your camera !

*

Offline chr

  • ***
  • 138
  • IXUS 82 IS
Re: SD1100/ixus 80 porting ....
« Reply #37 on: 28 / August / 2008, 12:08:12 »
Hi ppl!

I spend some time playing with chdk but so far no progress with the porting ... *g* The motion detection scripts works but focus bracketing bricks. Mh.

However, I'm a bit disappointed: I'm the only one with a sd1100 and 100c fw?!?! I bought that cam very late in 2008 and it got an 'older' firmware ??? Grrrrrrr.

@uzzy: So, you are my only beta tester ;) Can you confirm the bugs? Found some more? Would be cool to have a unit test script.

I found some more bugs where I'm not sure if they are bugs in chdk ... I'll open a new thread on this because need reports from ppl with a stable chdk.

@Nosferatu

Probably nothing wrong. chr uses the Linux toolchain (i think)
if he uses a newer version than 3.4.6 (the standard for win32)
there could be incompatibilities ...

Yes, I'm using arm-gcc 4.1 on linux. gcc 3.4 doesn't have -mcpu=arm946e-s which is necessary for some assembly instructions. However, with gcc 3.4 theres a working -march option ... I don't remember which one worked, look in the man page. I guess it was -march=armv5t for gcc 3.4
The cpu in the canon cam is obviously an arm946e-s see Getting CPU configuration from CP15
Also I disabled thumb code because it doesn't work for me.



Re: SD1100/ixus 80 porting ....
« Reply #38 on: 29 / August / 2008, 07:35:52 »
hello!

just wanted to let you know - it works on my IXUS 82 IS, so here you've got another beta tester!
my fw version is also 1.00C

it kinda works, except for the play mode, the camera locks up there.

anyways, keep up the good work - many thanks for working on this port!

Re: SD1100/ixus 80 porting ....
« Reply #39 on: 31 / August / 2008, 09:17:26 »
Hi,

now i get another error while compiling chdk under Linux:

Code: [Select]
lf does not
/root/arm-elf/lib/gcc/arm-elf/4.1.2/../../../../arm-elf/bin/ld: failed to merge target specific data of file /root/arm-elf/lib/gcc/arm-elf/4.1.2/libgcc.a(_fixunssfsi.o)
collect2: ld returned 1 exit status
make[1]: *** [main.elf] Error 1
make[1]: Leaving directory `/root/chdk/trunk/core'
make: *** [all-recursive] Error 1
root@server:~/chdk/trunk#

Regards Nos!

 

Related Topics