Skip to contentSkip to conversation

howto load/save envfs from linux

DISCUSSION zzs 2 participants 2 messages Nov 7, 2013

lore
Share & tools
lore

zzs

author
#0 lore raw

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?

Signature · 9 lines
Best Regards,
zzs



_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw
Quoted 6 lines · 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?

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

Regards,
Jan

Signature · 10 lines
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-5555 |


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox