summaryrefslogtreecommitdiff
path: root/firmware/boot.lds
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-02-05 04:43:19 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-02-05 04:43:19 +0000
commit1f021af60cd0351a309666c2e32b3d1b8b2cbd6f (patch)
tree88710bcc59d80831327b00d59af0eb6a6f758de6 /firmware/boot.lds
parent3f85a4bc97fb2120870fcd4a6650fd72d4a6338f (diff)
Gigabeat S mixer: Make some progress. Get the tick and core sleep working using the AVIC. Redo the startup code to remap from IRAM and not include the lcd driver frambuffer in the remapping (until it can be moved). Clean up LCD driver. For other misc. changes, see the diffs. Now it progresses to ATA init and fails with -11 but without crashing or hanging. Replace all bootloaders.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16216 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/boot.lds')
-rw-r--r--firmware/boot.lds70
1 files changed, 40 insertions, 30 deletions
diff --git a/firmware/boot.lds b/firmware/boot.lds
index 8d7d55a607..c0f19bc430 100644
--- a/firmware/boot.lds
+++ b/firmware/boot.lds
@@ -302,37 +302,47 @@ SECTIONS
}
#elif (CONFIG_CPU==IMX31L)
{
- . = 0x8a000000;
- .vectors :
- {
- KEEP(*(.vectors*));
- *(.vectors*);
- }
- .text : {
- *(.init.text)
- *(.text*)
- }
- .data : {
- *(.icode)
- *(.irodata)
- *(.idata)
- *(.data*)
- _dataend = . ;
+#if 0
+ .vectors 0x0 :
+ {
+ _vectorsstart = .;
+ *(.vectors);
+ _vectorsend = .;
+ } AT> DRAM
+#endif
+ . = 0x82000000;
+
+ .text :
+ {
+ *(.init.text)
+ *(.text*)
}
- .stack :
- {
- *(.stack)
- _stackbegin = .;
- stackbegin = .;
- . += 0x2000;
- _stackend = .;
- stackend = .;
- }
- .bss : {
- _edata = .;
- *(.bss*);
- *(.ibss);
- _end = .;
+
+ .data :
+ {
+ *(.icode)
+ *(.irodata)
+ *(.idata)
+ *(.data*)
+ _dataend = . ;
+ }
+
+ .stack :
+ {
+ *(.stack)
+ _stackbegin = .;
+ stackbegin = .;
+ . += 0x2000;
+ _stackend = .;
+ stackend = .;
+ }
+
+ .bss :
+ {
+ _edata = .;
+ *(.bss*);
+ *(.ibss);
+ _end = .;
}
}
#else