projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
carl9170 toolchain: toolchain updates
[carl9170fw.git]
/
carlfw
/
carl9170.lds
diff --git
a/carlfw/carl9170.lds
b/carlfw/carl9170.lds
index 0c4ebd659d395b096142d8d78d15389498f951ae..97dda684131a59213314018e1f5a64276bed7f08 100644
(file)
--- a/
carlfw/carl9170.lds
+++ b/
carlfw/carl9170.lds
@@
-1,9
+1,9
@@
/*
* The carl9170 firwmare gets copied into the device's
/*
* The carl9170 firwmare gets copied into the device's
- * Program RAM (pram), which has a size of
32
K, but
+ * Program RAM (pram), which has a size of
16
K, but
* also has to accomodate the stack the device uses,
* also has to accomodate the stack the device uses,
- * which starts at the top of the
32
k, so we pretend
- * that we just have 16
k
of pram.
+ * which starts at the top of the
16
k, so we pretend
+ * that we just have 16
256 (16k - 128)
of pram.
*
* This section documents some of the other areas
* mapped into the firmware processor's address space
*
* This section documents some of the other areas
* mapped into the firmware processor's address space
@@
-27,11
+27,15
@@
MEMORY
irqctl : ORIGIN = 0x1d2000, LENGTH = 4k
usb : ORIGIN = 0x1e1000, LENGTH = 4k
pta : ORIGIN = 0x1e2000, LENGTH = 4k
irqctl : ORIGIN = 0x1d2000, LENGTH = 4k
usb : ORIGIN = 0x1e1000, LENGTH = 4k
pta : ORIGIN = 0x1e2000, LENGTH = 4k
- pram : ORIGIN = 0x200000, LENGTH = 16k
+ pram : ORIGIN = 0x200000, LENGTH = 16256
+ bogus : ORIGIN = 0x300000, LENGTH = 8k
}
SECTIONS
{
}
SECTIONS
{
+ .eeprom : { *(.eeprom*) } > eeprom
+ .sram : { *(.sram*) } > sram
+
/*
* The ar9170 boot code will execute the code
* at address 0x04 from the loaded firmware as
/*
* The ar9170 boot code will execute the code
* at address 0x04 from the loaded firmware as
@@
-50,8
+54,6
@@
SECTIONS
.rodata : { *(.rodata*) } > pram
.bss : { *(.bss) } > pram
.data : { *(.data*) } > pram
.rodata : { *(.rodata*) } > pram
.bss : { *(.bss) } > pram
.data : { *(.data*) } > pram
- .fwdsc : { KEEP(*(.fwdsc)) } > pram
- .sram : { *(.sram*) } > sram
- .eeprom : { *(.eeprom*) } > eeprom
+ .fwdsc : { KEEP(*(.fwdsc)) } > bogus
}
}