主题 : 收藏 uboot引导内核错误——booting the kernel 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 74119
精华: 0
发帖: 13
金钱: 65 两
威望: 13 点
贡献值: 0 点
综合积分: 26 分
注册时间: 2012-07-19
最后登录: 2017-09-13
楼主  发表于: 2012-12-20 16:48

 收藏 uboot引导内核错误——booting the kernel

U-Boot 1.1.6 (Dec 20 2012 - 13:58:04)
DRAM:  64 MB
Flash:  2 MB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x60000, size 0x500000
5242880 bytes read: OK
## Booting image at 30008000 ...
   Image Name:   Linux kernel Image by embedclub
   Created:      2012-05-08   8:32:07 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2288308 Bytes =  2.2 MB
   Load Address: 30008000
   Entry Point:  30008040
   Verifying Checksum ... OK
   XIP Kernel Image ... OK

Starting kernel ...

Uncompressing Linux.................................................................................................................................................... done, booting the kernel.

uboot引导内核到这就死掉了,不知道什么原因 ,机器码正确,内核也用2010.03的uboot测试过,可以引导启动,郁闷中、、难道不同版本的uboot的内核还要重新编译,不要了吧!!谁给点信息啊
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2012-12-20 17:22
"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: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
2楼  发表于: 2012-12-21 10:19

 回 4楼(racwin) 的帖子

正常情况下,如果没有u-boot传递的参数,内核会使内建的命令行(在内核配置里通过CONFIG_CMDLINE指定)。关于内核启动时的调试,我在http://www.aiothome.net/read.php?tid=207&page=2#360发过一个可以让串口在内核串口驱动初始化之前输出调试信息的补丁,你可以试一下。
"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."