主题 : 求大神帮助!u-boot烧内核时遇到问题了! 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 102769
精华: 0
发帖: 6
金钱: 30 两
威望: 6 点
贡献值: 0 点
综合积分: 12 分
注册时间: 2014-04-10
最后登录: 2014-05-13
楼主  发表于: 2014-04-20 16:33

 求大神帮助!u-boot烧内核时遇到问题了!

启动内核时卡到这里了
     device=eth0, addr=192.168.1.226, mask=255.255.255.0, gw=192.168.1.72,
     host=smdk2440a, domain=, nis-domain=embedclub.com,
     bootserver=192.168.1.72, rootserver=192.168.1.72, rootpath=
Looking up port of RPC 100003/2 on 192.168.1.72
rpcbind: server 192.168.1.72 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.1.72
rpcbind: server 192.168.1.72 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
Root-NFS: Server returned error -5 while mounting /opt/rootfs
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00             256 mtdblock0 (driver?)
1f01             128 mtdblock1 (driver?)
1f02            5120 mtdblock2one_wire_status: 4
(driver?)
1f03          256640 mtdblock3 (driver?)
1f04          262144 mtdblock4 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
Backtrace:
[<c00341cc>] (dump_backtrace+0x0/0x10c) from [<c0329f3c>] (dump_stack+0x18/0x1c)
one_wire_status: 4
r7:c03dba08 r6:00008000 r5:c3923000 r4:c0481c90
[<c0329f24>] (dump_stack+0x0/0x1c) from [<c0329f8c>] (panic+0x4c/0x114)
[<c0329f40>] (panic+0x0/0x114) from [<c0008dbc>] (mount_block_root+0x174/0x228)
r3:c383c0ec r2:00000000 r1:c3823f60 r0:c03db9a0
[<c0008c48>] (mount_block_root+0x0/0x228) from [<c0008f34>] (mount_root+0xc4/0xfc)
[<c0008e70>] (mount_root+0x0/0xfc) from [<c0009094>] (prepare_namespace+0x128/0x180)
r5:c002081d r4:c0481660
[<c0008f6c>] (prepare_namespace+0x0/0x180) from [<c00084b0>] (kernel_init+0xe0/0x114)
r5:c001f2e4 r4:c0481420one_wire_status: 2

[<c00083d0>] (kernel_init+0x0/0x114) from [<c004bbbc>] (do_exit+0x0/0x620)
r5:00000000 r4:00000000
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2014-04-20 20:51
rpcbind: server 192.168.1.72 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.1.72
rpcbind: server 192.168.1.72 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
Root-NFS: Server returned error -5 while mounting /opt/rootfs

看起来是NFS挂载失败了
"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: 102769
精华: 0
发帖: 6
金钱: 30 两
威望: 6 点
贡献值: 0 点
综合积分: 12 分
注册时间: 2014-04-10
最后登录: 2014-05-13
2楼  发表于: 2014-04-21 12:05

 回 1楼(kasim) 的帖子

请问有什么解决办法么?第一次烧内核不是很懂!我的板子是mini2440的!非常感谢!
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2014-04-21 13:15

 回 2楼(ztgoogoo) 的帖子

建议你先不要用NFS的根文件系统,可以先用NAND Flash里的文件系统镜像验证。
"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: 106483
精华: 0
发帖: 7
金钱: 35 两
威望: 7 点
贡献值: 0 点
综合积分: 14 分
注册时间: 2014-07-24
最后登录: 2015-04-24
4楼  发表于: 2014-08-01 22:14
问题有应该有以下几种 都是我学习的时候碰到的:1、linux是否有NFS服务;2、NFS配置是否正确,需要关闭防火墙;3、exports里面是共享路径是否正确,权限是否都有;4、内核启动参数是否设置正确(bootargs)5、类似busybox的这些东西库版本是否正确;6、内核NFS服务没有开启;7、网卡驱动没有移植成功。。。。。。。。。。。。。。。。。。。差不多就是这些了吧。一条一条排除吧,,,,但我觉得你很可能是没有设置启动参数