This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
redboot fconfig -i command
- From: Robert Brusa <bob dot brusa at gmail dot com>
- To: MailingList:ecos-discuss <ecos-discuss at ecos dot sourceware dot org>;
- Date: Thu, 26 Mar 2009 17:52:11 +0100
- Subject: [ECOS]redboot fconfig -i command
- Reply-to: Bob dot Brusa at gmail dot com
Hi
I have built a redboot for my AT91SAM7X-based board. I specified a default
startup script and it works. It is also possible to download a program.
What's not working is the fconfig -i command. When starting up, redboot
reports:
FIS directory doesn't fit
**Warning** FLASH configuration checksum error or invalid key
Use 'fconfig -i' to [re]initialize database
But when I do just that, I get an error as follows:
RedBoot> fconfig -i
Initialize non-volatile configuration - continue (y/n)? y
Run script at boot: true
Boot script:
Enter script, terminate with empty line
go 0x120040
Boot script timeout (1000ms resolution): 1000
Console baud rate: 38400
Update RedBoot non-volatile configuration - continue (y/n)? y
... Erase from 0x0013ff00-0x0013ffff: .
Error erasing FIS directory at 0x0020ea7b: Invalid FLASH address
I do not understand this message. The address shown above is RAM - not
flash????
I also have noticed that following use of redboot, some parts of the flash
are locked - although I disabled the macro CYGBLD_DEV_FLASH_AT91_LOCKING
in configtool. Does anyone know something about this kind of problems. I
would like to be able to change the run script at a later date - just in
case the downloaded program would need it. Thanks
Robert
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss