Hi,
I’m using BSP 5.0. I want to create a new image that i customized it’s device tree for our carrier board and i’m moving on this guide. I followed all the instructions to create a custom image. However, i took some errors as below while compiling new image with bitbake. Why am i taking these errors?
bitbake custom-console-image
Loading cache: 100% |###########################################| Time: 0:00:03
Loaded 3914 entries from dependency cache.
Parsing recipes: 100% |#########################################| Time: 0:00:03
Parsing of 2755 .bb files complete (2746 cached, 9 parsed). 3921 targets, 247 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.46.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-tdx-linux-gnueabi"
MACHINE = "colibri-imx6"
DISTRO = "tdx-xwayland"
DISTRO_VERSION = "5.7.1-devel-20221116071610+build.0"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "hard"
meta-toradex-nxp = "HEAD:ee63c90fde9fde0229bff9ac1c5cffe356fc4f41"
meta-freescale = "HEAD:3cb29cff92568ea835ef070490f185349d712837"
meta-freescale-3rdparty = "HEAD:c52f64973cd4043a5e8be1c7e29bb9690eb4c3e5"
meta-toradex-tegra = "HEAD:f5753af4a5b9d33f0f474b320a74c2e29a66ec39"
meta-toradex-bsp-common = "HEAD:029a663150449a5e71b84dd4000476754d525c8c"
meta-oe
meta-filesystems
meta-gnome
meta-xfce
meta-initramfs
meta-networking
meta-multimedia
meta-python = "HEAD:8ff12bfffcf0840d5518788a53d88d708ad3aae0"
meta-freescale-distro = "HEAD:5d882cdf079b3bde0bd9869ce3ca3db411acbf3b"
meta-toradex-demos = "HEAD:ce3c1925df34b4d299b2dd1003ced41b9485ce41"
meta-qt5 = "HEAD:5ef3a0ffd3324937252790266e2b2e64d33ef34f"
meta-toradex-distro = "HEAD:4cdeb8980411db8fc65655832a664bf80d93e534"
meta-poky = "HEAD:7e0063a8546250c4c5b9454cfa89fff451a280ee"
meta = "HEAD:add860e1a69f848097bbc511137a62d5746e5019"
meta-customer = "master:04d1f1240bbace8850638b5762996cabf145c16f"
Initialising tasks: 100% |######################################| Time: 0:00:04
Sstate summary: Wanted 214 Found 184 Missed 30 Current 1469 (85% match, 98% complete)
NOTE: Executing Tasks
ERROR: linux-toradex-5.4.193+gitAUTOINC+6e440a8fa4-r0 do_compile: oe_runmake failed
ERROR: linux-toradex-5.4.193+gitAUTOINC+6e440a8fa4-r0 do_compile: Execution of '/home/oguzz/oe-core/build/tmp/work/colibri_imx6-tdx-linux-gnueabi/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0/temp/run.do_compile.17827' failed with exit code 1
ERROR: Logfile of failure stored in: /home/oguzz/oe-core/build/tmp/work/colibri_imx6-tdx-linux-gnueabi/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0/temp/log.do_compile.17827
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: KBUILD_BUILD_TIMESTAMP: Thu Oct 6 12:58:20 UTC 2022
| NOTE: make -j 4 HOSTCC=gcc -isystem/home/oguzz/oe-core/build/tmp/work/colibri_imx6-tdx-linux-gnueabi/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/home/oguzz/oe-core/build/tmp/work/colibri_imx6-tdx-linux-gnueabi/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0/recipe-sysroot-native/usr/lib -L/home/oguzz/oe-core/build/tmp/work/colibri_imx6-tdx-linux-gnueabi/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/home/oguzz/oe-core/build/tmp/work/colibri_imx6-tdx-linux-gnueabi/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/oguzz/oe-core/build/tmp/work/colibri_imx6-tdx-linux-gnueabi/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/oguzz/oe-core/build/tmp/work/colibri_imx6-tdx-linux-gnueabi/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/oguzz/oe-core/build/tmp/work/colibri_imx6-tdx-linux-gnueabi/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/oguzz/oe-core/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 HOSTCPP=gcc -E HOSTCXX=g++ -isystem/home/oguzz/oe-core/build/tmp/work/colibri_imx6-tdx-linux-gnueabi/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/home/oguzz/oe-core/build/tmp/work/colibri_imx6-tdx-linux-gnueabi/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0/recipe-sysroot-native/usr/lib -L/home/oguzz/oe-core/build/tmp/work/colibri_imx6-tdx-linux-gnueabi/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/home/oguzz/oe-core/build/tmp/work/colibri_imx6-tdx-linux-gnueabi/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/oguzz/oe-core/build/tmp/work/colibri_imx6-tdx-linux-gnueabi/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/oguzz/oe-core/build/tmp/work/colibri_imx6-tdx-linux-gnueabi/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/oguzz/oe-core/build/tmp/work/colibri_imx6-tdx-linux-gnueabi/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/oguzz/oe-core/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 zImage CC=arm-tdx-linux-gnueabi-gcc -mno-thumb-interwork -marm -fuse-ld=bfd -fmacro-prefix-map=/home/oguzz/oe-core/build/tmp/work/colibri_imx6-tdx-linux-gnueabi/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0=/usr/src/debug/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0 -fdebug-prefix-map=/home/oguzz/oe-core/build/tmp/work/colibri_imx6-tdx-linux-gnueabi/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0=/usr/src/debug/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0 -fdebug-prefix-map=/home/oguzz/oe-core/build/tmp/work/colibri_imx6-tdx-linux-gnueabi/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0/recipe-sysroot= -fdebug-prefix-map=/home/oguzz/oe-core/build/tmp/work/colibri_imx6-tdx-linux-gnueabi/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/oguzz/oe-core/build/tmp/work-shared/colibri-imx6/kernel-source=/usr/src/kernel LD=arm-tdx-linux-gnueabi-ld.bfd LOADADDR=0x11000000
| ***
| *** The source tree is not clean, please run 'make mrproper'
| *** in /home/oguzz/oe-core/build/tmp/work-shared/colibri-imx6/kernel-source
| ***
| /home/oguzz/oe-core/build/tmp/work-shared/colibri-imx6/kernel-source/Makefile:535: recipe for target 'outputmakefile' failed
| make[1]: *** [outputmakefile] Error 1
| /home/oguzz/oe-core/build/tmp/work-shared/colibri-imx6/kernel-source/Makefile:179: recipe for target 'sub-make' failed
| make: *** [sub-make] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/oguzz/oe-core/build/tmp/work/colibri_imx6-tdx-linux-gnueabi/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0/temp/run.do_compile.17827:1 exit 1 from 'exit 1'
| ERROR: Execution of '/home/oguzz/oe-core/build/tmp/work/colibri_imx6-tdx-linux-gnueabi/linux-toradex/5.4.193+gitAUTOINC+6e440a8fa4-r0/temp/run.do_compile.17827' failed with exit code 1
ERROR: Task (/home/oguzz/oe-core/build/../layers/meta-toradex-nxp/recipes-kernel/linux/linux-toradex_5.4-2.3.x.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3869 tasks of which 3865 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 4 seconds
Summary: 1 task failed:
/home/oguzz/oe-core/build/../layers/meta-toradex-nxp/recipes-kernel/linux/linux-toradex_5.4-2.3.x.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.