This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Building stub to AEB1-revC fails
- To: jskov at redhat dot com
- Subject: RE: [ECOS] Building stub to AEB1-revC fails
- From: Andreas dot Karlsson at combitechsystems dot com
- Date: Mon, 13 Nov 2000 08:53:21 +0100
- Cc: ecos-discuss at sourceware dot cygnus dot com, jlarmour at cygnus dot co dot uk
Hi again,
Well, after a lot of trial and error I'm now able to create the AEB revC
stub and it is working. The change I have to do in the sources form v_1_3_1
is to change mlt_arm_aebC_rom.ldi from:
SECTIONS
{
SECTIONS_BEGIN
SECTION_rom_vectors (rom, 0x4018000, 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)
__reserved_vectors = 0; . = __reserved_vectors + 0x1000;
SECTION_data (ram, ALIGN (0x4), FOLLOWING (.gcc_except_table))
SECTION_bss (ram, ALIGN (0x4), LMA_EQ_VMA)
__reserved_not_mapped = ALIGN (0x4); . = __reserved_not_mapped + 0x7000;
SECTIONS_END
}
to
SECTIONS
{
SECTIONS_BEGIN
SECTION_rom_vectors (rom, 0x4018000, 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)
__reserved_vectors = 0; . = __reserved_vectors + 0x1000;
__reserved_not_mapped = 0x1000; . = __reserved_not_mapped + 0x7000;
SECTION_data (ram, ALIGN (0x4), FOLLOWING (.gcc_except_table))
SECTION_bss (ram, ALIGN (0x4), LMA_EQ_VMA)
SECTIONS_END
}
Not knowing that much what I'm doing this seems to work. Now can I start
with getting my expanded memory working by modifying platform_setup I think.
I have noticed that in CVS this file is updated and the section
reserved_not_mapped is removed, should I remove it also?
/Andreas