U Boot:错误的CRC错误

时间:2016-06-24 11:45:24

标签: linux embedded-linux u-boot buildroot

当我尝试将uImage下载到电路板时,我收到CRC错误,

Bytes transferred = 10543306 (a0e0ca hex)
## Booting kernel from Legacy Image at 01000000 ...
Image Name:   bf609-0.0-3.10.10-ADI-2013R1
Image Type:   Blackfin Linux Kernel Image (gzip compressed)
Data Size:    10543242 Bytes = 10.1 MiB
Load Address: 00001000
Entry Point:  002cf9ec
Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
bfin>     

这是我使用printenv命令:

printenv
addip=set bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):eth0:off
autoload=no
baudrate=57600
bootargs=root=/dev/mtdblock0 rw clkin_hz=(25000000) earlyprintk=serial,uart0,57600 console=ttyBF0,57600  ip=192.168.1.122:192.168.1.107:192.168.1.1:255.255.255.0:"bf609-ezkit":eth0:off
bootcmd=run ramboot
bootdelay=5
ethact=mii0
ethaddr=02:80:ad:20:31:e8
fileaddr=1000000
filesize=a0e0ca
flashboot=bootm 0xB0100000
gatewayip=192.168.1.1
hostname="bf609-ezkit"
ipaddr=192.168.1.122
ipaddress=192.168.1.240
loadaddr=0x1000000
loads_echo=1
nc=set ncip ${serverip};set stdin nc;set stdout nc;set stderr nc
netmask=255.255.255.0
nfsargs=set bootargs root=/dev/nfs rw  nfsroot=$(serverip):$(rootpath),tcp,nfsvers=3
nfsboot=tftp $(loadaddr) $(nfsfile);run nfsargs;run addip;bootm
nfsfile=vmImage
ramargs=set bootargs root=/dev/mtdblock0 rw clkin_hz=(25000000) earlyprintk=serial,uart0,57600 console=ttyBF0,57600
ramboot=tftp $(loadaddr) $(ramfile);run ramargs;run addip;bootm
ramfile=uImage
rootpath=/romfs
serveraddr=84:8f:69:f9:50:10
serverip=192.168.1.107
stderr=serial
stdin=serial
stdout=serial
ubootfile=u-boot.ldr
update=tftp $(loadaddr) $(ubootfile);sf probe 1;sf erase 0 0x40000;sf write $(loadaddr) 0 $(filesize)

Environment size: 1309/8188 bytes
bfin> 

filesize = a0e0ca = 10543306,与笔记本电脑中的图片尺寸完全相同。

另请注意,我昨天成功下载了一张图片。

在uBoot中是否有配置像开始地址或像这样的sthing,或者我可以说闪存已损坏

我用:

BF609板

Blackfin的buildroot的-2013R1-RC2

tftp服务器

0 个答案:

没有答案