Built and flashed on SD card desktop image. Works on board imx8mpevk, but no sound from Jack 3.5, and Wi-Fi module from M.2 port not working
repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-mickledore imx-6.1.36-2.1.0_desktop.xml
repo sync
DISTRO=imx-desktop-xwayland MACHINE=imx8mpevk source imx-setup-desktop.sh -b build-desktop
bitbake imx-image-desktop
Build Configuration:
BB_VERSION = "2.4.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-fsl-linux"
MACHINE = "imx8mpevk"
DISTRO = "imx-desktop-xwayland"
DISTRO_VERSION = "1.0"
TUNE_FEATURES = "aarch64 armv8a crc crypto"
TARGET_FPU = ""
Now I want to generate full SDK. According to manuals I execute this:
bitbake imx-image-desktop -c populate_sdk
But it fails with such errors:
ERROR: imx-image-desktop-22.04.2-r0 do_populate_sdk: Could not invoke dnf. Command '/home/build/main_build/build-desktop/tmp/work/imx8mpevk-fsl-linux/imx-image-desktop/22.04.2-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /home/build/main_build/build-desktop/tmp/work/imx8mpevk-fsl-linux/imx-image-desktop/22.04.2-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/armv8a-fsl-linux/etc/dnf/dnf.conf --setopt=reposdir=/home/build/main_build/build-desktop/tmp/work/imx8mpevk-fsl-linux/imx-image-desktop/22.04.2-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/armv8a-fsl-linux/etc/yum.repos.d --installroot=/home/build/main_build/build-desktop/tmp/work/imx8mpevk-fsl-linux/imx-image-desktop/22.04.2-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/armv8a-fsl-linux --setopt=logdir=/home/build/main_build/build-desktop/tmp/work/imx8mpevk-fsl-linux/imx-image-desktop/22.04.2-r0/temp --repofrompath=oe-repo,/home/build/main_build/build-desktop/tmp/work/imx8mpevk-fsl-linux/imx-image-desktop/22.04.2-r0/oe-sdk-repo --nogpgcheck install alsa-state apitrace basler-camera cheese chromium-ozone-wayland clutter-gst-3.0 firmware-imx-easrc-imx8mn firmware-imx-sdma-imx7d firmware-imx-xcvr-imx8mp firmware-nxp-wifi-nxp8801-sdio firmware-nxp-wifi-nxp8987-sdio firmware-nxp-wifi-nxp8997-pcie firmware-nxp-wifi-nxp8997-sdio firmware-nxp-wifi-nxp9098-pcie firmware-nxp-wifi-nxp9098-sdio firmware-nxp-wifi-nxpiw416-sdio firmware-nxp-wifi-nxpiw612-sdio firmwared gputop gtk+3-gles imx-alsa-plugins imx-g2d-samples imx-gpu-viv-tools imx-m7-demos isp-imx kernel-devicetree kernel-image kernel-module-isp-vvcam kernel-module-nxp-wlan kernel-modules libclc-imx libclc-imx-dev libcogl libdrm-vivante libegl-imx libegl-imx-dev libgal-imx libgal-imx-dev libgbm-imx libgbm-imx-dev libgles1-imx libgles1-imx-dev libgles2-imx libgles2-imx-dev libgles3-imx-dev libglslc-imx libgpuperfcnt libnn-imx libopencl-imx libopenvx-imx libopenvx-imx-dev libvsc-imx libvulkan-imx linux-firmware-ath10k nnstreamer nnstreamer-protobuf nnstreamer-python3 nnstreamer-tensorflow-lite nxp-wlan-sdk opencv packagegroup-core-standalone-sdk-target packagegroup-fsl-gstreamer1.0 packagegroup-fsl-gstreamer1.0-full perf sof-imx sof-zephyr systemd-gpuconfig target-sdk-provides-dummy tensorflow-lite tensorflow-lite-vx-delegate ubuntu-base ubuntu-base-dbg ubuntu-base-dev ubuntu-base-doc udev-extraconf udev-rules-imx wayland-protocols xwayland zephyr-demo-imx' returned 1:
DNF version: 4.14.0
cachedir: /home/build/main_build/build-desktop/tmp/work/imx8mpevk-fsl-linux/imx-image-desktop/22.04.2-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/armv8a-fsl-linux/var/cache/dnf
Added oe-repo repo from /home/build/main_build/build-desktop/tmp/work/imx8mpevk-fsl-linux/imx-image-desktop/22.04.2-r0/oe-sdk-repo
User-Agent: falling back to 'libdnf': could not detect OS or basearch
repo: using cache for: oe-repo
oe-repo: using metadata from Sat 28 Oct 2023 12:56:49 PM UTC.
Last metadata expiration check: 0:00:01 ago on Sun 29 Oct 2023 01:46:07 AM UTC.
--> Starting dependency resolution
--> Finished dependency resolution
Error:
Problem 1: package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from oe-repo conflicts with /bin/sh provided by ubuntu-base-22.04.2-r0.armv8a from oe-repo
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from oe-repo conflicts with perl provided by ubuntu-base-22.04.2-r0.armv8a from oe-repo
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from oe-repo conflicts with bash provided by ubuntu-base-22.04.2-r0.armv8a from oe-repo
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from oe-repo conflicts with coreutils provided by ubuntu-base-22.04.2-r0.armv8a from oe-repo
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from oe-repo conflicts with /usr/bin/env provided by ubuntu-base-22.04.2-r0.armv8a from oe-repo
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from oe-repo conflicts with /bin/bash provided by ubuntu-base-22.04.2-r0.armv8a from oe-repo
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from oe-repo conflicts with bash-dev provided by ubuntu-base-22.04.2-r0.armv8a from oe-repo
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from oe-repo conflicts with perl-dev provided by ubuntu-base-22.04.2-r0.armv8a from oe-repo
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from oe-repo conflicts with pkgconfig provided by ubuntu-base-22.04.2-r0.armv8a from oe-repo
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from oe-repo conflicts with /usr/bin/perl provided by ubuntu-base-22.04.2-r0.armv8a from oe-repo
- package ubuntu-base-22.04.2-r0.armv8a from oe-repo conflicts with perl provided by target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from oe-repo
- package ubuntu-base-22.04.2-r0.armv8a from oe-repo conflicts with bash provided by target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from oe-repo
- package ubuntu-base-22.04.2-r0.armv8a from oe-repo conflicts with coreutils provided by target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from oe-repo
- package ubuntu-base-22.04.2-r0.armv8a from oe-repo conflicts with bash-dev provided by target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from oe-repo
- package ubuntu-base-22.04.2-r0.armv8a from oe-repo conflicts with perl-dev provided by target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from oe-repo
- package ubuntu-base-22.04.2-r0.armv8a from oe-repo conflicts with pkgconfig provided by target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from oe-repo
- conflicting requests
Problem 2: package ubuntu-base-22.04.2-r0.armv8a from oe-repo conflicts with libc6-dbg provided by libc6-dbg-2.35-r0.armv8a from oe-repo
- package ubuntu-base-22.04.2-r0.armv8a from oe-repo obsoletes libc6-dbg provided by libc6-dbg-2.35-r0.armv8a from oe-repo
- package ubuntu-base-doc-22.04.2-r0.armv8a from oe-repo requires ubuntu-base, but none of the providers can be installed
- package packagegroup-core-standalone-sdk-target-1.0-r8.armv8a from oe-repo requires glibc-dbg, but none of the providers can be installed
- conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages)
ERROR: Logfile of failure stored in: /home/build/main_build/build-desktop/tmp/work/imx8mpevk-fsl-linux/imx-image-desktop/22.04.2-r0/temp/log.do_populate_sdk.799
ERROR: Task (/home/build/main_build/sources/meta-nxp-desktop/recipes-fsl/images/imx-image-desktop.bb:do_populate_sdk) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6960 tasks of which 6959 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/build/main_build/sources/meta-nxp-desktop/recipes-fsl/images/imx-image-desktop.bb:do_populate_sdk
Tried also to comment this two strings in local.conf but it did not solve issue. Errors are still the same
PACKAGE_CLASSES = "package_deb"
EXTRA_IMAGE_FEATURES += "package-management"
The line for sources directory got missing, which should be:
repo init -u https://github.com/nxp-imx/imx-manifest.git -b imx-linux-mickledore -m imx-6.1.36-2.1.0_desktop.xml
SDK build for Desktop not supported as of now.
Best regards
Harvey
Following the instructions I get failures in do_package from python with an exception in glibc-2.35. Is there any update to these instructions for the latest stable build?