mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Fabio Porcedda <fabio.porcedda@gmail.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: defaultenv-2: how to update a flash partition?
Date: Tue, 13 Nov 2012 12:10:45 +0100	[thread overview]
Message-ID: <CAHkwnC_FXJ3reNcwDuxhsC=fSG-dDSgg+7njS5sy7aCG5QCRoQ@mail.gmail.com> (raw)
In-Reply-To: <20121112075536.GP10369@pengutronix.de>


[-- Attachment #1.1: Type: text/plain, Size: 748 bytes --]

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.


> (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

[-- Attachment #1.2: Type: text/html, Size: 1355 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2012-11-13 11:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-09 11:06 Fabio Porcedda
2012-11-12  7:55 ` Sascha Hauer
2012-11-13 11:10   ` Fabio Porcedda [this message]
2012-11-14  8:10     ` Sascha Hauer
2012-11-20 12:21       ` Fabio Porcedda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHkwnC_FXJ3reNcwDuxhsC=fSG-dDSgg+7njS5sy7aCG5QCRoQ@mail.gmail.com' \
    --to=fabio.porcedda@gmail.com \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox