On 10/24/2009 08:48:07 PM, Brian J. Murrell wrote:
> On Sat, 2009-10-24 at 09:41 -0700, David Bryson wrote:
> > ssh r...@host -C 'mount -o remount,ro /dev/mtdblock/4 /jffs ; \
> > dd if=/dev/mtdblock/1 ; mount -o remount,rw /dev/mtdblock/4 /jffs' 

> $ ls -l ~/tmp/current-gw.trx 
> -rw-r--r-- 1 brian brian 8060928 2009-10-24
> 21:27 /home/brian/tmp/current-gw.trx
> 
> As you can see, it's a lot larger than a firmware usually is.  Hrm. 
> Is
> that all of an 8MB flash perhaps, rather than just what portion of
> that
> 8MB really contains the usual 280-300K that's in a .trx image?

Yes.  dd won't stop until it reaches the end of the device.

Karl <[email protected]>
Free Software:  "You don't pay back, you pay forward."
                 -- Robert A. Heinlein

_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to