明远智睿技术论坛

标题: nfs文件系统 如何 启动 [打印本页]

作者: Lishunhe_hsg    时间: 2017-4-20 18:46
标题: nfs文件系统 如何 启动
我准备使用 nfs挂载文件系统,修改了 uboot 环境变量 netargs 变量 我的ip和目录的地方。
然后执行 run netboot 。每次 都能成功下载 内核 和设备树,然后 启动内核 会到下面的位置 卡住,一直 在连接
请问:当如何 解决?
我使用的是 imx6ek200 的开发板,linux3.14.52内核,

Bluetooth: BNEP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
hctosys: unable to open rtc device (rtc0)
fec 2188000.ethernet eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=2188000.ethernet:00, irq=-1)
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
smsc95xx 1-1.1:1.0 eth1: hardware isn't capable of remote wakeup
IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rxfile:///C:/Users/LiShunHe/AppData/Local/Temp/LY6DR3ISJE0)6K)L)]~VIZK.gif/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sending DHCP requests ..

作者: Lishunhe_hsg    时间: 2017-4-21 10:07
另外 如果用 sd卡 启动 就是: uboot 在 核心板上,然后  跳到 sd卡 上启动 内核 和文件系统,uboot 该如何配置

作者: Lishunhe_hsg    时间: 2017-4-21 10:51
NFS 的 那个我找到办法了 关掉 eth0就可以了,
SD卡的 我们这边的工程师 能帮我一下么

作者: 软件01    时间: 2017-4-24 08:53
Lishunhe_hsg 发表于 2017-4-21 10:51
NFS 的 那个我找到办法了 关掉 eth0就可以了,
SD卡的 我们这边的工程师 能帮我一下么
...

setenv mmcdev 0
setenv mmcroot '/dev/mmcblk2p2 rootwait rw'
作者: elecfarmer    时间: 2017-5-19 20:43
Lishunhe_hsg 发表于 2017-4-21 10:51
NFS 的 那个我找到办法了 关掉 eth0就可以了,
SD卡的 我们这边的工程师 能帮我一下么
...

我也碰到同样的问题,一直是等待DHCP,但是我是设置的静态IP,请问你具体怎么解决的?如何关闭eth0?貌似我u-boot的bootargs没有完全生效。




欢迎光临 明远智睿技术论坛 (http://bbs.myzr.com.cn/) Powered by Discuz! X3.2