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]

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

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