[U-Boot] AT91SAM9260 and AT91SAMG20 dataflash saveenv problem

David Pristovnik davidp at evo-teh.com
Thu Sep 22 13:29:03 CEST 2011


Hi,

has anyone noticed the problem with dataflash write support on these two platforms. 
I'm using at91sam9g20ek_dataflash_cs1 and at91sam9260ek_dataflash_cs1 config on my test EK platforms.
When I try to add or modify environment variables and then save them with "saveenv" everything seems OK but nothing actually gets written.

U-Boot 2011.09-rc1-00020-g56fa45d-dirty (Sep 22 2011 - 12:58:48)

CPU: AT91SAM9G20
Crystal frequency:   18.432 MHz
CPU clock        :  396.288 MHz
Master clock     :  132.096 MHz
DRAM:  64 MiB
WARNING: Caches not enabled
NAND:  512 MiB
DataFlash:AT45DB161
Nb pages:   4096
Page Size:    528
Size= 2162688 bytes
Logical address: 0xD0000000
Area 0: D0000000 to D00041FF      Bootstrap
Area 1: D0004200 to D00083FF      Environment
Area 2: D0008400 to D0041FFF      U-Boot
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   macb0Warning: failed to set MAC address

Regards, David


More information about the U-Boot mailing list