jimtse
网站页面
cat /proc/mtd
dd if=/dev/mtd0 of=/tmp/mtd0_spi0.1.bin
dd if=/dev/mtd1 of=/tmp/mtd1_BL2.bin
dd if=/dev/mtd2 of=/tmp/mtd2_Nvram.bin
dd if=/dev/mtd3 of=/tmp/mtd3_Bdata.bin
dd if=/dev/mtd4 of=/tmp/mtd4_Factory.bin
dd if=/dev/mtd5 of=/tmp/mtd5_FIP.bin
dd if=/dev/mtd6 of=/tmp/mtd6_crash.bin
dd if=/dev/mtd7 of=/tmp/mtd7_crash_log.bin
dd if=/dev/mtd9 of=/tmp/overlay.bin
mtd -r write /tmp/overlay.bin /dev/mtd9
sysupgrade -b /tmp/back.tar.gz
sysupgrade -r /tmp/back.tar.gz
rm -rf /overlay/* && reboot
mtd -r erase /dev/mtd9
mtd -r write openwrt.bin linux
sysupgrade -f /mnt/back.tar.gz img.bin
Jim Tse
https://jimtse.eu.org:88/soft-router/openwrt-mtd-and-sysupgrade.html(转载时请注明本文出处及文章链接)