Re: [OpenWrt-Devel] write/read from mtd ART partition

2016-02-16 Thread John kerry
Hi, Sorry for the previous email, The MAC address got changed. Could you please help me to write the serial number also. Actually i have enabled the ART2 also for the calibration. So how i can write the MAC, Serial number (15 Digits) without overwriting on calibration data. Thanks, John On Tu

Re: [OpenWrt-Devel] write/read from mtd ART partition

2016-02-16 Thread John kerry
Hi, Thank you so much for reply. The offset for the mac address is as below: Ethernet MAC address is saved in art partition with offset 0 WiFi device calibration data is saved in art partition with offset 0x1000 As you mentioned above: I have tried the below command but the mac address is not ch

Re: [OpenWrt-Devel] write/read from mtd ART partition

2016-02-16 Thread micke . prag
2016-02-16 11:43 skrev John kerry: Hi I am trying to write mac address and Serial number in ART partition. Creating 6 MTD partitions on "spi0.0": 0x-0x0004 : "u-boot" 0x0004-0x0005 : "u-boot-env" 0x0005-0x0068 : "rootfs" mtd: partition "rootf

Re: [OpenWrt-Devel] write/read from mtd ART partition

2016-02-16 Thread John Crispin
On 16/02/2016 11:43, John kerry wrote: > Hi > > I am trying to write mac address and Serial number in ART partition. > > Creating 6 MTD partitions on "spi0.0": > 0x-0x0004 : "u-boot" > 0x0004-0x0005 : "u-boot-env" > 0x0005-0x0068 : "rootfs" > m

[OpenWrt-Devel] write/read from mtd ART partition

2016-02-16 Thread John kerry
Hi I am trying to write mac address and Serial number in ART partition. Creating 6 MTD partitions on "spi0.0": 0x-0x0004 : "u-boot" 0x0004-0x0005 : "u-boot-env" 0x0005-0x0068 : "rootfs" mtd: partition "rootfs" set to be root filesystem mtd: part