This is the mail archive of the ecos-discuss@sources.redhat.com 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]

RE: Building stub to AEB1-revC fails


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

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