Quote from: asm1989 on 29 / March / 2016, 09:04:47Here are the build errors with CMDmake rebuild-stubs PLATFORM=sx720hs PLATFORMSUB=100emake fir PLATFORM=sx720hs PLATFORMSUB=100eTake a look at your platform/sx720hs/sub/100e/Makefile . You have left most of it commented out.
Here are the build errors with CMDmake rebuild-stubs PLATFORM=sx720hs PLATFORMSUB=100emake fir PLATFORM=sx720hs PLATFORMSUB=100e
Thanks, copied from gx7 it was commented too there, it should not?
Any guess on what is the best way to debug what is wrong if the led stays on all time?
void __attribute__((naked,noinline)) boot() { //sx720 asm volatile ( // 0xfc02000c" movw r0, #0x4000\n"" movt r0, #0\n"" mov sp, r0\n"" bl sub_fc02007e\n"" ldr r2, =0xc0242010\n"" ldr r1, [r2]\n"" orr r1, r1, #1\n"" str r1, [r2]\n"" ldr r0, =0xfcd3b79c\n" // code copied from ROM" ldr r1, =0x010e1000\n" // to ram" ldr r3, =0x010fce10\n""loc_fc02002a:\n"" cmp r1, r3\n"" itt lo\n"" ldrlo r2, [r0], #4\n"" strlo r2, [r1], #4\n"" blo loc_fc02002a\n" // Install CreateTask patch // "adr r0, patch_CreateTask\n" // Patch data // "ldm r0, {r1,r2}\n" // Get two patch instructions // "ldr r0, =hook_CreateTask\n" // Address to patch (hook_ has thumb bit off) // "stm r0, {r1,r2}\n" // Store patch instructions" ldr r0, =0x010e1000\n"" ldr r1, =0x0001be10\n"" bl sub_fc13d49a\n" // cache stuff, function used in loader" ldr r0, =0xfcd575ac\n" // DATA copied" ldr r1, =0xbfe10800\n" // to RAM" ldr r3, =0xbfe1751d\n""loc_fc020046:\n"" cmp r1, r3\n"" itt lo\n"" ldrlo r2, [r0], #4\n"" strlo r2, [r1], #4\n"" blo loc_fc020046\n"" ldr r0, =0xfcd1088c\n"" ldr r1, =0x00008000\n"" ldr r3, =0x00032f10\n""loc_fc02005a:\n"" cmp r1, r3\n"" itt lo\n"" ldrlo r2, [r0], #4\n"" strlo r2, [r1], #4\n"" blo loc_fc02005a\n"" ldr r3, =0x00032f10\n"" ldr r1, =0x00395364\n" // *"dS9"" mov.w r2, #0\n""loc_fc020070:\n" // some extra in SX720 vs d7x" cmp r3, r1\n"" it lo\n"" strlo r2, [r3], #4\n"" blo loc_fc020070\n"" b.w sub_fc05b1f8\n" //
Thanks Reyalp will try, for now with this code just trying to emulate the normal boot of sx720 it hangs also with first with a blinking led instead of staying green all time
FI2 says firmware update error, without diskboot and card unlocked
while(1) { int i; *(volatile int*)0xd20b0994 = 0x4d0002; for(i=0;i<1000000;i++) { asm volatile( "nop\n" ); } *(volatile int*)0xd20b0994 = 0x4c0003; for(i=0;i<1000000;i++) { asm volatile( "nop\n" ); }
Started by waterwingz « 1 2 ... 54 55 » DryOS Development
Started by Qanthelas « 1 2 ... 27 28 » DryOS Development
Started by reyalp « 1 2 ... 16 17 » DryOS Development
Started by tim dif « 1 2 » CHDK Releases
Started by sekx17 CHDK Releases