From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VeLiz-0001sy-Ug for barebox@lists.infradead.org; Thu, 07 Nov 2013 09:18:02 +0000 Message-ID: <1383815957.3355.129.camel@coredoba.hi.pengutronix.de> From: Jan =?ISO-8859-1?Q?L=FCbbe?= Date: Thu, 07 Nov 2013 10:19:17 +0100 In-Reply-To: <20131107090819.GA18276@greatfirst.com> References: <20131107090819.GA18276@greatfirst.com> Mime-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: howto load/save envfs from linux 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