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]

Problem with fis list, bug?


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?

Cheers
  Francois 
-- 
Francois Retief
Tel. (021) 808-4472
http://www.esl.ee.sun.ac.za
ESL, Dept. E&E Engineering
Stellenbosch University


-- 
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]