SX110IS - howto start porting

  • 573 Replies
  • 96154 Views
Re: SX110IS - howto start porting
« Reply #10 on: 06 / January / 2009, 12:31:05 »
Advertisements
I'm starting to understand some things.  :)
So thanks very much for all you guys that are helping me.

With the "blink_g7" program (a little modified  ;) ) I can confirm the LED's address:

#define LED_AF      0xC02200C0 // AutoFocus
#define LED_BLUE  0xC02200C4 // printer button
#define LED_RED   0xC02200C8 // next to the play button, rather orange
#define LED_GRN   0xC02200CC // in the same position as above, but in green

I'have just modified the SX110IS section of the wiki with these informations.

*

Offline fe50

  • ******
  • 3038
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: SX110IS - howto start porting
« Reply #11 on: 06 / January / 2009, 12:45:20 »
@nomi_68k

Since the original DryOS CHDK.idc script does not run all sub scripts correctly, i use modified versions of the IDC scripts: ida-chdk-idc-dryos-singlerun.7z instead. The main script CHDK.idc runs all other scripts automatically, manual definition of the ROM_START address is not required anymore (MinEA() used instead).
This way you you can easily run all needed scripts with a single click...

*

Offline PhyrePhoX

  • *****
  • 2253
  • make RAW not WAR
    • PhyreWorX
Re: SX110IS - howto start porting
« Reply #12 on: 07 / January / 2009, 10:08:44 »
fe50 - this does not apply to vxworks i guess?

*

Offline fe50

  • ******
  • 3038
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: SX110IS - howto start porting
« Reply #13 on: 07 / January / 2009, 18:29:01 »


*

Offline PhyrePhoX

  • *****
  • 2253
  • make RAW not WAR
    • PhyreWorX
Re: SX110IS - howto start porting
« Reply #14 on: 07 / January / 2009, 21:28:07 »
this would explain why i couldnt find some things sometimes when i had a dryos firmware loaded in ida. nice.
well, feel free to take a look at the vxworks idc as well ;) i still wonder why you refuse to code for chdk and just do the (also much needed) "dirty work" in the wiki - thanks a million!
yeah, i'm quite happy it snowed in berlin, though in a big city snow tends to get really ugly after a few days, and this is the case now :(

Re: SX110IS - howto start porting
« Reply #15 on: 17 / January / 2009, 10:55:15 »
How can I find the correct value for RESTARTSTART?

I can follow the execution of the program (debugging with leds) along the loader....resetcode\main.c, but it can't reach the startup() into the platform\generic\main.c  :'(

Thanks
« Last Edit: 17 / January / 2009, 13:06:36 by nomi_68k »

Re: SX110IS - howto start porting
« Reply #16 on: 17 / January / 2009, 13:06:12 »
but it can't reach the startup() into the platform\generic\main.c

Sorry for my mistake.
Now I can follow the boot process until the boot() into platform\sx110is\sub\100b\boot.c.

However I still need to understand howto find the correct value for RESTARTSTART

Thanks

*

Offline whoever

  • ****
  • 280
  • IXUS950
Re: SX110IS - howto start porting
« Reply #17 on: 17 / January / 2009, 13:55:08 »
However I still need to understand how to find the correct value for RESTARTSTART
See here http://chdk.setepontos.com/index.php/topic,2361.msg21829.html#msg21829 , if it helps


Re: SX110IS - howto start porting
« Reply #18 on: 20 / January / 2009, 22:35:37 »
Hi, I just got a camera and wish to help you on porting sx110 CHDK.

I'm quite new on IDA and assembly stuff. But I want to try.

Can you please create a project on http://www.assembla.com for sx110 porting such that everybody can share the code for the development ?

Thanks.

Re: SX110IS - howto start porting
« Reply #19 on: 24 / January / 2009, 21:06:37 »
1. Thank you nomi_68k for your work!
2. I updated the Wiki and added the Porting features to it: http://chdk.wikia.com/wiki/SX110IS
3. maybe this: http://chdk.setepontos.com/index.php/topic,2654.0.html or this: http://chdk.setepontos.com/index.php/topic,237.0.html can help you too. I think they are nearly the same.
« Last Edit: 24 / January / 2009, 21:45:07 by Obihoernchen »
Canon PowerShot SX110 IS
CHDK: at Autobuild now
Wiki: SX110IS

 

Related Topics