public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Domenico La Fauci <mlafauci@tiscali.it>
Cc: eCos Discuss <ecos-discuss@ecos.sourceware.org>
Subject: Re: [ECOS] "Fis init" failed on EB40A
Date: Thu, 28 Jul 2005 15:36:00 -0000	[thread overview]
Message-ID: <20050728153557.GD1057@lunn.ch> (raw)
In-Reply-To: <001d01c59388$2d8a7090$2101a8c0@emea.cisco.com>

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

  reply	other threads:[~2005-07-28 15:36 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-27  3:22 [ECOS] which gcc toolchain to use ? Harsha D
2005-07-27  7:16 ` Andrew Lunn
2005-07-27 10:55   ` [ECOS] "Fis init" failed on EB40A Jaws
2005-07-27 11:18     ` [ECOS] " Jani Monoses
2005-07-27 11:35       ` Domenico La Fauci
2005-07-27 11:39         ` Jani Monoses
2005-07-27 12:09           ` Domenico La Fauci
2005-07-27 12:57     ` [ECOS] " Dirk Eibach
2005-07-27 16:50       ` Jaws
2005-07-27 16:56         ` Gary Thomas
2005-07-27 17:06     ` Paul D. DeRocco
2005-07-28 15:22       ` Domenico La Fauci
2005-07-28 15:36         ` Andrew Lunn [this message]
2005-07-28 15:54           ` Jaws

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050728153557.GD1057@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=mlafauci@tiscali.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).