@alexander: <div><br></div><div><div>wrs-02:0B:AD:C0:FF:EE# saveenv </div><div>saving environment</div><div>Skipping bad block at 0x00000000</div><div>Skipping bad block at 0x00020000</div><div>Skipping bad block at 0x00040000</div>

<div>Skipping bad block at 0x00060000</div><div>Skipping bad block at 0x00080000</div><div>Skipping bad block at 0x000a0000</div><div>Skipping bad block at 0x000c0000</div><div><br></div><div>then I reboot</div><div><br>
</div>
<div><div>read: No error                                                                  </div><div>running /env/bin/init...                                                        </div><div>not found                </div>

</div><div><br></div><br><span style="font-family:'Times New Roman';font-size:medium">--</span><br style="font-family:'Times New Roman';font-size:medium"><div style="font-family:'Times New Roman';font-size:medium">

<a href="http://www.sevensols.com/" target="_blank"><img src="http://www.sevensols.com/logos/logo-118x90.png"></a> <a href="http://www.sevensecurity.es" style="margin-left:10px" target="_blank"><img src="http://www.sevensols.com/logos/logo-7Sec-216x90.png"></a></div>

<br style="font-family:'Times New Roman';font-size:medium"><div style="font-family:'Times New Roman';font-size:medium"><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse;line-height:15px"><b><span lang="EN-US" style="font-family:'Caecilia LT Std Light',serif;color:rgb(16,138,208)">Benoit RAT LAMY</span></b></span></div>

<div><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;line-height:15px;font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><span lang="EN-US" style="font-family:'Caecilia LT Std Light',serif;color:rgb(16,138,208)">Engineer (Sw) \ Ingeniero (Sw)</span></p>

<p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;line-height:15px;font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><span lang="EN-US" style="font-family:'Caecilia LT Std Light',serif;color:rgb(16,138,208)">fix. <b>(+34) 958 285 024</b></span></p>

<p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;line-height:15px;font-size:13px;border-collapse:collapse"><span style="color:rgb(16,138,208);font-family:'Caecilia LT Std Light',serif">cel. </span><b style="color:rgb(16,138,208);font-family:'Caecilia LT Std Light',serif">(+34) 617 989 123</b></p>

<p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;line-height:15px;font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><span lang="EN-US" style="font-family:'Caecilia LT Std Light',serif;color:rgb(16,138,208)">e-mail: <a href="mailto:benoit@sevensols.com" target="_blank"><font color="#339999">benoit@sevensols.com</font></a></span></p>

<p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;line-height:15px;font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><b><span lang="ES-TRAD" style="font-family:'Caecilia LT Std Light',serif"><span style="text-decoration:none"><font color="#339999"><a href="http://www.sevensols.com/" target="_blank">www.sevensols.com</a> / </font></span></span></b><span lang="ES-TRAD" style="font-family:'Caecilia LT Std Light',serif;color:rgb(16,138,208)"></span><b><span lang="ES-TRAD" style="font-family:'Caecilia LT Std Light',serif"><font color="#339999"><a href="http://www.sevensecurity.es" target="_blank">www.sevensecurity.es</a></font></span></b></p>

<p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;line-height:15px;font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><span lang="ES-TRAD" style="font-family:'Caecilia LT Std Light',serif;color:rgb(16,138,208)">_________________________________</span></p>

<p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;line-height:15px;font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><b><span lang="ES-TRAD" style="font-family:'Caecilia LT Std Light',serif;color:rgb(16,138,208)">C/ Baza, parcela 19 Nave 3  \ Polígono Ind. Juncaril \</span></b></p>

<p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><b><span style="font-family:'Caecilia LT Std Light',serif;color:rgb(16,138,208)">18210 - PELIGROS - GRANADA –SPAIN</span></b></p>

</div><br>
<br><br><div class="gmail_quote">On Mon, Jun 11, 2012 at 1:59 PM, Benoit RAT <span dir="ltr"><<a href="mailto:benoit@sevensols.com" target="_blank">benoit@sevensols.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Sorry I forgot, <div><br></div><div>It is based on pm9g45 board <div class="im"><br clear="all"><br><span style="font-family:'Times New Roman';font-size:medium">--</span><br style="font-family:'Times New Roman';font-size:medium">


<div style="font-family:'Times New Roman';font-size:medium"><a href="http://www.sevensols.com/" target="_blank"><img></a> <a href="http://www.sevensecurity.es" style="margin-left:10px" target="_blank"><img></a></div>


<br style="font-family:'Times New Roman';font-size:medium"><div style="font-family:'Times New Roman';font-size:medium"><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse;line-height:15px"><b><span lang="EN-US" style="font-family:'Caecilia LT Std Light',serif;color:rgb(16,138,208)">Benoit RAT LAMY</span></b></span></div>


<div><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;line-height:15px;font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><span lang="EN-US" style="font-family:'Caecilia LT Std Light',serif;color:rgb(16,138,208)">Engineer (Sw) \ Ingeniero (Sw)</span></p>


<p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;line-height:15px;font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><span lang="EN-US" style="font-family:'Caecilia LT Std Light',serif;color:rgb(16,138,208)">fix. <b><a href="tel:%28%2B34%29%20958%20285%20024" value="+34958285024" target="_blank">(+34) 958 285 024</a></b></span></p>


<p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;line-height:15px;font-size:13px;border-collapse:collapse"><span style="color:rgb(16,138,208);font-family:'Caecilia LT Std Light',serif">cel. </span><b style="color:rgb(16,138,208);font-family:'Caecilia LT Std Light',serif"><a href="tel:%28%2B34%29%20617%20989%20123" value="+34617989123" target="_blank">(+34) 617 989 123</a></b></p>


<p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;line-height:15px;font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><span lang="EN-US" style="font-family:'Caecilia LT Std Light',serif;color:rgb(16,138,208)">e-mail: <a href="mailto:benoit@sevensols.com" target="_blank"><font color="#339999">benoit@sevensols.com</font></a></span></p>


<p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;line-height:15px;font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><b><span lang="ES-TRAD" style="font-family:'Caecilia LT Std Light',serif"><span style="text-decoration:none"><font color="#339999"><a href="http://www.sevensols.com/" target="_blank">www.sevensols.com</a> / </font></span></span></b><span lang="ES-TRAD" style="font-family:'Caecilia LT Std Light',serif;color:rgb(16,138,208)"></span><b><span lang="ES-TRAD" style="font-family:'Caecilia LT Std Light',serif"><font color="#339999"><a href="http://www.sevensecurity.es" target="_blank">www.sevensecurity.es</a></font></span></b></p>


<p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;line-height:15px;font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><span lang="ES-TRAD" style="font-family:'Caecilia LT Std Light',serif;color:rgb(16,138,208)">_________________________________</span></p>


<p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;line-height:15px;font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><b><span lang="ES-TRAD" style="font-family:'Caecilia LT Std Light',serif;color:rgb(16,138,208)">C/ Baza, parcela 19 Nave 3  \ Polígono Ind. Juncaril \</span></b></p>


<p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><b><span style="font-family:'Caecilia LT Std Light',serif;color:rgb(16,138,208)">18210 - PELIGROS - GRANADA –SPAIN</span></b></p>


</div><br>
<br><br></div><div><div class="h5"><div class="gmail_quote">On Mon, Jun 11, 2012 at 1:57 PM, Sascha Hauer <span dir="ltr"><<a href="mailto:s.hauer@pengutronix.de" target="_blank">s.hauer@pengutronix.de</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Mon, Jun 11, 2012 at 01:53:13PM +0200, Benoit RAT wrote:<br>
> Hello,<br>
><br>
> I want to recover some parameters from my NAND flash by using saveenv and<br>
> loadenv but It does not work:<br>
><br>
> First I have used a big env0 partition to be sure bad blocks don't bother<br>
> me.<br>
><br>
>  devfs_add_partition("nand0", 0x00000, 0xF0000, PARTITION_FIXED, "env_raw");<br>
> > dev_add_bb_dev("env_raw", "env0");<br>
><br>
><br>
> Then I try to edit,save & load /env/config<br>
><br>
> wrs-02:0B:AD:C0:FF:EE# edit /env/config<br>
><br>
> Then I change the eth0.addr<br>
><br>
> eth0.ethaddr=72:0B:AD:C0:FF:EE<br>
> > PS1="wrs-$eth0.ethaddr# "<br>
><br>
><br>
> Ctrl+D<br>
><br>
> wrs-02:0B:AD:C0:FF:EE# . /env/config<br>
> wrs-72:0B:AD:C0:FF:EE# saveenv<br>
> saving environment<br>
> wrs-72:0B:AD:C0:FF:EE# loadenv<br>
> loading environment from /dev/env0<br>
> err -74<br>
> err -74<br>
> wrong crc on env<br>
<br>
</div>What hardware was this again?<br>
<span><font color="#888888"><br>
Sascha<br>
<br>
--<br>
Pengutronix e.K.                           |                             |<br>
Industrial Linux Solutions                 | <a href="http://www.pengutronix.de/" target="_blank">http://www.pengutronix.de/</a>  |<br>
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: <a href="tel:%2B49-5121-206917-0" value="+4951212069170" target="_blank">+49-5121-206917-0</a>    |<br>
Amtsgericht Hildesheim, HRA 2686           | Fax:   <a href="tel:%2B49-5121-206917-5555" value="+4951212069175555" target="_blank">+49-5121-206917-5555</a> |<br>
</font></span></blockquote></div><br></div></div></div>
</blockquote></div><br></div>