[Trac #1027] OS Installation Failure
Zarro Boogs per Child
bugtracker at laptop.org
Thu Mar 15 16:15:45 EDT 2007
#1027: OS Installation Failure
---------------------------------+------------------------------------------
Reporter: wmb at firmworks.com | Owner: wmb at firmworks.com
Type: defect | Status: new
Priority: normal | Milestone: CTest
Component: ofw - open firmware | Resolution:
Keywords: |
---------------------------------+------------------------------------------
Comment (by wmb at firmworks.com):
I have already added checking facilities to the firmware, which will
appear in the next firmware release.
ok verify-nand disk:\boot\nand300.img
verify-nand compares the NAND FLASH image with the data on the USB disk
file.
ok crc-img disk:\boot\nand300.img disk:\boot\nand300.crc
crc-img computes a CRC-32 for each erase block (i.e. chunk of 0x20000
bytes) within the image file on the USB disk file, comparing it to a list
of block CRCs in the .crc file.
ok crc-nand disk:\boot\nand300.crc
crc-img computes a CRC-32 for each erase block (i.e. chunk of 0x20000
bytes) on the NAND FLASH, comparing it to a list of block CRCs in the .crc
file.
Each line of the .crc file is a standard CRC32, seeded with -1, of a
0x20000 byte chunk of the JFFS2 image, formatted as with "%08x\n". I have
a Forth program to generate the .crc file from a .img file, but it would
probably be a good idea to write a C program to generate it and add it to
the autoreinstallation image.
--
Ticket URL: <http://dev.laptop.org/ticket/1027#comment:2>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list