首页 > Web开发 > 详细

petalinux定制rootfs 加入iperf memtester ethtool

时间:2020-04-08 19:45:56      阅读:465      评论:0      收藏:0      [点我收藏+]

参考ug1144 Adding an Existing Recipe into RootFS

petalinux-config -c rootfs

ethtool在RootFS menuconfig中,路径如下:

技术分享图片

 

 iperf不在RootFS menuconfig中

首先找一下iperf的包在哪儿,有没有

ug1144:

The location of the recipe is /opt/pkg/petalinux/components/yocto/source/
aarch64/layers/meta-openembedded/meta-oe/recipes-benchmark/iperf3/
iperf3_3.2.bb.

实际petalinux2019.2中

/home/zhangyi/opt/pkg/petalinux/2019.2/components/yocto/source/aarch64/layers/meta-openembedded/meta-oe/recipes-benchmark/iperf3/iperf3_3.6.bb

 

然后就是往menuconfig中加:

ug1144:

Add the following line in <plnx-proj-root>/project-spec/conf/userrootfsconfig.
CONFIG_iperf3

实际petalinux2019.2中

 /home/zhangyi/work/xxxx_linux/<plnx-proj-root>/project-spec/meta-user/conf/user-rootfsconfig

CONFIG_iperf3

CONFIG_memtester

然后Run petalinux-config -c rootfs.

Select user packages → iperf3. Enable it, save and exit.

Run petalinux-build.

 

petalinux定制rootfs 加入iperf memtester ethtool

原文:https://www.cnblogs.com/idyllcheung/p/12661971.html

(1)
(1)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!