How to enable iperf and brctl in imx8 yocto build

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to enable iperf and brctl in imx8 yocto build

6,131件の閲覧回数
vikaskolapudi
Contributor I

I am trying to run iperf with ethernet and wifi. I need bridge-utils too. How to enable these in imx8 yocto build

タグ(2)
0 件の賞賛
2 返答(返信)

5,174件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello Vikas Kolapudi,

The layers of the NXP Linux BSP do have the bridge-utils and iperf packages available.

You may add them to an image by adding the following lines to the conf/local.conf file inside the build directory, and then baking the image.

IMAGE_INSTALL_append = “ iperf3 bridge-utils”

Whenever you want to see which packages are available on the BSP you can run:

bitbake -s

I hope this information helps,

Regards,

0 件の賞賛

5,174件の閲覧回数
vikaskolapudi
Contributor I

Thanks for your reply.

I have added suggested line in local.conf:

MACHINE ??= 'imx8mqevk'
DISTRO ?= 'fsl-imx-x11'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    STOPTASKS,/tmp,100M,100K \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100M,1K \
    ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
CONF_VERSION = "1"
IMAGE_INSTALL_append ?= “ iperf bridge-utils”
DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"
~                                  

But after running bitbake command, it is spitting error:

$ bitbake -s
ERROR: ParseError at /work/test/Yocto/imx-yocto-bsp/build/conf/local.conf:19: unparsed line: 'IMAGE_INSTALL_append = “ iperf bridge-utils”'

Please help.

Thanks & Regards,

Ravi Kant

0 件の賞賛