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.76 #1 (Red Hat Linux)) id 1TXorq-00075F-3p for barebox@lists.infradead.org; Mon, 12 Nov 2012 07:55:38 +0000 Date: Mon, 12 Nov 2012 08:55:36 +0100 From: Sascha Hauer Message-ID: <20121112075536.GP10369@pengutronix.de> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: defaultenv-2: how to update a flash partition? To: Fabio Porcedda Cc: barebox@lists.infradead.org On Fri, Nov 09, 2012 at 12:06:38PM +0100, Fabio Porcedda wrote: > Hi all, > > I want to use the defaultenv-2 but i don't find any more the "update" > command > like in the defaultenv. > What is the recommended way to update a flash partition in the new > environment? erase /dev/env0 cp /mnt/tftp/your-new-env /dev/env0 (I was thinking about adding a -e parameter to cp to eventually skip the first step) Sascha -- 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