This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Problem with fis list, bug?
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Francois Retief <fgretief at sun dot ac dot za>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: 15 Nov 2003 06:06:06 -0700
- Subject: Re: [ECOS] Problem with fis list, bug?
- Organization: MLB Associates
- References: <200311142009.16209.fgretief@sun.ac.za>
On Fri, 2003-11-14 at 11:09, Francois Retief wrote:
> Hello,
>
> I have a H8/300H board with AMD AT29F010B flash. I succeded in getting
> Redboot to program the flash, "fis init -f". But when I run a "fis list"
> command, it only print:
>
> FLASH: 0x00000000 - 0x00020000, 8 blocks of 0x00004000 bytes each.
> Redboot> fis list
> Name FLASH addr Mem addr Length Entry point
> FIS directory 0x0001C000 0x0001C000 0x00003000 0x00000000
> RedBoot config 0x0001F000 0x0001F000 0x00001000 0x00000000
> Redboot>
>
> The Redboot entry is missing (FLASH addr = 0x0000000, Length = 0x14000).
> After a search, I found the error to be in the fis_list() function (line 489)
> in redboot/current/src/flash.c. The for loop skip all entries with
> (img->flash_base == 0).
>
> Does anybody know about this problem? How can this be fixed?
Try updating to the latest code from CVS. I completely rewrote this
function on Oct 6. I'm pretty sure it will work correctly for your
case now.
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss