Neat! Thanks, BillK
On Tue, 2008-11-11 at 16:30 -0700, Angus Ainslie wrote: > On Tue, Nov 11, 2008 at 3:38 PM, William Kenworthy > <[EMAIL PROTECTED]> wrote: > Is there a dfu-util that can successfully backup an existing > flash? > > Last one I tried still failed. Its a big discouragement to > trying new > distros/experimenting when it takes hours to reinstall/rebuild > back to > where you were when you started when a simple flash the old > system back > would do. > > BillK > > > You can do it from an ssh session. I use the script below > > #!/bin/sh > echo "Make sure you have opkg installed mkfs-jffs2" > > mkdir /var/tmp/root > mount -t jffs2 /dev/mtdblock6 /var/tmp/root > > echo "On PC side" > echo > echo "ssh [EMAIL PROTECTED] \"mkfs.jffs2 -d /var/tmp/root -e 128 > --pad --no-cleanmarkers -x lzo\" | pv -W > rootfs_backup.jffs2" > echo "scp [EMAIL PROTECTED]:/boot/uImage kernel_backup.bin" > > > > -- > Angus Ainslie > http://www.handheldshell.com/ > -- William Kenworthy <[EMAIL PROTECTED]> Home in Perth! _______________________________________________ support mailing list [email protected] https://lists.openmoko.org/mailman/listinfo/support
