This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: RedBoot ROM version
- To: Christoph Csebits <christoph dot csebits at frequentis dot com>
- Subject: Re: [ECOS] RedBoot ROM version
- From: Gary Thomas <gthomas at redhat dot com>
- Date: Mon, 16 Jul 2001 08:40:45 -0600 (MDT)
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat, Inc.
On 16-Jul-2001 Christoph Csebits wrote:
> On Fri, Jul 13, 2001 at 05:27:14AM -0600, Gary Thomas wrote:
>>
>> Can you tell why? If you look at the system stack, does it really
>> get this full?
>
> I found the reason why RedBoot didnt work in ROM startup.
>
> there was a line missing in the memory layout file *rom.ldi
>
> CYG_LABEL_DEFN(__reserved_vectors) = 0; . = CYG_LABEL_DEFN(__reserved_vectors) + 0x3000;
> CYG_LABEL_DEFN(__reserved_vsr_table) = ALIGN (0x1); . = CYG_LABEL_DEFN(__reserved_vsr_table) +
> 0x200;
> missing --> CYG_LABEL_DEFN(__reserved_virtual_table) = ALIGN (0x1); . =
> CYG_LABEL_DEFN(__reserved_virtual_table) + 0x100;
> SECTION_data (ram, ALIGN (0x10), FOLLOWING (.gcc_except_table))
>
> so the virtual table was polluting the stack (or vice versa).
What platform is this for?