1
0
Fork 0
forked from len0rd/rockbox

Firmware "hacker" code for the e200r install so the full bootloader rom doesnt need to be written.

Requires a custom version of e200tool which isnt available yet.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14654 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-09-09 11:20:20 +00:00
parent c9f6858de8
commit 9db22efd1f
7 changed files with 142 additions and 3 deletions

View file

@ -45,7 +45,9 @@ INPUT(target/sh/crt0.o)
#define FLASHSIZE 2M
#elif (CONFIG_CPU == PP5022) || (CONFIG_CPU == PP5024)
#define DRAMORIG 0x10000000
#ifndef IRAMORIG
#define IRAMORIG 0x40000000
#endif
#define IRAMSIZE 0x20000
#define FLASHORIG 0x001f0000
#define FLASHSIZE 2M

View file

@ -187,4 +187,7 @@
#define DEFAULT_REC_LEFT_GAIN 23
#define DEFAULT_REC_RIGHT_GAIN 23
#ifdef E200R_INSTALLER
#define IRAMORIG 0x40004000
#endif

View file

@ -51,7 +51,7 @@ start:
#endif
msr cpsr_c, #0xd3 /* enter supervisor mode, disable IRQ */
#ifndef E200R_INSTALLER
/* 1 - Copy the bootloader to IRAM */
/* get the high part of our execute address */
ldr r7, =0xffffff00
@ -79,6 +79,7 @@ pad_skip:
/* 2 - Jump both CPU and COP there */
ldr pc, =start_loc /* jump to the relocated start_loc: */
#endif /* E200R_INSTALLER */
start_loc: