评测拿了2台蒲公英路由器,第一件事情当然是先备份固件。编程器到手了,电烙铁还没买。
mkdir -p /tmp/bin/
cd /tmp/bin/
grep mtd /proc/mtd |sed -e 's/://g' -e 's/"//g' |awk '{print "dd if=/dev/"$1" of="$4".bin"}' |sh
dev: size erasesize name
mtd0: 00030000 00010000 "u-boot"
mtd1: 00010000 00010000 "kpanic"
mtd2: 00010000 00010000 "factory"
mtd3: 00010000 00010000 "bdinfo"
mtd4: 00010000 00010000 "reserve"
mtd5: 00f90000 00010000 "firmware"
mtd6: 00110000 00010000 "kernel"
mtd7: 00e80000 00010000 "rootfs"
mtd8: 00490000 00010000 "rootfs_data"
dmesg | egrep '0x[a-z0-9]{12}'
[ 1.520000] 0x000000000000-0x000000030000 : "u-boot"
[ 1.530000] 0x000000030000-0x000000040000 : "kpanic"
[ 1.540000] 0x000000040000-0x000000050000 : "factory"
[ 1.540000] 0x000000fe0000-0x000000ff0000 : "bdinfo"
[ 1.550000] 0x000000ff0000-0x000001000000 : "reserve"
[ 1.560000] 0x000000050000-0x000000fe0000 : "firmware"
[ 1.570000] 0x000000050000-0x000000160000 : "kernel"
[ 1.580000] 0x000000160000-0x000000fe0000 : "rootfs"
[ 1.600000] 0x000000ac0000-0x000000fe0000 : "rootfs_data"
坐等详细评测
https://www.v2ex.com/t/455309 看这里吧