Warning - bad CRC, using default environment

1、首先在uboot下面对flash进行读写操作,比如随便设置环境变量 ,若无法设置成功,就考虑flash是否是四线的硬件接口?

2、在设置环境变量操作正常之后,若依然有这个错误,那就是下面的错误问题:

原因是flash  扇区 或者是ERPROM 含有的环境变量 还从没被初始化。

使用了saveenv 命令 保存了环境变量后,这个报错消息就能消失了。

 


 
  启动步骤中有 
*** Warning - bad CRC, using default environment 
的解决办法: 

Question: 
I have ported U-Boot to a custom board. It seems to boot OK, but it prints: 

*** Warning - bad CRC, using default environment 
Why? 

Answer: 
Most probably everything is OK. The message is printed because the flash sector or ERPROM containing the environment variables has never been initialized yet. The message will go away as soon as you save the envrionment variables using the saveenv command.

你可能感兴趣的:(系统,u-boot)