[U-Boot] Warning Bad CRC

Rahanesh rahanesh at tataelxsi.co.in
Mon Sep 21 15:59:21 CEST 2009


Dear Wolfgang,
> Is 0x3F00 really the correct offset? I doubt so.
>
> What are your full U-Boot boot messages, and what does "flinfo" print?
>   
*     This is the print message of flinfo*  

      U-BOOT # flinfo
      DataFlash:Nb pages:  32768
      Page Size:    256
      Size= 8388608 bytes
      Logical address: 0xAD000000
      Nb Erase Blocks:    128
      Erase Block Size:  65536
      Area 0: AD000000 to AD003FFF
     Area 1: AD004000 to AD03FFFF
     Area 2: AD040000 to AD30BFFF
     Area 3: AD30C000 to AD7FFFFF

*U-Boot boot messages follow*

U-Boot 1.1.2 (Sep 19 2009 - 10:26:28)

Board: IAD CPU Speed 200 MHz
DRAM:  32 MB
sflash.c:266:DF_F_DataflashProbe: Entered
sflash.c:269:DF_F_DataflashProbe: flash type is 0x1
sflash.c:270:DF_F_DataflashProbe: num pages 32768
DataFlash:Nb pages:  32768
Page Size:    256
Size= 8388608 bytes
Logical address: 0xAD000000
Nb Erase Blocks:    128
Erase Block Size:  65536
Area 0: AD000000 to AD003FFF
Area 1: AD004000 to AD03FFFF
Area 2: AD040000 to AD30BFFF
Area 3: AD30C000 to AD7FFFFF
got bad crc. got:0x603b0489, expected:0x0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:    Eth.

Type "run flash_nfs" to mount root filesystem over NFS

Hit any key to stop autoboot:  0

*Print message after execution of saveenv command from uboot :

*Saving Environment to dataflash...
copy 0xad030000-0xad040000 to saveenv-buf 0x80100000.
erasing 0xad030000 - 0xad03ffff
Erasing sectors 0x3 to 0x3
sflash.c:69:DF_F_PageErase: erasing page: 0x3
done erasingsflash.c:164:DF_F_DataFlashWrite: write: src 0x80100000, dst 
0x30000, size 0x10000
...........................................................................................................................................................
.....................................................................................................sflash.c:225:DF_F_DataFlashWrite: 
final partial page


Hope this helps

Thanks
Rahanesh









More information about the U-Boot mailing list