AnsweredAssumed Answered

build does not create an SDCard image

Question asked by ran gree on Aug 11, 2019
Latest reply on Aug 12, 2019 by Joan Xie

hello.

i am trying to create an image for imx8mq. i will print my history commands

1912 DISTRO=fsl-imx-xwayland MACHINE=imx8mqevk source fsl-setup-release.sh -b build-xwayland
1927 bitbake fsl-image-qt5-validation-imx
build output

 

WARNING: Host distribution "ubuntu-18.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |###############################################################################################################################################################################| Time: 0:00:00
Loaded 3260 entries from dependency cache.
Parsing recipes: 100% |#############################################################################################################################################################################| Time: 0:00:01
Parsing of 2423 .bb files complete (2419 cached, 4 parsed). 3264 targets, 212 skipped, 8 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.36.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mqevk"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "4.9.88-2.0.0"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky = "HEAD:0ec241873367e18f5371a3ad9aca1e2801dcd4ee"
meta-oe
meta-multimedia = "HEAD:dacfa2b1920e285531bec55cd2f08743390aaf57"
meta-freescale = "HEAD:49ac225a38f6d84519798e3264f2e4d19b84f70a"
meta-freescale-3rdparty = "HEAD:1d6d5961dbf82624b28bb318b4950a64abc31d12"
meta-freescale-distro = "HEAD:0ec6d7e206705702b5b534611754de0787f92b72"
meta-bsp
meta-sdk = "HEAD:d65692ecb3a4136fc1cc137152634e8633ddb3c6"
meta-browser = "HEAD:d6f9aed41c73b75a97d71bff060b03a66ee087b1"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:dacfa2b1920e285531bec55cd2f08743390aaf57"
meta-qt5 = "HEAD:32bb7d18a08d1c48873d7ab6332d4cc3815a4dff"

Initialising tasks: 100% |##########################################################################################################################################################################| Time: 0:00:10
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: linux-firmware-1_0.0+gitAUTOINC+bf04291309_a0026b646c-r0 do_package_qa: QA Issue: /lib/firmware/murata/.git/hooks/fsmonitor-watchman.sample contained in package linux-firmware requires /usr/bin/perl, but no providers found in RDEPENDS_linux-firmware? [file-rdeps]
ERROR: linux-firmware-1_0.0+gitAUTOINC+bf04291309_a0026b646c-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: linux-firmware-1_0.0+gitAUTOINC+bf04291309_a0026b646c-r0 do_package_qa: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/elsec-linux/build/imx-yocto-bsp/build-xwayland/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+bf04291309_a0026b646c-r0/temp/log.do_package_qa.31317
ERROR: Task (/home/elsec-linux/build/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux-firmware/linux-firmware_git.bb:do_package_qa) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6994 tasks of which 6978 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/elsec-linux/build/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux-firmware/linux-firmware_git.bb:do_package_qa
Summary: There was 1 WARNING message shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.

 

when i look at the images directory (fsl-image-qt5-validation-imx)

i do not see an sdcard image.

is the image not created because of the errors in the build or because of a bad configuration 

my build/conf/local.conf

MACHINE ??= 'imx8mqevk'
DISTRO ?= 'fsl-imx-xwayland'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"

TOOLCHAIN_TARGET_TASK_append = " gtk+ gtk+3"
IMAGE_INSTALL_append = " gtk+ gtk+3"
BB_DISKMON_DIRS ??= "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
CONF_VERSION = "1"

DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"

 

thanks

Outcomes