主机上的zImage 直接tftp下载后能够成功启动,但是如果用mkimage:
mkimage -n 'linux-2.6.14' -A arm -O linux -T kernel -C none -a 0x30008000 -e 0x30008000 -d zImage zImage.img生成的zImage.img不能成功启动
我的操作如下:
1,mkimage -n 'linux-2.6.14' -A arm -O linux -T kernel -C none -a 0x30008000 -e 0x30008000 -d zImage zImage.img
2,uboot端:tftp 50008000 zImage.img
3, bootm 50008000
提示如下:MINI6410 # bootm 50008000
## Booting image at 50008000 ...
Image Name: linux-2.6.14
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3763772 Bytes = 3.6 MB
Load Address: 30008000
Entry Point: 30008000
Verifying Checksum ... OK
OK
Starting kernel ...
然后就一直卡在这里了,一直不动了!
4,把下载地址换成30008000:tftp 30008000 zImage.img,提示如下:
MINI6410 # bootm 30008000
## Booting image at 30008000 ...
Boot with Image
do not support this address : 30008000
Starting kernel ... 然后卡在这
5,按照另外一种方式:
mkimage -n 'linux-2.6.14' -A arm -O linux -T kernel -C none -a 0x30008000 -e 0x30008040 -d zImage zImage.img
6,uboot端:tftp 50008000 zImage.img
bootm 50008000 提示如下:
MINI6410 # bootm 50008000
## Booting image at 50008000 ...
Image Name: linux-2.6.14
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3763772 Bytes = 3.6 MB
Load Address: 30008000
Entry Point: 30008040
Verifying Checksum ... OK
OK
Starting kernel ... 也是卡在这里!
7,uboot端 : tftp 30008000 zImage.img
bootm 30008000提示如下:
## Booting image at 30008000 ...
Boot with Image
do not support this address : 30008000
Starting kernel ... 然后卡在这。。。
高手们,按照网上的两种方式都不对啊,,何解啊?如果不用mkimage直接下载zImage 是能够启动的,为何制作成镜像就不能启动了!!小弟万分感谢啊。。。。