open firmware question
wmb at laptop.org
Fri Jan 4 17:24:07 EST 2008
Ivan Krstić wrote:
> On Jan 2, 2008, at 10:13 PM, Ricardo Carrano wrote:
>> How do I do the opposite of copy-nand - copy the OS image _from_ the
>> nand into a USB key?
> If you don't have OFW access or it isn't convenient to have to reboot,
> you can use my 45-second Python hack: <http://dev.laptop.org/~krstic/dumpnand.py
> # modprobe mtdchar
> # python dumpnand.py < /dev/mtd0 > /your/USBKEY/nand-image.bin
> In a pinch, you can pipe the output through netcat to upload it
> somewhere directly.
You will have to separately generate a .crc file for the .bin file if
you want to use copy-nand with it later.
> Ivan Krstić <krstic at solarsail.hcs.harvard.edu> | http://radian.org
> Devel mailing list
> Devel at lists.laptop.org
More information about the Devel