This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with fis list, bug?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]