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ć <[EMAIL PROTECTED]> | http://radian.org > > _______________________________________________ > Devel mailing list > Devel@lists.laptop.org > http://lists.laptop.org/listinfo/devel > _______________________________________________ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel