IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread - page 50 - General Discussion and Assistance - CHDK Forum supplierdeeply

IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread

  • 678 Replies
  • 217034 Views
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #490 on: 20 / April / 2010, 02:29:20 »
Advertisements
Holding power will work on the SD780 as mentioned by fe50

Thank you fe50 and HarpoMa are correct.  I eventually bought the SD780 because of the helpful feedback you provided.  Noticed when I used an empty 2GB card, space available shows 963 MB.  Is this an error, or is the 1 GB being utilized for something else?

Thanks

*

Offline fe50

  • ******
  • 3136
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #491 on: 20 / April / 2010, 08:35:17 »
Noticed when I used an empty 2GB card, space available shows 963 MB.  Is this an error, or is the 1 GB being utilized for something else?
CHDK only uses less than 2MB...is the card partitioned, e.g on a Mac ?
You can format the card in the camera, then copy the CHDK files...

Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #492 on: 20 / April / 2010, 11:32:37 »
If a MAC is involved then it likely what happened to me....  You have a trash can on the SD card taking up the missing space.  Do as fe50 says and you will know....
Canon Models - SD300, SD780, & SX210

Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #493 on: 22 / April / 2010, 18:20:42 »
Hi all,

I'm trying to compile the latest svn "trunk" chdk on OSX for the IXUS100 for a special near space ballooning project but I'm having some troubles, make you can help me. The image for the IXUS100 fails to compile with the following errors. Others compile fine. Here:

[...]
gui.c -> gui.o
-> main.elf
[...]
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: Warning: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_fixunssfsi.o) does not support interworking, whereas main.elf does
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_divsi3.o)(__divsi3): warning: interworking not enabled.
 first occurrence: ../platform/ixus100_sd780/libplatform.a(main.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_addsubdf3.o)(__floatsidf): warning: interworking not enabled.
 first occurrence: ../platform/ixus100_sd780/libplatform.a(wrappers.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_muldivdf3.o)(__divdf3): warning: interworking not enabled.
 first occurrence: ../platform/ixus100_sd780/libplatform.a(wrappers.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_muldivdf3.o)(__muldf3): warning: interworking not enabled.
 first occurrence: ../platform/ixus100_sd780/libplatform.a(wrappers.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_fixdfsi.o)(__fixdfsi): warning: interworking not enabled.
 first occurrence: ../platform/ixus100_sd780/libplatform.a(wrappers.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_udivsi3.o)(__udivsi3): warning: interworking not enabled.
 first occurrence: ../platform/ixus100_sd780/libplatform.a(wrappers.o): arm call to thumb
../platform/ixus100_sd780/libplatform.a(kbd.o): In function `save_rom_log':
kbd.c:(.text+0x24): undefined reference to `no symbol'
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_addsubsf3.o)(__floatsisf): warning: interworking not enabled.
 first occurrence: ../platform/ixus100_sd780/libplatform.a(shooting.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_muldivsf3.o)(__mulsf3): warning: interworking not enabled.
 first occurrence: ../platform/ixus100_sd780/libplatform.a(shooting.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_cmpsf2.o)(__gtsf2): warning: interworking not enabled.
 first occurrence: ../platform/ixus100_sd780/libplatform.a(shooting.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_muldivsf3.o)(__divsf3): warning: interworking not enabled.
 first occurrence: ../platform/ixus100_sd780/libplatform.a(shooting.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_addsubdf3.o)(__extendsfdf2): warning: interworking not enabled.
 first occurrence: ../platform/ixus100_sd780/libplatform.a(shooting.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_truncdfsf2.o)(__truncdfsf2): warning: interworking not enabled.
 first occurrence: ../platform/ixus100_sd780/libplatform.a(shooting.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_addsubdf3.o)(__adddf3): warning: interworking not enabled.
 first occurrence: ../platform/ixus100_sd780/libplatform.a(shooting.o): arm call to thumb
/opt/local/lib/gcc/arm-elf/4.3.2/../../../../arm-elf/bin/ld: /opt/local/lib/gcc/arm-elf/4.3.2/thumb/libgcc.a(_fixsfsi.o)(__fixsfsi): warning: interworking not enabled.
 first occurrence: ../platform/ixus100_sd780/libplatform.a(shooting.o): arm call to thumb
../platform/ixus100_sd780/sub/100c/libplatformsub.a(capt_seq.o): In function `loc_FF899D30':
capt_seq.c:(.text+0x718): undefined reference to `no symbol'
../platform/ixus100_sd780/sub/100c/libplatformsub.a(capt_seq.o): In function `loc_FF899E10':
capt_seq.c:(.text+0x7d8): undefined reference to `no symbol'
../platform/ixus100_sd780/sub/100c/libplatformsub.a(capt_seq.o): In function `loc_FF8976E8':
capt_seq.c:(.text+0xd4c): undefined reference to `no symbol'
../platform/ixus100_sd780/sub/100c/libplatformsub.a(capt_seq.o): In function `loc_FF897740':
capt_seq.c:(.text+0xd78): undefined reference to `no symbol'
../platform/ixus100_sd780/sub/100c/libplatformsub.a(capt_seq.o):capt_seq.c:(.text+0xd9c): more undefined references to `no symbol' follow
collect2: ld returned 1 exit status
make[1]: *** [main.elf] Error 1
make: *** [all-recursive] Error 1
root@mbpcelso:trunk(r885 *) #

I using the right tools, gcc-mp-4.3 and arm-elf-gcc-4.3.2 compiled from macports as suggested here http://chdk.wikia.com/wiki/Compiling_CHDK_under_Mac_OS_X

Also, I searched and searched for an answer with no luck.

Also, do you think that these patches to add mode dial support http://www.zenoshrdlu.com/kapstuff/zchdk.html could be applied to the IXUS100 or is there a h/w limitation in the camera that you're aware?

Many thanks in advance for any help.


*

Offline reyalp

  • ******
  • 13505
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #494 on: 22 / April / 2010, 18:28:09 »
Your toolchain is not built correctly.

Mode override is in the trunk, I suggest using that.
Don't forget what the H stands for.

Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #495 on: 22 / April / 2010, 18:48:03 »
@celso - I have tried to build on the Mac and have had no real success to date.  I have had a correct tool chain and found that even when correct it would lead to a faulty binary.  I strongly suggest you not use the Mac as a build platform.

Harpo
Canon Models - SD300, SD780, & SX210

Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #496 on: 22 / April / 2010, 18:54:35 »
@HarpoMa @reyalp Thanks! I'll try it with a Linux server later.

With the current build found in the official repository, is it possible somehow to change from photo to video mode in a script and vice-versa? I'm still scrapping through all the docs but it isn't clear for me.

*

Offline reyalp

  • ******
  • 13505
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #497 on: 23 / April / 2010, 00:22:36 »
@HarpoMa @reyalp Thanks! I'll try it with a Linux server later.

With the current build found in the official repository, is it possible somehow to change from photo to video mode in a script and vice-versa? I'm still scrapping through all the docs but it isn't clear for me.
This is now a standard feature, so it should be. See http://chdk.wikia.com/wiki/CHDK_firmware_usage/MoreBest#set_capture_mode.28modenum.29 and http://chdk.wikia.com/wiki/LUA/Scripts:Standard/Lualib/Capmode
Don't forget what the H stands for.


Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #498 on: 24 / April / 2010, 21:53:36 »
@reyalp @all

Thanks all for the help. A few hours later banging my head with the sd100 valid modes and propcases dumps I managed to code a lua script with everything I need, including switching from photo mode to video mode and overriding some values.

The only thing left is turning the lcd display off to save power but I don't it's possible while the script is running, is it?

tks

*

Offline reyalp

  • ******
  • 13505
Re: IXUS 100 IS (Europe) / PowerShot SD780 IS - Porting Thread
« Reply #499 on: 24 / April / 2010, 23:46:15 »
The only thing left is turning the lcd display off to save power but I don't it's possible while the script is running, is it?
On most cameras, you can do this by pressing the DISP button between shots (from script, if you want).

You can also turn the backlight off in CHDK (if implemented in the port), but this doesn't actually save much power. Same goes for using the AV plug to turn the display off.  The ccd+ live view + display hardware seem to be what draws the power.
Don't forget what the H stands for.

 

Related Topics