FS#10047 : Clipv2

Reuse some code from Clip (LCD) and a lot of code from AS3525
Add a new CPU type : AS3525v2, identical to AS3525 except it's an ARMv5 (arm926-ejs)
SD code still not working
For an unknown reason LCD doesn't work anymore (to be investigated)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24131 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2009-12-31 19:15:20 +00:00
parent 822abc1236
commit 2392bb4199
21 changed files with 1408 additions and 33 deletions

View file

@ -6,24 +6,29 @@ OUTPUT_FORMAT(elf32-littlearm)
OUTPUT_ARCH(arm)
STARTUP(target/arm/crt0.o)
#define IRAMORIG 0x81000000
#define IRAMSIZE 0x50000
#ifdef SANSA_CLIPV2
#define RAMORIG 0x0 /* DRAM */
#define RAMSIZE (MEM*0x100000)
#else
#define RAMORIG 0x81000000 /* IRAM */
#define RAMSIZE 0x50000
#endif
MEMORY
{
IRAM : ORIGIN = IRAMORIG, LENGTH = IRAMSIZE
RAM : ORIGIN = RAMORIG, LENGTH = RAMSIZE
}
SECTIONS
{
. = IRAMORIG;
. = RAMORIG;
.text : {
*(.init.text)
*(.glue_7)
*(.glue_7t)
*(.text*)
} > IRAM
} > RAM
.data : {
*(.icode)
@ -33,7 +38,7 @@ SECTIONS
*(.ncdata*)
*(.rodata*)
_dataend = . ;
} > IRAM
} > RAM
.stack :
{
@ -43,7 +48,7 @@ SECTIONS
. += 0x2000;
_stackend = .;
stackend = .;
} > IRAM
} > RAM
.bss : {
_edata = .;
@ -52,5 +57,5 @@ SECTIONS
*(COMMON)
*(.ncbss*);
_end = .;
} > IRAM
} > RAM
}