Coder Social home page Coder Social logo

tn-imx-yocto-manifest's People

Contributors

chrishuangtn avatar ray-chang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tn-imx-yocto-manifest's Issues

Help for generic I2S driver

Sorry to ask it here, but can somebody suggest me a generic I2S driver in Linux which able to send RAW data in I2S? I am looking for a driver which is similar like spidev "/dev/spidevX.Y" or i2c "/dev/i2c-X" so a simple character device driver for I2S.

My goal is to sending datas from i.MX7D to a DSP processor in I2S communication.

SDK made with populate_sdk is broken (openssh not installed?)

Steps to reproduce, on WSL2 running Ubuntu 20.04:

Prepare the system:

  1. sudo apt update
  2. sudo apt upgrade
  3. sudo apt-get install gawk wget git git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python python3 python3-pip python3-pexpect python3-git python3-jinja2 libegl1-mesa pylint3 rsync bc bison xz-utils debianutils iputils-ping libsdl1.2-dev xterm language-pack-en coreutils texi2html file docbook-utils python-pysqlite2 help2man desktop-file-utils libgl1-mesa-dev libglu1-mesa-dev mercurial autoconf automake groff curl lzop asciidoc u-boot-tools libreoffice-writer sshpass ssh-askpass zip xz-utils kpartx vim screen python-is-python3
  4. Install repo in ~/bin
  5. mkdir edm_yocto
  6. cd edm_yocto

Download the sources:

  1. repo init -u https://github.com/TechNexion/tn-imx-yocto-manifest.git -b hardknott_5.10.y-stable -m imx-5.10.72-2.2.0-2022Q1.xml
  2. repo sync -j8

Build image and SDK:

  1. WIFI_FIRMWARE=y WIFI_MODULE=qca DISTRO=fsl-imx-wayland MACHINE=pico-imx7 BASEBOARD=pi source tn-setup-release.sh -b build-wayland-pico-imx7 (see log below)
  2. accept the EULA
  3. bitbake imx-image-core (core takes less time than full but the result is the same)
  4. bitbake -c populate_sdk imx-image-core. Note that this completes successfully, but with warnings about openssh-dev not being installed. See log below.

Try building kernel with SDK:

  1. tmp/deploy/sdk/fsl-imx-wayland-glibc-x86_64-imx-image-core-cortexa7t2hf-neon-pico-imx7-toolchain-5.10-hardknott.sh
  2. . /opt/fsl-imx-wayland/5.10-hardknott/environment-setup-cortexa7t2hf-neon-poky-linux-gnueabi
  3. mkdir /tmp/kernel
  4. cp -rpa tmp/work/pico_imx7-poky-linux-gnueabi/linux-tn-imx/5.10.72+gitAUTOINC+acb7450af6-r0/git/* /tmp/kernel
  5. cd /tmp/kernel/5.10.72+gitAUTOINC+acb7450af6-r0
  6. make mrproper
  7. make ARCH=arm imx_v7_defconfig
  8. make -j4 zImage. This fails with:
  HOSTCC  scripts/extract-cert
scripts/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory
   21 | #include <openssl/bio.h>
      |          ^~~~~~~~~~~~~~~

Output of source after the EULA:

Welcome to Freescale Community BSP

The Yocto Project has extensive documentation about OE including a
reference manual which can be found at:
    http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
    http://www.openembedded.org/

You can now run 'bitbake <target>'

Common targets are:
    core-image-minimal
    meta-toolchain
    meta-toolchain-sdk
    adt-installer
    meta-ide-support

Your build environment has been configured with:

    MACHINE=pico-imx7
    SDKMACHINE=i686
    DISTRO=fsl-imx-wayland
    EULA=

# TechNexion setup-environment.sh wrapper: Further modification to bblayers.conf and local.conf

# setup i.MX Yocto Project Release layers in bblayers.conf
# setup Technexion i.MX Yocto Project Release Layers in bblayers.conf
# setup NXP nfc release layer in bblayers.conf

# TechNexion Setup BSP Release: Further modification to local.conf and bblayers.conf
Specified DISPLAY_INFO: :0
Specified BASE_BOARD: pi
Specified wifi firmwares: qca
meta-freescale directory found, so use freescale community bsp bblayer instead.

Output of bitbake -c populate_sdk:

bitbake -c populate_sdk imx-image-core
WARNING: Layer nxp-nfc should set LAYERSERIES_COMPAT_nxp-nfc in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: You have included the meta-virtualization layer, but 'virtualization' has not been enabled in your DISTRO_FEATURES. Some bbappend files may not take effect. See the meta-virtualization README for details on enabling virtualization support.
Loading cache: 100% |####################################################################################| Time: 0:00:00
Loaded 5018 entries from dependency cache.
Parsing recipes: 100% |##################################################################################| Time: 0:00:00
Parsing of 3403 .bb files complete (3402 cached, 1 parsed). 5019 targets, 594 skipped, 5 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.50.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-20.04"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "pico-imx7"
DISTRO               = "fsl-imx-wayland"
DISTRO_VERSION       = "5.10-hardknott"
TUNE_FEATURES        = "arm vfp cortexa7 neon thumb callconvention-hard"
TARGET_FPU           = "hard"
meta
meta-poky            = "HEAD:269265c00091fa65f93de6cad32bf24f1e7f72a3"
meta-oe
meta-multimedia
meta-python          = "HEAD:f44e1a2b575826e88b8cb2725e54a7c5d29cf94a"
meta-freescale       = "HEAD:469d6c958c76ea235b3d3c1527e797ce3a7392e3"
meta-freescale-3rdparty = "HEAD:f8150f3b37cb83cba1f9e2378e57bb63e02d4610"
meta-freescale-distro = "HEAD:e6daa26ba1f748326546063d63a085ae671827d9"
meta-bsp
meta-sdk
meta-ml
meta-v2x             = "HEAD:30eff0d5a090d34690f0261b2899d5a5cd94c5ab"
meta-nxp-demo-experience = "HEAD:9dcc11ea9f525cffedbb28895e0abb443e56c3e0"
meta-chromium        = "HEAD:8be1d3a0ba0cf32e61144900597207af5698c10d"
meta-clang           = "HEAD:b0d805060791006d651efd3d7ae3dd5add8f70fe"
meta-gnome
meta-networking
meta-filesystems     = "HEAD:f44e1a2b575826e88b8cb2725e54a7c5d29cf94a"
meta-qt5             = "HEAD:43f8f539d40070a70fe89136db89bf5bb1dfe7ed"
meta-python2         = "HEAD:8db9e4f6ceae33d7a4f55453d31e69f9858af4eb"
meta-virtualization  = "HEAD:7f719ef40896b6c78893add8485fda995b00d51d"
meta-tn-imx-bsp      = "HEAD:b2120c30391111a943c392df8ddbae87db32b2f6"
meta-nxp-nfc         = "HEAD:5d05c57fc8faf3f1bc95c1702e1a6aa78d83412f"

Initialising tasks: 100% |###############################################################################| Time: 0:00:03
Sstate summary: Wanted 438 Local 0 Network 0 Missed 438 Current 1802 (0% match, 80% complete)
Removing 2 stale sstate objects for arch allarch: 100% |#################################################| Time: 0:00:00
Removing 1 stale sstate objects for arch cortexa7t2hf-neon: 100% |#######################################| Time: 0:00:00
Removing 1 stale sstate objects for arch pico_imx7: 100% |###############################################| Time: 0:00:00
NOTE: Executing Tasks
WARNING: imx-image-core-1.0-r0 do_populate_sdk: Unable to install packages. Command '/home/enrico/edm_yocto/build-wayland-pico-imx7/tmp/work/pico_imx7-poky-linux-gnueabi/imx-image-core/1.0-r0/recipe-sysroot-native/usr/bin/apt-get  install --allow-downgrades --allow-remove-essential --allow-change-held-packages --allow-unauthenticated --no-remove acl-dbg acl-dev acl-src alsa-state-dbg alsa-state-dev alsa-tools-dbg alsa-tools-dev alsa-tools-src alsa-utils-dbg alsa-utils-dev alsa-utils-src apt-dbg apt-dev apt-src attr-dbg attr-dev attr-src autoconf-dbg autoconf-dev automake-dbg automake-dev avahi-dbg avahi-dev avahi-src babeltrace-dbg babeltrace-dev babeltrace-src babeltrace2-dbg babeltrace2-dev babeltrace2-src base-files-dbg base-files-dev base-passwd-dbg base-passwd-dev base-passwd-src bashtop-dbg bashtop-dev bc-dbg bc-dev bc-src binutils-dbg binutils-dev binutils-src binutils-staticdev blktrace-dbg blktrace-dev blktrace-src bluez5-dbg bluez5-dev bluez5-src busybox-dbg bzip2-dbg bzip2-dev bzip2-src ca-certificates-dbg ca-certificates-dev can-utils-dbg can-utils-dev can-utils-src ccache-dbg ccache-dev ccache-src cloud-utils-growpart-dbg cloud-utils-growpart-dev connman-dbg connman-dev connman-src cpufrequtils-dbg cpufrequtils-dev cpufrequtils-src cpulimit-dbg cpulimit-dev cpulimit-src create-ap-dbg create-ap-dev crypto-af-alg-dbg crypto-af-alg-dev crypto-af-alg-src cryptodev-module-dbg cryptodev-module-dev cups-dbg cups-dev cups-src curl-dbg curl-dev curl-src db-dbg db-dev db-src dbus-dbg dbus-dev dbus-src diffstat-dbg diffstat-dev diffstat-src diffutils-dbg diffutils-dev diffutils-src dnsmasq-dbg dnsmasq-dev dnsmasq-src dosfstools-dbg dosfstools-dev dosfstools-src dpkg-dbg dpkg-dev dpkg-src dpkg-staticdev dropbear-dbg dropbear-dev dropbear-src dtc-dbg dtc-dev dtc-src dtc-staticdev e2fsprogs-dbg e2fsprogs-dev e2fsprogs-src e2fsprogs-staticdev elfutils-dbg elfutils-dev elfutils-src elfutils-staticdev ethtool-dbg ethtool-dev ethtool-src evtest-dbg evtest-dev evtest-src fb-test-dbg fb-test-dev fbset-dbg fbset-dev fbset-modes-dbg fbset-modes-dev file-dbg file-dev file-src findutils-dbg findutils-dev findutils-src fio-dbg fio-dev fio-src firmwared-dbg firmwared-dev firmwared-src flac-dbg flac-dev flac-src freerdp-dbg freerdp-dev freerdp-src fsl-rc-local-dbg fsl-rc-local-dev gawk-dbg gawk-dev gawk-src gcc-dbg gcc-dev gcc-runtime-dbg gcc-sanitizers-dbg gcc-src gdb-dbg gdb-dev gdb-src get-support-info-dbg get-support-info-dev gettext-dbg gettext-dev gettext-src glibc-locale-dbg glibc-mtrace-dbg glibc-mtrace-dev glmark2-dbg glmark2-dev glmark2-src gobject-introspection-dbg gobject-introspection-dev gobject-introspection-src grep-dbg grep-dev grep-src gtk+3-dbg gtk+3-dev gtk+3-src haveged-dbg haveged-dev haveged-src hdparm-dbg hdparm-dev hdparm-src hicolor-icon-theme-dbg hicolor-icon-theme-dev hostapd-dbg hostapd-dev hostapd-src i2c-tools-dbg i2c-tools-dev i2c-tools-src i2c-tools-staticdev imx-alsa-plugins-dbg imx-alsa-plugins-dev imx-alsa-plugins-src imx-lib-dbg imx-lib-dev imx-lib-src imx-lib-staticdev imx-test-dbg imx-test-dev iozone3-dbg iozone3-dev iperf3-dbg iperf3-dev iperf3-src iproute2-dbg iproute2-dev iproute2-src iptables-dbg iptables-dev iptables-src iw-dbg iw-dev iw-src kbd-dbg kbd-dev kbd-src kernel-tools-dbg kernel-tools-dev kernel-tools-src keyctl-caam-dbg keyctl-caam-dev keyctl-caam-src keyutils-dbg keyutils-dev keyutils-src kmod-dbg kmod-dev kmod-src less-dbg less-dev less-src libaio-dbg libaio-dev libaio-src libaio-staticdev libasound-dbg libasound-dev libasound-src libatk-1.0-dbg libatk-1.0-dev libatk-1.0-src libatomic-staticdev libc-src libc6-staticdev libcairo-dbg libcairo-dev libcairo-src libcap-dbg libcap-dev libcap-ng-dbg libcap-ng-dev libcap-ng-src libcap-src libcap-staticdev libcroco-dbg libcroco-dev libcroco-src libcrypt-dbg libcrypt-dev libcrypt-src libdaemon-dbg libdaemon-dev libdaemon-src libdrm-dbg libdrm-dev libdrm-src libegl-mesa-dev libell-dbg libell-dev libell-src libepoxy-dbg libepoxy-dev libepoxy-src libevdev-dbg libevdev-dev libevdev-src libexpat-dbg libexpat-dev libexpat-src libffi-dbg libffi-dev libffi-src libfontconfig-dbg libfontconfig-dev libfontconfig-src libfreetype-dbg libfreetype-dev libfreetype-src libfribidi-dbg libfribidi-dev libfribidi-src libgbm-dev libgcc-s-dbg libgcc-s-src libgcrypt-dbg libgcrypt-dev libgcrypt-src libgdbm-dbg libgdbm-dev libgdbm-src libgdk-pixbuf-2.0-dbg libgdk-pixbuf-2.0-dev libgdk-pixbuf-2.0-src libglapi-dev libgles2-mesa-dev libglib-2.0-dbg libglib-2.0-dev libglib-2.0-src libgmp-dbg libgmp-dev libgmp-src libgnutls-dbg libgnutls-dev libgnutls-src libgomp-staticdev libgpg-error-dbg libgpg-error-dev libgpg-error-src libgpiod-dbg libgpiod-dev libgpiod-src libharfbuzz-dbg libharfbuzz-dev libharfbuzz-src libidn2-dbg libidn2-dev libidn2-src libinput-dbg libinput-dev libinput-src libjpeg-dbg libjpeg-dev libjpeg-src libjson-c-dbg libjson-c-dev libjson-c-src libjson-c-staticdev liblzo2-dbg liblzo2-dev liblzo2-src libmnl-dbg libmnl-dev libmnl-src libmpc-dbg libmpc-dev libmpc-src libmpfr-dbg libmpfr-dev libmpfr-src libnfc-nci-linux-1-dbg libnfc-nci-linux-1-dev libnl-3-dbg libnl-3-dev libnl-3-src libnsl-dbg libnsl-dev libnsl-src libnss-mdns-dbg libnss-mdns-dev libnss-mdns-src libogg-dbg libogg-dev libogg-src libpam-dbg libpam-dev libpam-src libpcap-dbg libpcap-dev libpcap-src libpcap-staticdev libpcre-dbg libpcre-dev libpcre-src libpixman-1-dbg libpixman-1-dev libpixman-1-src libpng16-dbg libpng16-dev libpng16-src libpopt-dbg libpopt-dev libpopt-src libpython3.9-staticdev libreadline-dbg libreadline-dev libreadline-src libreadline-staticdev libsamplerate0-dbg libsamplerate0-dev libsamplerate0-src libsensors-dev libsensors-staticdev libsndfile-dbg libsndfile-dev libsndfile-src libsocketcan-dbg libsocketcan-dev libsocketcan-src libsqlite3-dev libstdc++-staticdev libtirpc-dbg libtirpc-dev libtirpc-src libtool-dbg libtool-dev libtool-src libubootenv-dbg libubootenv-dev libubootenv-src libubootenv-staticdev libunistring-dbg libunistring-dev libunistring-src libunwind-dbg libunwind-dev libunwind-src libusb-1.0-dbg libusb-1.0-dev libusb-1.0-src libuuid-dbg libuuid-dev libuuid-src libv4l-dev libvorbis-dbg libvorbis-dev libvorbis-src libwrap-dev libwrap-staticdev libxkbcommon-dbg libxkbcommon-dev libxkbcommon-src libxml2-dbg libxml2-dev libxml2-src libz-dbg libz-dev libz-src libz-staticdev linux-firmware-qca-tn-dbg linux-firmware-qca-tn-dev linuxptp-dbg linuxptp-dev linuxptp-src lmbench-dbg lmbench-dev lmbench-src lmbench-staticdev lmsensors-config-dbg lmsensors-config-dev lmsensors-dbg lmsensors-dev lmsensors-src lrzsz-dbg lrzsz-dev lrzsz-src lvm2-dbg lvm2-dev lvm2-src lz4-dbg lz4-dev m4-dbg m4-dev m4-src make-dbg make-dev make-src memtester-dbg memtester-dev memtester-src mesa-dbg mesa-dev mesa-src minicom-dbg minicom-dev minicom-src mmc-utils-dbg mmc-utils-dev mmc-utils-src mobile-broadband-provider-info-dbg mobile-broadband-provider-info-dev mtd-utils-dbg mtd-utils-dev mtd-utils-src mtdev-dbg mtdev-dev mtdev-src nano-dbg nano-dev nano-src ncurses-dbg ncurses-dev ncurses-src ncurses-staticdev neard-dbg neard-dev neard-src net-tools-dbg net-tools-dev net-tools-src netbase-dbg netbase-dev nettle-dbg nettle-dev nettle-src nfs-utils-dbg nfs-utils-dev nfs-utils-src ntag-i2c-tool-dbg ntag-i2c-tool-dev ntp-dbg ntp-dev ntp-src ofono-dbg ofono-dev ofono-src openssh-dbg openssh-dev openssh-src openssl-dbg openssl-dev openssl-src openssl-staticdev opkg-utils-dbg os-release-dbg os-release-dev packagegroup-base-3g-dbg packagegroup-base-3g-dev packagegroup-base-alsa-dbg packagegroup-base-alsa-dev packagegroup-base-bluetooth-dbg packagegroup-base-bluetooth-dev packagegroup-base-dbg packagegroup-base-dev packagegroup-base-extended-dbg packagegroup-base-extended-dev packagegroup-base-ipv6-dbg packagegroup-base-ipv6-dev packagegroup-base-nfc-dbg packagegroup-base-nfc-dev packagegroup-base-nfs-dbg packagegroup-base-nfs-dev packagegroup-base-pci-dbg packagegroup-base-pci-dev packagegroup-base-usbgadget-dbg packagegroup-base-usbgadget-dev packagegroup-base-usbhost-dbg packagegroup-base-usbhost-dev packagegroup-base-vfat-dbg packagegroup-base-vfat-dev packagegroup-base-wifi-dbg packagegroup-base-wifi-dev packagegroup-base-zeroconf-dbg packagegroup-base-zeroconf-dev packagegroup-core-boot-dbg packagegroup-core-boot-dev packagegroup-core-buildessential-dbg packagegroup-core-buildessential-dev packagegroup-core-nfs-server-dbg packagegroup-core-nfs-server-dev packagegroup-core-sdk-dbg packagegroup-core-sdk-dev packagegroup-core-ssh-dropbear-dbg packagegroup-core-ssh-dropbear-dev packagegroup-core-standalone-sdk-target-dbg packagegroup-core-standalone-sdk-target-dev packagegroup-core-tools-debug-dbg packagegroup-core-tools-debug-dev packagegroup-core-tools-profile-dbg packagegroup-core-tools-profile-dev packagegroup-core-weston-dbg packagegroup-core-weston-dev packagegroup-distro-base-dbg packagegroup-distro-base-dev packagegroup-imx-core-tools-dbg packagegroup-imx-core-tools-dev packagegroup-imx-security-dbg packagegroup-imx-security-dev packagegroup-machine-base-dbg packagegroup-machine-base-dev packagegroup-tn-nfc-dbg packagegroup-tn-nfc-dev packagegroup-tn-tools-dbg packagegroup-tn-tools-dev packagegroup-tn-voicehat-dbg packagegroup-tn-voicehat-dev packagegroup-tn-wlan-dbg packagegroup-tn-wlan-dev pango-dbg pango-dev pango-src patch-dbg patch-dev patch-src pciutils-dbg pciutils-dev pciutils-src perf-dbg perf-dev perl-dbg picocom-dbg picocom-dev picocom-src powertop-dbg powertop-dev powertop-src procps-dbg procps-dev procps-src psplash-dbg psplash-dev psplash-src ptpd-dbg ptpd-dev ptpd-src pulseaudio-dbg pulseaudio-dev pulseaudio-src python-dbg python-dev python-src python3-dbg python3-dbus-dbg python3-dbus-dev python3-dbus-src python3-dev python3-pycairo-dbg python3-pycairo-dev python3-pycairo-src python3-pygobject-dbg python3-pygobject-dev python3-pygobject-src python3-src quilt-dbg quilt-dev ramsmp-dbg ramsmp-dev ramsmp-src read-edid-dbg read-edid-dev read-edid-src rpcbind-dbg rpcbind-dev rpcbind-src rsync-dbg rsync-dev rsync-src run-postinsts-dbg run-postinsts-dev sed-dbg sed-dev sed-src shadow-dbg shadow-dev shadow-securetty-dbg shadow-securetty-dev shadow-src shared-mime-info-dbg shared-mime-info-dev shared-mime-info-src slang-dbg slang-dev slang-src spidev-test-dbg spidev-test-dev sqlite3-dbg sqlite3-src strace-dbg strace-dev strace-src stress-ng-dbg stress-ng-dev stress-ng-src stressapptest-dbg stressapptest-dev stressapptest-src sysbench-dbg sysbench-dev sysbench-src systemd-compat-units-dbg systemd-compat-units-dev systemd-conf-dbg systemd-conf-dev systemd-dbg systemd-dev systemd-serialgetty-dbg systemd-serialgetty-dev systemd-src systemtap-dbg systemtap-dev systemtap-src target-sdk-provides-dummy-dbg target-sdk-provides-dummy-dev tcl-dbg tcl-dev tcl-src tcl-staticdev tcp-wrappers-dbg tcp-wrappers-src thermal-imx-test-dbg thermal-imx-test-dev tn-growpart-helper-dbg tn-growpart-helper-dev tn-u-boot-fw-env-dbg tn-u-boot-fw-env-dev u-boot-tn-imx-dbg u-boot-tn-imx-dev udev-extraconf-dbg udev-extraconf-dev udev-rules-imx-dbg udev-rules-imx-dev update-rc.d-dbg update-rc.d-dev usbutils-dbg usbutils-dev usbutils-src util-linux-dbg util-linux-dev util-linux-src v4l-utils-dbg v4l-utils-dev v4l-utils-src valgrind-dbg valgrind-dev valgrind-src valgrind-staticdev voicehat-test-dbg voicehat-test-dev volatile-binds-dbg volatile-binds-dev wayland-dbg wayland-dev wayland-src wayland-utils-dbg wayland-utils-dev wayland-utils-src weston-dbg weston-dev weston-init-dbg weston-init-dev weston-src wireless-tools-dbg wireless-tools-src wpa-supplicant-dbg wpa-supplicant-dev wpa-supplicant-src xkeyboard-config-dbg xkeyboard-config-dev xxhash-dbg xxhash-dev xxhash-src xxhash-staticdev xz-dbg xz-dev xz-src zstd-dbg zstd-dev zstd-src zstd-staticdev' 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:
 openssh-dev : Depends: openssh (= 8.5p1-r0) but it is not installable
               Recommends: libcrypto-dev but it is not installable
               Recommends: openssh-keygen-dev but it is not installable
               Recommends: openssh-misc-dev but it is not installable
               Recommends: openssh-scp-dev but it is not installable
               Recommends: openssh-sftp-dev but it is not installable
               Recommends: openssh-sftp-server-dev but it is not installable
               Recommends: openssh-ssh-dev but it is not installable
               Recommends: openssh-sshd-dev but it is not installable
               Recommends: pam-plugin-keyinit-dev but it is not installable
               Recommends: pam-plugin-loginuid-dev but it is not installable
               Recommends: shadow-sysroot-dev but it is not installable
               Recommends: update-alternatives-opkg-dev but it is not installable
 u-boot-tn-imx : Depends: u-boot-uenv but it is not installable
E: Unable to correct problems, you have held broken packages.

EDM-G-IMX8MP Yocto build fails

I followed the instructions shown in this repo for the Yocto build. Specifically the Yocto Xwayland build.
Specifically bitbake imx-image-full

Hit an error during the build with building the following:

edm_yocto/build-xwayland-edm-g-imx8mp/tmp/work/armv8a-poky-linux/assimp/5.2.4-r0/git/code/AssetLib/glTF/glTFImporter.cpp

Failure is:
edm_yocto/build-xwayland-edm-g-imx8mp/tmp/work/armv8a-poky-linux/assimp/5.2.4-r0/git/code/AssetLib/glTF/glTFAsset.inl:760:23: error: 'type_str' may be used uninitialized in this function [-Werror=maybe-uninitialized]
edm_yocto/build-xwayland-edm-g-imx8mp/tmp/work/armv8a-poky-linux/assimp/5.2.4-r0/git/code/AssetLib/glTF/glTFAsset.inl:761:13: error: 'component_type' may be used uninitialized in this function [-Werror=maybe-uninitialized]
..
cc1plus: all warnings being treated as errors

So of course this caused the build to terminate.
5.2.4-r0/git/code/AssetLib/glTF2/glTF2Importer.cpp
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
ERROR: Task (edm_yocto/sources/meta-imx/meta-sdk/recipes-graphics/vulkan/assimp_5.2.4.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4570 tasks of which 0 didn't need to be rerun and 1 failed.

What might I have missed in the configuration, and what is the easiest way to correct this issue?

Thanks,
Burt

Tep0700 imx6 build image error

Hello, i'm trying to to build my image on my TEP0700IMX6 using the following command:
$bitbake fsl-image-qt5-validation-imx
bul i also get the same kind of error:

ERROR: Task (virtual:native:/home/user1/Desktop/Yoctotry/sources/poky/meta/recipes-devtools/bison/bison_3.0.4.bb:do_compile) failed with exit code '1'

Can you help me to fix it please?

Thanks,

Cherif

pico-imx8mm Yocto Kirkstone build fails

I need yocto Kirkstone in my pico-imx8mm. But I have issue:

 repo init -u https://github.com/TechNexion/tn-imx-yocto-manifest.git -b kirkstone_5.15.y-stable -m imx-5.15.71-2.2.2.xml

 repo sync -j8

DISTRO=fsl-imx-wayland MACHINE=pico-imx8mm BASEBOARD=pi source tn-setup-release.sh -b build-wayland-pico-imx8mm
Or
. ./setup-environment build-wayland-pico-imx8mm

 bitbake imx-image-full

Issue 01:

ERROR: half-2.1.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/paolo/edm_yocto/sources/poky/scripts:/home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-poky-linux/half/2.1.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-poky-linux/half/2.1.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-poky-linux/half/2.1.0-r0/recipe-sysroot-native/usr/sbin:/home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-poky-linux/half/2.1.0-r0/recipe-sysroot-native/usr/bin:/home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-poky-linux/half/2.1.0-r0/recipe-sysroot-native/sbin:/home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-poky-linux/half/2.1.0-r0/recipe-sysroot-native/bin:/home/paolo/edm_yocto/sources/poky/bitbake/bin:/home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/hosttools"; export HOME="/home/paolo"; /usr/bin/env wget -t 2 -T 30 --passive-ftp -P /home/paolo/edm_yocto/downloads/ 'https://sourceforge.net/projects/half/files/half/2.1.0/half-2.1.0.zip' --progress=dot -v failed with exit code 4, no output
ERROR: half-2.1.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'https://sourceforge.net/projects/half/files/half/2.1.0/half-2.1.0.zip')
ERROR: Logfile of failure stored in: /home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-poky-linux/half/2.1.0-r0/temp/log.do_fetch.1982
ERROR: Task (/home/paolo/edm_yocto/sources/meta-freescale-distro/recipes-devtools/half/half_2.1.0.bb:do_fetch) failed with exit code '1'
 lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy

Issue 02:


| /home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/qtbase/6.3.2-r0/git/tests/auto/widgets/itemviews/qtreeview/tst_qtreeview.cpp: In member function 'void tst_QTreeView::renderToPixmap()':
| /home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/qtbase/6.3.2-r0/git/tests/auto/widgets/itemviews/qtreeview/tst_qtreeview.cpp:3250:17: warning: unused variable 'row' [-Wunused-variable]
|  3250 |     QFETCH(int, row);
|       |                 ^~~
| /home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/qtbase/6.3.2-r0/git/tests/auto/widgets/itemviews/qtreeview/tst_qtreeview.cpp: In member function 'void tst_QTreeView::styleOptionViewItem()':
| /home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/qtbase/6.3.2-r0/git/tests/auto/widgets/itemviews/qtreeview/tst_qtreeview.cpp:3402:15: warning: unused variable 'visibleColumns' [-Wunused-variable]
|  3402 |     const int visibleColumns = 4;
|       |               ^~~~~~~~~~~~~~
| /home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/qtbase/6.3.2-r0/git/tests/auto/widgets/itemviews/qtreeview/tst_qtreeview.cpp:3403:15: warning: unused variable 'modelColumns' [-Wunused-variable]
|  3403 |     const int modelColumns = 5;
|       |               ^~~~~~~~~~~~
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/paolo/edm_yocto/sources/meta-qt6/recipes-qt/qt6/qtbase_git.bb:do_install_ptest_base) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2131 tasks of which 2123 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/paolo/edm_yocto/sources/meta-qt6/recipes-qt/qt6/qtbase_git.bb:do_install_ptest_base
Summary: There were 3 WARNING messages.

GPU hardware acceleration

Hi,

I've built the image of Yocto 2.5 for my PICO-PI-IMX8MQ but I think I don't have the GPU hw acceleration enabled. When playing a 4K video (on stream) the CPU usage goes to 130%-150% using, in my opinion, software rendering. Is there an option or something I'm missing for using GPU rendering (Hardware acceleration)?

How I created the image:

$: DISTRO=fsl-imx-wayland MACHINE=pico-imx8mq source edm-setup-release.sh -b build-wayland-imx8mq
$: bitbake fsl-image-qt5-validation-imx

The following messages from chromium chrome://gpu page:

Graphics_ Feature Status
Canvas: Hardware accelerated
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Out-of-process Rasterization: Disabled
Hardware Protected Video Decode: Unavailable
Rasterization: Software only. Hardware acceleration disabled
Skia Deferred Display List: Disabled
Skia Renderer: Disabled
Surface Synchronization: Enabled
Video Decode: Unavailable
Viz Service Display Compositor: Disabled
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
Driver Bug Workarounds
clear_uniforms_before_first_program_use
disable_framebuffer_cmaa
scalarize_vec_and_mat_constructor_args
disabled_extension_GL_KHR_blend_equation_advanced
disabled_extension_GL_KHR_blend_equation_advanced_coherent
Problems Detected
Accelerated video decode is unavailable on Linux: 137247
Disabled Features: accelerated_video_decode
Protected video decoding with swap chain is for Windows and Intel only
Disabled Features: protected_video_decode
Clear uniforms before first program use on all platforms: 124764, 349137
Applied Workarounds: clear_uniforms_before_first_program_use
Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args
Use GL_INTEL_framebuffer_CMAA on ChromeOS: 535198
Applied Workarounds: disable_framebuffer_cmaa
Disable KHR_blend_equation_advanced until cc shaders are updated: 661715
Applied Workarounds: disable(GL_KHR_blend_equation_advanced), disable(GL_KHR_blend_equation_advanced_coherent)
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
Viz service display compositor is not enabled by default.
Disabled Features: viz_display_compositor
Skia renderer is not used by default.
Disabled Features: skia_renderer
Skia deferred display list is not used by default.
Disabled Features: skia_deferred_display_list
Version Information
Data exported 2020-11-05T15:59:44.305Z
Chrome version Chrome/71.0.3545.0
Operating system Linux 4.14.98-0cac981fa0cc97ca990d0d98d15f598423a703e4+g0cac981
Software rendering list URL https://chromium.googlesource.com/chromium/src/+/9e15e31d9f39013dda04cf6b9dec7f61ad40204f/gpu/config/software_rendering_list.json
Driver bug list URL https://chromium.googlesource.com/chromium/src/+/9e15e31d9f39013dda04cf6b9dec7f61ad40204f/gpu/config/gpu_driver_bug_list.json
ANGLE commit id unknown hash
2D graphics backend Skia/71 0c3dc59fc1c61e6f54cf3d0100e54ee0d20ec13d-
Command Line /usr/bin/chromium --use-gl=egl --ozone-platform=wayland --in-process-gpu --gpu-preferences=KAAAAAAAAACiAAAAAQAAAAAAAAAAAGAAAAAAAAEAAAAIAAAAAAAAAGgAAAAMAAAAYAAAAAAAAABoAAAAAAAAAHAAAAAAAAAAeAAAAAAAAACAAAAAAAAAAIgAAAAAAAAAkAAAAAAAAACYAAAAAAAAAKAAAAAAAAAAqAAAAAAAAACwAAAAAAAAALgAAAAAAAAAEAAAAAAAAAAAAAAACgAAABAAAAAAAAAAAAAAAAsAAAAQAAAAAAAAAAAAAAAMAAAAEAAAAAAAAAAAAAAADwAAABAAAAAAAAAAAQAAAAoAAAAQAAAAAAAAAAEAAAALAAAAEAAAAAAAAAABAAAADAAAABAAAAAAAAAAAQAAAA8AAAAQAAAAAAAAAAQAAAAKAAAAEAAAAAAAAAAEAAAACwAAABAAAAAAAAAABAAAAAwAAAAQAAAAAAAAAAQAAAAPAAAA --in-process-gpu --no-sandbox --ozone-platform=wayland --use-gl=egl --flag-switches-begin --flag-switches-end --gpu-preferences=KAAAAAAAAACiAAAAAQAAAAAAAAAAAGAAAAAAAAAAAAAIAAAAAAAAAGgAAAAMAAAAYAAAAAAAAABoAAAAAAAAAHAAAAAAAAAAeAAAAAAAAACAAAAAAAAAAIgAAAAAAAAAkAAAAAAAAACYAAAAAAAAAKAAAAAAAAAAqAAAAAAAAACwAAAAAAAAALgAAAAAAAAAEAAAAAAAAAAAAAAACgAAABAAAAAAAAAAAAAAAAsAAAAQAAAAAAAAAAAAAAAMAAAAEAAAAAAAAAAAAAAADwAAABAAAAAAAAAAAQAAAAoAAAAQAAAAAAAAAAEAAAALAAAAEAAAAAAAAAABAAAADAAAABAAAAAAAAAAAQAAAA8AAAAQAAAAAAAAAAQAAAAKAAAAEAAAAAAAAAAEAAAACwAAABAAAAAAAAAABAAAAAwAAAAQAAAAAAAAAAQAAAAPAAAA --use-gl=egl
Driver Information
Initialization time 1
In-process GPU true
Passthrough Command Decoder false
Sandboxed false
GPU0 VENDOR = 0x0000 [Vivante Corporation], DEVICE= 0x0000 [Vivante GC7000L] ACTIVE
Optimus false
AMD switchable false
Driver vendor
Driver version 6.2.4.p4.190076
Driver date
GPU CUDA compute capability major version 0
Pixel shader version 3.10
Vertex shader version 3.10
Max. MSAA samples 4
Machine model name
Machine model version
GL_VENDOR Vivante Corporation
GL_RENDERER Vivante GC7000L
GL_VERSION OpenGL ES 3.1 V6.2.4.p4.190076
GL_EXTENSIONS GL_OES_vertex_type_10_10_10_2 GL_OES_vertex_half_float GL_OES_element_index_uint GL_OES_mapbuffer GL_OES_vertex_array_object GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_texture_npot GL_OES_rgb8_rgba8 GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_depth24 GL_OES_depth32 GL_OES_packed_depth_stencil GL_OES_fbo_render_mipmap GL_OES_get_program_binary GL_OES_fragment_precision_high GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_EGL_sync GL_OES_texture_stencil8 GL_OES_shader_image_atomic GL_OES_texture_storage_multisample_2d_array GL_OES_required_internalformat GL_OES_surfaceless_context GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_draw_elements_base_vertex GL_OES_texture_half_float GL_OES_texture_float GL_KHR_blend_equation_advanced GL_KHR_debug GL_KHR_robustness GL_KHR_robust_buffer_access_behavior GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888 GL_EXT_texture_compression_s3tc GL_EXT_read_format_bgra GL_EXT_multi_draw_arrays GL_EXT_frag_depth GL_EXT_discard_framebuffer GL_EXT_blend_minmax GL_EXT_multisampled_render_to_texture GL_EXT_color_buffer_half_float GL_EXT_color_buffer_float GL_EXT_robustness GL_EXT_texture_sRGB_decode GL_EXT_draw_buffers_indexed GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_copy_image GL_EXT_texture_cube_map_array GL_EXT_multi_draw_indirect GL_EXT_draw_elements_base_vertex GL_EXT_texture_rg GL_EXT_protected_textures GL_EXT_sRGB
Disabled Extensions GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
Disabled WebGL Extensions
Window system binding vendor Vivante Corporation
Window system binding version 1.5
Window system binding extensions EGL_KHR_fence_sync EGL_KHR_reusable_sync EGL_KHR_wait_sync EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_lock_surface EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_EXT_create_context_robustness EGL_EXT_protected_surface EGL_EXT_protected_content EGL_EXT_buffer_age EGL_ANDROID_native_fence_sync EGL_WL_bind_wayland_display EGL_WL_create_wayland_buffer_from_image EGL_KHR_partial_update EGL_EXT_swap_buffers_with_damage EGL_KHR_swap_buffers_with_damage
Direct rendering Yes
Reset notification strategy 0x8252
GPU process crash count 0
Compositor Information
Tile Update Mode One-copy
Partial Raster Enabled
GpuMemoryBuffers Status
ATC Software only
ATCIA Software only
DXT1 Software only
DXT5 Software only
ETC1 Software only
R_8 Software only
R_16 Software only
RG_88 Software only
BGR_565 Software only
RGBA_4444 Software only
RGBX_8888 GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE
RGBA_8888 GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE
BGRX_8888 GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE
BGRX_1010102 Software only
RGBX_1010102 Software only
BGRA_8888 GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE
RGBA_F16 Software only
YVU_420 Software only
YUV_420_BIPLANAR Software only
UYVY_422 Software only
Display(s) Information
Info Display[0] bounds=[0,0 3840x2160], workarea=[0,0 3840x2160], scale=1, external.
Color space information {primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL}
Bits per color component 8
Bits per pixel 24
Video Acceleration _Information

Image deployment

Hi,
i have a question about image deployment, the README doc indicates that the ".sdcard" file needs to be flashed on sdcard but my build of fsl-image-machine-test gives me no ".sdcard" file. I got env, wks, json, ext4, manifest, tar.bz2, wic.bz2, dtb, dtbo, tgz and bin files. I read on "IMX Linux User Guide" that the sdcard creates automatically the four pieces needed to boot from sdcard (Linux OS kernel image, dtb, bootleader image and root file system). Do i need to partitionate my sdcard manually ? Which files do i need to use?
Does the "wic" file is the equivalent of the "sdcard" file?
Sorry am quite a beginner :) Can you update your README file or explain me in the reply section how to flash my sdcard in order to boot my pico-pi-imx8m-mini from it?

Thanks a lot

For EDM-G-IMX8MP Display variable??

I have noticed some wonkiness around HDMI and the above board. I set teh display to hdmi, should I not have done that. It works with some monitors but with outers it does not.

I want it to force HDMI on boot and bring up the display. I wanted to hook up the monitor using either RGB or LVDS but it seems like those cables do not exist for this board. SO is there a way to force the display on?

imx-6.1.55-2.2.0.xml / pico-imx6ul: u-boot configuration loops on Text Base (TEXT_BASE) [] (NEW)

Following the readme to compile an image for the pico-imx6ul machine, with the manifest imx-6.1.55-2.2.0.xml

repo init -u https://github.com/TechNexion/tn-imx-yocto-manifest.git -b mickledore_6.1.y-next -m imx-6.1.55-2.2.0.xml
repo sync -j4
WIFI_FIRMWARE=n DISTRO=fsl-imx-fb MACHINE=pico-imx6ul BASEBOARD=pi source tn-setup-release.sh -b build
bitbake -c menuconfig u-boot -v

ends in an infinite loop on u-boot configuration, which expects an input for the TEXT_BASE configuration item.

[...]
Text Base (TEXT_BASE) [] (NEW)
Text Base (TEXT_BASE) [] (NEW)
Text Base (TEXT_BASE) [] (NEW)
Text Base (TEXT_BASE) [] (NEW)
T
Summary: There were 3 WARNING messages.
Execution was interrupted, returning a non-zero exit code.

What is the expected value for this item ?

Regards,
Nelio

EDM-G IMX8MP SOM

Hello,

Is this repository ready for REV.B image building?

thanks.

fail to compile image of pico-iMX8mq platform

Hi,
I had followed the instructions of branch hardknott_5.10.y-stable.
but i compiled it fail.
the error message I met is as below

| cc1plus: error: include location "/usr/include/CL" is unsafe for cross-compilation [-Werror=poison-system-directories]
| cc1plus: all warnings being treated as errors
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/XXX/edm_yocto/build-xwayland-pico-imx8mq/tmp/work/cortexa53-crypto-poky-linux/tim-vx/1.1.34-r0/temp/run.do_compile.130058' failed with exit code 1


is there anyone knows how to solve it?

Thanks a lot

IMX6Q and EDM-Fairy support

Dear TechNexion devs,

For the past 4 weeks, I've been trying to set up any kind of distribution for our IMX6Q and Fairy baseboard product but without any luck. I've managed to build and run some buildroot distros but they are not suitable for the end product. Therefore, I've been trying to compile your Yocto distribution, but to be honest I found the build process very disturbing and not so well documentet. Im not saying that you made anything wrong, but because of my lack of experience in Yocto I can only assume what the entire process should looke like, because I am not able to get it from this repository readme file. Can you please help me with configuring this repository for EDM Fairy and imx6q? I don't see any suitable config files for this setup.

I have also tried to build your older yocto version from your archived repo but I am not able to set up any proper configuration (mostly some paths problems). Strangely, despite following instructions in your README default configs always fail and I can't manage to get it running.

What I need is a working Linux distro with ability to run GTK3 app, playing sounds through alsa, with enabled GPIO and USB drivers.

Thanks in advance!

Yours faithfully,
Jakub Dąbroś

TEP0500-IMX

Hello, i was wondering if after following this tutorial i can install python3 on my Yocto?
Also what's the name of machine of the TEP-0500-IMX6
Thanks

LTS release cycle

Since Yocto Dunfell we now have Long Term Support releases.
I noticed TN is not targeting those LTS release so far, though NXP does offer a branch for Dunfell (and hopefully Kirkstone). However we're highly interested in LTS releases. Mostly because it allows us to update our devices to cover security issues without doing mayor upgrades. Also Microsoft has most interest in maintaining support for LTS Yocto releases for their Azure connectivity meta-layer.
Is this something TN has interest in, or do you have strong beliefs in not targetting LTS releases purposely? I'm asking that because of the development on the Hardknott branch that was started some time ago.
I'm not asking for Dunfell support in particular (although it would have been handy), but I'm mostly wandering what the strategy is of Technexion regarding their Yocto release cycle.

imx7d+brcm - wifi/bt not working

EDM-G-IMX8MP + LVDS display

There are no instructions on how to build an imx-image-desktop image for the EDM-G-IMX8MP on the WB motherboard with 10" LVDS display

about kernel location

Hi,
Would someone tell me where's location of kernel source
I try to write a sample code to send data pass through RS232
but seems the board doesn't work
Then I check the servel imx6sl.dtsi files. It seems the uart3 disable by default.
If I want to enable UART3 which file of location I can edit?
P.S. ls /dev folder shows the ttymxc0~ttymxc2 is exist.

build the sdk at imx-4.14.98-2.0.1_patch.xml

Hi,
I try to build the sdk of version 4.14.98-2.0.1_patch and got error messages as below:

note : next branch
Thanks

Build Configuration:
BB_VERSION = "1.38.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "edm-imx6"
DISTRO = "fsl-imx-x11"
DISTRO_VERSION = "4.14-sumo"
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:c9bd4984f8f471ca2c43052714f4413ba99cf171"
meta-oe
meta-multimedia = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-freescale = "HEAD:27ca94f8a4336790ba117b4298566f6820e7e74c"
meta-freescale-3rdparty = "HEAD:82037216280a39957fb4272581637abec734ad50"
meta-freescale-distro = "HEAD:f7e2216e93aff14ac32728a13637a48df436b7f4"
meta-tn-imx-bsp = "HEAD:1eb8da9c2b2b498306b50ec00c1d24eba68463aa"
meta-bsp
meta-sdk = "HEAD:238a429e4eedd2f4b26876c2e2a6a9b3ec4e434c"
meta-browser = "HEAD:75640e14e325479c076b6272b646be7a239c18aa"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-qt5 = "HEAD:d4e7f73d04e8448d326b6f89908701e304e37d65"
meta-multimedia = "HEAD:8760facba1bceb299b3613b8955621ddaa3d4c3f"
meta-nxp-nfc = "HEAD:5d05c57fc8faf3f1bc95c1702e1a6aa78d83412f"

ERROR: Task do_polulate_sdk does not exist for target fsl-image-qt5-validation-imx (/video/technexion/edm_yocto/sources/meta-fsl-bsp-release/imx/meta-sdk/dynamic-layers/qt5-layer/recipes-fsl/images/fsl-image-qt5-validation-imx.bb:do_polulate_sdk). Close matches:
do_populate_sdk
do_populate_sdk_ext
do_populate_lic
ERROR: Command execution failed: 1

EDM-G-IMX8MM Yocto mickledore build fails

Hi,

I have issue with this:
https://github.com/TechNexion/tn-imx-yocto-manifest/tree/mickledore_6.1.y-next

In docker Ubuntu 20.04 (jenkins) machine:
https://developer.technexion.com/docs/building-an-image-in-docker-container

 Fetching uninative binary shim http://downloads.yoctoproject.org/releases/uninative/3.9/x86_64-nativesdk-libc-3.9.tar.xz;sha256sum=3dd82c3fbdb59e87bf091c3eef555a05fae528eeda3083828f76cd4deaceca8b (will check PREMIRRORS first)
WARNING: The BB_DISKMON_DIRS "ABORT" action has been renamed to "HALT", update configuration
Initialising tasks: 100% |#######################################| Time: 0:00:04
Sstate summary: Wanted 5014 Local 0 Mirrors 0 Missed 5014 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
WARNING: linux-tn-imx-6.1.22+gitAUTOINC+f2bdb8d458-r0 do_fetch: Failed to fetch URL git://github.com/TechNexion/linux-tn-imx.git;protocol=https;branch=tn-imx_6.1.22_2.0.0-next, attempting MIRRORS if available
ERROR: linux-tn-imx-6.1.22+gitAUTOINC+f2bdb8d458-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/edm_yocto3/build-xwayland-edm-g-imx8mm/tmp/sysroots-uninative/x86_64-linux/usr/bin:/edm_yocto3/sources/poky/scripts:/edm_yocto3/build-xwayland-edm-g-imx8mm/tmp/work/edm_g_imx8mm-poky-linux/linux-tn-imx/6.1.22+gitAUTOINC+f2bdb8d458-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/edm_yocto3/build-xwayland-edm-g-imx8mm/tmp/work/edm_g_imx8mm-poky-linux/linux-tn-imx/6.1.22+gitAUTOINC+f2bdb8d458-r0/recipe-sysroot/usr/bin/crossscripts:/edm_yocto3/build-xwayland-edm-g-imx8mm/tmp/work/edm_g_imx8mm-poky-linux/linux-tn-imx/6.1.22+gitAUTOINC+f2bdb8d458-r0/recipe-sysroot-native/usr/sbin:/edm_yocto3/build-xwayland-edm-g-imx8mm/tmp/work/edm_g_imx8mm-poky-linux/linux-tn-imx/6.1.22+gitAUTOINC+f2bdb8d458-r0/recipe-sysroot-native/usr/bin:/edm_yocto3/build-xwayland-edm-g-imx8mm/tmp/work/edm_g_imx8mm-poky-linux/linux-tn-imx/6.1.22+gitAUTOINC+f2bdb8d458-r0/recipe-sysroot-native/sbin:/edm_yocto3/build-xwayland-edm-g-imx8mm/tmp/work/edm_g_imx8mm-poky-linux/linux-tn-imx/6.1.22+gitAUTOINC+f2bdb8d458-r0/recipe-sysroot-native/bin:/edm_yocto3/sources/poky/bitbake/bin:/edm_yocto3/build-xwayland-edm-g-imx8mm/tmp/hosttools"; export HOME="/home/jenkins"; LANG=C git -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://github.com/TechNexion/linux-tn-imx.git /edm_yocto3/downloads//git2/github.com.TechNexion.linux-tn-imx.git --progress failed with exit code 128, no output
ERROR: linux-tn-imx-6.1.22+gitAUTOINC+f2bdb8d458-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/TechNexion/linux-tn-imx.git;protocol=https;branch=tn-imx_6.1.22_2.0.0-next')
ERROR: Logfile of failure stored in: /edm_yocto3/build-xwayland-edm-g-imx8mm/tmp/work/edm_g_imx8mm-poky-linux/linux-tn-imx/6.1.22+gitAUTOINC+f2bdb8d458-r0/temp/log.do_fetch.769456
ERROR: Task (/edm_yocto3/sources/meta-tn-imx-bsp/recipes-kernel/linux/linux-tn-imx_6.1.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1411 tasks of which 0 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /edm_yocto3/sources/meta-tn-imx-bsp/recipes-kernel/linux/linux-tn-imx_6.1.bb:do_fetch
Summary: There were 5 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.

Captura de tela de 2024-03-01 09-01-06

git:// protocol issue

Hi!
In most of company, internal-network proxy server is not configured to use git://.
Can you use https:// for all git urls in all Technexion manifest and projects in github?
It could be helpfully to me and many other employee in any other company.

Example:
Use https://github.com/ instead of git://github.com/
Do not use git:// for poky and meta-freescale use their https:// urls instead.
https://git.yoctoproject.org/git/meta-freescale
https://git.yoctoproject.org/git/poky

You can check these https links in the website of the repos.
http://git.yoctoproject.org/cgit/cgit.cgi/meta-freescale/
http://git.yoctoproject.org/cgit/cgit.cgi/poky/

EDM-G-IMX8MP Yocto error

Hello, I am trying to build "imx-image-core" for the edm-g-imx8mp board.

The Yocto distro_version os 5.15 Kirkstone, the machine is "edm-g-imx8mp" and my OS is Ubuntu 20.04.

And I get the following errors:

`ERROR: kernel-module-nxp-pn5xx-git-r0 do_install: oe_runmake failed
ERROR: kernel-module-nxp-pn5xx-git-r0 do_install: ExecutionError('/home/aquacorp/yocto-repositories/technexion/dev_edm_yocto/build-xwayland-edm-g-imx8mp/tmp/work/edm_g_imx8mp-poky-linux/kernel-module-nxp-pn5xx/git-r0/temp/run.do_install.3686800', 1, None, None)
ERROR: Logfile of failure stored in: /home/aquacorp/yocto-repositories/technexion/dev_edm_yocto/build-xwayland-edm-g-imx8mp/tmp/work/edm_g_imx8mp-poky-linux/kernel-module-nxp-pn5xx/git-r0/temp/log.do_install.3686800

...

ERROR: Task (/home/aquacorp/yocto-repositories/technexion/dev_edm_yocto/sources/meta-nxp-nfc/recipes-kernel/kernel-modules/kernel-module-nxp-pn5xx_git.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5810 tasks of which 4589 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/aquacorp/yocto-repositories/technexion/dev_edm_yocto/sources/meta-nxp-nfc/recipes-kernel/kernel-modules/kernel-module-nxp-pn5xx_git.bb:do_install
Summary: There were 4 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.
`

How can I solve this problem?

Thank you for your help.

IMX8MP Display modes

Hello,
The default display mode of Ubuntu with Gnome desktop is "Join Displays" mode, We have 2 screen(HDMI+LVDS) so we can't see any icon on our HDMI screen.
How to modify the display mode to "Mirror" ?

pico-imx7d + adv7533 mipi_dsi-to_hdmi-bridge

Hi,
We're testing with pico-imx7D using Rocko branch.
We want to use the IMX7D's MIPI-DSI output with a ADV7533 MIPI-DSI to HDMI bridge chip.
I've noticed there is no documentation on how this can be done using the Technexion BSP, as this DISPLAY variable isn't described.
However, technically the IMX7D can output MIPI-DSI.
What must be done to use that feature?

For now I've added the following to the device tree:

&lcdif {
	disp-dev = "mipi_dsi_samsung";
	disp-videomode = "TRUULY-WVGA-SYNC-LOW";
	
	pinctrl-0 = <>;
};

&mipi_dsi {
	status = "okay";
	lcd_panel = "TRULY-WVGA-TFT3P5581E";

	port {
		mipi_dsi_out: endpoint {
			remote-endpoint = <&adv7533_in>;
		};
	};
};

&i2c1 {
    status = "okay";   
    
    adv_bridge: adv7533@3d {
		compatible = "adi,adv7533";
		reg = <0x3d>;
		adi,dsi-lanes = <2>;
		status = "okay";

        port {
		    adv7533_in: endpoint {
			    remote-endpoint = <&mipi_dsi_out>;
		    };
	    };
	};
};

However, I've noticed that I'm missing the /dev/fb0 device.
During boot I've noticed following error:

[    0.367474] 30760000.mipi-dsi supply disp-power-on not found, using dummy regulator
[    0.367537] mxc_mipi_dsi_samsung 30760000.mipi-dsi: i.MX MIPI DSI driver probed
[    0.368826] mxc_sdc_fb fb@0: NO mxc display driver found!
[    0.438003] mxsfb 30730000.lcdif: Defer fb probe due to dispdrv not ready

Using i2cdetect I can detect the I2C addresses used by the ADV7533 bridge chip:

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- UU -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- 38 -- -- -- UU UU -- UU
40: -- -- 42 -- -- -- -- -- UU -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- 65 -- -- UU -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- UU

enable ov5640 camera

i see an overlay file is generated imx8mp-edm-g-wb-tevi-ov5640.dtbo

How do I use this?

The default file in u-boot is this fdt_file=imx8mp-edm-g-wb.dtb

pico-imx8mm Yocto hardknott build fails (Docker)

https://developer.technexion.com/docs/building-an-image-in-docker-container

Hi,

I am facing problems using the link above and the commands below (Note: my internet is of excellent quality):

sudo docker run -it -u jenkins -v ${directory_in_host_machine}:${directory_in_docker} tn-develop-ubuntu bash

repo init -u https://github.com/TechNexion/tn-imx-yocto-manifest.git -b hardknott_5.10.y-stable -m imx-5.10.72-2.2.0-2022Q2.xml
repo sync -j8
WIFI_FIRMWARE=y DISTRO=fsl-imx-xwayland MACHINE=pico-imx8mm source tn-setup-release.sh -b build-xwayland-pico-imx8mm

ERROR: armnn-tensorflow-protobuf-2.3.1-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/edm_yocto/sources/poky/scripts:/edm_yocto/build-xwayland-pico-imx8mm/tmp/work/cortexa53-crypto-poky-linux/armnn-tensorflow-protobuf/2.3.1-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/edm_yocto/build-xwayland-pico-imx8mm/tmp/work/cortexa53-crypto-poky-linux/armnn-tensorflow-protobuf/2.3.1-r0/recipe-sysroot/usr/bin/crossscripts:/edm_yocto/build-xwayland-pico-imx8mm/tmp/work/cortexa53-crypto-poky-linux/armnn-tensorflow-protobuf/2.3.1-r0/recipe-sysroot-native/usr/sbin:/edm_yocto/build-xwayland-pico-imx8mm/tmp/work/cortexa53-crypto-poky-linux/armnn-tensorflow-protobuf/2.3.1-r0/recipe-sysroot-native/usr/bin:/edm_yocto/build-xwayland-pico-imx8mm/tmp/work/cortexa53-crypto-poky-linux/armnn-tensorflow-protobuf/2.3.1-r0/recipe-sysroot-native/sbin:/edm_yocto/build-xwayland-pico-imx8mm/tmp/work/cortexa53-crypto-poky-linux/armnn-tensorflow-protobuf/2.3.1-r0/recipe-sysroot-native/bin:/edm_yocto/sources/poky/bitbake/bin:/edm_yocto/build-xwayland-pico-imx8mm/tmp/hosttools"; export HOME="/home/jenkins"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror https://github.com/tensorflow/tensorflow.git /edm_yocto/downloads//git2/github.com.tensorflow.tensorflow.git --progress failed with exit code 128, no output
ERROR: armnn-tensorflow-protobuf-2.3.1-r0 do_fetch: Fetcher failure for URL: 'git://github.com/tensorflow/tensorflow.git;branch=r2.3;name=tensorflow'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /edm_yocto/build-xwayland-pico-imx8mm/tmp/work/cortexa53-crypto-poky-linux/armnn-tensorflow-protobuf/2.3.1-r0/temp/log.do_fetch.1064356
ERROR: Task (/edm_yocto/sources/meta-imx/meta-ml/recipes-libraries/armnn/armnn-tensorflow-protobuf_2.3.1.bb:do_fetch) failed with exit code '1'

Pico-Imx8mq Yocto Image Build Error

Hi,

When we building (fsl-image-qt5) image for our pico module, tn-yocto-hardknottQ1/source/meta-qt5/recipes-qt/qt5/qtsvg_git.bb:do_fetch error occured. We will be glad if you can help.

build image error

version:
stable version

parameter:
WIFI_FIRMWARE=n DISTRO=fsl-imx-x11 MACHINE=edm-imx6 BASEBOARD=fairy DISPLAY=hdmi720p source edm-setup-release.sh -b build-x11-edm_fairy/

bitbake function:
bitbake fsl-image-validation-imx or bitbake fsl-image-qt5-validation-imx

error as below:
\Task (/video/technexion/stable/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-validation-imx.bb:do_image_sdcard) failed with exit code '1'

fail in repo synchronization

Hi,
am not a expert in building images with Yocto but am trying to build one for my pico-imx8mm on sd card. Sadly when I follow the README doc, it fails at the command "repo sync -j8" with the error: "fatal: couldn't find remote ref refs/heads/zeus_5.4.24-2.1.0-next"
Do you have any ideas of the issue for this problem i have?
Thanks a lot for your help :)

I need libgpiod 1.6 in my imx7d-pico with Yocto/Zeus

Hi,

I stay trying this tutorial: https://github.com/TechNexion/tn-imx-yocto-manifest/tree/zeus_5.4.y-next (Video about this: https://www.youtube.com/watch?v=Gc4_g6uxUQo&list=PLDKAMFzaz6bhxPKZtAMOx0cr3LazUmEr3&index=1&t=304s) and this: https://hub.mender.io/t/technexion-pico-pi-imx7/136/40 since the middle of last year

The second link-tutorial I can generate the image but I can't have libgpiod version 1.6 (only 1.4, which doesn't suit me)

The first link I can't generate the image. The error I get is: https://gist.github.com/patusaembedded/471195569ce8cf4a109ce16164da4050 (
sources/poky/meta/classes/buildstats.bbclass:103: SyntaxWarning: "is" with a literal. Did you mean "=="? if status is "passed":) After this commands:

  1. MACHINE=pico-imx7 DISTRO=fsl-imx-xwayland source tn-setup-release.sh -b build-xwayland
  2. bitbake fsl-image-qt5-validation-imx

My questions is:

  1. How to solve the issue occurred on link 1 ?

  2. How can I put ligpiod version 1.6 in my imx7d-pico (yocto/zeus) ?

build result missing key images

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.