OpenWrt Common Burn-write commands
AR Series Partition address
4M Flash's partition address:
分区名 起始地址 结束地址 分区长度uboot 0x9f000000 0x9f020000 0x20000firmware 0x9f020000 0x9f3e0000 0x3c0000art 0x9f3f0000 0x9f3e0000 0x10000
8M Flash's partition address:
分区名 起始地址 结束地址 分区长度uboot 0x9f000000 0x9f020000 0x20000firmware 0x9f020000 0x9f7e0000 0x7c0000art 0x9f7f0000 0x9f7e0000 0x10000
16M Flash's partition address:
分区名 起始地址 结束地址 分区长度uboot 0x9f000000 0x9f020000 0x20000firmware 0x9f020000 0x9ffe0000 0xfc0000art 0x9fff0000 0x9ffe0000 0x10000
1. Command line Brush System
Firmware passed to/tmp:
cd /tmpcat /proc/mtddev: size erasesize namemtd0: 00020000 00010000 “u-boot”mtd1: 000e01c4 00010000 “kernel”mtd2: 002efe3c 00010000 “rootfs”mtd3: 00060000 00010000 “rootfs_data”mtd4: 00010000 00010000 “art”mtd5: 003d0000 00010000 “firmware”
As you can tell from the above command, MTD5 is firmare.
Using MTD to update the system
mtd -r write factory.bin firmware
It is recommended to update the system using Sysupgrade.
sysupgrade factory.bin
2.ttl Refresh programmer firmware, FW, Uboot, art
4M of:
Brush Programmer firmware:
tftp 0x80000000 full.bin (可能 printenv 地址不是0x80000000,没有关系)erase 0x9f000000 +0x400000cp.b 0x80000000 0x9f000000 0x400000
Brush Uboot:
tftp 0x80000000 uboot.binerase 0x9f000000 +0x20000cp.b 0x80000000 0x9f000000 0x20000
Brush FW:
tftp 0x80000000 fw.binerase 0x9f020000 +0x3c0000cp.b 0x80000000 0x9f020000 0x3c0000
Brush Art:
tftp 0x80000000 art.binerase 0x9f3f0000 +0x10000cp.b 0x80000000 0x9f3f0000 0x10000
8M of:
Brush Programmer All Firmware (Uboot+fs+art):
tftp 0x80000000 full.binerase 0x9f000000 +0x800000cp.b 0x80000000 0x9f000000 0x800000
Brush Uboot:
tftp 0x80000000 uboot.binerase 0x9f000000 +0x20000cp.b 0x80000000 0x9f000000 0x20000
Brush FW:
tftp 0x80000000 fw.binerase 0x9f020000 +0x7c0000cp.b 0x80000000 0x9f020000 0x7c0000
Brush Art:
tftp 0x80000000 art.binerase 0x9f7f0000 +0x10000cp.b 0x80000000 0x9f7f0000 0x10000
16M:
FW:tftp 0x80000000 fw.binerase 0x9f020000 +0xfc0000cp.b 0x80000000 0x9f020000 0xfc0000
This article by http://www.wifidog.pro/2015/08/04/openwrt-uboot%E5%88%B7%E6%9C%BA.html compilation, reprint please indicate the source
OpenWrt TTL Uboot Brush Machine