主题 : uboot启动系统的问题。 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 5986
精华: 0
发帖: 2
金钱: 20 两
威望: 20 点
综合积分: 4 分
注册时间: 2009-05-15
最后登录: 2009-07-24
楼主  发表于: 2009-05-17 15:56

 uboot启动系统的问题。

管理提醒: 本帖被 qq2440 从 micro2440技术交流专区 移动到本区(2013-11-18)
我用厂家光盘里的uboot编译后的u-boot.bin烧入到系统中,通过tftp获取内核文件zImage(光盘中的代码编译生成的)到30008000后,通过go 30008000来启动系统,但是发现启动到Uncompressing Linux.............................................................
............................................ done, booting the kernel.后就停止了。网上有些人说是启动参数的问题,我的bootargs=noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0,自己感觉好像没有什么问题。不知道有没有谁碰到过这个问题,以及怎么解决的,给我一些建议,不胜感激。
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2009-05-17 16:46
1.不是每一个U-Boot都支持z启动Image格式的内核镜像,至少没打过补丁的不支持。
2. 永远不要用go命令去启动内核。
"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 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
2楼  发表于: 2009-05-17 17:21
关于内核启动过程中的问题,参考这个帖子http://www.aiothome.com/bbs/read.php?tid-207-toread-1.html
"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: 5986
精华: 0
发帖: 2
金钱: 20 两
威望: 20 点
综合积分: 4 分
注册时间: 2009-05-15
最后登录: 2009-07-24
3楼  发表于: 2009-05-18 10:43
我先是通过下载uImage后用bootm来启动发现不行才想到下载zImage然后用go还运行的。
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
4楼  发表于: 2009-05-18 12:19
不要为解决一个问题制造更多的问题
"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."