Sorry I forgot,
Engineer (Sw) \ Ingeniero (Sw)
fix. (+34) 958 285 024
cel. (+34) 617 989 123
e-mail: benoit@sevensols.com
www.sevensols.com / www.sevensecurity.es
_________________________________
C/ Baza, parcela 19 Nave 3 \ Polígono Ind. Juncaril \
18210 - PELIGROS - GRANADA –SPAIN
On Mon, Jun 11, 2012 at 01:53:13PM +0200, Benoit RAT wrote:What hardware was this again?
> Hello,
>
> I want to recover some parameters from my NAND flash by using saveenv and
> loadenv but It does not work:
>
> First I have used a big env0 partition to be sure bad blocks don't bother
> me.
>
> devfs_add_partition("nand0", 0x00000, 0xF0000, PARTITION_FIXED, "env_raw");
> > dev_add_bb_dev("env_raw", "env0");
>
>
> Then I try to edit,save & load /env/config
>
> wrs-02:0B:AD:C0:FF:EE# edit /env/config
>
> Then I change the eth0.addr
>
> eth0.ethaddr=72:0B:AD:C0:FF:EE
> > PS1="wrs-$eth0.ethaddr# "
>
>
> Ctrl+D
>
> wrs-02:0B:AD:C0:FF:EE# . /env/config
> wrs-72:0B:AD:C0:FF:EE# saveenv
> saving environment
> wrs-72:0B:AD:C0:FF:EE# loadenv
> loading environment from /dev/env0
> err -74
> err -74
> wrong crc on env
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 |