Skip to contentSkip to conversation

U-Boot Enviroment in NAND Flash ?

Buildroot Manuel Sahm 2 participants 2 messages Jan 30, 2008

lore
Share & tools
lore
#0 lore raw

Hello,

(It?s about the AT91SAM9260EK)

I want to locate the U-Boot and the U-Boot enviroment in NAND-Flash.

AT91Bootstrap at 0x00000000
U-Boot at 0x00020000
U-Boot Env at 0x00060000
U-BootEnv_Redund at 0x00080000

U-Boot Env Size is 0x 00020000

When U-Boot starts:
.
.(NAND and DATAFLASH is initialized)
.
***Warning - bad CRC or NAND, using default enviroment

How could I "activate" the enviroment variables located in NAND flash at address 0x00060000 ?

please help

thanks very very much

Best regards

Manuel Sahm

#1 lore raw
Quoted 13 lines

Hello,

(It?s about the AT91SAM9260EK)

I want to locate the U-Boot and the U-Boot enviroment in NAND-Flash.

AT91Bootstrap at 0x00000000
U-Boot at 0x00020000
U-Boot Env at 0x00060000
U-BootEnv_Redund at 0x00080000

U-Boot Env Size is 0x 00020000

Quoted 9 lines

When U-Boot starts:
.
.(NAND and DATAFLASH is initialized)
.
***Warning - bad CRC or NAND, using default enviroment

How could I "activate" the enviroment variables located in NAND flash at address 0x00060000 ?

This will require a new board support option.
Have a look at http://www.linux4sam.org/ for more info on NAND support.

Integrate with buildroot and send a patch.

Best Regards
Ulf Samuelsson