PS.FI2 needed for SX210IS... - General Discussion and Assistance - CHDK Forum

PS.FI2 needed for SX210IS...

  • 3 Replies
  • 1451 Views
*

Offline BZjoe

  • *
  • 12
PS.FI2 needed for SX210IS...
« on: 09 / December / 2013, 22:45:48 »
Advertisements
http://chdk.wikia.com/wiki/For_Developers/fi2offsets

http://chdk.setepontos.com/index.php/topic,2995.0.html

I'm missing something - I copy the "DISKBOOT.BIN" from the trunk bin ZIP file after a compile without the switches. Then use "fi2encdec.exe" to extract the keys by:

 - placing diskboot.bin in the fi2encdec.exe program folder.
 - change 0x0000315A in my.map value to the value for the sx210is 0x000031F6  (31F6 is PID for sx210is).
 - change in pack.bat "-sys" key value to 'sx210is'.

The thread indicates a PS.FI2 will pop out but I still need to get the keys?

*

Offline srsa_4c

  • ******
  • 3935
Re: PS.FI2 needed for SX210IS...
« Reply #1 on: 10 / December / 2013, 11:24:18 »
Assuming you'd like to build CHDK for yourself, do the following:
create a file named localbuildconf.inc in the root of CHDK source, add
Code: [Select]
OPT_FI2=1to the file.
Then copy platform/fi2.inc.txt to platform/fi2.inc, and fill in the keys for your camera as explained on this page
Code: [Select]
# ixus300_sd4000, sx210
ifeq ($(KEYSYS), d4a)
FI2KEY=
FI2IV =
endif
To find the keys, use a hex editor to open the sx210 firmware dump (PRIMARY.BIN), and navigate to the offsets you see on the above link.
After you have done all this, just compile CHDK again, and you'll get the .FI2 in addition to diskboot.bin.

Btw. the sx210 keyboard fixes are now in the official source.

*

Offline BZjoe

  • *
  • 12
Re: PS.FI2 needed for SX210IS...
« Reply #2 on: 10 / December / 2013, 21:43:32 »
The dump is published and the starting offsets are also but why are the keys never posted so that they can be shared or confirmed?

*

Offline BZjoe

  • *
  • 12
Re: PS.FI2 needed for SX210IS...
« Reply #3 on: 10 / December / 2013, 22:41:59 »
Well - finally got it to work. Downloaded HxD Hex Editor and used it with the PRIMARY.BIN file. Went to the offsets, copied values, edited the fi2.inc file and compiled. No errors :)


 

Related Topics