First thank you for all the help thus far! I am trying to build a base image for the Avnet MicroZed development board using yocto. I keep running into issues where I have to copy the zynq-microzed.dts file to new locations.
Is there a way to add it to the local.conf that would hold the path for all recipes to use it? Still a NOOB but learning a lot. Here is my error. | SYNC include/config/auto.conf.cmd | GEN Makefile | make[1]: *** No rule to make target 'zynq-microzed.dts'. Stop. | make: *** [/home/me/code/yocto/build/tmp/work-shared/microzed-zynq7/kernel-source/Makefile:234: __sub-make] Error 2 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. ERROR: Task (/home/me/code/yocto/build/../meta-xilinx/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2024.1.bb:do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 758 tasks of which 745 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/me/code/yocto/build/../meta-xilinx/meta-xilinx-core/recipes-kernel/linux/linux-xlnx_2024.1.bb:do_compile log.do_compile.111839 error GEN Makefile CALL /home/me/code/yocto/build/tmp/work-shared/microzed-zynq7/kernel-source/scripts/checksyscalls.sh Kernel: arch/arm/boot/Image is ready Kernel: arch/arm/boot/zImage is ready NOTE: make -j 16 DEVICE_TREE=zynq-microzed CC=arm-poky-linux-gnueabi-gcc -mno-thumb-interwork -marm -fuse-ld=bfd -fmacro-prefix-map=/home/me/code/yocto/build/tmp/work-shared/microzed-zynq7/kernel-source=/usr/src/debug/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0 -fdebug-prefix-map=/home/me/code/yocto/build/tmp/work-shared/microzed-zynq7/kernel-source=/usr/src/debug/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0 -fmacro-prefix-map=/home/me/code/yocto/build/tmp/work/microzed_zynq7-poky-linux-gnueabi/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0/linux-microzed_zynq7-standard-build=/usr/src/debug/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0 -fdebug-prefix-map=/home/me/code/yocto/build/tmp/work/microzed_zynq7-poky-linux-gnueabi/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0/linux-microzed_zynq7-standard-build=/usr/src/debug/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0 -fdebug-prefix-map=/home/me/code/yocto/build/tmp/work/microzed_zynq7-poky-linux-gnueabi/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0/recipe-sysroot= -fmacro-prefix-map=/home/me/code/yocto/build/tmp/work/microzed_zynq7-poky-linux-gnueabi/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0/recipe-sysroot= -fdebug-prefix-map=/home/me/code/yocto/build/tmp/work/microzed_zynq7-poky-linux-gnueabi/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/me/code/yocto/build/tmp/work-shared/microzed-zynq7/kernel-source=/usr/src/kernel -fdebug-prefix-map=/home/me/code/yocto/build/tmp/work-shared/microzed-zynq7/kernel-build-artifacts=/usr/src/kernel LD=arm-poky-linux-gnueabi-ld.bfd HOSTCC=gcc HOSTCFLAGS=-isystem/home/me/code/yocto/build/tmp/work/microzed_zynq7-poky-linux-gnueabi/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0/recipe-sysroot-native/usr/include -O2 -pipe HOSTLDFLAGS=-L/home/me/code/yocto/build/tmp/work/microzed_zynq7-poky-linux-gnueabi/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0/recipe-sysroot-native/usr/lib -L/home/me/code/yocto/build/tmp/work/microzed_zynq7-poky-linux-gnueabi/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/home/me/code/yocto/build/tmp/work/microzed_zynq7-poky-linux-gnueabi/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/me/code/yocto/build/tmp/work/microzed_zynq7-poky-linux-gnueabi/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/me/code/yocto/build/tmp/work/microzed_zynq7-poky-linux-gnueabi/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/me/code/yocto/build/tmp/work/microzed_zynq7-poky-linux-gnueabi/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0/recipe-sysroot-native/lib -Wl,-O1 HOSTCPP=gcc -E HOSTCXX=g++ HOSTCXXFLAGS=-isystem/home/me/code/yocto/build/tmp/work/microzed_zynq7-poky-linux-gnueabi/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0/recipe-sysroot-native/usr/include -O2 -pipe PAHOLE=false zynq-microzed.dts CC=arm-poky-linux-gnueabi-gcc -mno-thumb-interwork -marm -fuse-ld=bfd -fmacro-prefix-map=/home/me/code/yocto/build/tmp/work-shared/microzed-zynq7/kernel-source=/usr/src/debug/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0 -fdebug-prefix-map=/home/me/code/yocto/build/tmp/work-shared/microzed-zynq7/kernel-source=/usr/src/debug/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0 -fmacro-prefix-map=/home/me/code/yocto/build/tmp/work/microzed_zynq7-poky-linux-gnueabi/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0/linux-microzed_zynq7-standard-build=/usr/src/debug/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0 -fdebug-prefix-map=/home/me/code/yocto/build/tmp/work/microzed_zynq7-poky-linux-gnueabi/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0/linux-microzed_zynq7-standard-build=/usr/src/debug/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0 -fdebug-prefix-map=/home/me/code/yocto/build/tmp/work/microzed_zynq7-poky-linux-gnueabi/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0/recipe-sysroot= -fmacro-prefix-map=/home/me/code/yocto/build/tmp/work/microzed_zynq7-poky-linux-gnueabi/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0/recipe-sysroot= -fdebug-prefix-map=/home/me/code/yocto/build/tmp/work/microzed_zynq7-poky-linux-gnueabi/linux-xlnx/6.6.10-xilinx-v2024.1+gitAUTOINC+3af4295e00-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/me/code/yocto/build/tmp/work-shared/microzed-zynq7/kernel-source=/usr/src/kernel -fdebug-prefix-map=/home/me/code/yocto/build/tmp/work-shared/microzed-zynq7/kernel-build-artifacts=/usr/src/kernel LD=arm-poky-linux-gnueabi-ld.bfd UIMAGE_LOADADDR=0x200000 SYNC include/config/auto.conf.cmd GEN Makefile make[1]: *** No rule to make target 'zynq-microzed.dts'. Stop. make: *** [/home/me/code/yocto/build/tmp/work-shared/microzed-zynq7/kernel-source/Makefile:234: __sub-make] Error 2 ERROR: oe_runmake failed WARNING: exit code 1 from a shell command. local.conf file: BBMASK = "v4l-utils|yavta" SYSTEM_USER_DTSI ?= "zedboard.dtsi" LICENSE_FLAGS_ACCEPTED += "xilinx" MACHINE = "microzed-zynq7" CONFIG_DTFILE = "${TOPDIR}/../zynq-microzed.dts" DISTRO ?= "poky" PACKAGE_CLASSES ?= "package_ipk" EXTRA_IMAGEDEPENDS += "u-boot-xlnx-scr" EXTRA_IMAGE_FEATURES ?= "debug-tweaks" EXTRA_OEMAKE += "DEVICE_TREE=zynq-microzed" IMAGE_INSTALL += "u-boot linux-firmware" IMAGE_INSTALL += "device-tree-microzed" PREFERRED_PROVIDER_u-boot = "u-boot-microzed" PREFERRED_PROVIDER_virtual/kernel = "linux-xlnx" PREFERRED_VERSION_virtual/hdf = "2023.2" DEVICE_TREE = "zynq-zybo-z7" KERNEL_DEVICETREE = "zynq-microzed.dts" #TARGET_CFLAGS:append = " -D_GNU_SOURCE" INHERIT:remove = "uninative"
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64225): https://lists.yoctoproject.org/g/yocto/message/64225 Mute This Topic: https://lists.yoctoproject.org/mt/109414337/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-