Welcome to the Rockbox Technical Forums!
*puts nose in big book*
And after re-reading some docs on Daniel's site, I found out that v1 e200 players used the SD interface for the (primary) flash. So well I'll invest more time now on the SD interface as it seems to be the most promising avenue at the moment.
funman: almost everything in your C-version seems to be alright except that the return instruction from _start that seems to compile as a BX instruction, which may be wrong since both our crt0.S and stage2.c are ARM code... I'll have a look back at it tomorrow.
STM.. SP!,...,LRLDM.. SP!,...,PC
So that means ~40 kB (plus the padding of the firmware block, less the button check and the decompressing function), quite enough for now
cpu: arm920tmach: at91rm92mem_bank: map=M, type=RW, addr=0x00000000, size=0x00050000, file=./fw.binmem_bank: map=M, type=R, addr=0x00100000, size=0x00010000mem_bank: map=M, type=RW, addr=0xc0000000, size=0x00200000mem_bank: map=M, type=RW, addr=0x20000000, size=0x000f0000mem_bank: map=M, type=RW, addr=0xc0200000, size=0x00500000mem_bank: map=M, type=RW, addr=0xc0700000, size=0x01900000mem_bank: map=I, type=RW, addr=0xfffa0000, size=0x00060000load_addr:base=0x20000000, mask=0xFFFF
int _start(void) { asm volatile( "mov r0, #0" ); asm volatile( "bx r0" );loop: goto loop; /* remove the asm statements to put skyeye in an infinite loop */ return 0;}
Page created in 0.043 seconds with 21 queries.