[ECOS] RE: PPC Board Port and Memory Map probs

Ross Wightman rpw@velvet.microplex.com
Thu Aug 24 10:17:00 GMT 2000


Here is the contents of my mlt_powerpc_mbx_rom.ldi file..

MEMORY
{
    ram : ORIGIN = 0, LENGTH = 0x200000
    rom : ORIGIN = 0x800000, LENGTH = 0x200000
}

SECTIONS
{
    SECTIONS_BEGIN
    SECTION_vectors (rom, 0x800000, LMA_EQ_VMA)
    SECTION_text (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_fini (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_rodata1 (rom, ALIGN (0x8), LMA_EQ_VMA)
    SECTION_rodata (rom, ALIGN (0x8), LMA_EQ_VMA)
    SECTION_fixup (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_gcc_except_table (rom, ALIGN (0x1), LMA_EQ_VMA)
    __reserved_vectors = 0; . = __reserved_vectors + 0x3000;
    __reserved_vsr_table = ALIGN (0x4); . = __reserved_vsr_table + 0x200;
    __reserved_virtual_table = ALIGN (0x1); . = __reserved_virtual_table +
0x100;
    SECTION_data (ram, ALIGN (0x10), LMA_EQ_VMA)
    SECTION_sbss (ram, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_bss (ram, ALIGN (0x10), LMA_EQ_VMA)
    SECTIONS_END
}





More information about the Ecos-discuss mailing list