summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/imx233/boot.lds
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-07-02 02:12:10 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-07-02 02:12:10 +0000
commit82ecc75e68ee3edc22514c8a33aa7774e02fd4d4 (patch)
tree3b2d842062e0a7d69dbf7cb9281414fdb280060a /firmware/target/arm/imx233/boot.lds
parentfed77808c5b3efa1a8e6ac10647845da6847f48a (diff)
downloadrockbox-82ecc75e68ee3edc22514c8a33aa7774e02fd4d4.tar.gz
rockbox-82ecc75e68ee3edc22514c8a33aa7774e02fd4d4.tar.bz2
rockbox-82ecc75e68ee3edc22514c8a33aa7774e02fd4d4.zip
imx233/fuze+: make config.h more correct, remove logo from bootloader, update linker file and crt0 to produce a single blob into dram
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30111 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/imx233/boot.lds')
-rw-r--r--firmware/target/arm/imx233/boot.lds51
1 files changed, 23 insertions, 28 deletions
diff --git a/firmware/target/arm/imx233/boot.lds b/firmware/target/arm/imx233/boot.lds
index 39e570a03e..cb925b055e 100644
--- a/firmware/target/arm/imx233/boot.lds
+++ b/firmware/target/arm/imx233/boot.lds
@@ -14,32 +14,6 @@ MEMORY
SECTIONS
{
- .vectors 0 :
- {
- *(.vectors);
- . = ALIGN(0x4);
- } > IRAM
-
- .itext :
- {
- *(.icode)
- *(.init.text)
- . = ALIGN(0x4);
- } > IRAM
-
- .idata :
- {
- *(.qharray)
- *(.idata)
- *(.irodata)
- . = ALIGN(0x4);
- } > IRAM
-
- .ibss :
- {
- *(.ibss)
- } > IRAM
-
.text :
{
*(.text*)
@@ -52,13 +26,34 @@ SECTIONS
_dataend = . ;
} > DRAM
+ .iram :
+ {
+ _iramstart = .; // always 0
+ *(.vectors)
+ KEEP(*(.vectors));// otherwise there are no reference to it and the linker strip it
+ *(.icode)
+ *(.irodata)
+ *(.idata)
+ . = ALIGN(0x4);
+ _iramend = .;
+ } > IRAM AT> DRAM
+
+ _iramcopy = LOADADDR(.iram);
+
+ .ibss (NOLOAD) :
+ {
+ _iedata = .;
+ *(.qharray)
+ *(.ibss)
+ . = ALIGN(0x4);
+ _iend = .;
+ } > IRAM
+
.stack (NOLOAD) :
{
*(.stack)
- _stackbegin = .;
stackbegin = .;
. += 0x2000;
- _stackend = .;
stackend = .;
} > DRAM