This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: RedBoot ROM version



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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]