How to remove linux-firmware-nxp89xx by my conf file

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

How to remove linux-firmware-nxp89xx by my conf file

Jump to solution
1,311 Views
chris_liuv
Contributor III

Hi,

I'm using imx8mp 5.10.9 sdk.

I have my own conf file at meta-xxx\conf\machine\xxx.conf and the bitbake will include the SDK conf file

sources\meta-imx\meta-bsp\conf\layer.conf.

The SDK conf file defines 

 

MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'nxp8987', 'linux-firmware-nxp89xx', '', d)}"
MACHINE_FIRMWARE_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'nxp8997', 'linux-firmware-nxp89xx', '', d)}"
MACHINE_EXTRA_RRECOMMENDS_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'nxp8987', 'nxp-wlan-sdk kernel-module-nxp89xx', '', d)}"
MACHINE_EXTRA_RRECOMMENDS_append = " ${@bb.utils.contains('MACHINE_FEATURES', 'nxp8997', 'nxp-wlan-sdk kernel-module-nxp89xx', '', d)}"

 

I can build my board image if I mark the above definition by adding # to the code, otherwise I can't build it.

If I want to keep the SDK file originally and remove these settings from my conf file, how can I do that?

Thanks.

The error logs is as below:

NOTE: Your conf/bblayers.conf has been automatically updated.
Loading cache: 100% |#########################################################################################################################################################| Time: 0:00:03
Loaded 4902 entries from dependency cache.
Parsing recipes: 100% |#######################################################################################################################################################| Time: 0:00:01
Parsing of 3331 .bb files complete (3328 cached, 3 parsed). 4905 targets, 283 skipped, 1 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'linux-firmware-nxp89xx' (but /git/imx8_yocto_5.10.9_1.0.0/sources/poky/meta/recipes-core/packagegroups/packagegroup-base.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'linux-firmware-nxp89xx' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['linux-firmware-nxp89xx']
NOTE: Runtime target 'packagegroup-base' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-base', 'linux-firmware-nxp89xx']
ERROR: Required build target 'common-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['common-image', 'packagegroup-base', 'linux-firmware-nxp89xx']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
bitbake common-image -v
Loading cache: 100% |#########################################################################################################################################################| Time: 0:00:01
Loaded 4902 entries from dependency cache.
Parsing recipes: 100% |#######################################################################################################################################################| Time: 0:00:01
Parsing of 3331 .bb files complete (3328 cached, 3 parsed). 4905 targets, 283 skipped, 1 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: selecting pseudo-native to satisfy virtual/fakeroot-native due to PREFERRED_PROVIDERS
NOTE: selecting linux-imx to satisfy virtual/kernel due to PREFERRED_PROVIDERS
NOTE: selecting opkg-native to satisfy opkg-native due to PREFERRED_PROVIDERS
NOTE: selecting opkg-utils-native to satisfy virtual/update-alternatives-native due to PREFERRED_PROVIDERS
NOTE: selecting u-boot-imx to satisfy virtual/bootloader due to PREFERRED_PROVIDERS
NOTE: selecting eudev to satisfy runtime eudev due to PREFERRED_PROVIDER_udev = eudev
NOTE: selecting openssl to satisfy runtime openssl due to PREFERRED_PROVIDER_openssl = openssl
NOTE: selecting openssl to satisfy runtime openssl-misc due to PREFERRED_PROVIDER_openssl = openssl
NOTE: selecting opkg to satisfy runtime opkg due to PREFERRED_PROVIDER_opkg = opkg
NOTE: selecting opkg-utils to satisfy runtime opkg-utils due to PREFERRED_PROVIDER_virtual/update-alternatives = opkg-utils
NOTE: selecting imx-gpu-viv to satisfy runtime imx-gpu-viv due to PREFERRED_PROVIDER_opencl-headers = imx-gpu-viv
NOTE: selecting gdb to satisfy runtime gdb due to PREFERRED_PROVIDER_gdb = gdb
NOTE: selecting u-boot-imx to satisfy runtime u-boot-imx due to PREFERRED_PROVIDER_virtual/bootloader = u-boot-imx
NOTE: selecting linux-imx to satisfy runtime kernel-modules due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-dev due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting glibc-locale to satisfy runtime locale-base-en-us due to PREFERRED_PROVIDER_virtual/libc-locale = glibc-locale
NOTE: selecting glibc-locale to satisfy runtime locale-base-en-gb due to PREFERRED_PROVIDER_virtual/libc-locale = glibc-locale
NOTE: selecting linux-imx to satisfy runtime kernel-base due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-image due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-image-image due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting glibc-locale to satisfy runtime locale-base-de-de due to PREFERRED_PROVIDER_virtual/libc-locale = glibc-locale
NOTE: selecting glibc to satisfy runtime glibc-utils due to PREFERRED_PROVIDER_virtual/libc = glibc
NOTE: selecting glibc-locale to satisfy runtime locale-base-fr-fr.iso-8859-1 due to PREFERRED_PROVIDER_virtual/libc-locale = glibc-locale
NOTE: selecting glibc-locale to satisfy runtime locale-base-fr-fr due to PREFERRED_PROVIDER_virtual/libc-locale = glibc-locale
NOTE: selecting glibc-locale to satisfy runtime glibc-gconv-iso8859-1 due to PREFERRED_PROVIDER_virtual/libc-locale = glibc-locale
NOTE: selecting glibc-locale to satisfy runtime glibc-gconv-big5hkscs due to PREFERRED_PROVIDER_virtual/libc-locale = glibc-locale
NOTE: selecting glibc-locale to satisfy runtime locale-base-zh-hk.big5-hkscs due to PREFERRED_PROVIDER_virtual/libc-locale = glibc-locale
NOTE: selecting make to satisfy runtime make due to PREFERRED_PROVIDER_virtual/make = make
NOTE: selecting u-boot-imx to satisfy runtime u-boot-imx-env due to PREFERRED_PROVIDER_virtual/bootloader = u-boot-imx
NOTE: selecting u-boot-imx to satisfy runtime u-boot-imx-dev due to PREFERRED_PROVIDER_virtual/bootloader = u-boot-imx
NOTE: selecting pkgconfig-native to satisfy pkgconfig-native due to PREFERRED_PROVIDERS
NOTE: selecting binutils-cross-aarch64 to satisfy virtual/aarch64-poky-linux-binutils due to PREFERRED_PROVIDERS
NOTE: selecting gcc-cross-aarch64 to satisfy virtual/aarch64-poky-linux-gcc due to PREFERRED_PROVIDERS
NOTE: selecting pigz-native to satisfy gzip-native due to PREFERRED_PROVIDERS
NOTE: selecting binutils-crosssdk-x86_64-pokysdk-linux to satisfy virtual/x86_64-pokysdk-linux-binutils-crosssdk due to PREFERRED_PROVIDERS
NOTE: selecting nativesdk-glibc to satisfy virtual/nativesdk-libc due to PREFERRED_PROVIDERS
NOTE: selecting glibc to satisfy virtual/libc due to PREFERRED_PROVIDERS
NOTE: selecting gcc-runtime to satisfy virtual/aarch64-poky-linux-compilerlibs due to PREFERRED_PROVIDERS
NOTE: selecting openssl-native to satisfy openssl-native due to PREFERRED_PROVIDERS
NOTE: selecting u-boot-imx to satisfy u-boot due to PREFERRED_PROVIDERS
NOTE: selecting glibc to satisfy virtual/libiconv due to PREFERRED_PROVIDERS
NOTE: selecting opkg-utils to satisfy virtual/update-alternatives due to PREFERRED_PROVIDERS
NOTE: selecting openssl to satisfy openssl due to PREFERRED_PROVIDERS
NOTE: selecting imx-gpu-viv to satisfy opencl-headers due to PREFERRED_PROVIDERS
NOTE: selecting imx-gpu-viv to satisfy virtual/libgl due to PREFERRED_PROVIDERS
NOTE: selecting libx11 to satisfy virtual/libx11 due to PREFERRED_PROVIDERS
NOTE: selecting eudev to satisfy udev due to PREFERRED_PROVIDERS
NOTE: selecting pkgconfig to satisfy pkgconfig due to PREFERRED_PROVIDERS
NOTE: selecting glibc to satisfy virtual/libintl due to PREFERRED_PROVIDERS
NOTE: selecting imx-gpu-viv to satisfy virtual/libgles2 due to PREFERRED_PROVIDERS
NOTE: selecting imx-gpu-viv to satisfy virtual/egl due to PREFERRED_PROVIDERS
NOTE: selecting imx-gpu-g2d to satisfy virtual/libg2d due to PREFERRED_PROVIDERS
NOTE: selecting gdk-pixbuf to satisfy gdk-pixbuf due to PREFERRED_PROVIDERS
NOTE: selecting nativesdk-openssl to satisfy nativesdk-openssl due to PREFERRED_PROVIDERS
NOTE: selecting nativesdk-glibc to satisfy virtual/nativesdk-libintl due to PREFERRED_PROVIDERS
NOTE: selecting nativesdk-glibc to satisfy virtual/nativesdk-libiconv due to PREFERRED_PROVIDERS
NOTE: selecting linux-libc-headers to satisfy linux-libc-headers due to PREFERRED_PROVIDERS
NOTE: selecting libgcc-initial to satisfy libgcc-initial due to PREFERRED_PROVIDERS
NOTE: selecting glibc to satisfy runtime glibc-dev due to PREFERRED_PROVIDER_virtual/libc = glibc
NOTE: selecting gcc-runtime to satisfy runtime libstdc++ due to PREFERRED_PROVIDER_virtual/aarch64-poky-linux-compilerlibs = gcc-runtime
NOTE: selecting glibc-locale to satisfy runtime glibc-gconv-cp1252 due to PREFERRED_PROVIDER_virtual/libc-locale = glibc-locale
NOTE: selecting glibc to satisfy runtime glibc due to PREFERRED_PROVIDER_virtual/libc = glibc
NOTE: selecting glibc to satisfy runtime glibc-thread-db due to PREFERRED_PROVIDER_virtual/libc = glibc
NOTE: selecting gcc-runtime to satisfy runtime libatomic-dev due to PREFERRED_PROVIDER_virtual/aarch64-poky-linux-compilerlibs = gcc-runtime
NOTE: selecting gcc-runtime to satisfy runtime libstdc++-dev due to PREFERRED_PROVIDER_virtual/aarch64-poky-linux-compilerlibs = gcc-runtime
NOTE: selecting libgcc to satisfy runtime libgcc-dev due to PREFERRED_PROVIDER_libgcc = libgcc
NOTE: selecting glibc-locale to satisfy runtime glibc-gconv-ibm850 due to PREFERRED_PROVIDER_virtual/libc-locale = glibc-locale
NOTE: selecting glibc-locale to satisfy runtime glibc-gconv-iso8859-15 due to PREFERRED_PROVIDER_virtual/libc-locale = glibc-locale
NOTE: selecting glibc-locale to satisfy runtime glibc-localedata-i18n due to PREFERRED_PROVIDER_virtual/libc-locale = glibc-locale
NOTE: selecting glibc to satisfy runtime glibc-dbg due to PREFERRED_PROVIDER_virtual/libc = glibc
NOTE: selecting libgcc to satisfy runtime libgcc due to PREFERRED_PROVIDER_libgcc = libgcc
NOTE: selecting glibc to satisfy runtime libsegfault due to PREFERRED_PROVIDER_virtual/libc = glibc
NOTE: selecting gcc-runtime to satisfy runtime libatomic due to PREFERRED_PROVIDER_virtual/aarch64-poky-linux-compilerlibs = gcc-runtime
NOTE: selecting linux-imx to satisfy runtime kernel-module-g-file-storage due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-rtc-proc due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-input due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-hci-usb due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-rtc-sysfs due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-cryptomgr due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-usbserial due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-nls-iso8859-1 due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-uhci-hcd due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-usbmouse due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-usb-storage due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-vfat due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-af-packet due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-bluetooth due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-hci-uart due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-usbhid due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-ieee80211-crypt-tkip due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-aes-generic due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-nfs due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-g-serial due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-l2cap due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-pxa27x_udc due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-g-ether due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-ieee80211-crypt-ccmp due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-aes due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-rfcomm due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-gadgetfs due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-ehci-hcd due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
NOTE: selecting linux-imx to satisfy runtime kernel-module-cdc-wdm due to PREFERRED_PROVIDER_virtual/kernel = linux-imx
ERROR: Nothing RPROVIDES 'linux-firmware-nxp89xx' (but /git/imx8_yocto_5.10.9_1.0.0/sources/poky/meta/recipes-core/packagegroups/packagegroup-base.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'linux-firmware-nxp89xx' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['linux-firmware-nxp89xx']
NOTE: Runtime target 'packagegroup-base' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-base', 'linux-firmware-nxp89xx']
NOTE: Target 'common-image' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['common-image', 'packagegroup-base', 'linux-firmware-nxp89xx']
ERROR: Required build target 'common-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['common-image', 'packagegroup-base', 'linux-firmware-nxp89xx']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

 

0 Kudos
1 Solution
1,296 Views
chris_liuv
Contributor III

Answer by myself, simply add the following in my meta-xxx\conf\machine\xxx.conf

MACHINE_FIRMWARE_remove = " ${@bb.utils.contains('MACHINE_FEATURES', 'nxp8987', 'linux-firmware-nxp89xx', '', d)}"
MACHINE_FIRMWARE_remove = " ${@bb.utils.contains('MACHINE_FEATURES', 'nxp8997', 'linux-firmware-nxp89xx', '', d)}"
MACHINE_EXTRA_RRECOMMENDS_remove = " ${@bb.utils.contains('MACHINE_FEATURES', 'nxp8987', 'nxp-wlan-sdk kernel-module-nxp89xx', '', d)}"
MACHINE_EXTRA_RRECOMMENDS_remove = " ${@bb.utils.contains('MACHINE_FEATURES', 'nxp8997', 'nxp-wlan-sdk kernel-module-nxp89xx', '', d)}"

 

View solution in original post

0 Kudos
1 Reply
1,297 Views
chris_liuv
Contributor III

Answer by myself, simply add the following in my meta-xxx\conf\machine\xxx.conf

MACHINE_FIRMWARE_remove = " ${@bb.utils.contains('MACHINE_FEATURES', 'nxp8987', 'linux-firmware-nxp89xx', '', d)}"
MACHINE_FIRMWARE_remove = " ${@bb.utils.contains('MACHINE_FEATURES', 'nxp8997', 'linux-firmware-nxp89xx', '', d)}"
MACHINE_EXTRA_RRECOMMENDS_remove = " ${@bb.utils.contains('MACHINE_FEATURES', 'nxp8987', 'nxp-wlan-sdk kernel-module-nxp89xx', '', d)}"
MACHINE_EXTRA_RRECOMMENDS_remove = " ${@bb.utils.contains('MACHINE_FEATURES', 'nxp8997', 'nxp-wlan-sdk kernel-module-nxp89xx', '', d)}"

 

0 Kudos