This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
ARM e7t memory layout
- From: "A Roturier" <roturier at hotmail dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 25 Feb 2002 13:08:46 +0000
- Subject: [ECOS] ARM e7t memory layout
- Bcc:
Hi all,
For ARM e7t board, when I configure startup type as "ROM", the
included memory layout file is mlt_arm_e7t_rom.ldi/.h, which is,
#include <cyg/infra/cyg_type.inc>
MEMORY
{
ram : ORIGIN = 0, LENGTH = 0x80000
rom : ORIGIN = 0x1800000, LENGTH = 0x80000
}
SECTIONS
{
SECTIONS_BEGIN
CYG_LABEL_DEFN(__reserved_bootmon) = 0x1800000; . =
CYG_LABEL_DEFN(__reserved_bootmon) + 0x20000;
SECTION_rom_vectors (rom, ALIGN (0x8), LMA_EQ_VMA)
SECTION_text (rom, ALIGN (0x1), 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_fixed_vectors (ram, 0x20, LMA_EQ_VMA)
SECTION_data (ram, 0x8000, FOLLOWING (.gcc_except_table))
SECTION_bss (ram, ALIGN (0x4), LMA_EQ_VMA)
CYG_LABEL_DEFN(__heap1) = ALIGN (0x8);
SECTIONS_END
}
Since e7t's chip is Samsung KS32C50100, and the chip starts execution
from address 0 after reset, that I am a bit confused as to why the
starting address of ROM section is 0x1800000(which is for RAM?)
rather than 0.
Thanks for any help.
Roturier
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss