Yocto i.MX6: How to add networkmanager

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Yocto i.MX6: How to add networkmanager

926 Views
Niting
Contributor I

Dear Community,

I was able to enable networkmanager in the Yocto build for the imx6 board. I have added the below line in local.conf file:

IMAGE_INSTALL:append = " networkmanager"

IMAGE_INSTALL:append = " modemmanager"

However, I am getting the following errror:

NOTE: Executing Tasks
ERROR: imx-image-full-1.0-r0 do_rootfs: Unable to install packages. Command '/home/mytsp00443/NithinG/fullyocto_imx8qmmek/yocto_imx8qm/imx-yocto-bsp/build_imx6/tmp/work/imx6qsabresd-poky-linux-gnueabi/imx-image-full/1.0-r0/recipe-sysroot-native/usr/bin/apt-get install --allow-downgrades --allow-remove-essential --allow-change-held-packages --allow-unauthenticated --no-remove apt curl dpkg firmwared imx-g2d-samples modemmanager networkmanager opencv-apps opencv-samples optee-client optee-os os-release packagegroup-base-extended packagegroup-core-boot packagegroup-core-full-cmdline packagegroup-core-nfs-server packagegroup-core-sdk packagegroup-core-ssh-openssh packagegroup-core-standalone-sdk-target packagegroup-core-tools-debug packagegroup-core-tools-profile packagegroup-core-tools-testapps packagegroup-core-weston packagegroup-fsl-gstreamer1.0 packagegroup-fsl-gstreamer1.0-full packagegroup-fsl-optee-imx packagegroup-fsl-tools-audio packagegroup-fsl-tools-benchmark packagegroup-fsl-tools-gpu packagegroup-fsl-tools-gpu-external packagegroup-fsl-tools-testapps packagegroup-imx-isp packagegroup-imx-ml packagegroup-imx-security packagegroup-qt6-imx packagegroup-security-parsec packagegroup-security-tpm2 packagegroup-tools-bluetooth psplash python3-opencv run-postinsts softhsm swtpm tzdata weston-xwayland xterm' returned 100:
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
connman : Conflicts: networkmanager but 1.42.4-r0 is to be installed
Recommends: connman-conf but it is not installable
E: Unable to correct problems, you have held broken packages.

ERROR: Logfile of failure stored in: /home/mytsp00443/NithinG/fullyocto_imx8qmmek/yocto_imx8qm/imx-yocto-bsp/build_imx6/tmp/work/imx6qsabresd-poky-linux-gnueabi/imx-image-full/1.0-r0/temp/log.do_rootfs.558186
ERROR: Task (/home/mytsp00443/NithinG/fullyocto_imx8qmmek/yocto_imx8qm/imx-yocto-bsp/sources/meta-imx/meta-sdk/dynamic-layers/qt6-layer/recipes-fsl/images/imx-image-full.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 10358 tasks of which 10357 didn't need to be rerun and 1 failed.

Could you please advise? How to enable networkmanager.

Thank you in advance.

0 Kudos
Reply
1 Reply

878 Views
pengyong_zhang
NXP Employee
NXP Employee

HI @Niting 

You can remove the connman package: Add DISTRO_FEATURES_remove = "connman" to the local.conf file to remove the installation of the package.

B.R

0 Kudos
Reply