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' > \
> wrt-linux.trx

Yeah.  I've seen those instructions too.  Even with some changes for my
Kamikaze install, it still doesn't seem to work:

$ ssh gw "mount -o remount,ro /dev/mtdblock4 /jffs; dd
if=/dev/mtdblock1 ; mount -o remount,rw /dev/mtdblock4 /jffs"
>~/tmp/current-gw.trx
15744+0 records in
15744+0 records out
$ 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?

b.

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to