howto load/save envfs from linux

2013-11-07 Thread zzs
My final user program is a linux program, It want to change
mac address of eth.

So I must read and write back the data saved in envfs.

Howto do that?

-- 
Best Regards,
zzs



___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


Re: howto load/save envfs from linux

2013-11-07 Thread Jan Lübbe
On Thu, 2013-11-07 at 17:08 +0800, zzs wrote:
 My final user program is a linux program, It want to change
 mac address of eth.
 
 So I must read and write back the data saved in envfs.
 
 Howto do that?

You can enable compilation of the bareboxenv tool in menuconfig. That
tool can read and write the envfs format from userspace.

Regards,
Jan
-- 
Pengutronix e.K.   | |
Industrial Linux Solutions | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917- |


___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox