On Tue, Nov 11, 2008 at 3:38 PM, William Kenworthy <span dir="ltr">&lt;<a href="mailto:billk@iinet.net.au">billk@iinet.net.au</a>&gt;</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. &nbsp;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 &quot;Make sure you have opkg installed mkfs-jffs2&quot;<br><br>mkdir&nbsp; /var/tmp/root<br>mount -t jffs2 /dev/mtdblock6 /var/tmp/root<br>
<br>echo &quot;On PC side&quot;<br>echo<br>echo &quot;ssh <a href="mailto:root@192.168.0.202">root@192.168.0.202</a> \&quot;mkfs.jffs2 -d /var/tmp/root -e 128 --pad --no-cleanmarkers -x lzo\&quot; | pv -W &gt; rootfs_backup.jffs2&quot;<br>
echo &quot;scp root@192.168.0.202:/boot/uImage kernel_backup.bin&quot;<br><br></div></div><br>-- <br>Angus Ainslie<br><a href="http://www.handheldshell.com/">http://www.handheldshell.com/</a><br><br>