c6x-IBL: C6457: Adding c6457 specific .cmd and .rmd
authorSandeep Paulraj <s-paulraj@ti.com>
Sat, 30 Oct 2010 19:52:50 +0000 (15:52 -0400)
committerSandeep Paulraj <s-paulraj@ti.com>
Sat, 30 Oct 2010 19:52:50 +0000 (15:52 -0400)
This commit adds a device specific .rmd and .cmd file

Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
src/make/ibl_c6457/ibl.cmd [new file with mode: 0755]
src/make/ibl_c6457/ibl.rmd [new file with mode: 0755]

diff --git a/src/make/ibl_c6457/ibl.cmd b/src/make/ibl_c6457/ibl.cmd
new file mode 100755 (executable)
index 0000000..747ce54
--- /dev/null
@@ -0,0 +1,81 @@
+/************************************************************************************\r
+ * FILE PURPOSE: Define the memory usage of the ibl module for the c6474\r
+ ************************************************************************************\r
+ * FILE NAME: ibl.cmd\r
+ *\r
+ * DESCRIPTION: The memory placement for the IBL is defined\r
+ *\r
+ ************************************************************************************/\r
+\r
+\r
+../main/c64x/make/iblmain.oc\r
+../device/c64x/make/c6457.oc\r
+../ethboot/c64x/make/ethboot.oc\r
+../driver/c64x/make/net.oc\r
+../driver/c64x/make/arp.oc\r
+../driver/c64x/make/ip.oc\r
+../driver/c64x/make/udp.oc\r
+../driver/c64x/make/stream.oc\r
+../driver/c64x/make/timer.oc\r
+../driver/c64x/make/bootp.oc\r
+../driver/c64x/make/tftp.oc\r
+../hw/c64x/make/t64.oc\r
+../hw/c64x/make/cpmacdrv.oc\r
+../hw/c64x/make/pll.oc\r
+../hw/c64x/make/psc.oc\r
+../hw/c64x/make/emif31.oc\r
+../hw/c64x/make/mdio.oc\r
+../hw/c64x/make/i2c.oc\r
+../hw/c64x/make/sgmii.oc\r
+../interp/c64x/make/bis.oc\r
+../interp/c64x/make/cload.oc\r
+../interp/c64x/make/osal.oc\r
+../interp/c64x/make/btblwrap.oc\r
+../interp/c64x/make/btblpr.oc\r
+../interp/c64x/make/gem.oc\r
+../interp/c64x/make/blob.oc\r
+\r
+/* ../interp/c64x/make/dload.oc */\r
+/* ../interp/c64x/make/elfwrap.oc */\r
+/* ../interp/c64x/make/dlw_client.oc */\r
+/* ../interp/c64x/make/dload_endian.oc */\r
+/* ../interp/c64x/make/ArrayList.oc */\r
+\r
+/* ../nandboot/c64x/make/nandboot.oc */\r
+/* ../driver/c64x/make/nand.oc */\r
+/* ../ecc/c64x/make/3byte_ecc.oc */\r
+/* ../hw/c64x/make/gpio.oc */\r
+/* ../hw/c64x/make/nandgpio.oc */\r
+\r
+-c\r
+-stack 0x800\r
+-heap  0x6000\r
+\r
+\r
+\r
+MEMORY\r
+{\r
+       TEXT   :  origin = 0x801000, length = 0x20000\r
+       STACK  :  origin = 0x821000, length = 0x0800\r
+       HEAP   :  origin = 0x821800, length = 0x6000\r
+       DATA   :  origin = 0x827800, length = 0x3000\r
+       CFG    :  origin = 0x831800, length = 0x0300\r
+       STAT :    origin = 0x831b00, length = 0x0200\r
+}\r
+\r
+SECTIONS\r
+{\r
+       .stack  > STACK\r
+       .sysmem > HEAP\r
+       .cinit  > TEXT\r
+       .const  > TEXT\r
+       .text   > TEXT\r
+       .switch > TEXT\r
+       .far    > DATA\r
+       .bss    > DATA\r
+\r
+    .ibl_config_table > CFG\r
+       .ibl_status_table > STAT\r
+\r
+}\r
+\r
diff --git a/src/make/ibl_c6457/ibl.rmd b/src/make/ibl_c6457/ibl.rmd
new file mode 100755 (executable)
index 0000000..5aba03e
--- /dev/null
@@ -0,0 +1,11 @@
+-a\r
+-boot\r
+-e _c_int00\r
+\r
+ROMS\r
+{\r
+       ROM1:  org = 0x0400, length = 0x20000, memwidth = 32, romwidth = 32\r
+       files = { ibl_le.b }\r
+}\r
+\r
+\r