在petalinux工程里添加iperf
1,首先确定iperf包在哪里
xxx/components/yocto/layer/ meta-openembedded/meta-oe/recipes-benchmark/iperf3/
2,然后就是往menuconfig中加:
xxx/project-spec/meta-user/conf/user-rootfsconfig文件中
添加:
CONFIG_iperf3
CONFIG_memtester
3,然后Run petalinux-config -c rootfs.
Select user packages → iperf3. Enable it, save and exit.
Run petalinux-build.