From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Thomas To: Christoph Csebits Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] RedBoot ROM version Date: Mon, 16 Jul 2001 07:40:00 -0000 Message-id: References: <20010716163218.A9900@frequentis.com> X-SW-Source: 2001-07/msg00468.html 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?