Hi,
I am using openwrt backfire version on the Atheros based linksys WRT160NL.
For accessing NVRAM on the board, i am using the "nvram" utility configured during "make menuconfig".
The "nvram" utility does allow to view all the variables on NVRAM.
But it doesn't seem to set new values/variables to NVRAM
since "nvram commit" command fails with the below error:
mtdblock: erase of region [0x0, 0x10000] on "nvram" failed.
I would be grateful if anyone could suggest a means to set new name/values in the NVRAM.
root@OpenWrt:/tmp# nvram set UNITID=7
root@OpenWrt:/tmp# nvram get UNITID
7
root@OpenWrt:/tmp# nvram commit
root@OpenWrt:/tmp# nvram get UNITID
No output