[OpenWrt-Devel] Openwrt AR9344 Factory reset issue
John kerry
kerry9842 at gmail.com
Wed Feb 17 08:37:42 EST 2016
I have written the mac_address, wifi mac address and Serial number in mtd5
(ART) successfully as below location :
Mac Address : offset 0x0
Wi-Fi Mac Address: offset 4098
Seral number : offset 4104
and its working fine. Able to read and write.
but after that when i do the factory reset using below command it's not
happening, it's hanged and showing below messages:
mtd -r erase rootfs_data
Unlocking rootfs_data ...
Erasing rootfs_data ...
Rebooting ... [ 723.210000] Removing MTD device #3 (rootfs_data) with use
count 1
[ 723.240000] Restarting system.
Below is the partition
Creating 6 MTD partitions on "spi0.0":
0x000000000000-0x000000040000 : "u-boot"
0x000000040000-0x000000050000 : "u-boot-env"
0x000000050000-0x000000680000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=5B0000, len=D0000
0x0000005b0000-0x000000680000 : "rootfs_data"
0x000000680000-0x0000007f0000 : "kernel"
0x0000007f0000-0x000000800000 : "art"
0x000000050000-0x0000007e0000 : "firmware"
cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00630000 00010000 "rootfs"
mtd3: 000d0000 00010000 "rootfs_data"
mtd4: 00170000 00010000 "kernel"
mtd5: 00010000 00010000 "art"
mtd6: 00790000 00010000 "firmware"
Could anyone help me to solve this issue.
Regards,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20160217/53bbc61c/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list