From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29950 invoked by alias); 28 Oct 2005 08:31:19 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 29943 invoked by uid 22791); 28 Oct 2005 08:31:16 -0000 Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 28 Oct 2005 08:31:16 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1EVPdl-0003aa-00; Fri, 28 Oct 2005 10:31:09 +0200 Date: Fri, 28 Oct 2005 08:31:00 -0000 To: Ashish Ranjan Cc: ecos-discuss@ecos.sourceware.org Message-ID: <20051028083109.GD8887@lunn.ch> Mail-Followup-To: Ashish Ranjan , ecos-discuss@ecos.sourceware.org References: <20051028074431.GC8887@lunn.ch> <20051028075519.21510.qmail@web35006.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051028075519.21510.qmail@web35006.mail.mud.yahoo.com> User-Agent: Mutt/1.5.11 From: Andrew Lunn Subject: Re: [ECOS] Unable to Boot (RedBoot ) standalone X-SW-Source: 2005-10/txt/msg00255.txt.bz2 On Fri, Oct 28, 2005 at 12:55:19AM -0700, Ashish Ranjan wrote: > > > --- Andrew Lunn wrote: > > > 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 > > > > Thanks for your quick reply sir: > What is the solution means how can I initialize the > SDRAM controller? What would be the step which I > should follow? > And what about booting standalone.Is it due to same > reason? You need to read the data sheet for the processor and you need to read the code which does the initialization and you need to see if there are any bugs there. This is a problem you have to solve and there is little we can do to help. 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