This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
[Fwd: How to enable redboots CRC checking]
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: eCos discussion <ecos-discuss at ecos dot sourceware dot org>
- Cc: Winkler Andreas <andreas dot aw dot winkler at siemens dot com>
- Date: Wed, 05 May 2004 11:13:43 +0100
- Subject: [ECOS] [Fwd: How to enable redboots CRC checking]
This was misaddressed...
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
--- Begin Message ---
- From: Winkler Andreas <andreas dot aw dot winkler at siemens dot com>
- To: "'ecos-discuss-owner at ecos dot sourceware dot org'" <ecos-discuss-owner at ecos dot sourceware dot org>
- Date: Wed, 5 May 2004 09:28:40 +0200
- Subject: How to enable redboots CRC checking
- Delivery-date: Wed, 05 May 2004 08:29:24 +0100
- Envelope-to: jiflsw@jifvik.org
Hi,
some weeks ago I asked about the CRC checking of redboot. From Thomas Gary i
got the following answer:
"When images are written to the FIS, a CRC will be calculated and saved with
the image. When you read the image into RAM ("fis load"), the CRC is
verified and if it fails, then the entry point address is suppressed. This
is normally used to prevent the "go" command from executing."
Now I made a test. for the CRC checking.
With Redboot I wrote a Linux kernel to flash (fis create). I could load that
kernel to RAM and start it.
With Linux I wrote something into that flash image.
Then I booted Redboot. Again I loaded the kernel image to RAM and could
start it without any fault message.
Of course the kernel was not runnable and crashed.
I had expected a fault message when trying to run the corrumpted kernel
image.
What could be the reason that it doesn't work?
Regards
Andreas
--- End Message ---
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss