I need to display qt creator GUI on i.mx 8quadxplus
i did what exaclty as said in yocto users guide:-
1.install Host packages
sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib
sudo apt-get install build-essential chrpath socat cpio python python3 python3-pip python3-pexpect
sudo apt-get install xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev
sudo apt-get install pylint3 xterm rsync curl zstd pzstd lz4c lz4 libssl-dev
in case:
E: Unable to locate package pzstd
E: Unable to locate package lz4c
do:
sudo apt update && apt install -y zstd liblz4-tool
sudo apt install zstd
sudo apt-get install zstd lz4
2.Setting up the Repo utility
To install the “repo” utility, perform these steps:
1. Create a bin folder in the home directory.
$ mkdir ~/bin (this step may not be needed if the bin folder already exists)
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
2. Add the following line to the .bashrc file to ensure that the ~/bin folder is in your PATH variable.
$export PATH=~/bin:$PATH
3 Yocto Project Setup
First, make sure that Git is set up properly with the commands below:
$ git config --global user.name "Your Name"
$ git config --global user.email "Your Email"
$ git config –list
then,
$ mkdir imx-yocto-bsp
$ cd imx-yocto-bsp
$ repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-kirkstone -m imx-5.15.52-2.1.0.xml
$ repo sync
XWayland image on i.MX 8QuadXPlus MEK
$ DISTRO=fsl-imx-xwayland MACHINE=imx8qxpmek source imx-setup-release.sh -b build-xwayland
$ bitbake imx-image-full
But its showing errors
WARNING: libunistring-native-1.0-r0 do_fetch: Failed to fetch URL https://ftp.gnu.org/gnu/libunistring/libunistring-1.0.tar.gz, attempting MIRRORS if available
WARNING: libtasn1-native-4.18.0-r0 do_fetch: Failed to fetch URL https://ftp.gnu.org/gnu/libtasn1/libtasn1-4.18.0.tar.gz, attempting MIRRORS if available
ERROR: qtbase-native-6.3.2-r0 do_compile: ExecutionError('/home/inntot/imx-yocto-bsp/build-xwayland/tmp/work/x86_64-linux/qtbase-native/6.3.2-r0/temp/run.do_compile.1072662', 1, None, None)
ERROR: Logfile of failure stored in: /home/inntot/imx-yocto-bsp/build-xwayland/tmp/work/x86_64-linux/qtbase-native/6.3.2-r0/temp/log.do_compile.1072662
ERROR: Task (virtual:native:/home/inntot/imx-yocto-bsp/sources/meta-qt6/recipes-qt/qt6/qtbase_git.bb:do_compile) failed with exit code '1'
After installation of the required packages in host machine, One can try to clean the existing yocto build and then re-compile the whole repository. That would be really helpful to resolve all the dependencies.
Thanks & Regards
Sanket Parekh
I hope you are doing well.
Can you please share the local.conf file of yocto setup?
Thanks & Regards
Sanket Parekh
MACHINE ??= 'imx8qxpmek'
DISTRO ?= 'fsl-imx-xwayland'
PACKAGE_CLASSES ?= 'package_rpm'
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
HALT,${TMPDIR},100M,1K \
HALT,${DL_DIR},100M,1K \
HALT,${SSTATE_DIR},100M,1K \
HALT,/tmp,10M,1K"
PACKAGECONFIG:append:pn-qemu-system-native = " sdl"
CONF_VERSION = "2"
DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"
# Switch to Debian packaging and include package-management in the image
PACKAGE_CLASSES = "package_deb"
EXTRA_IMAGE_FEATURES += "package-management"