I cannot find the 1.00G version anywhere (links are all dead), and if someone can help me with this, this would be great.
@koshy posted a dump for S80 firmware 101b here: https://chdk.setepontos.com/index.php?topic=13450.0sig finder shows many addresses changed, so this will need a new sub port.
This is a little weird, but I intended to attack this one on my own.I know I said before that I wouldn't do this kind of thing. Well, little did I know.If I need help I'll post here.
Unfortunately for you, the original s80 port wasn't done with code_gen, so to use that approach, you'll have to do the code_gen conversion from scratch.
void boot(){ long *canon_data_src = (void*)0xFFB1A3F0; // long *canon_data_dst = (void*)0x1900; // long canon_data_len = 0xefe0; // long *canon_bss_start = (void*)0x108E0; // just after data long canon_bss_len = 0xA27F0 - 0x108E0; // long i; asm volatile ( // loc_FF8100E0 "MRC p15, 0, R0,c1,c0\n" "ORR R0, R0, #0x1000\n" "ORR R0, R0, #4\n" "ORR R0, R0, #1\n" "MCR p15, 0, R0,c1,c0\n" :::"r0"); for(i=0;i<canon_data_len/4;i++) canon_data_dst[i]=canon_data_src[i]; for(i=0;i<canon_bss_len/4;i++) canon_bss_start[i]=0; asm volatile ( // loc_FF81015C "MRC p15, 0, R0,c1,c0\n" "ORR R0, R0, #0x1000\n" "BIC R0, R0, #4\n" "ORR R0, R0, #1\n" "MCR p15, 0, R0,c1,c0\n" "LDR LR, [SP],#4\n" :::"r0"); h_usrInit();}
Do I need to adjust this one? I think I should have all others under controll by now just need to follow through on them.
Quote from: koshy on 09 / June / 2018, 18:05:42Do I need to adjust this one? I think I should have all others under controll by now just need to follow through on them.The canon_data_src, canon_bss_start and canon_bss_len may have changed. Nothing else in the quoted code should have changed.The bss start is the end of RAM data noted in stubs_entry.S, and MEMISOSTART defines the length.
Started by israelt « 1 2 3 » Firmware Dumping
Started by outslider General Chat
Started by dazpope General Help and Assistance on using CHDK stable releases
Started by koshy Firmware Dumping
Started by Canada Goose « 1 2 3 4 » General Help and Assistance on using CHDK stable releases