core-image-minimal failing at do_deploy

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

core-image-minimal failing at do_deploy

907 次查看
SpencerLommel
Contributor I

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!

0 项奖励
回复
6 回复数

876 次查看
SpencerLommel
Contributor I

For more information, here is the specific branch of meta-imx I am using

spencer@tb-home-server:/mnt/yocto/sources/meta-imx$ ls
EULA.txt meta-bsp meta-cockpit meta-ml meta-sdk meta-v2x README SCR-5.15.71-2.2.2.txt tools
spencer@tb-home-server:/mnt/yocto/sources/meta-imx$ git status
On branch kirkstone-5.15.71-2.2.2
Your branch is up to date with 'origin/kirkstone-5.15.71-2.2.2'.

nothing to commit, working tree clean
spencer@tb-home-server:/mnt/yocto/sources/meta-imx$

0 项奖励
回复

854 次查看
Chavira
NXP TechSupport
NXP TechSupport

Hi @SpencerLommel!

Thank you for contacting NXP Support!

 

I will try to replicate the issue by my side.

 

What Ubuntu version do you have installed in your host computer?

 

0 项奖励
回复

838 次查看
SpencerLommel
Contributor I
Hello,

I am using Debian 12. Because this is an unsupported build distro I will try and install Ubuntu as well to see if this resolves it.

0 项奖励
回复

775 次查看
Chavira
NXP TechSupport
NXP TechSupport

HI @SpencerLommel!

 

I recommend to use Ubuntu 20.04 for that version.

 

 

0 项奖励
回复

755 次查看
SpencerLommel
Contributor I
After looking at the Yocto Supported Linux Distributions again, it looks like Debian 12 is supported. Do you have any other recommendations for what might be causing this issue before I switch distros?

https://docs.yoctoproject.org/ref-manual/system-requirements.html
0 项奖励
回复

733 次查看
Chavira
NXP TechSupport
NXP TechSupport

Hi @SpencerLommel!

You have to follow the recommendations that we post on the Yocto User Guide of the version that you are using.

For that version you should use Ubuntu 20.04 or Debian 11.

 

Best Regards!

Chavira

0 项奖励
回复