Hi Frank, I found similar errors that you using the ktogoth branch in the poky repo from yocto. When I build the rasberry-pi2 images in a debian Jessy host.
The issue in my case is that the parsing use in split_overlays function from the meta-raspberrypi/classes/linux-raspberrypi-base.bbclass was not working properly for my case. I resolved it with a "workaround", when I figured out that the issue is in the task rpi-sdimg from meta-raspberrypi/classes/sdcard_image-rpi.bbclass in the mcopy, because the command was running over files without the correct name The patch applied in my case looks like: diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass index 0487ef1..5f555c9 100644 --- a/classes/sdcard_image-rpi.bbclass +++ b/classes/sdcard_image-rpi.bbclass @@ -116,9 +122,11 @@ IMAGE_CMD_rpi-sdimg () { mmd -i ${WORKDIR}/boot.img overlays for DTB in ${DT_OVERLAYS}; do DTB_EXT=${DTB##*.} + #DTB_EXT=dtb DTB_BASE_NAME=`basename ${DTB} ."${DTB_EXT}"` - mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${DTB_BASE_NAME}.${DTB_EXT} ::overlays/${DTB_BASE_NAME}.${DTB_EXT} + #mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${DTB_BASE_NAME}.${DTB_EXT} ::overlays/${DTB_BASE_NAME}.${DTB_EXT} + mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${DTB_BASE_NAME}-overlay.dtb ::overlays/${DTB_BASE_NAME}-overlay.dtb done fi case "${KERNEL_IMAGETYPE}" in diff --git a/classes/linux-raspberrypi-base.bbclass b/classes/linux-raspberrypi-base.bbclass index 3a6e33d..02535b2 100644 --- a/classes/linux-raspberrypi-base.bbclass +++ b/classes/linux-raspberrypi-base.bbclass @@ -36,7 +36,8 @@ def split_overlays(d, out, ver=None): dts = get_dts(d, ver) if out: overlays = oe.utils.str_filter_out('\S+\-overlay\.dtb$', dts, d) - overlays = oe.utils.str_filter_out('\S+\.dtbo$', overlays, d) + overlays = oe.utils.str_filter_out('\S+\.dtbo$', dts, d) + #overlays = oe.utils.str_filter_out('\S+\.dtbo$', overlays, d) else: overlays = oe.utils.str_filter('\S+\-overlay\.dtb$', dts, d) + \ " " + oe.utils.str_filter('\S+\.dtbo$', dts, d) ----------------------------------------------------------------------------------------------- Please be aware that this patch is not fully tested and it is only a workaround could be possible that is not working for all the cases. -Regards -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto