From: "Agarwal, Lomesh" <lomesh.agarwal@intel.com>
To: eCos Discuss <ecos-discuss@sources.redhat.com>
Subject: [ECOS] Memory layout
Date: Sun, 07 Apr 2002 16:14:00 -0000 [thread overview]
Message-ID: <01BDB7EEF8D4D3119D95009027AE999512F65F0A@FMSMSX33> (raw)
I want to burn RedBoot in a flash. I should use "ROM" start type. Right?
On my platform during boot Flash is aliased at 0 and after unaliasing flash
my DRAM is at 0 address. I have modified the rom.ldi file as follows:
MEMORY
{
ram : ORIGIN = 0xA0000000, LENGTH = 0x2000000
rom : ORIGIN = 0x00000000, LENGTH = 0x800000
}
SECTIONS
{
SECTIONS_BEGIN
SECTION_rom_vectors (ram, 0xA0000000, AT(0x00000000)) // vector page
gets remapped from ROM to RAM
SECTION_text (rom, 0x00002000, 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 (rom, 0x20, LMA_EQ_VMA)
SECTION_data (ram, 0xA000A000, FOLLOWING (.gcc_except_table))
SECTION_bss (ram, ALIGN (0x4), LMA_EQ_VMA)
CYG_LABEL_DEFN(__heap1) = ALIGN (0x8);
// CYG_LABEL_DEFN(__pci_window) = 0xf00000; . =
CYG_LABEL_DEFN(__pci_window) + 0x100000;
SECTIONS_END
}
I wanted to know whether this is right or not?
Can someone help?
Thanks,
Lomesh
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
next reply other threads:[~2002-04-07 23:14 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-07 16:14 Agarwal, Lomesh [this message]
2002-04-10 13:51 ` Jonathan Larmour
-- strict thread matches above, loose matches on Subject: below --
2008-04-10 21:35 Syed Ismail
2007-10-29 14:13 [ECOS] memory layout Syed Ismail
2007-10-29 14:18 ` Andrew Lunn
2003-10-08 14:29 [ECOS] Memory Layout James Yates
2003-09-18 7:31 [ECOS] Memory layout Matthieu.GIRARDIN
2002-11-18 19:44 [ECOS] memory layout AL Chane
2002-10-30 9:55 Schumacher, Gordon
2002-11-04 20:37 ` Jonathan Larmour
2002-10-30 1:09 AL Chane
2002-10-30 4:52 ` Chris Garry
2002-04-10 18:23 [ECOS] Memory layout Agarwal, Lomesh
2002-04-10 18:18 Agarwal, Lomesh
2002-04-11 18:03 ` Jonathan Larmour
2002-04-10 15:31 Agarwal, Lomesh
2002-04-10 17:39 ` Jonathan Larmour
2002-04-10 14:01 Agarwal, Lomesh
2002-04-10 15:22 ` Jonathan Larmour
2001-04-18 2:01 [ECOS] Memory Layout james chen
2001-04-18 5:24 ` Gary Thomas
2001-04-18 18:05 ` james chen
2001-04-19 5:12 ` Gary Thomas
2001-04-19 17:37 ` james chen
2001-04-19 17:48 ` Gary Thomas
2001-01-23 22:51 [ECOS] memory layout Natarajan, Mekala (CTS)
2001-01-23 23:46 ` Jesper Skov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=01BDB7EEF8D4D3119D95009027AE999512F65F0A@FMSMSX33 \
--to=lomesh.agarwal@intel.com \
--cc=ecos-discuss@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).