[U-Boot] Karo TX25 environment variable

Doninelli Davide Davide.Doninelli at edu.hefr.ch
Fri Dec 17 20:29:17 CET 2010


Il giorno 17-dic-2010, alle ore 20.09, Fabio Estevam ha scritto:

ong here. MX25 runs at 400 MHz maximum

hi,
i have recompiled u-boot with last stable release U-Boot 2010.09 and i have the same problem, i tried to move environment variables in a different memory block but the problem is still there. Is strange that uboot see badblock that redboot don't see...

U-Boot 2010.09 (Dec 17 2010 - 14:35:56)

CPU:   Freescale i.MX25 at 399 MHz

DRAM:  32 MiB
NAND:  128 MiB
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   FEC
Hit any key to stop autoboot:  0
=> saveenv
Saving Environment to NAND...
Erasing redundant Nand...
Erasing at 0x60000 -- 100% complete.
Writing to redundant Nand... done
=> saveenv
Saving Environment to NAND...
Erasing Nand...
Erasing at 0x40000 -- 100% complete.
Writing to Nand... done


After reset:

CPU:   Freescale i.MX25 at 399 MHz

DRAM:  32 MiB
NAND:  128 MiB
MXC_NAND: HWECC uncorrectable ECC error in block 2 page 128 subpage 0
No Valid Environment Area Found
No Valid Reundant Environment Area Found
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   FEC
Hit any key to stop autoboot:  0
=>
=> saveenv
Saving Environment to NAND...
Erasing redundant Nand...
Skipping bad block at  0x00060000

Writing to redundant Nand... FAILED!


i don't understand why the first time is successfully and after reset don't work anymore.


best regards
Davide Doninelli


More information about the U-Boot mailing list