[OLPC-devel] OLPCflash: ROM files are now 1MiB

Richard Smith smithbone at gmail.com
Tue Aug 22 08:41:00 EDT 2006


I just committed the change where ROM files have to be 1MiB.

Reads and verifies will operate against the entire part. The writes
skip the first 64KiB unless --brick mode is enabled.

I also added a -n "noop" mode that lets me test on non-olpc hardware.

Unfortunately, I forgot to bring my OLPC home with me last night so
I've only run in my noop mode and its not been tested on a real OLPC.

I probably won't be able to get time to set up and run it until after
the day job is done.

Perhaps some brave soul will be my Alpha tester?  If so I recommend
you keep a copy of the previous version with you so you can restore
things if it doesn't look like it worked.

How I would test:

Start with a full read of the part using the old version.

old-olpcflash --brick -r <backupImage>
new-olpcflash -w <EC+ROMimage>
new-olpcflash -r <testimage>
new-olpcflash -v <backupImage>

if (verify == false) {
old-olpcflash
You will need to pre-pend the current images with the EC code.

-- 
Richard A. Smith



More information about the Devel mailing list