the sx20 porting thread

  • 1279 Replies
  • 178388 Views
  • Publish
    Re: the sx20 porting thread
    « Reply #270 on: 27 / December / 2009, 16:18:20 »
    Advertisements
    I have SX20 firmware GM1.02B 
    Has anyone started working on a port to this version?

    Don

  • Publish
    Re: the sx20 porting thread
    « Reply #271 on: 27 / December / 2009, 18:41:30 »
    According to usa.canon.com: No firmware updates are available for this product.
    Guess this means there's only one firmware version.

    *

    Offline fe50

    • ******
    • 3034
    • IXUS50 & 860, SX10 Star WARs-Star RAWs
      • fe50
  • Publish
    Re: the sx20 porting thread
    « Reply #272 on: 27 / December / 2009, 19:05:34 »
    According to usa.canon.com: No firmware updates are available for this product.
    Guess this means there's only one firmware version.
    No, that's wrong.
    Canon very rarely releases fw updates.
    For many models there are lots of different fw versions out there, but not a Canon fw update; for the SX10 there are at least 5 known fw versions out there...

    *

    Offline neszt

    • ***
    • 174
  • Publish
    Re: the sx20 porting thread
    « Reply #273 on: 29 / December / 2009, 13:24:03 »
    For those with newer/other firmware version that 1.00F:

    The very first thing we need is an error free firmware dump.

    How to dump the firmware? It is not too hard. I was able to dump the firmware (1.00F) from my SX20, read this topic to follow my way: http://chdk.setepontos.com/index.php/topic,4188.0.html

    Having a correct dump i can help much in porting if someone want to start. (But i'am sure, reading this topic is a step-by-step instruction to avoid the stuck, and make the firmware for newer versions)


  • Publish
    super fine option in SX20
    « Reply #274 on: 31 / December / 2009, 17:49:02 »
    Sorry for reposting my question, but I think it got lost in the other posts.

    What I'm looking for is the ability to readd the lost super fine option to SX20.
    I saw that something similar was done in the CHDK of SX200
        http://chdk.setepontos.com/index.php/topic,3994.msg40880.html#msg40880
    It would be great if this menu option be introduced to the SX20 CHDK as well.

    Thanks for all your hard work,



  • Publish
    Re: the sx20 porting thread
    « Reply #275 on: 31 / December / 2009, 20:38:22 »
    Hello,

    I wanted to compile the latest version of SX20 code on WinXp. To do so, I downloaded a snapshot of the latest code (2e395a6f4ace828eddc6b9ce356e9886b668e6f6), configured the latest version of CHDK (2.56), pointed to the trunk containing the SX20 code and tried to compile it.
    Things seem to be working well, but I got the following compilation error:

    loslib.c: In function 'os_stat':
    loslib.c:298: error: 'struct stat' has no member named 'st_dev'
    loslib.c:300: error: 'struct stat' has no member named 'st_mode'
    loslib.c:309: error: 'struct stat' has no member named 'st_atime'
    loslib.c:331: error: 'struct stat' has no member named 'st_blksize'
    loslib.c:332: error: 'struct stat' has no member named 'st_blocks'
    D:\chdk\gcc4\bin\gmake.exe[2]: *** [loslib.o] Error 1
    D:\chdk\gcc4\bin\gmake.exe[1]: *** [all-recursive] Error 1
    gmake: *** [all-recursive] Error 1

    It seems that in loslib.c, the include of sys/stat.h isn't reached due to HOST_LUA not being defined. In any case, had it been defined, the definitions made at camera.h (    #define CAM_DRYOS                   1) would have made this fields unavailable.
    Where did I go wrong?

    Many thanks

    *

    Offline neszt

    • ***
    • 174
  • Publish
    Re: the sx20 porting thread
    « Reply #276 on: 01 / January / 2010, 08:32:20 »
    Sorry for reposting my question, but I think it got lost in the other posts.

    What I'm looking for is the ability to readd the lost super fine option to SX20.
    I saw that something similar was done in the CHDK of SX200
        http://chdk.setepontos.com/index.php/topic,3994.msg40880.html#msg40880
    It would be great if this menu option be introduced to the SX20 CHDK as well.

    Thanks for all your hard work,
    Thank you for linking that post. I'll check if CAM_QUALITY_OVERRIDE can be used for SX20.

    *

    Offline neszt

    • ***
    • 174
  • Publish
    Re: the sx20 porting thread
    « Reply #277 on: 01 / January / 2010, 08:37:42 »
    Hello,

    I wanted to compile the latest version of SX20 code on WinXp. To do so, I downloaded a snapshot of the latest code (2e395a6f4ace828eddc6b9ce356e9886b668e6f6), configured the latest version of CHDK (2.56), pointed to the trunk containing the SX20 code and tried to compile it.
    Things seem to be working well, but I got the following compilation error:

    loslib.c: In function 'os_stat':
    loslib.c:298: error: 'struct stat' has no member named 'st_dev'
    loslib.c:300: error: 'struct stat' has no member named 'st_mode'
    loslib.c:309: error: 'struct stat' has no member named 'st_atime'
    loslib.c:331: error: 'struct stat' has no member named 'st_blksize'
    loslib.c:332: error: 'struct stat' has no member named 'st_blocks'
    D:\chdk\gcc4\bin\gmake.exe[2]: *** [loslib.o] Error 1
    D:\chdk\gcc4\bin\gmake.exe[1]: *** [all-recursive] Error 1
    gmake: *** [all-recursive] Error 1

    It seems that in loslib.c, the include of sys/stat.h isn't reached due to HOST_LUA not being defined. In any case, had it been defined, the definitions made at camera.h (    #define CAM_DRYOS                   1) would have made this fields unavailable.
    Where did I go wrong?

    Many thanks
    Short answer is, switch off the OPT_LUA_OSLIB in the compile options.

    Long answer keyword is CAM_DRYOS_2_3_R39. The stat function seems to changed in deep, so there are parts of CHDK needs to modify correspondingly to work as expected.


    *

    Offline neszt

    • ***
    • 174
  • Publish
    Re: the sx20 porting thread
    « Reply #278 on: 01 / January / 2010, 10:31:58 »
    When taking a photo in portrait format the picture is saved upside down, when holding the camera in one of the two possible ways (when the side with the shutter is on the bottom). Otherwise the picture is saved correctly. This doesn't happen without CHDK (SD card unlocked).
    Huhh, finally i understand, and i can reproduce. :) This problem could be CHDK related not just especially SX20 port. Would be good to know if can be reproduce on other cameras, as I expected.
    Quote
    The OSD is not displayed correctly in all positions of the swivel screen. When it is just swung out, but not rotated, only a small part of the OSD is displayed mirrored. I've attached some pictures to show this.
    The same, CHDK related problem, as someone told already. I'am sure this happens on all flip LCD cameras (S1IS, S2IS, S3IS, S5IS, SX10, SX20)
    Quote
    Yes, I mean the x/y values. Here's the link: http://chdk.setepontos.com/index.php
    Ok.

    Now I try to concentrate only for SX20 porting, but later on probably i'll check the CHDK related problems also.

    *

    Offline neszt

    • ***
    • 174
  • Publish
    Re: the sx20 porting thread
    « Reply #279 on: 01 / January / 2010, 11:03:20 »
    SX20 1.00F beta firmware update.

    http://chdk.neszt.hu/bin (For testers)
    http://chdk.neszt.hu/git (For sourcecode maintainers)

    - FIX * Compiling fixes according to lastest SVN revision (866)
    - FIX * RAW x,y coords fixed
    - NEW * Image quality can be override (the new superfine option now stores ~75% bigger files)
    « Last Edit: 01 / January / 2010, 11:04:59 by neszt »

     

    Related Topics