主题 : 关于使用tftp下载uImage时提示checksum bad 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 97913
精华: 0
发帖: 33
金钱: 165 两
威望: 33 点
贡献值: 0 点
综合积分: 66 分
注册时间: 2013-11-09
最后登录: 2016-12-29
楼主  发表于: 2014-01-12 22:41

 关于使用tftp下载uImage时提示checksum bad

MINI6410 # ping 192.168.0.104
dm9000 i/o: 0x18000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 08:90:90:90:90:90
operating at 100M full duplex mode
host 192.168.0.104 is alive
MINI6410 # tftp c0008000 uImage
dm9000 i/o: 0x18000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 08:90:90:90:90:90
operating at 100M full duplex mode
TFTP from server 192.168.0.104; our IP address is 192.168.0.230
Filename 'uImage'.
Load address: 0xc0008000
Loading: #################################################################
         ###############################################################checksum bad
##
         #################################################################
         ##checksum bad
###############################################################
         #################################################################
         #################################################################
         #######################checksum bad
###checksum bad
#######################################
         #############################checksum bad
####################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ######################
done
Bytes transferred = 4103632 (3e9dd0 hex)
MINI6410 #

请问:
  如上面下载过程出现checksum bad,下载的uImage会不会有损坏的呢?为什么会出现这种现象?


*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2014-01-13 17:00

 回 楼主(leolzf0000) 的帖子

一般来说只要后面真正boot内核镜像的时候CRC校验正确就说明镜像没有问题了。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 97913
精华: 0
发帖: 33
金钱: 165 两
威望: 33 点
贡献值: 0 点
综合积分: 66 分
注册时间: 2013-11-09
最后登录: 2016-12-29
2楼  发表于: 2014-01-13 22:19
今晚用同一个uImage做上面的实验,下载过程不会出现上面的问题了,而且使用bootm启动时   Verifying Checksum ... OK!

MINI6410 # tftp c0008000 uImage
dm9000 i/o: 0x18000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 08:90:90:90:90:90
operating at 100M full duplex mode
TFTP from server 192.168.0.104; our IP address is 192.168.0.230
Filename 'uImage'.
Load address: 0xc0008000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ######################
done
Bytes transferred = 4103632 (3e9dd0 hex)
MINI6410 #

MINI6410 # bootm c0008000
## Booting image at c0008000 ...
   Image Name:   Linux-2.6.38-FriendlyARM
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4103568 Bytes =  3.9 MB
   Load Address: 50008000
   Entry Point:  50008000
   Verifying Checksum ... OK
OK

Starting kernel ...