Warning - bad CRC, using default environment

来源:互联网 发布:守望先锋数据查询关闭 编辑:程序博客网 时间:2024/05/21 09:26

 

前几天在寝室配置板子的网络环境,加载不到NFS系统的时候,一直会下面的CRC错误,但却是并不影响今后的使用,正确配置之后,加载了NFS,一切正常。也就没深入考察这个问题。

今天看到了一篇文章。

说是:

 

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

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

 

 

===========================================

http://blog.lmtw.com/b/errant/archives/2005/20792.html

bad CRC, using default environment 的解决办法

  启动步骤中有 
*** 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.