Original address: http://blog.chinaunix.net/uid-25631578-id-4011568.html
AR series partition address
4M flash span>Partition address:
Partition name Start address Partition length< /span>
uboot 0x9f000000 0x9f020000 0x20000
firmware 0x9f020000 0x9f3e0000 0x3c0000
art 0x9f3f0000 0x9f3e0000 0x10000 0x10000
“> 8MflashPartition address:
Partition name Start address End address Partition length
uboot 0x9 f000000 0x9f020000 0x20000
firmware 0x9f020000 0x9f7e0000 0x7c0000
art 0x9f7f0000 0x9f7e0000 0x10000
/p>
1. Command line brush system
The firmware is transferred to /tmp
- cd /tmp
- cat /proc/mtd
- mtd0: 00020000 00010000 “u–boot”
li> - mtd1: 000e01c4 00010000 “kernel”
- mtd2
: 002efe3c 00010000 “rootfs”
- mtd3: 00060000 00010000 “rootfs_data”
- mtd4:00010000 00010000″ art”
- mtd5:003d0000 00010000 “firmware”
< li style="word-wrap:break-word; margin:0px; padding:0px 0px 0px 10px; list-style:none outside none"> dev:sizeerasesizename
< p style="word-wrap:break-word; margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px; color:rgb(69,69,69); font-family :Tahoma,Helvetica,Arial,STHeiti; font-s ize:14px; line-height:21px"> From the above command, we can know that mtd5 is firmare
#Use mtd to update the system
span>
#Using sysupgrade to update the system is recommended.
- sysupgrade factory.bin
2.ttl refresh programmer firmware, fw, uboot, art< /p>
4M:
Flash programmer firmware:
- tftp 0x80000000 full.bin
- erase 0x9f000000+0x400000
- cp.b 0x80000000 0x9f000000 0x400000
brush uboot:
- tftp 0x80000000 uboot.bin
- erase 0x9f000000 +0x20000
- cp.b 0x80000000 0x9f000000 0x20000
Brush fw:
- tftp 0x80000000 fw.bin
- erase 0x9f020000+ 0x3c0000
- cp.b 0x80000000 0x9f020000 0x3c0000
brush art:
- tftp 0x80000000 art.bin
- er ase 0x9f3f0000 +0x10000
< li style="word-wrap:break-word; margin:0px; padding:0px 0px 0px 10px; list-style:none outside none"> cp.b 0x80000000 0x9f3f0000 0x10000
8M:
Flash programmer firmware:
- < span style="word-wrap:break-word; color:rgb(0,0,0)">tftp 0x80000000 full .bin
- erase 0x9f000000 +0x800000
- cp.b 0x80000000 0x9f000000 0x800000
brush uboot:
- tftp 0x80000000 uboot. bin
- erase 0x9f000000+0x20000
- cp.b 0x80000000 0x9f000000 0x20000
brush fw: p>
- tftp 0x80000000 fw.bin
- erase 0x9f020000+0x7c0000
- cp.b 0x80000000 0x9f020000 0x7c0000
brush art:
- tftp 0x80000000 art.bin
- erase 0x9f7f0000+ 0x10000
- cp.b 0x80000000 0x9f7f0000 0x10000
- cd /tmp
- cat /proc /mtd
- dev:sizeerasesizename
- mtd0: 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”
- mtd–r write factory.bin firmware< /span>
- sysupgrade factory.bin< /li>
- tftp 0x80000000 full.bin
- erase 0x9f000000 +< /span>0x400000
- cp.b 0x80000000 0x9f000000 0x400000
- tftp 0x80000000 uboot.bin
- erase 0x9f000000+0x20000
- cp.b 0x80000000 0x9f000000 0x20000
- tftp 0x80000000 fw.bin
- erase 0x9f020000+0x3c0000
- cp.b 0x80000000 0x9f020000 0x3c0000
- tftp 0x80000000 art.bin
- erase 0x9f3f0000 +0x10000
- cp.b 0x80000000 0x9f3f0000 0x10000
- tftp 0x80000000 full.bin
- erase 0x9f000000+0x800000
- cp.b 0x80000000 0x9f000000 0x800000
ol>
< ol start="1" class="dp-css none_number" style="word-wrap:break-word; margin:0px 1px 0px 0px; padding:5px 0pt; list-style:none outside none; color:rgb(92 ,92,92); line-height:1.3">
- tftp 0x80000000 uboot.bin
- erase 0x9f000000 +0x20000
- cp.b 0x80000000 0x9f000000 0x20000
- tftp 0x80000000 fw.bin
- erase 0x9f020000 +0x7c0000
- cp.b 0x80000000 0x9f020000 0x7c0000
- tftp 0x80000000 art.bin
- erase 0x9f7f0000 +0x10000
- cp.b 0x80000000 0x9f7f0000 0x10000