.section .entry// Turn OFF SD Card power// to support autostart LDR R3, =0xC02200BC MOV R2, #0x44 STR R2, [R3]// looks like idle cycle is required for proper shutdown MOV R3, #0x80001: SUB R3, R3, #1 CMP R3, #0 BNE 1b// ordinary startup... MOV SP, #0x1900 MOV R11, #0 B my_restart
I can foretell CHDK will be without built-in games, text viewer, rawmerge, memory dumper etc.I would say it will be very soon.
Well, as a result I now replaced the address to jump to from FFC0 0000 to FFC1 27E0, recompiled, loaded, and..... it WORKS ! I got a reliable cold reboot 10 times out of 10 !
As usual, help came from totally unexpected side After answering in this topic Where are the strings for menus in original fw? I browsed the resulting text fileand searched 'Restart called'. (Jef666 refers to this in the DryOS porting topic)Well, as a result I now replaced the address to jump to from FFC0 0000 to FFC1 27E0, recompiled, loaded, and..... it WORKS ! I got a reliable cold reboot 10 times out of 10 !Gonna have myself a nice beer to celebrate first, then I'm gonna hunt for the addresses in the other cam's binaries.wim