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.
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron NAND 512MiB 1,8V 16-b)
Scanning device for bad blocks
Bad eraseblock 0 at 0x00000000
err -74
envfs: wrong magic on /dev/env0
no valid environment found on /dev/env0. Using default environment
running /env/bin/init...
Moreover, I have noticed that each time I use saveenv command it add another bad block, and that sometime It does read something in /dev/env0 but without anything in /env
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron NAND 512MiB 1,8V 16-b)
Scanning device for bad blocks
Bad eraseblock 0 at 0x00000000
Bad eraseblock 1 at 0x00020000
Bad eraseblock 2 at 0x00040000
Bad eraseblock 665 at 0x05320000
Bad eraseblock 1553 at 0x0c220000
Bad eraseblock 1712 at 0x0d600000
Bad eraseblock 1997 at 0x0f9a0000
Bad eraseblock 2182 at 0x110c0000
Malloc space: 0x73b00000 -> 0x73efffff (size 4 MB)
Stack space : 0x73af8000 -> 0x73b00000 (size 32 kB)
read: No error
running /env/bin/init...
Someone know what I am doing wrong?
--
Benoit RAT LAMY