dd-wrt to openwrt

 

mtd 情況

cat /proc/mtd

dev:    size   erasesize  name
mtd0: 00020000 00010000 "RedBoot"
mtd1: 003c0000 00010000 "linux"
mtd2: 002a0000 00010000 "rootfs"
mtd3: 00040000 00010000 "ddwrt"
mtd4: 00010000 00010000 "nvram"
mtd5: 00010000 00010000 "board_config"
mtd6: 00400000 00010000 "fullflash"
mtd7: 00020000 00010000 "fullboot"

 

更新:

root@DD-WRT:/tmp# mtd   write   openwrt-ar71xx-generic-tl-wr941nd-v3-squashfs-sysupgrade.bin   linux

Unlocking linux ...
Writing from openwrt-ar71xx-generic-tl-wr941nd-v3-squashfs-factory.bin to linux ...  [w]

P.S.

sysupgrade.bin 是比較細的

更新後 reboot 前:

root@DD-WRT:/tmp# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00020000 00010000 "RedBoot"
mtd1: 003c0000 00010000 "linux"
mtd2: 002c0000 00010000 "rootfs"
mtd3: 00010000 00010000 "ddwrt"
mtd4: 00010000 00010000 "nvram"
mtd5: 00010000 00010000 "board_config"
mtd6: 00400000 00010000 "fullflash"
mtd7: 00020000 00010000 "fullboot"

reboot 後:

root@OpenWrt:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00020000 00010000 "u-boot"
mtd1: 000e9ce8 00010000 "kernel"
mtd2: 002e6318 00010000 "rootfs"
mtd3: 00110000 00010000 "rootfs_data"
mtd4: 00010000 00010000 "art"
mtd5: 003d0000 00010000 "firmware"

Creative Commons license icon Creative Commons license icon