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]

RE: FLASH configuration checksum error


On Wed, 2001-09-26 at 21:12, Warren Jasper wrote:
> 
> If that is the case, why do I always get the message:
> 
> FLASH configuration checksum error or invalid key
> 
> How do I turn that message off (besides commenting it out of the code)?
> 

This message simply says that the 'fconfig' database is not setup 
correctly.  Running 'fconfig' and making some change which will cause
the database to be written to FLASH should fix it.

> 
> -----Original Message-----
> From: Gary Thomas [mailto:gthomas@redhat.com]
> Sent: Tuesday, September 25, 2001 7:03 PM
> To: Warren Jasper
> Cc: 'eCos Discussion'
> Subject: RE: [ECOS] FLASH configuration checksum error
> 
> 
> On Wed, 2001-09-26 at 00:23, Warren Jasper wrote:
> > 
> > 
> > In that case, there will always be a checksum error on the RedBoot monitor
> 
> > when loading redboot.bin. I guess I could always load it to RAM and then
> > save it
> > into ROM with fis create ...
> > 
> 
> Actually if the stored CRC is zero, no checks are made.
> 
> > -----Original Message-----
> > From: Gary Thomas [mailto:gthomas@redhat.com]
> > Sent: Monday, September 24, 2001 6:04 PM
> > To: Jonathan Larmour
> > Cc: Warren Jasper; 'eCos Discussion'
> > Subject: Re: [ECOS] FLASH configuration checksum error
> > 
> > 
> > On Mon, 2001-09-24 at 23:53, Jonathan Larmour wrote:
> > > Warren Jasper wrote:
> > > > 
> > > > I don't think that's it.  I looked at the code, and it has
> > > > the correct ending block.  However, when I do a
> > > > 
> > > > fis list -c
> > > > Name             Flash addr   Checksum      Length     Entry point
> > > > RedBoot          0x08000000   0x00000000    0x00040000 0x00000000
> > > > RedBoot[backup]  0x08040000   0x00000000    0x00040000 0x00000000
> > > > RedBoot config   0x07870000   0x00000000    0x00010000 0x00000000
> > > > FIS directory    0x087C0000   0x00000000    0x00040000 0x00000000
> > > > 
> > > > Why are all the checksum entries zero?  How do I set them?
> > > 
> > > They're meant to be set automatically when the config is written. UTSL.
> > 
> > Actually, they are only set when a file/image is written ('fis create').
> > Building the directory ('fis init') will set them to zero.



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