summaryrefslogtreecommitdiffstats
path: root/carl9170fw/minifw/miniboot.lds
diff options
context:
space:
mode:
Diffstat (limited to 'carl9170fw/minifw/miniboot.lds')
-rw-r--r--carl9170fw/minifw/miniboot.lds20
1 files changed, 20 insertions, 0 deletions
diff --git a/carl9170fw/minifw/miniboot.lds b/carl9170fw/minifw/miniboot.lds
new file mode 100644
index 0000000..51e5ac4
--- /dev/null
+++ b/carl9170fw/minifw/miniboot.lds
@@ -0,0 +1,20 @@
+ENTRY(_start);
+
+MEMORY
+{
+ pram : ORIGIN = 0x200000, LENGTH = 16k
+}
+
+SECTIONS
+{
+ .padding : {
+ /* NOP NOP just in case */
+ LONG(0x00090009)
+ } > pram
+
+ .boot : { *(.boot) } > pram
+ .text : { *(.text*) } > pram
+ .rodata : { *(.rodata*) } > pram
+ .bss : { *(.bss) } > pram
+ .data : { *(.data*) } > pram
+}