This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Unable to Boot (RedBoot ) standalone
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Ashish Ranjan <ranjan_ash2004 at yahoo dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Fri, 28 Oct 2005 09:44:31 +0200
- Subject: Re: [ECOS] Unable to Boot (RedBoot ) standalone
- References: <20051028072716.38116.qmail@web35012.mail.mud.yahoo.com>
On Fri, Oct 28, 2005 at 12:27:16AM -0700, Ashish Ranjan wrote:
> Hello All,
> Please help me I have two problems rigth now and i am
> new to ECOS.
>
> I am trying to port redboot on the Card having MPC860
> and startup type is ROM.The card has the SDRAM
> (0x00000000 - 0x00FFFFFF) and ROM (0x30000000 -
> 0x303FFFFF).When I program the flash and run the
> RedBoot.elf through lauterbach(ICD), I get the RedBoot
> prompt on Hyperterminal. But when I power-on the Card
> without the Emulator, i am unable to get the RedBoot
> prompt(nothing happens).
>
> There is one more problem,it happens sometimes.In this
> case,I am unable to the RedBoot prompt. The
> IP(Instruction Pointer) move to an address 0x8001002C
> and get halted as I have seen with the help of
> debugger. Problem is : When a address is pushed into
> the stack and when it is poped up the value is not the
> same.Why it happens?what would be the reason?
This sort of thing generally indicates the SDRAM controller
initialization is broken. It could be your debugger is initializing
the SDRAM controller and getting it correct. But when eCos does the
initialization, it gets is wrong.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss