This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
ROMRAM images on EB55
- From: Alan Bowman <ABowman at synaptics-uk dot com>
- To: "'ecos-patches at sources dot redhat dot com'" <ecos-patches at sources dot redhat dot com>
- Date: Wed, 17 Dec 2003 15:13:39 -0000
- Subject: ROMRAM images on EB55
Following on from message http://ecos.sourceware.org/ml/ecos-discuss/2003-12/msg00254.html, I believe that this patch will make the behaviour of ROMRAM images for the EB55 board more suitable:
Index: mlt_arm_at91_eb55_romram.ldi
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/arm/at91/eb55/current/include/pkgconf/mlt_arm_at91_eb55_romram.ldi,v
retrieving revision 1.1
diff -u -r1.1 mlt_arm_at91_eb55_romram.ldi
--- mlt_arm_at91_eb55_romram.ldi 13 May 2003 18:27:59 -0000 1.1
+++ mlt_arm_at91_eb55_romram.ldi 17 Dec 2003 14:43:48 -0000
@@ -14,7 +14,7 @@
{
SECTIONS_BEGIN
SECTION_fixed_vectors (sram, 0x20, LMA_EQ_VMA)
- SECTION_rom_vectors (ram, 0x02008000, LMA_EQ_VMA)
+ SECTION_rom_vectors (ram, 0x02000000, 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)
This should cause ROMRAM images to boot properly. However, when a Redboot ROMRAM image is built using this file, it will execute from the same space as applications built as RAM images intend to be downloaded, causing a hang during download. Standalone applications run as ROMRAM should work properly now, however.