On Tue, Nov 11, 2008 at 3:38 PM, William Kenworthy <span dir="ltr"><<a href="mailto:billk@iinet.net.au">billk@iinet.net.au</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is there a dfu-util that can successfully backup an existing flash?<br>
<br>
Last one I tried still failed. Its a big discouragement to trying new<br>
distros/experimenting when it takes hours to reinstall/rebuild back to<br>
where you were when you started when a simple flash the old system back<br>
would do.<br>
<br>
BillK<br>
<br>
</blockquote><div><br>You can do it from an ssh session. I use the script below<br><br>#!/bin/sh<br>echo "Make sure you have opkg installed mkfs-jffs2"<br><br>mkdir /var/tmp/root<br>mount -t jffs2 /dev/mtdblock6 /var/tmp/root<br>
<br>echo "On PC side"<br>echo<br>echo "ssh <a href="mailto:root@192.168.0.202">root@192.168.0.202</a> \"mkfs.jffs2 -d /var/tmp/root -e 128 --pad --no-cleanmarkers -x lzo\" | pv -W > rootfs_backup.jffs2"<br>
echo "scp root@192.168.0.202:/boot/uImage kernel_backup.bin"<br><br></div></div><br>-- <br>Angus Ainslie<br><a href="http://www.handheldshell.com/">http://www.handheldshell.com/</a><br><br>