<div dir="ltr"><div><div><div><div>I have written the mac_address, wifi mac address and Serial number in mtd5 (ART) successfully as below location :
<br>
Mac Address : offset 0x0<br>Wi-Fi Mac Address: offset 4098<br>Seral number : offset 4104<br><br>and its working fine.
Able to read and write. <br>
<br>but after that when i do the factory reset using below command it's not happening, it's hanged and showing below messages:
<br>mtd -r erase rootfs_data
<br>
<br>Unlocking rootfs_data ...
<br>Erasing rootfs_data ...
<br>
<br>Rebooting ... [  723.210000] Removing MTD device #3 (rootfs_data) with use count 1
<br>[  723.240000] Restarting system.
<br>
<br></div>Below is the partition <br>Creating 6 MTD partitions on "spi0.0":<br>0x000000000000-0x000000040000 : "u-boot"<br>0x000000040000-0x000000050000 : "u-boot-env"<br>0x000000050000-0x000000680000 : "rootfs"<br>mtd: partition "rootfs" set to be root filesystem<br>mtd: partition "rootfs_data" created automatically, ofs=5B0000, len=D0000<br>0x0000005b0000-0x000000680000 : "rootfs_data"<br>0x000000680000-0x0000007f0000 : "kernel"<br>0x0000007f0000-0x000000800000 : "art"<br>0x000000050000-0x0000007e0000 : "firmware"<br><br>cat /proc/mtd<br>dev:    size   erasesize  name<br>mtd0: 00040000 00010000 "u-boot"<br>mtd1: 00010000 00010000 "u-boot-env"<br>mtd2: 00630000 00010000 "rootfs"<br>mtd3: 000d0000 00010000 "rootfs_data"<br>mtd4: 00170000 00010000 "kernel"<br>mtd5: 00010000 00010000 "art"<br>mtd6: 00790000 00010000 "firmware"<br><br></div>Could anyone help me to solve this issue.<br></div>Regards,<br></div>John<br></div>