This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ecos redboot compile problem.
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: "Beymer, Mike" <Mike dot Beymer at itron dot com>
- Cc: "Doyle, Patrick" <WPD at dtccom dot com>,eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 01 May 2003 02:45:25 +0100
- Subject: Re: [ECOS] ecos redboot compile problem.
- References: <218C6B103596E746932D287EB519B5DD09669D@spokane-mx1.itron.com>
Beymer, Mike wrote:
Patrick,
It appears that the build problem I was experiencing was due to a change
in the memory layout file, mlt_arm_arm9_innovator_sram.ldi. The .data section
was set to start at 0x8000, doing an objdump -h of redboot-sram.out the .data
section is in sram at 0x20012dd0. After changing the .data section to follow
the .gcc_except_table I started seeing output from the serial port.
I was just wondering if there was anything we needed to do to fix our
master sources, but it seems that mlt_arm_arm9_innovator_sram.ldi already
does this, or am I missing something?
-=-=-=-=-=-
...
SECTION_rodata1 (sram, ALIGN (0x4), LMA_EQ_VMA)
SECTION_fixup (sram, ALIGN (0x4), LMA_EQ_VMA)
SECTION_gcc_except_table (sram, 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)
...
-=-=-=-=-=-
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss