* howto load/save envfs from linux @ 2013-11-07 9:08 zzs 2013-11-07 9:19 ` Jan Lübbe 0 siblings, 1 reply; 2+ messages in thread From: zzs @ 2013-11-07 9:08 UTC (permalink / raw) To: barebox 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 ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: howto load/save envfs from linux 2013-11-07 9:08 howto load/save envfs from linux zzs @ 2013-11-07 9:19 ` Jan Lübbe 0 siblings, 0 replies; 2+ messages in thread From: Jan Lübbe @ 2013-11-07 9:19 UTC (permalink / raw) To: zzs; +Cc: barebox 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-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-07 9:18 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-11-07 9:08 howto load/save envfs from linux zzs 2013-11-07 9:19 ` Jan Lübbe
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox