Hello, I am working on a device that is based on the imx8mm evk. I am just trying to build a basic linux image for this device with kirkstone and the 5.15 kernel. So far I haven't added any custom layers I just want to get "core-image-minimal" working first.
Here is my error while compiling:
spencer@tb-home-server:/mnt/yocto/sources/meta-imx$ bitbake core-image-minimal WARNING: Host distribution "debian-12" 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 4048 entries from dependency cache. Parsing recipes: 100% |########################################################################################################################################################################################################| Time: 0:00:00 Parsing of 2637 .bb files complete (2636 cached, 1 parsed). 4048 targets, 254 skipped, 1 masked, 0 errors. NOTE: Resolving any missing task queue dependencies NOTE: Multiple providers are available for runtime linux-mfgtool-image (linux-fslc-lts-mfgtool, linux-fslc-mfgtool, linux-imx-mfgtool) Consider defining a PREFERRED_RPROVIDER entry to match linux-mfgtool-image NOTE: Multiple providers are available for runtime linux-mfgtool-image-image (linux-fslc-lts-mfgtool, linux-fslc-mfgtool, linux-imx-mfgtool) Consider defining a PREFERRED_RPROVIDER entry to match linux-mfgtool-image-image NOTE: Multiple providers are available for runtime linux-mfgtool-base (linux-fslc-lts-mfgtool, linux-fslc-mfgtool, linux-imx-mfgtool)
Consider defining a PREFERRED_RPROVIDER entry to match linux-mfgtool-base
Build Configuration:
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-fslc-linux"
MACHINE = "imx8mm-lpddr4-evk"
DISTRO = "fslc-xwayland"
DISTRO_VERSION = "4.0"
TUNE_FEATURES = "aarch64 armv8a crc cortexa53"
TARGET_FPU = ""
meta
meta-poky = "HEAD:81e0dc80d72d66b7f15a34c0da7a0a8c58809056"
meta-oe
meta-multimedia
meta-python = "HEAD:45bddd258a3d1ded925faf8389e01bb948dc7f5b"
meta-freescale = "HEAD:ccb66d5754fb3027670e15d33b5dd63daffaf2eb"
meta-freescale-3rdparty = "HEAD:48516272d97f9415e0ee3ab54a923e4c40143e69"
meta-freescale-distro = "HEAD:d5bbb487b2816dfc74984a78b67f7361ce404253"
meta-bsp
meta-sdk
meta-ml = "kirkstone-5.15.71-2.2.2:af4c67f25fff2dce54487ee5bfd618ab9789a8dc"
Initialising tasks: 100% |#####################################################################################################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 681 Local 319 Mirrors 0 Missed 362 Current 901 (46% match, 77% complete)
Removing 1 stale sstate objects for arch allarch: 100% |#######################################################################################################################################################################| Time: 0:00:00
NOTE: Executing Tasks
ERROR: imx-boot-1.0-r0 do_deploy: ExecutionError('/mnt/yocto/poly-tc8/tmp/work/imx8mm_lpddr4_evk-fslc-linux/imx-boot/1.0-r0/temp/run.do_deploy.1929144', 1, None, None)
ERROR: Logfile of failure stored in: /mnt/yocto/poly-tc8/tmp/work/imx8mm_lpddr4_evk-fslc-linux/imx-boot/1.0-r0/temp/log.do_deploy.1929144
Log data follows:
| DEBUG: Executing python function sstate_task_prefunc
| DEBUG: Python function sstate_task_prefunc finished
| DEBUG: Executing shell function do_deploy
| Set boot target as flash_evk
| cp: '/mnt/yocto/poly-tc8/tmp/work/imx8mm_lpddr4_evk-fslc-linux/imx-boot/1.0-r0/deploy-imx-boot/imx-boot' and '/mnt/yocto/poly-tc8/tmp/work/imx8mm_lpddr4_evk-fslc-linux/imx-boot/1.0-r0/deploy-imx-boot/imx-boot' are the same file
| WARNING: exit code 1 from a shell command.
ERROR: Task (/mnt/yocto/sources/meta-imx/meta-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_deploy) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3352 tasks of which 3320 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 2 seconds
Summary: 1 task failed:
/mnt/yocto/sources/meta-imx/meta-bsp/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_deploy
Summary: There was 1 WARNING message.
Summary: There was 1 ERROR message, returning a non-zero exit code.
spencer@tb-home-server:/mnt/yocto/sources/meta-imx$
Here is by local.conf and bblayers.conf:
spencer@tb-home-server:/mnt/yocto$ ls
downloads poly-tc8 README setup-environment sources
spencer@tb-home-server:/mnt/yocto$ cat poly-tc8/conf/local.conf
MACHINE ??= 'imx8mm-lpddr4-evk'
DISTRO ?= "fslc-xwayland"
PACKAGE_CLASSES ?= 'package_rpm'
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats"
PATCHRESOLVE = "noop"
PREFERRED_PROVIDER_virtual/kernel = "linux-imx"
PREFERRED_VERSION_linux-imx = "5.15%"
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"
spencer@tb-home-server:/mnt/yocto$ cat poly-tc8/conf/bblayers.conf
LCONF_VERSION = "7"
BBPATH = "${TOPDIR}"
BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
BBFILES ?= ""
BBLAYERS = " \
${BSPDIR}/sources/poky/meta \
${BSPDIR}/sources/poky/meta-poky \
\
${BSPDIR}/sources/meta-openembedded/meta-oe \
${BSPDIR}/sources/meta-openembedded/meta-multimedia \
${BSPDIR}/sources/meta-openembedded/meta-python \
\
${BSPDIR}/sources/meta-freescale \
${BSPDIR}/sources/meta-freescale-3rdparty \
${BSPDIR}/sources/meta-freescale-distro \
\
${BSPDIR}/sources/meta-imx/meta-bsp \
${BSPDIR}/sources/meta-imx/meta-sdk \
${BSPDIR}/sources/meta-imx/meta-ml"
spencer@tb-home-server:/mnt/yocto$
Please let me know if you need any more info to help with this issue!