[U-Boot] Karo TX25 environment variable
davide doninelli
Davide.Doninelli at edu.hefr.ch
Fri Dec 17 15:37:41 CET 2010
Hi,
My board is a Karo tx25 (imx25) and the purpose is to speedup the boot process. For thats reason i tried to change bootloader from Redboot to uboot. but i had some problem when save environment on nand.
When i save the environment variables the first time work but aftre reboot see a badblock.
Tanks in advance
Davide Doninelli
Redboot nand info:
RedBoot> nand info
Type: Samsung K9F1G08U0A 8-bit 2K page 128MB
Total size: 0x08000000 bytes (128 MiB)
Total blocks: 0x400 (1024)
Block size: 0x20000 (131072)
Page size: 0x800 (2048)
Spare size: 0x40 (64)
Pages per block: 0x40 (64)
block 253 at offset 0x01fa0000 is a factory bad block
==================================
Found 1 bad block(s) out of 1024
RedBoot>
Here some output of prebuilt image for this card:
U-Boot 2009.11-00146-g7d259a1-dirty (Jan 07 2010 - 21:05:46)
CPU: Freescale i.MX25 at 532 MHz
DRAM: 32 MB
NAND: 128 MiB
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
tx25_fec_init
resetting phy
Net: FEC_MXC
Hit any key to stop autoboot: 0
=> saveenv
Saving Environment to NAND...
Erasing redundant Nand...
Skipping bad block at 0x00080000
Skipping bad block at 0x000a0000
Writing to redundant Nand... FAILED!
=> nand bad
Device 0 bad blocks:
00000000
00020000
00040000
00060000
00080000
000a0000
000c0000
000e0000
01fa0000
07f60000
Here some output of my uboot image for this card standard config:
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!
=> nand bad
Device 0 bad blocks:
00000000
00060000
00140000
00160000
01fa0000
07fc0000
07fe0000
=>
More information about the U-Boot
mailing list