diff options
| author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-07-17 14:30:42 +0000 |
|---|---|---|
| committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-07-17 14:30:42 +0000 |
| commit | cf9935d6362dd52e4b2f33dd19fff0a0860814d7 (patch) | |
| tree | 1530a9450d78768077798bd756fbfa67ea1efb12 /firmware | |
| parent | 1dc0c46d930d8e59902e9b3ce92aab21a5311d78 (diff) | |
| download | rockbox-cf9935d6362dd52e4b2f33dd19fff0a0860814d7.zip rockbox-cf9935d6362dd52e4b2f33dd19fff0a0860814d7.tar.gz rockbox-cf9935d6362dd52e4b2f33dd19fff0a0860814d7.tar.bz2 rockbox-cf9935d6362dd52e4b2f33dd19fff0a0860814d7.tar.xz | |
Onda VX747: add dual-boot capability + make it possible to permanently 'stick' Rockbox to your DAP
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21919 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
| -rw-r--r-- | firmware/export/config-ondavx747.h | 5 | ||||
| -rw-r--r-- | firmware/target/mips/ingenic_jz47xx/boot.lds | 2 | ||||
| -rw-r--r-- | firmware/target/mips/ingenic_jz47xx/crt0.S | 6 |
3 files changed, 9 insertions, 4 deletions
diff --git a/firmware/export/config-ondavx747.h b/firmware/export/config-ondavx747.h index 22108ff..1d9a7a8 100644 --- a/firmware/export/config-ondavx747.h +++ b/firmware/export/config-ondavx747.h @@ -81,8 +81,13 @@ /* LCD dimensions */ #define CONFIG_LCD LCD_ONDAVX747 +#ifdef BOOTLOADER /* OF requires landscape */ +#define LCD_WIDTH 400 +#define LCD_HEIGHT 240 +#else #define LCD_WIDTH 240 #define LCD_HEIGHT 400 +#endif #define LCD_DEPTH 16 /* 16bit colours */ #define LCD_PIXELFORMAT RGB565 /* rgb565 */ diff --git a/firmware/target/mips/ingenic_jz47xx/boot.lds b/firmware/target/mips/ingenic_jz47xx/boot.lds index fb30fa2..15d3e3d 100644 --- a/firmware/target/mips/ingenic_jz47xx/boot.lds +++ b/firmware/target/mips/ingenic_jz47xx/boot.lds @@ -8,7 +8,7 @@ STARTUP(target/mips/ingenic_jz47xx/crt0.o) #define DRAMSIZE ((MEMORYSIZE-4) * 0x100000) -#define DRAMORIG 0x80404000 +#define DRAMORIG 0x80E04000 #define IRAMORIG 0x80000000 #define IRAMSIZE 16K diff --git a/firmware/target/mips/ingenic_jz47xx/crt0.S b/firmware/target/mips/ingenic_jz47xx/crt0.S index 111244b..7035c5a 100644 --- a/firmware/target/mips/ingenic_jz47xx/crt0.S +++ b/firmware/target/mips/ingenic_jz47xx/crt0.S @@ -50,12 +50,12 @@ .set noat #ifdef BOOTLOADER - /* These will get filled in scramble */ - .word 0 /* Unknown */ + /* These will get filled in by scramble */ + .word 0 /* Empty */ .word 0 /* Filesize */ /* Relocate bootloader */ - la t0, (_loadaddress-0x400000) + la t0, (_loadaddress-0xE00000) la t1, _loadaddress la t2, _bootend _relocate_loop: |