From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22626 invoked by alias); 28 Jul 2005 15:36:07 -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 22576 invoked by uid 22791); 28 Jul 2005 15:36:03 -0000 Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 28 Jul 2005 15:36:03 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1DyAQP-0003Lc-00; Thu, 28 Jul 2005 17:35:57 +0200 Date: Thu, 28 Jul 2005 15:36:00 -0000 To: Domenico La Fauci Cc: eCos Discuss Message-ID: <20050728153557.GD1057@lunn.ch> Mail-Followup-To: Domenico La Fauci , eCos Discuss References: <001d01c59388$2d8a7090$2101a8c0@emea.cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001d01c59388$2d8a7090$2101a8c0@emea.cisco.com> User-Agent: Mutt/1.5.9i From: Andrew Lunn Subject: Re: [ECOS] "Fis init" failed on EB40A X-SW-Source: 2005-07/txt/msg00313.txt.bz2 On Thu, Jul 28, 2005 at 05:22:32PM +0200, Domenico La Fauci wrote: > Hi Paul, > sorry but I don't understand what you said. Could you please explain me? > Now I have a new version of Redboot for EB40A that works with all of fis > commands. > The problem that I have now is that the RAM version of redboot works > properly but the ROM or ROMRAM version doesn't start. when the board is > powered up led D1-D5 are on but no communication the serial line. > > When I tried to load the ROM version in RAM and launch it, this is the > result: > > RedBoot> fis lis > Name FLASH addr Mem addr Length Entry point > RedBoot 0x01000000 0x01000000 0x00020000 0x00000000 > RedBoot[ROM] 0x01100000 0x01100000 0x00010000 0x02024C00 > FIS directory 0x011F0000 0x011F0000 0x0000F000 0x00000000 > RedBoot config 0x011FF000 0x011FF000 0x00001000 0x00000000 > > RedBoot> > RedBoot> fis load RedBoot[ROM] -b %{FREEMEMLO} > RedBoot> go This will not work. eCos is position dependant. The ROM version is linked so that it runs at the address location the ROM is at. Another thing a ROM version might do is setup the RAM controller. With most processors, setting up the RAM controller when running in RAM will cause a crash. So if you want to run the ROM version you need to put it into ROM. I suggest you have a JTAG flash programmer handy. If your ROM image does not boot you have a dead board which you can only recover using the programmer. 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