From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-oa0-f49.google.com ([209.85.219.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TYEOZ-0003uv-BF for barebox@lists.infradead.org; Tue, 13 Nov 2012 11:11:11 +0000 Received: by mail-oa0-f49.google.com with SMTP id l10so6953435oag.36 for ; Tue, 13 Nov 2012 03:11:05 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20121112075536.GP10369@pengutronix.de> References: <20121112075536.GP10369@pengutronix.de> From: Fabio Porcedda Date: Tue, 13 Nov 2012 12:10:45 +0100 Message-ID: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============6163709666378553830==" 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: Sascha Hauer Cc: barebox@lists.infradead.org --===============6163709666378553830== Content-Type: multipart/alternative; boundary=e89a8f839f6f61092004ce5e7904 --e89a8f839f6f61092004ce5e7904 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Nov 12, 2012 at 8:55 AM, Sascha Hauer wrote: > 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 > > Thanks, it worked. > (I was thinking about adding a -e parameter to cp to eventually skip the > first step) > It seems a nice addition for me. There is some plane in the future to add a "update" command, like in "defaultenv"? Thanks for the help and the great work with barebox, i like it very much. -- Fabio Porcedda --e89a8f839f6f61092004ce5e7904 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Mon, Nov 12, 2012 = at 8:55 AM, Sascha Hauer <s.hauer@pengutronix.de> wrote= :
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


Thanks, it worked.
=A0
(I was thinking about adding a -e parameter to cp to eventually skip the first step)

It seems a nice addition for me.

There is some plane in= the future to add a "update" command, like in "defaultenv&q= uot;?

Thanks for the help and the great work with barebox, i like it ve= ry much.
--
Fabio Porcedda

--e89a8f839f6f61092004ce5e7904-- --===============6163709666378553830== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox --===============6163709666378553830==--