[PATCH 6/7] Renamed linker script templates in BBB port to match BBB target
Jarielle Catbagan
jcatbagan93 at gmail.com
Fri Jun 19 21:32:48 UTC 2015
* Renamed CSB740_boot.ldt -> BEAGLEBONEBLACK_boot.ldt
* Renamed CSB740_ramtst.ldt -> BEAGLEBONEBLACK_ramtst.ldt
---
ports/beagleboneblack/BEAGLEBONEBLACK_boot.ldt | 63 ++++++++++++++++++++++++
ports/beagleboneblack/BEAGLEBONEBLACK_ramtst.ldt | 59 ++++++++++++++++++++++
ports/beagleboneblack/CSB740_boot.ldt | 63 ------------------------
ports/beagleboneblack/CSB740_ramtst.ldt | 59 ----------------------
4 files changed, 122 insertions(+), 122 deletions(-)
create mode 100644 ports/beagleboneblack/BEAGLEBONEBLACK_boot.ldt
create mode 100644 ports/beagleboneblack/BEAGLEBONEBLACK_ramtst.ldt
delete mode 100644 ports/beagleboneblack/CSB740_boot.ldt
delete mode 100644 ports/beagleboneblack/CSB740_ramtst.ldt
diff --git a/ports/beagleboneblack/BEAGLEBONEBLACK_boot.ldt b/ports/beagleboneblack/BEAGLEBONEBLACK_boot.ldt
new file mode 100644
index 0000000..c8bc089
--- /dev/null
+++ b/ports/beagleboneblack/BEAGLEBONEBLACK_boot.ldt
@@ -0,0 +1,63 @@
+/* CSB740_boot.ld:
+ * This is the memory map file used for the boot-flash based version
+ * of MicroMonitor. The only value that should be considered adjustable
+ * here is the base address of the 'dram' memory block.
+ *
+ */
+MEMORY
+{
+ rom : org = ROMBASE, len = ROMLEN
+ dram : org = DRAMBASE, len = DRAMLEN
+}
+
+SECTIONS
+{
+ .text :
+ {
+ boot_base = .;
+ rom_reset.o(.text)
+ *(.glue_7t)
+ *(.glue_7)
+ } >rom
+
+ .data :
+ {
+ *(.data)
+ } >rom
+
+ .sdata :
+ {
+ *(.sdata)
+ } >rom
+
+ .sdata2 :
+ {
+ *(.sdata2)
+ } >rom
+
+ .rodata :
+ {
+ *(.rodata)
+ *(.rodata.str1.4)
+ } >rom
+
+ .got :
+ {
+ *(.got)
+ } >rom
+
+ .bss :
+ {
+ bss_start = .;
+ atag_space = .;
+ . += ATAGSIZE;
+ end_atag_space = .;
+ *(.bss) *(COMMON)
+ } >dram
+
+ .sbss :
+ {
+ *(.sbss)
+ bss_end = .;
+ } >dram
+}
diff --git a/ports/beagleboneblack/BEAGLEBONEBLACK_ramtst.ldt b/ports/beagleboneblack/BEAGLEBONEBLACK_ramtst.ldt
new file mode 100644
index 0000000..76fbce4
--- /dev/null
+++ b/ports/beagleboneblack/BEAGLEBONEBLACK_ramtst.ldt
@@ -0,0 +1,59 @@
+etheraddr = MACADDRBASE;
+alt_tfsdevtbl_base = ALTTFSDEVTBLBASE;
+
+MEMORY
+{
+ rom : org = RAMTSTROMBASE, len = RAMTSTROMLEN
+}
+
+SECTIONS
+{
+ .text :
+ {
+ boot_base = .;
+ ram_reset.o(.text)
+ *(.glue_7t)
+ *(.glue_7)
+ } >rom
+
+ .data :
+ {
+ *(.data)
+ } >rom
+
+ .sdata :
+ {
+ *(.sdata)
+ } >rom
+
+ .sdata2 :
+ {
+ *(.sdata2)
+ } >rom
+
+ .rodata :
+ {
+ *(.rodata)
+ *(.rodata.str1.4)
+ } >rom
+
+ .got :
+ {
+ *(.got)
+ } >rom
+
+ .bss :
+ {
+ bss_start = .;
+ atag_space = .;
+ . += ATAGSIZE;
+ end_atag_space = .;
+ *(.bss) *(COMMON)
+ } >rom
+
+ .sbss :
+ {
+ *(.sbss)
+ bss_end = .;
+ } >rom
+}
diff --git a/ports/beagleboneblack/CSB740_boot.ldt b/ports/beagleboneblack/CSB740_boot.ldt
deleted file mode 100644
index c8bc089..0000000
--- a/ports/beagleboneblack/CSB740_boot.ldt
+++ /dev/null
@@ -1,63 +0,0 @@
-/* CSB740_boot.ld:
- * This is the memory map file used for the boot-flash based version
- * of MicroMonitor. The only value that should be considered adjustable
- * here is the base address of the 'dram' memory block.
- *
- */
-MEMORY
-{
- rom : org = ROMBASE, len = ROMLEN
- dram : org = DRAMBASE, len = DRAMLEN
-}
-
-SECTIONS
-{
- .text :
- {
- boot_base = .;
- rom_reset.o(.text)
- *(.glue_7t)
- *(.glue_7)
- } >rom
-
- .data :
- {
- *(.data)
- } >rom
-
- .sdata :
- {
- *(.sdata)
- } >rom
-
- .sdata2 :
- {
- *(.sdata2)
- } >rom
-
- .rodata :
- {
- *(.rodata)
- *(.rodata.str1.4)
- } >rom
-
- .got :
- {
- *(.got)
- } >rom
-
- .bss :
- {
- bss_start = .;
- atag_space = .;
- . += ATAGSIZE;
- end_atag_space = .;
- *(.bss) *(COMMON)
- } >dram
-
- .sbss :
- {
- *(.sbss)
- bss_end = .;
- } >dram
-}
diff --git a/ports/beagleboneblack/CSB740_ramtst.ldt b/ports/beagleboneblack/CSB740_ramtst.ldt
deleted file mode 100644
index 76fbce4..0000000
--- a/ports/beagleboneblack/CSB740_ramtst.ldt
+++ /dev/null
@@ -1,59 +0,0 @@
-etheraddr = MACADDRBASE;
-alt_tfsdevtbl_base = ALTTFSDEVTBLBASE;
-
-MEMORY
-{
- rom : org = RAMTSTROMBASE, len = RAMTSTROMLEN
-}
-
-SECTIONS
-{
- .text :
- {
- boot_base = .;
- ram_reset.o(.text)
- *(.glue_7t)
- *(.glue_7)
- } >rom
-
- .data :
- {
- *(.data)
- } >rom
-
- .sdata :
- {
- *(.sdata)
- } >rom
-
- .sdata2 :
- {
- *(.sdata2)
- } >rom
-
- .rodata :
- {
- *(.rodata)
- *(.rodata.str1.4)
- } >rom
-
- .got :
- {
- *(.got)
- } >rom
-
- .bss :
- {
- bss_start = .;
- atag_space = .;
- . += ATAGSIZE;
- end_atag_space = .;
- *(.bss) *(COMMON)
- } >rom
-
- .sbss :
- {
- *(.sbss)
- bss_end = .;
- } >rom
-}
--
2.3.3
More information about the umon-devel
mailing list