This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fix the ARM innovator platform HAL


The _ram.ldi file never defined a rom memory region but tried to put
most sections there, so I don't think it can ever have built for RAM
startup.

Bart

2009-02-03  Bart Veer  <bartv@ecoscentric.com>

	* include/pkgconf/mlt_arm_arm9_innovator_ram.ldi: do not put
	anything into ROM for a RAM startup.

Index: include/pkgconf/mlt_arm_arm9_innovator_ram.ldi
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/arm/arm9/innovator/current/include/pkgconf/mlt_arm_arm9_innovator_ram.ldi,v
retrieving revision 1.1
diff -u -p -w -r1.1 mlt_arm_arm9_innovator_ram.ldi
--- include/pkgconf/mlt_arm_arm9_innovator_ram.ldi	5 Feb 2003 19:59:54 -0000	1.1
+++ include/pkgconf/mlt_arm_arm9_innovator_ram.ldi	3 Feb 2009 21:32:34 -0000
@@ -13,13 +13,13 @@ SECTIONS
 {
     SECTIONS_BEGIN
     SECTION_fixed_vectors    (ram, 0x20,        LMA_EQ_VMA)
-    SECTION_rom_vectors      (rom, 0x20000,     LMA_EQ_VMA)
-    SECTION_text             (rom, ALIGN (0x4), LMA_EQ_VMA)
-    SECTION_fini             (rom, ALIGN (0x4), LMA_EQ_VMA)
-    SECTION_rodata           (rom, ALIGN (0x4), LMA_EQ_VMA)
-    SECTION_rodata1          (rom, ALIGN (0x4), LMA_EQ_VMA)
-    SECTION_fixup            (rom, ALIGN (0x4), LMA_EQ_VMA)
-    SECTION_gcc_except_table (rom, ALIGN (0x4), LMA_EQ_VMA)
+    SECTION_rom_vectors      (ram, 0x20000,     LMA_EQ_VMA)
+    SECTION_text             (ram, ALIGN (0x4), LMA_EQ_VMA)
+    SECTION_fini             (ram, ALIGN (0x4), LMA_EQ_VMA)
+    SECTION_rodata           (ram, ALIGN (0x4), LMA_EQ_VMA)
+    SECTION_rodata1          (ram, ALIGN (0x4), LMA_EQ_VMA)
+    SECTION_fixup            (ram, ALIGN (0x4), LMA_EQ_VMA)
+    SECTION_gcc_except_table (ram, ALIGN (0x4), LMA_EQ_VMA)
     SECTION_data             (ram, ALIGN (0x4), LMA_EQ_VMA)
     SECTION_bss              (ram, ALIGN (0x4), LMA_EQ_VMA)
     CYG_LABEL_DEFN(__heap1) = ALIGN (0x8);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]