Chdk for SX130 IS ? - page 3 - CHDK Releases - CHDK Forum supplierdeeply

Chdk for SX130 IS ?

  • 1095 Replies
  • 407291 Views
Re: Chdk for SX130 IS ?
« Reply #20 on: 10 / October / 2010, 15:52:34 »
Advertisements
General heads up, S95 binaries and source code are now available. These maybe of some use:

Binaries http://www.zshare.net/download/81368401989e4bbb/

Source http://www.zshare.net/download/81368438de5e3529/

Thanks Waldo

Re: Chdk for SX130 IS ?
« Reply #21 on: 18 / October / 2010, 10:58:49 »
Is the firmware so different as the one from Sx110 ?
I suppose most of the problems have been seen in the thread for sx110 for which a version is available ?

*

Offline reyalp

  • ******
  • 14079
Re: Chdk for SX130 IS ?
« Reply #22 on: 18 / October / 2010, 12:00:45 »
Is the firmware so different as the one from Sx110 ?
I suppose most of the problems have been seen in the thread for sx110 for which a version is available ?
I don't understand what you are asking. Every model has a different firmware. A few have specific features or quirks in common, but this doesn't make much practical difference, and tends to go by release date more than model series.
Don't forget what the H stands for.

Re: Chdk for SX130 IS ?
« Reply #23 on: 19 / October / 2010, 13:47:43 »
As I understand it, and i have almost no idea, the s95 firmware is likely to be more similar in structure to the sx130, however the features contained and used within will obviously be similar to the sx110/120. How you exploit those similarities is currently beyond me.


Re: Chdk for SX130 IS ?
« Reply #24 on: 22 / October / 2010, 13:35:42 »
Right, some progress has been made in implementing the CHDK system. SVN software was used to find the CHKD sourcecode for the s95 and sx110. A new folder was created for sx130 and then some values were 'guessed' using the sx110 as a basis for these. The sx130 fimware was added to the folder and then compiled. This produced the automated list in sub_entry.s with errors. These errors were then worked through and resolved using the dissassembled firmware from the sx110 and s95 as reference. Booting the camera progressed using the original boot code, dancing bit version 4 was used. No additional functionality has been implemented and attempts so far have failed to load.

Any suggestions for further steps to take would be much appreciated, LED addresses have not been found so far.

*

Offline reyalp

  • ******
  • 14079
Re: Chdk for SX130 IS ?
« Reply #25 on: 22 / October / 2010, 16:36:24 »
It's probably dancingbits 5. If you have a diskboot built with the wrong dancingbits, the camera will still try to run it, and crash immediately, so no LEDs will light even if the address is actually correct.

To determine if diskboot is properly encoded, you can verify the dancingbits values by examining the firmware dump. Again, comparison to firmwares with known values should get you there. You could also just try each encoding, although not being sure of an LED address will bring some uncertainty.

LED addresses are likely to be similar to other cameras, or can be found in the firmware dump, by comparison to cameras with known addresses. Note that the address generally won't be found as a literal, but as say 0xC0220000 + <some offset>

There is also some LED finder code floating around the forum. Be warned that randomly pokes unknown MMIO addresses, so may not be entirely safe.

Another option is to use "firm update" or cbasic loading. Firm update needs the FI2 keys (found in the dump, again refer to known cameras). Unlike diskboot, "firm update" will refuse to load a binary that isn't correctly encoded. cbaaisc loader doesn't need any encoding, but may need adjusting for the eventprocs on your camera. See http://chdk.wikia.com/wiki/Canon_Basic/Scripts/Loader
note that SystemEventInit is likely not to exist on your camera, use System.Create instead
Don't forget what the H stands for.

Re: Chdk for SX130 IS ?
« Reply #26 on: 06 / November / 2010, 08:23:22 »
Gentlemen, so is it possible to make a CDHK firmware working for this camera in a foreseeable future? I'm very interested in that question, because now I trying to choose which "third camera" to buy, and availability of chdk is a very important moment for me.

*

Offline reyalp

  • ******
  • 14079
Re: Chdk for SX130 IS ?
« Reply #27 on: 06 / November / 2010, 17:18:08 »
Gentlemen, so is it possible to make a CDHK firmware working for this camera in a foreseeable future? I'm very interested in that question, because now I trying to choose which "third camera" to buy, and availability of chdk is a very important moment for me.
Possible ? sure. Will it happen ? Undetermined.
See http://chdk.wikia.com/wiki/FAQ#Q._My_camera_isn.27t_ported_yet._Is_a_port_planned.C2.A0.3F_When_will_it_be_ready.C2.A0.3F_How_can_I_help.C2.A0.3F
Don't forget what the H stands for.


Re: Chdk for SX130 IS ?
« Reply #28 on: 13 / November / 2010, 20:20:50 »
No further progress at this time. Due to a lack of a clear way forward, anyone with a better insight into programming and DRYOS OS would be much appreciated.

Re: Chdk for SX130 IS ?
« Reply #29 on: 14 / November / 2010, 19:59:29 »
Very little progress:

For firmware 1.01C the d4b key is located at 0x7E3618 and the d4b IV at 0x3EDA1B.
(The actual key/IV pair is the same as for SD4500 and possibly S95)
These together with a PID of 0x3211 encrypt successfully the PS.FI2 .  

Modifying the latest source for the SD4500 ( http://chdk.setepontos.com/index.php?topic=5722.msg56997#msg56997 )
I am currently getting a blank screen but it's progress compared to the update error I was getting before.

Found this: MEMISOSTART=0x166210  at FF810190
« Last Edit: 14 / November / 2010, 20:38:41 by micronanopico »

 

Related Topics