diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-08-26 21:48:49 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-08-26 21:48:49 +0000 |
commit | 62c4a2838eea24dc41a65e4fc567e386f07c32e4 (patch) | |
tree | 47bd1e837c3f3da5e9cd4156f2fff98526e5b90a /firmware/target/mips/ingenic_jz47xx/boot.lds | |
parent | 753350154ea04c8369225b9c1dc1840dc6fcd1d4 (diff) | |
download | rockbox-62c4a2838eea24dc41a65e4fc567e386f07c32e4.tar.gz rockbox-62c4a2838eea24dc41a65e4fc567e386f07c32e4.zip |
Onda VX747:
* Overall cleanup (still needs work)
* Add preliminary USB support
* Add power off support
* Add preliminary MMU handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18348 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/boot.lds')
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/boot.lds | 48 |
1 files changed, 36 insertions, 12 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/boot.lds b/firmware/target/mips/ingenic_jz47xx/boot.lds index e3ff0c0cd7..0ea8877714 100644 --- a/firmware/target/mips/ingenic_jz47xx/boot.lds +++ b/firmware/target/mips/ingenic_jz47xx/boot.lds @@ -31,6 +31,10 @@ SECTIONS *(.glue_7); *(.glue_7t); *(.rel.dyn); + } > DRAM + + .vectors : + { _vectorsstart = .; KEEP(*(.vectors)) *(.vectors); @@ -69,18 +73,6 @@ SECTIONS . = ALIGN(4); - .stack : - { - *(.stack) - _stackbegin = .; - stackbegin = .; - . += 0x2000; - _stackend = .; - stackend = .; - } > DRAM - - . = ALIGN(4); - .bss : { _edata = .; @@ -91,4 +83,36 @@ SECTIONS *(.scommon*); _end = .; } > DRAM + + .iram IRAMORIG: + { + . = 0x220; /* Vectors take in 0x80000000 -> 0x80000220 */ + _iramstart = .; + *(.icode) + *(.irodata) + *(.idata) + . = ALIGN(0x4); + _iramend = .; + } > IRAM AT> DRAM + + _iramcopy = LOADADDR(.iram); + + .ibss (NOLOAD) : + { + _iedata = .; + *(.ibss) + . = ALIGN(0x4); + _iend = .; + } > IRAM + + .stack : + { + *(.stack) + . = ALIGN(0x4); + _stackbegin = .; + stackbegin = .; + . += 0x2000; + _stackend = .; + stackend = .; + } > IRAM } |