【发布时间】:2020-01-16 18:53:14
【问题描述】:
我正在关注 bootlin training 使用 Yocto 构建自己的发行版。
我有一个 beaglebone 通过以太网连接到我的路由器,我还通过串行连接到我的工作站
我想从我的工作站通过 nfs 从我的工作站获取 rootfs, 我已经在工作站上进行了所有配置,文件 /etc/exports 如下:
/home/myuser/Documents/Bootlin/Yocto/Source/nfs *(rw,sync,no_root_squash,subtree_check)(然后重启服务)
当我启动 beaglebone 时,我进入 U 启动环境(按空格键),然后像这样设置 bootargs:
setenv bootargs 'console=ttyS0,115200 root=/dev/nfs rw nfsroot=192.168.1.39:/home/myuser/Documents/Bootlin/Yocto/Source/nfs ip=192.168.1.100:::::eth0' (然后使用命令启动)
我的工作站的ip 192.168.1.39 不正确,但是rootfs 没有加载到beaglebone,我做错了什么?谢谢。
PD:如果我按照指南将板直接连接到 PC,则可以通过以太网连接到路由器,但我想通过以太网连接。
【问题讨论】:
标签: embedded-linux yocto beagleboneblack nfs u-boot