最近按照网上唐智浩的u-boot-1.1.6的移植文档跟着操作,在NAND FLASH引导内核时出现以下错误
SMDK2410 # tftp 0x30000000 zImage-Q35.img
dm9000 i/o: 0x20000000, id: 0x90000a46
MAC: 0a:1b:2c:3d:4e:5f
TFTP from server 192.168.1.8; our IP address is 192.168.1.6
Filename 'zImage-Q35.img'.
Load address: 0x30000000
Loading: checksum bad
checksum bad
T #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#############################################################
done
Bytes transferred = 2305500 (232ddc hex)
SMDK2410 # bootm 0x30000000
(……为省略部分)
……………………………………………………
……………………………………………………
block 747 is bad
block 943 is bad
block 1274 is bad
block 1275 is bad
block 1291 is bad
block 1382 is bad
block 1865 is bad
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 188K
Warning: unable to open an initial console.
Failed to execute /linuxrc. Attempting defaults...
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
Backtrace:
[<c003bfd4>] (dump_backtrace+0x0/0x10c) from [<c033fb0c>] (dump_stack+0x18/0x1c)
r7:00000000 r6:c04aff80 r5:c04af940 r4:c0478248
[<c033faf4>] (dump_stack+0x0/0x1c) from [<c033fb5c>] (panic+0x4c/0x124)
[<c033fb10>] (panic+0x0/0x124) from [<c00374f0>] (init_post+0xec/0x178)
r3:00000000 r2:c3885e00 r1:c04e6000 r0:c0407f9c
[<c0037404>] (init_post+0x0/0x178) from [<c000847c>] (kernel_init+0xcc/0xf4)
r5:c001ec50 r4:c001f06c
[<c00083b0>] (kernel_init+0x0/0xf4) from [<c004cf30>] (do_exit+0x0/0x620)
r7:00000000 r6:00000000 r5:00000000 r4:00000000
请问checksum bad由什么原因引起的?我分析内核启动时出示话没有成功,具体由于什么原因不是很清楚,希望大家帮忙解答下,感激不尽!!!zImage-Q35.img是天嵌光盘里面提供的zImage_Q35_2.6.30.4_20100531.bin在u-boot-1.1.6/tools/下执行
#mkimage -n 'linux-2.6.25.8' -A arm -O linux -T kernel -C none -a 0x30008000 -e 0x30008000 -d zImage zImage.img
得到的。