<HTML><BODY>Hello.<br><br>Tue, 10 Jul 2012 11:06:47 +0200 от Uwe Kleine-König <u.kleine-koenig@pengutronix.de>:<br>
<blockquote style="border-left: 1px solid rgb(8, 87, 166); margin: 10px; padding: 0pt 0pt 0pt 10px;" class="mailru-blockquote"><div id=""><div class="js-helper js-readmsg-msg"><div id="style_13419112990000000403" class="mr_read__body"><div id="style_13419112990000000403_BODY">On Tue, Jul 10, 2012 at 10:18:33AM +0200, Michael Olbrich wrote:<br>
> On Mon, Jul 09, 2012 at 03:48:20PM +0200, Patrick wrote:<br>
> > When booting a new board with barebox it detect that the nand<br>
> > partition dedicated to environment is invalid and barebox use the<br>
> > default config.<br>
> > I would like that in this case (the first boot) the default config<br>
> > is flashed in the nand (save) command.<br>
> > <br>
> > Any idea how to do that ?<br>
> <br>
> if [ ! -e /dev/saved ]; then<br>
>    echo -o /dev/saved<br>
>    saveenv<br>
> fi<br>
Is /dev/saved persistent over a reboot?</div></div></div></div></blockquote>IMHO He mean about /env/saved<br><blockquote style="border-left: 1px solid rgb(8, 87, 166); margin: 10px; padding: 0pt 0pt 0pt 10px;" class="mailru-blockquote"><div id=""><div class="js-helper js-readmsg-msg"><div id="style_13419112990000000403" class="mr_read__body"><div id="style_13419112990000000403_BODY"><br></div></div></div></div></blockquote></BODY></HTML>