打印
[嵌入式linux]

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

[复制链接]
1545|1
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
xiexp2014|  楼主 | 2016-4-11 20:42 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 xiexp2014 于 2016-4-11 21:15 编辑

用的是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
有谁遇见过?请指教(详细启动代码见附件)

相关帖子

沙发
xiexp2014|  楼主 | 2016-4-11 21:08 | 只看该作者
自己先顶顶

使用特权

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

本版积分规则

15

主题

97

帖子

1

粉丝