打印
[i.MX]

IMX6 NFS挂载启动不了,卡住不动

[复制链接]
2059|3
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
本帖最后由 xiexp2014 于 2016-4-12 08:59 编辑

用的是IMX6的核心板,内核是3.0.35,
NFS的配置是
MX6Q SABRESD U-Boot > setenv ipaddr 10.10.20.120        #板子IP
MX6Q SABRESD U-Boot > setenv serverip 10.10.20.118     #开发机的IP
MX6Q SABRESD U-Boot > setenv bootfile uImage   
MX6Q SABRESD U-Boot > setenv nfsroot /opt/nfsroot   
MX6Q SABRESD U-Boot > setenv bootargs_base 'setenv bootargs console=ttymxc0,115200'
MX6Q SABRESD U-Boot > setenv bootargs_nfs 'setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24'
MX6Q SABRESD U-Boot > setenv bootcmd_net 'run bootargs_base bootargs_nfs;bootm'
MX6Q SABRESD U-Boot > setenv bootcmd 'dhcp; run bootcmd_net'
现在启动的错误是:卡在
* Setting sensors limits                                                [ OK ]
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
然后禁止不动。
启动的部分代码是
usb 2-1.2: new high speed USB device number 3 using fsl-ehci
usb 2-1.3: new high speed USB device number 4 using fsl-ehci
hub 2-1.3:1.0: USB hub found
hub 2-1.3:1.0: 5 ports detected
usb 2-1.4: new high speed USB device number 5 using fsl-ehci
usb 2-1.3.1: new high speed USB device number 6 using fsl-ehci
usb 2-1.3.4: new low speed USB device number 7 using fsl-ehci
input: CHICONY USB Keyboard as /devices/platform/fsl-ehci.1/usb2/2-1/2-1.3/2-1.3.4/2-1.3.4:1.0/input/input1
generic-usb 0003:04F2:0112.0001: input,hidraw0: USB HID v1.10 Keyboard [CHICONY USB Keyboard] on usb-fsl-ehci.1-1.3.4/input0
input: CHICONY USB Keyboard as /devices/platform/fsl-ehci.1/usb2/2-1/2-1.3/2-1.3.4/2-1.3.4:1.1/input/input2
generic-usb 0003:04F2:0112.0002: input,hidraw1: USB HID v1.10 Mouse [CHICONY USB Keyboard] on usb-fsl-ehci.1-1.3.4/input1
PHY: 1:01 - Link is Up - 100/Full
Sending DHCP requests ..., OK
IP-Config: Got DHCP answer from 0.0.0.0, my address is 10.10.20.120
IP-Config: Complete:
     device=eth0, addr=10.10.20.120, mask=255.255.255.0, gw=10.10.20.254,
     host=10.10.20.120, domain=, nis-domain=(none),
     bootserver=0.0.0.0, rootserver=10.10.20.118, rootpath=
VFS: Mounted root (nfs filesystem) on device 0:12.
Freeing init memory: 208K
* Starting bluetooth daemon                                             [ OK ]
* Starting mDNS/DNS-SD daemon                                           [ OK ]
* Starting configure network device security                            [ OK ]
* Starting configure network device                                     [ OK ]
* Starting configure network device security                            [ OK ]
* Starting configure network device security                            [ OK ]
* Starting configure network device                                     [ OK ]
* Starting configure network device                                     [ OK ]
* Starting Userspace bootsplash                                         [ OK ]
* Starting configure network device security                            [ OK ]
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
* Starting Mount network filesystems                                    [ OK ]
* Starting Failsafe Boot Delay                                          [ OK ]
error: unexpectedly disconnected from boot status daemon
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
* Setting sensors limits                                                [ OK ]
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
init: Failed to create pty - disabling logging for job
有谁遇见过?请指教(详细启动代码见附件)


QQ截图20160412085853.png (542.88 KB )

QQ截图20160412085853.png

相关帖子

沙发
xiexp2014|  楼主 | 2016-4-11 21:18 | 只看该作者
自己在一次顶顶

使用特权

评论回复
板凳
mini1986| | 2016-5-4 11:01 | 只看该作者
nfs服务PC端都配置好了么?......

使用特权

评论回复
地板
xiexp2014|  楼主 | 2016-5-4 11:45 | 只看该作者
mini1986 发表于 2016-5-4 11:01
nfs服务PC端都配置好了么?......

单独测试nfs和tftp都能通过的

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

15

主题

97

帖子

1

粉丝