* defaultenv-2: how to update a flash partition?
@ 2012-11-09 11:06 Fabio Porcedda
2012-11-12 7:55 ` Sascha Hauer
0 siblings, 1 reply; 5+ messages in thread
From: Fabio Porcedda @ 2012-11-09 11:06 UTC (permalink / raw)
To: barebox
[-- Attachment #1.1: Type: text/plain, Size: 224 bytes --]
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?
Best regards
--
Fabio Porcedda
[-- Attachment #1.2: Type: text/html, Size: 272 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: defaultenv-2: how to update a flash partition?
2012-11-09 11:06 defaultenv-2: how to update a flash partition? Fabio Porcedda
@ 2012-11-12 7:55 ` Sascha Hauer
2012-11-13 11:10 ` Fabio Porcedda
0 siblings, 1 reply; 5+ messages in thread
From: Sascha Hauer @ 2012-11-12 7:55 UTC (permalink / raw)
To: Fabio Porcedda; +Cc: barebox
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: defaultenv-2: how to update a flash partition?
2012-11-12 7:55 ` Sascha Hauer
@ 2012-11-13 11:10 ` Fabio Porcedda
2012-11-14 8:10 ` Sascha Hauer
0 siblings, 1 reply; 5+ messages in thread
From: Fabio Porcedda @ 2012-11-13 11:10 UTC (permalink / raw)
To: Sascha Hauer; +Cc: barebox
[-- 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: defaultenv-2: how to update a flash partition?
2012-11-13 11:10 ` Fabio Porcedda
@ 2012-11-14 8:10 ` Sascha Hauer
2012-11-20 12:21 ` Fabio Porcedda
0 siblings, 1 reply; 5+ messages in thread
From: Sascha Hauer @ 2012-11-14 8:10 UTC (permalink / raw)
To: Fabio Porcedda; +Cc: barebox
On Tue, Nov 13, 2012 at 12:10:45PM +0100, Fabio Porcedda wrote:
> 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.
I'll look into it.
>
> There is some plane in the future to add a "update" command, like in
> "defaultenv"?
I have no plans doing so. Basically not because I do not want such a
command, but because I do not know what such should do. The old command
took parameters like 'mmc' or 'net' which was hard to dispatch into
the different files and does not work with multiple mmc cards, so I
thought doing it completely on file level would be enough (with the
above additions added, maybe).
>
> Thanks for the help and the great work with barebox, i like it very much.
Thanks. I appreciate that ;)
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: defaultenv-2: how to update a flash partition?
2012-11-14 8:10 ` Sascha Hauer
@ 2012-11-20 12:21 ` Fabio Porcedda
0 siblings, 0 replies; 5+ messages in thread
From: Fabio Porcedda @ 2012-11-20 12:21 UTC (permalink / raw)
To: Sascha Hauer; +Cc: barebox
[-- Attachment #1.1: Type: text/plain, Size: 1134 bytes --]
On Wed, Nov 14, 2012 at 9:10 AM, Sascha Hauer <s.hauer@pengutronix.de>wrote:
> On Tue, Nov 13, 2012 at 12:10:45PM +0100, Fabio Porcedda wrote:
> > 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:
> > > > ...
> > > ...
> > ...
> > > (I was thinking about adding a -e parameter to cp to eventually skip
> the
> > > first step)
> > >
> >
> > It seems a nice addition for me.
>
> I'll look into it.
>
>
Thanks.
> >
> > There is some plane in the future to add a "update" command, like in
> > "defaultenv"?
>
> I have no plans doing so. Basically not because I do not want such a
> command, but because I do not know what such should do. The old command
> took parameters like 'mmc' or 'net' which was hard to dispatch into
> the different files and does not work with multiple mmc cards, so I
> thought doing it completely on file level would be enough (with the
> above additions added, maybe).
>
>
Thanks for the explanation.
> ...
>
I hope to submit soon the support for the Telit EVK-PRO3.
Best regards
--
Fabio Porcedda
[-- Attachment #1.2: Type: text/html, Size: 2052 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-11-20 12:21 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-09 11:06 defaultenv-2: how to update a flash partition? Fabio Porcedda
2012-11-12 7:55 ` Sascha Hauer
2012-11-13 11:10 ` Fabio Porcedda
2012-11-14 8:10 ` Sascha Hauer
2012-11-20 12:21 ` Fabio Porcedda
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox