I see the following errors while building with the following bistro and bitbake configuration, failing at last stage of the build. Some suggestions to solve this error would be helpful.
DISTRO=imx-agl-wayland MACHINE=imx8mqevk source nxp-setup-agl.sh -b bld-agl
bitbake agl-image-weston
ERROR: agl-image-weston-1.0-r0 do_rootfs: Could not invoke dnf. Command '/home/imx8/weston-agl/bld-agl/tmp/work/imx8mqevk-poky-linux/agl-image-weston/1.0-r0/recipe-sysroot-native/usr/bin/dnf -y -c /home/imx8/weston-agl/bld-agl/tmp/work/imx8mqevk-poky-linux/agl-image-weston/1.0-r0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/home/imx8/weston-agl/bld-agl/tmp/work/imx8mqevk-poky-linux/agl-image-weston/1.0-r0/rootfs/etc/yum.repos.d --repofrompath=oe-repo,/home/imx8/weston-agl/bld-agl/tmp/work/imx8mqevk-poky-linux/agl-image-weston/1.0-r0/oe-rootfs-repo --installroot=/home/imx8/weston-agl/bld-agl/tmp/work/imx8mqevk-poky-linux/agl-image-weston/1.0-r0/rootfs --setopt=logdir=/home/imx8/weston-agl/bld-agl/tmp/work/imx8mqevk-poky-linux/agl-image-weston/1.0-r0/temp --nogpgcheck install dnf psplash rpm packagegroup-core-ssh-openssh run-postinsts packagegroup-agl-image-weston agl-desktop-config' returned 1:
Added oe-repo repo from /home/imx8/weston-agl/bld-agl/tmp/work/imx8mqevk-poky-linux/agl-image-weston/1.0-r0/oe-rootfs-repo
Last metadata expiration check: 0:00:00 ago on Mon 12 Aug 2019 06:53:59 AM UTC.
Dependencies resolved.
================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
agl-desktop-config aarch64 0.1-r0 oe-repo 6.7 k
dnf aarch64 2.6.3-r0 oe-repo 167 k
packagegroup-agl-image-weston
noarch 1.0-r0 oe-repo 5.5 k
packagegroup-core-ssh-openssh
noarch 1.0-r1 oe-repo 5.3 k
psplash aarch64 0.1+git0+2015f7073e-r15 oe-repo 11 k
rpm aarch64 1:4.13.90+git0+a8e51b3bb0-r0 oe-repo 353 k
run-postinsts noarch 1.0-r9 oe-repo 8.3 k
Installing dependencies:
af-binder aarch64 master+git0+5b26086e8e-r0 oe-repo 94 k
af-binder-tools aarch64 master+git0+5b26086e8e-r0 oe-repo 12 k
af-main aarch64 master+git0+a752e8b303-r0 oe-repo 65 k
agl-login-manager aarch64 0.1-r0 oe-repo 6.2 k
agl-users noarch 0.1-r0 oe-repo 11 k
base-files imx8mqevk 3.0.14-r89 oe-repo 15 k
base-passwd aarch64 3.5.29-r0 oe-repo 6.9 k
bash aarch64 4.4-r0 oe-repo 378 k
bind aarch64 9.10.5+P3-r0 oe-repo 1.1 M
busybox aarch64 1.24.1-r0 oe-repo 310 k
coreutils aarch64 8.27-r0 oe-repo 699 k
cynara aarch64 0.14.10+git0+be455dcaf1-r0 oe-repo 368 k
db aarch64 1:5.3.28-r1 oe-repo 396 k
dbus-1 aarch64 1.10.20-r0 oe-repo 14 k
dbus-cynara aarch64 1.10.20-r0 oe-repo 109 k
dhcp-libs aarch64 4.3.6-r0 oe-repo 48 k
dhcp-server aarch64 4.3.6-r0 oe-repo 236 k
file aarch64 5.31-r0 oe-repo 235 k
fontconfig-utils aarch64 2.12.4-r0 oe-repo 22 k
gpgme aarch64 1.9.0-r0 oe-repo 110 k
kbd aarch64 2.0.4-r0 oe-repo 107 k
kernel-4.9.88-imx-4.9.88-2.0.0-ga+g5e23f9d61147
imx8mqevk 4.9.88-r0 oe-repo 12 k
kernel-image-4.9.88-imx-4.9.88-2.0.0-ga+g5e23f9d61147
imx8mqevk 4.9.88-r0 oe-repo 5.6 k
kernel-image-image-4.9.88-imx-4.9.88-2.0.0-ga+g5e23f9d61147
imx8mqevk 4.9.88-r0 oe-repo 6.3 M
kernel-module-galcore-4.9.88-imx_4.9.88_2.0.0_ga+g5e23f9d61147
imx8mqevk 6.2.4.p1.2-r0 oe-repo 126 k
kernel-module-imx-gpu-viv
imx8mqevk 6.2.4.p1.2-r0 oe-repo 5.5 k
kmod aarch64 24+git0+ef4257b59c-r0 oe-repo 55 k
libacl1 aarch64 2.2.52-r0 oe-repo 17 k
libafbwsc1 aarch64 master+git0+5b26086e8e-r0 oe-repo 22 k
libarchive aarch64 3.3.2-r0 oe-repo 228 k
libassuan0 aarch64 2.4.3-r0 oe-repo 31 k
libattr1 aarch64 2.4.47-r0 oe-repo 12 k
libblkid1 aarch64 2.30-r0 oe-repo 100 k
libboost-program-options1.64.0
aarch64 1.64.0-r0 oe-repo 123 k
libbz2-1 aarch64 1.0.6-r5 oe-repo 31 k
libc6 aarch64 2.26-r0 oe-repo 1.0 M
libcairo2 aarch64_mx8mq 1.14.10-r0 oe-repo 330 k
libcap2 aarch64 2.25-r0 oe-repo 15 k
libcom-err2 aarch64 1.43.5-r0 oe-repo 11 k
libcomps0.1.8 aarch64 0.1.8+git0+01a4759894-r0 oe-repo 75 k
libcrypto1.0.2 aarch64 1.0.2n-r0 oe-repo 533 k
libcurl4 aarch64 7.54.1-r0 oe-repo 127 k
libdbus-1-3 aarch64 1.10.20-r0 oe-repo 98 k
libdnf1 aarch64 0.9.3-r0 oe-repo 108 k
libdrm-freedreno1 aarch64 2.4.84-r0 oe-repo 16 k
libdrm2 aarch64 2.4.84-r0 oe-repo 30 k
libdw1 aarch64 0.170-r0 oe-repo 175 k
libe2p2 aarch64 1.43.5-r0 oe-repo 17 k
libegl-imx aarch64_mx8mq 1:6.2.4.p1.2+aarch64-r0 oe-repo 329 k
libelf1 aarch64 0.170-r0 oe-repo 39 k
libevdev aarch64 1.5.7-r0 oe-repo 36 k
libexpat1 aarch64 2.2.3-r0 oe-repo 62 k
libext2fs2 aarch64 1.43.5-r0 oe-repo 127 k
libffi6 aarch64 3.2.1-r0 oe-repo 20 k
libfontconfig1 aarch64 2.12.4-r0 oe-repo 115 k
libfreetype6 aarch64 2.8-r0 oe-repo 247 k
libgal-imx aarch64_mx8mq 1:6.2.4.p1.2+aarch64-r0 oe-repo 1.7 M
libgbm-imx aarch64_mx8mq 1:6.2.4.p1.2+aarch64-r0 oe-repo 51 k
libgcc1 aarch64 7.3.0-r0 oe-repo 37 k
libgcrypt aarch64 1.8.0-r0 oe-repo 295 k
libgles2-imx aarch64_mx8mq 1:6.2.4.p1.2+aarch64-r0 oe-repo 1.5 M
libglib-2.0-0 aarch64 1:2.52.3-r0 oe-repo 785 k
libglslc-imx aarch64_mx8mq 1:6.2.4.p1.2+aarch64-r0 oe-repo 760 k
libgmp10 aarch64 6.1.2-r0 oe-repo 184 k
libgnutls30 aarch64 3.5.13-r0 oe-repo 398 k
libgomp1 aarch64 7.3.0-r0 oe-repo 63 k
libgpg-error0 aarch64 1.27-r0 oe-repo 33 k
libharfbuzz0 aarch64_mx8mq 1.4.8-r0 oe-repo 186 k
libicudata59 aarch64 59.1-r0 oe-repo 6.0 M
libicuuc59 aarch64 59.1-r0 oe-repo 553 k
libidn11 aarch64 1.33-r0 oe-repo 44 k
libinput aarch64 1.6.1-r0 oe-repo 79 k
libjpeg62 aarch64 1:1.5.2-r0 oe-repo 90 k
libjson-c2 aarch64 0.12.1-r0 oe-repo 20 k
libkmod2 aarch64 24+git0+ef4257b59c-r0 oe-repo 32 k
libksba8 aarch64 1.3.5-r0 oe-repo 76 k
libltdl7 aarch64 2.4.6-r0 oe-repo 19 k
liblzma5 aarch64 5.2.3-r0 oe-repo 69 k
liblzo2-2 aarch64 2.10-r0 oe-repo 40 k
libmicrohttpd12 aarch64 0.9.55-r0 oe-repo 42 k
libmount1 aarch64 2.30-r0 oe-repo 110 k
libncurses5 aarch64 6.0+20170715-r0 oe-repo 54 k
libncursesw5 aarch64 6.0+20170715-r0 oe-repo 70 k
libnpth0 aarch64 1.5-r0 oe-repo 10 k
libpam aarch64 1.3.0-r5 oe-repo 31 k
libpam-runtime aarch64 1.3.0-r5 oe-repo 15 k
libpanel5 aarch64 6.0+20170715-r0 oe-repo 10 k
libpcre1 aarch64 8.41-r0 oe-repo 82 k
libperl5 aarch64 5.24.1-r0 oe-repo 611 k
libpixman-1-0 aarch64 1:0.34.0-r0 oe-repo 116 k
libpng16-16 aarch64 1.6.31-r0 oe-repo 80 k
libpopt0 aarch64 1.16-r3 oe-repo 24 k
libpython3.5m1.0 aarch64 3.5.3-r1.0 oe-repo 650 k
libreadline7 aarch64 7.0-r0 oe-repo 102 k
librepo0 aarch64 1.7.20+git0+e1137cbbda-r0 oe-repo 75 k
libsolv0 aarch64 0.6.28-r0 oe-repo 204 k
libsolvext0 aarch64 0.6.28-r0 oe-repo 58 k
libsqlite3-0 aarch64 3:3.20.0-r0 oe-repo 341 k
libssl1.0.2 aarch64 1.0.2n-r0 oe-repo 122 k
libstdc++6 aarch64 7.3.0-r0 oe-repo 331 k
libsystemd0 aarch64 1:234-r0 oe-repo 170 k
libtinfo5 aarch64 6.0+20170715-r0 oe-repo 48 k
libudev1 aarch64 1:234-r0 oe-repo 46 k
libunistring2 aarch64 0.9.7-r0 oe-repo 340 k
libuuid1 aarch64 2.30-r0 oe-repo 12 k
libvsc-imx aarch64_mx8mq 1:6.2.4.p1.2+aarch64-r0 oe-repo 2.7 M
libweston-3 aarch64_mx8mq 3.0.0-r0 oe-repo 150 k
libxkbcommon0 aarch64 0.7.1-r0 oe-repo 87 k
libxml2 aarch64 2.9.4-r0 oe-repo 503 k
libxslt aarch64 1.1.29-r0 oe-repo 103 k
libz1 aarch64 1.2.11-r0 oe-repo 44 k
libzip aarch64 1.1.1-r0 oe-repo 50 k
mtdev aarch64 1.1.5-r0 oe-repo 17 k
netbase aarch64 1:5.4-r0 oe-repo 15 k
nettle aarch64 3.3-r0 oe-repo 231 k
nspr aarch64 4.16-r0 oe-repo 101 k
nss aarch64 3.31.1-r0 oe-repo 1.6 M
openssh aarch64 7.5p1-r0 oe-repo 5.7 k
openssh-keygen aarch64 7.5p1-r0 oe-repo 129 k
openssh-scp aarch64 7.5p1-r0 oe-repo 35 k
openssh-ssh aarch64 7.5p1-r0 oe-repo 231 k
openssh-sshd aarch64 7.5p1-r0 oe-repo 265 k
openssl aarch64 1.0.2n-r0 oe-repo 174 k
openssl-conf aarch64 1.0.2n-r0 oe-repo 9.6 k
packagegroup-agl-app-framework
noarch 1.0-r0 oe-repo 5.4 k
packagegroup-agl-core-automotive
noarch 1.0-r0 oe-repo 5.4 k
packagegroup-agl-core-connectivity
noarch 1.0-r0 oe-repo 5.4 k
packagegroup-agl-core-graphics
noarch 1.0-r0 oe-repo 5.4 k
packagegroup-agl-core-kernel
noarch 1.0-r0 oe-repo 5.4 k
packagegroup-agl-core-multimedia
noarch 1.0-r0 oe-repo 5.4 k
packagegroup-agl-core-navi-lbs
noarch 1.0-r0 oe-repo 5.4 k
packagegroup-agl-core-os-commonlibs
noarch 1.0-r0 oe-repo 5.4 k
packagegroup-agl-core-security
noarch 1.0-r0 oe-repo 5.5 k
packagegroup-agl-core-speech-services
noarch 1.0-r0 oe-repo 5.4 k
packagegroup-agl-image-minimal
noarch 1.0-r0 oe-repo 5.8 k
packagegroup-core-boot-agl
imx8mqevk 1.0-r0 oe-repo 5.5 k
pam-plugin-deny aarch64 1.3.0-r5 oe-repo 7.5 k
pam-plugin-env aarch64 1.3.0-r5 oe-repo 11 k
pam-plugin-faildelay aarch64 1.3.0-r5 oe-repo 8.6 k
pam-plugin-group aarch64 1.3.0-r5 oe-repo 11 k
pam-plugin-keyinit aarch64 1.3.0-r5 oe-repo 9.2 k
pam-plugin-lastlog aarch64 1.3.0-r5 oe-repo 11 k
pam-plugin-limits aarch64 1.3.0-r5 oe-repo 13 k
pam-plugin-loginuid aarch64 1.3.0-r5 oe-repo 8.6 k
pam-plugin-mail aarch64 1.3.0-r5 oe-repo 9.9 k
pam-plugin-motd aarch64 1.3.0-r5 oe-repo 8.3 k
pam-plugin-nologin aarch64 1.3.0-r5 oe-repo 8.6 k
pam-plugin-permit aarch64 1.3.0-r5 oe-repo 7.8 k
pam-plugin-rootok aarch64 1.3.0-r5 oe-repo 7.8 k
pam-plugin-securetty aarch64 1.3.0-r5 oe-repo 9.3 k
pam-plugin-shells aarch64 1.3.0-r5 oe-repo 8.3 k
pam-plugin-unix aarch64 1.3.0-r5 oe-repo 28 k
pam-plugin-warn aarch64 1.3.0-r5 oe-repo 8.1 k
pango aarch64_mx8mq 1.40.6-r0 oe-repo 139 k
perl aarch64 5.24.1-r0 oe-repo 23 k
python3-argparse aarch64 3.5.3-r1.0 oe-repo 44 k
python3-audio aarch64 3.5.3-r1.0 oe-repo 45 k
python3-codecs aarch64 3.5.3-r1.0 oe-repo 725 k
python3-compression aarch64 3.5.3-r1.0 oe-repo 105 k
python3-core aarch64 3.5.3-r1.0 oe-repo 213 k
python3-crypt aarch64 3.5.3-r1.0 oe-repo 27 k
python3-curses aarch64 3.5.3-r1.0 oe-repo 39 k
python3-datetime aarch64 3.5.3-r1.0 oe-repo 84 k
python3-distutils aarch64 3.5.3-r1.0 oe-repo 992 k
python3-email aarch64 3.5.3-r1.0 oe-repo 193 k
python3-enum aarch64 3.5.3-r1.0 oe-repo 18 k
python3-fcntl aarch64 3.5.3-r1.0 oe-repo 12 k
python3-gpg aarch64 1.9.0-r0 oe-repo 173 k
python3-html aarch64 3.5.3-r1.0 oe-repo 59 k
python3-image aarch64 3.5.3-r1.0 oe-repo 12 k
python3-importlib aarch64 3.5.3-r1.0 oe-repo 67 k
python3-iniparse aarch64 0.4-r0 oe-repo 28 k
python3-io aarch64 3.5.3-r1.0 oe-repo 177 k
python3-json aarch64 3.5.3-r1.0 oe-repo 39 k
python3-lang aarch64 3.5.3-r1.0 oe-repo 188 k
python3-logging aarch64 3.5.3-r1.0 oe-repo 75 k
python3-math aarch64 3.5.3-r1.0 oe-repo 42 k
python3-mime aarch64 3.5.3-r1.0 oe-repo 16 k
python3-misc aarch64 3.5.3-r1.0 oe-repo 2.2 M
python3-netclient aarch64 3.5.3-r1.0 oe-repo 268 k
python3-pickle aarch64 3.5.3-r1.0 oe-repo 72 k
python3-re aarch64 3.5.3-r1.0 oe-repo 38 k
python3-reprlib aarch64 3.5.3-r1.0 oe-repo 7.7 k
python3-rpm aarch64 1:4.13.90+git0+a8e51b3bb0-r0 oe-repo 44 k
python3-selectors aarch64 3.5.3-r1.0 oe-repo 15 k
python3-shell aarch64 3.5.3-r1.0 oe-repo 44 k
python3-signal aarch64 3.5.3-r1.0 oe-repo 8.3 k
python3-six aarch64 1.10.0-r0 oe-repo 22 k
python3-sqlite3 aarch64 3.5.3-r1.0 oe-repo 33 k
python3-stringold aarch64 3.5.3-r1.0 oe-repo 13 k
python3-subprocess aarch64 3.5.3-r1.0 oe-repo 36 k
python3-textutils aarch64 3.5.3-r1.0 oe-repo 61 k
python3-threading aarch64 3.5.3-r1.0 oe-repo 38 k
python3-unixadmin aarch64 3.5.3-r1.0 oe-repo 17 k
run-agl-postinsts noarch 1.0-r0 oe-repo 8.0 k
security-manager aarch64 1.0.2+git0+860305a595-r0 oe-repo 210 k
security-manager-policy
aarch64 1.0.2+git0+860305a595-r0 oe-repo 9.0 k
shadow aarch64 4.2.1-r0 oe-repo 180 k
shadow-base aarch64 4.2.1-r0 oe-repo 42 k
shadow-securetty imx8mqevk 4.2.1-r3 oe-repo 6.5 k
smack aarch64 1.3.0+git0+478f68d182-r0 oe-repo 26 k
sqlite3 aarch64 3:3.20.0-r0 oe-repo 47 k
systemd aarch64 1:234-r0 oe-repo 1.4 M
systemd-agl-sync aarch64 1.0-r0 oe-repo 6.2 k
systemd-container aarch64 1:234-r0 oe-repo 112 k
systemd-serialgetty imx8mqevk 1.0-r5 oe-repo 7.3 k
systemd-vconsole-setup
aarch64 1:234-r0 oe-repo 13 k
udev aarch64 1:234-r0 oe-repo 272 k
update-alternatives-opkg
aarch64 0.3.5-r0 oe-repo 8.2 k
update-rc.d noarch 0.7-r5 oe-repo 8.0 k
util-linux-agetty aarch64 2.30-r0 oe-repo 25 k
util-linux-mount aarch64 2.30-r0 oe-repo 17 k
util-linux-sulogin aarch64 2.30-r0 oe-repo 22 k
volatile-binds noarch 1.0-r0 oe-repo 8.9 k
wayland aarch64 1.13.0-r0 oe-repo 42 k
weston aarch64_mx8mq 3.0.0-r0 oe-repo 680 k
weston-examples aarch64_mx8mq 3.0.0-r0 oe-repo 197 k
weston-ini-conf imx8mqevk 1.0-r0 oe-repo 6.4 k
weston-init noarch 1.0-r0 oe-repo 9.9 k
xkeyboard-config aarch64 2.21-r0 oe-repo 316 k
xmlsec1 aarch64 1.2.24-r0 oe-repo 220 k
Installing weak dependencies:
busybox-syslog aarch64 1.24.1-r0 oe-repo 8.8 k
busybox-udhcpc aarch64 1.24.1-r0 oe-repo 7.8 k
ca-certificates noarch 20170717-r0 oe-repo 155 k
dhcp-server-config aarch64 4.3.6-r0 oe-repo 8.0 k
e2fsprogs-e2fsck aarch64 1.43.5-r0 oe-repo 107 k
gnupg aarch64 2.2.0-r0 oe-repo 1.0 M
kbd-consolefonts aarch64 2.0.4-r0 oe-repo 416 k
kbd-keymaps aarch64 2.0.4-r0 oe-repo 453 k
kernel-module-ipv6-4.9.88-imx_4.9.88_2.0.0_ga+g5e23f9d61147
imx8mqevk 4.9.88-r0 oe-repo 140 k
liberation-fonts noarch 1:2.00.1-r0 oe-repo 1.4 M
ncurses-terminfo-base aarch64 6.0+20170715-r0 oe-repo 13 k
os-release noarch 1.0-r0 oe-repo 6.0 k
pinentry aarch64 1.0.0-r0 oe-repo 28 k
psplash-default aarch64 0.1+git0+2015f7073e-r15 oe-repo 48 k
python3-readline aarch64 3.5.3-r1.0 oe-repo 18 k
shared-mime-info aarch64 1.8-r0 oe-repo 360 k
systemd-compat-units aarch64 1.0-r29 oe-repo 6.0 k
systemd-extra-utils aarch64 1:234-r0 oe-repo 81 k
tzdata noarch 2018c-r0 oe-repo 41 k
udev-hwdb aarch64 1:234-r0 oe-repo 708 k
util-linux-fsck aarch64 2.30-r0 oe-repo 23 k
Transaction Summary
================================================================================
Install 249 Packages
Total size: 54 M
Installed size: 221 M
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction check error:
file /etc/xdg/weston/weston.ini conflicts between attempted installs of weston-ini-conf-1.0-r0.imx8mqevk and weston-3.0.0-r0.aarch64_mx8mq
Error Summary
-------------
ERROR: agl-image-weston-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/imx8/weston-agl/bld-agl/tmp/work/imx8mqevk-poky-linux/agl-image-weston/1.0-r0/temp/log.do_rootfs.21004
ERROR: Task (/home/imx8/weston-agl/sources/meta-agl/meta-agl-profile-graphical/recipes-graphics/images/agl-image-weston.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3571 tasks of which 3555 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/imx8/weston-agl/sources/meta-agl/meta-agl-profile-graphical/recipes-graphics/images/agl-image-weston.bb:do_rootfs
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Hello Manivannan s,
The AGL demo is provided “as is”, as a proof of concept, and it was tested only on the i.MX6Q so no support is provided for this demo and it hasn’t been tested on the i.MX8M.
You can find the readme here:
http://git.freescale.com/git/cgit.cgi/imx/meta-nxp-agl.git/tree/README.txt?h=krogoth
And the repository on the following git server:
http://git.freescale.com/git/cgit.cgi/imx/meta-nxp-agl.git/
My apologies for the inconvenience.
Regards,
Hi Gusarambula,
thanks for the reply, since we are trying to AGL on imx8, we could build agl-image-minimal and bring up on it. But with agl-image- Weston and agl-image-ivi the issues are coming,
Is there any workaround solution you can suggest such that we build the agl-image-weston (imx8mqevk) configuration without errors, Or you conclude to say that it wont work for imx8?
Thanks
Mani
Hi,
Have you built images for other target as well.
I found issues even in building for agl-minimal. qemu and lingpg related errors that what I am getting. I am doing it for imx8 and host is ubuntu 20.04.
Regards,
Vis
Hello Manivannan s,
The i.MX8 does have support for wayland Weston graphics and should be technically capable of running the demo, if you put time into figuring out the dependencies.
It seems that there is a conflict on the Weston version. Since the demo is set for i.MX6Q it could be that a fixed Weston version is preferred and it’s conflicting with the i.MX8 version. You could try to resolve this albeit you would need to be careful that the rest of the demo can run on the i.MX8 supported westion version.
I hope this helps!
Regards,
Hi Gusarambula ,
Is there any similar issues seen with imx6sabre ? recently i received a suggestion mail (below in bold) which said we can follow the same steps which were done for imx6 sabreauto and make it work for imx8. If so can you please share link or reference steps which was done on imx6 so that we could follow same for our platform?
Hello Manivannan s,
All information on this demo is available in the links I shared. As you may see documentation for this demo is limited so there is no much information on the steps followed to enable the AGL demo on the i.MX6 Auto board.
The suggestion of adding the imx8mqevk MACHINE configuration to the AGL master branch may work although it’s also not a trivial process. You would need to find the imx8mqevk.conf files (and all files required by this .conf file) and add them to the AGL master branch and then edit the image recipes accordingly.
In theory is possible and sounds straightforward but it would require some work and knowing how Yocto works.
We have a BSP porting guide, which is a bit general:
https://www.nxp.com/docs/en/user-guide/i.MX_BSP_Porting_Guide_Linux.pdfhttps://www.nxp.com/docs/en/user-guide/i.MX_BSP_Porting_Guide_Linux.pdf
And there is also the Yocto BSP Developer’s Guide, although it includes only very general instructions.
https://www.yoctoproject.org/docs/current/bsp-guide/bsp-guide.html
I hope this helps!
Regards,
Thanks for your replies sir, will work towards it just one more question,
How to add NXP's meta-fsl-bsp-release layer to the tree to pick up the new 4.19 linux-imx kernel and weston 6.0.0.imx
tree is imx-linux-thud
Also ,
I would like to know what steps are followed to build.
Should we follow the build steps for imx8 similar to steps mentioned in AGL website like given below ?
agl-distro:agl-raspberrypi [Automotive Linux Wiki]
OR
Should we modify the steps similar to one given in NXP website ?
Hello Manivannan s,
You may add a new layer on the conf/bblayers.conf file on your build directory. You can check that the layer was added by running:
$ bitbake-layers show-layers
However, keep in mind that there may be dependencies and conflicts between the layers. As the approach you may start with either the AGL website or NXP website and work from there. I would probably recommend the AGL website at least for the majority of the recipes, and the kernel from the NXP website (which you would need to adapt for AGL).
I hope this helps!
Regards,
Hi Gusarambula,
Just a questions, if i have to include 4.19 linux-imx kernel to the AGL build steps, how to do it ?
Will adding meta-fsl-bsp-release layer to the /build/conf/bblayers.conf automatically take 4.19 linux-imx kernel while building.
We were following the steps from this Jira ticket raised by us.
How to enable Vivante graphic drivers? Please share us some reference sources if any team has done it.
appreciate your support,
Thanks and Regards
Mani
Hello Manivannan s,
I see that there has been some follow up on the Jira AGL Development. Hopefully they may provide further help.
As for the GPU drivers I would recommend referring to the i.MX Linux Reference Manual which is part of the BSP Releases documentation. If you are using a Community BSP kernel you may use the closest BSP Release kernel version as reference. Adding the meta-fsl-bsp-release layer will change the default kernel as the layer has a higher priority but you may force the preferred version or try lowering the meta- bsp-release priority.
I hope this helps!
Regards,
Hi Sir,
Your response has been very helpful, can you share little more details on Howto. is there any web reference to solve this issue which you know ?
Thanks and Regards
Mani