We are trying to build imx-image-multimedia with imx gstreamer plugins for MX8QM and Linux -4.19.45.
The yocto is 4.19-warrior.
First, we add following lines to 'local.conf':
IMAGE_INSTALL_append = " gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly imx-gpu -g2d imx-gpu-viv gstreamer1.0-plugins-imx imx-gst1.0-plugin "
LICENSE_FLAGS_WHITELIST = "commercial"
And run 'bitbake imx-image-multimedia':
Finally we got the following errors:
jiejiang@ubuntu:~/imx8_yocto_bsp/build-xwayland$ bitbake imx-image-multimedia
Loading cache: 100% |####################################################################################################################| Time: 0:00:00
Loaded 3921 entries from dependency cache.
Parsing recipes: 100% |##################################################################################################################| Time: 0:00:02
Parsing of 2784 .bb files complete (2782 cached, 2 parsed). 3921 targets, 207 skipped, 4 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'imx-gpu-g2d' (but /home1/jiejiang/imx8_yocto_bsp/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/imx-image-multimedia.bb RDEPENDS on or otherwise requires it)
imx-gpu-g2d was skipped: PREFERRED_PROVIDER_virtual/libg2d set to imx-dpu-g2d, not imx-gpu-g2d
imx-gpu-g2d was skipped: PREFERRED_PROVIDER_virtual/libg2d set to imx-dpu-g2d, not imx-gpu-g2d
NOTE: Runtime target 'imx-gpu-g2d' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['imx-gpu-g2d']
ERROR: Required build target 'imx-image-multimedia' has no buildable providers.
Missing or unbuildable dependency chain was: ['imx-image-multimedia', 'imx-gpu-g2d']
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
There are two 'virtual/libg2d' providers in the bitbake recipes :
sources/meta-freescale/recipes-graphics/imx-dpu-g2d/imx-dpu-g2d_1.4.8.bb
sources/meta-freescale/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.2.4.p1.8.bb
Both recipes include 'PROVIDES += "virtual/libg2d"
However, 'bitbake -c compile imx-gpu-g2d' failed.
jiejiang@ubuntu:~/imx8_yocto_bsp/build-xwayland$ bitbake -c compile imx-dpu-g2d
Loading cache: 100% |####################################################################################################################| Time: 0:00:00
Loaded 3921 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.42.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8qmmek"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "4.19-warrior"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky = "HEAD:6d2e12e79211b31cdf5ea824fb9a8be54ba9a9eb"
meta-oe
meta-multimedia = "HEAD:3bdbf72e3a4bf18a4a2c7afbde4f7ab773aeded9"
meta-freescale = "HEAD:2142f7ded1b3115ccc21f7575fd83e2376247193"
meta-freescale-3rdparty = "HEAD:da422478d38e744283bcf61123c4a526396c7030"
meta-freescale-distro = "HEAD:d4e77ea682fa10d0d54a723b3d3099c44fc5e95c"
meta-bsp
meta-sdk
meta-ml = "HEAD:bb05c60e6398b374ac49554c642a3bef36452f73"
meta-browser = "HEAD:5f365ef0f842ba4651efe88787cf9c63bc8b6cb3"
meta-rust = "HEAD:11aed43748d7dd194dc6c06a35a16104400d1090"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:3bdbf72e3a4bf18a4a2c7afbde4f7ab773aeded9"
meta-qt5 = "HEAD:dc2dedef9961950b88f4245ba7499538ec4244ab"
Initialising tasks: 100% |###############################################################################################################| Time: 0:00:00
Sstate summary: Wanted 0 Found 0 Missed 0 Current 33 (0% match, 100% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 257 tasks of which 251 didn't need to be rerun and all succeeded.
jiejiang@ubuntu:~/imx8_yocto_bsp/build-xwayland$ bitbake -c compile imx-gpu-g2d
Loading cache: 100% |####################################################################################################################| Time: 0:00:00
Loaded 3921 entries from dependency cache.
ERROR: Nothing PROVIDES 'imx-gpu-g2d'
imx-gpu-g2d was skipped: PREFERRED_PROVIDER_virtual/libg2d set to imx-dpu-g2d, not imx-gpu-g2d
imx-gpu-g2d was skipped: PREFERRED_PROVIDER_virtual/libg2d set to imx-dpu-g2d, not imx-gpu-g2d
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
How to fix this problem?