Added theSX40 1.00Ffull 16MB dump (dumped with cBasic udumper) provided by ERR99 from this forum post to the box.net/chdk repository.
Okay, initial boot of signed PS2.FI (with d4c key) works. Also starting a non encoded diskboot.bin via Canonbasic works. But until now i was not able to get the automatic diskboot.bin working, camera does not startup up.I think canon has again changed the dancingbit. I found this code sequence at the usual position in the romdump: { 7,1,5,3,0,6,4,2 } But also with this dancingbits coding, it does not startup. Maybe someone else can verify if i extracted here the correct dancing bits code.
Took a quick look and your dancing bits values look OK (I assume you updated dancingbits.c and changed your NEED_ENCODED_DISKBOOT value).
What format is your SD card - the R47 cameras can boot from exFat FAT32 formatted cards up to 32GB in size; but you have to put the 'BOOTDISK' string at offset 0x1E0 instead of 0x40 in the boot sector. The R49 code looks to be the same.
Quote from: ERR99 on 19 / October / 2011, 19:01:09Okay, initial boot of signed PS2.FI (with d4c key) works. Also starting a non encoded diskboot.bin via Canonbasic works. But until now i was not able to get the automatic diskboot.bin working, camera does not startup up.I think canon has again changed the dancingbit. I found this code sequence at the usual position in the romdump: { 7,1,5,3,0,6,4,2 } But also with this dancingbits coding, it does not startup. Maybe someone else can verify if i extracted here the correct dancing bits code.Yor're right, they're located @0xFF5B5344.The fi2 keys are d4c, @FF61A4FC and @FFFF3B48
Good news, diskboot.bin is executed! I checked this with led blinking testcode at the end of the boot() function. But anyway, if i jump here back to the original firmware, the camera freezes or shutsdown.If i start the same build via PS2.FIR, jump to original firmware works fine, camera is starting up.Currently i dont know what could be the different between this two boot/startup-process, and how i have to modify that the diskboot.bin, so that this build does not crash.
Started by ERR99 Firmware Dumping
Started by samdgt « 1 2 » RAW Shooting and Processing
Started by Thiws87 General Help and Assistance on using CHDK stable releases
Started by radioman193 General Help and Assistance on using CHDK stable releases