public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Robert Brusa <bob.brusa@gmail.com>
To: MailingList:ecos-discuss <ecos-discuss@ecos.sourceware.org>;
Subject: [ECOS]redboot fconfig -i command
Date: Thu, 26 Mar 2009 18:21:00 -0000	[thread overview]
Message-ID: <op.urers3s0keg3uf@localhost> (raw)

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

                 reply	other threads:[~2009-03-26 16:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=op.urers3s0keg3uf@localhost \
    --to=bob.brusa@gmail.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    /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).