From: Josep Orga Date: Thu, 15 Apr 2021 06:27:28 +0000 (+0200) Subject: meta-somdevices: Add imx6ull-somdevices.dtb at boot for wic image. X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=a94140250747e27c9b57d4f39cb6419bf776861e;p=meta-somdevices.git meta-somdevices: Add imx6ull-somdevices.dtb at boot for wic image. Signed-off-by: Josep Orga --- diff --git a/recipes-kernel/linux/linux-somdevices_4.19.35.bb b/recipes-kernel/linux/linux-somdevices_4.19.35.bb index 69b1945..1e2c5d0 100644 --- a/recipes-kernel/linux/linux-somdevices_4.19.35.bb +++ b/recipes-kernel/linux/linux-somdevices_4.19.35.bb @@ -1,6 +1,6 @@ SUMMARY = "Linux Kernel provided and supported by SOMDEVICES" DESCRIPTION = "Linux Kernel provided and supported by SOMDEVICES with focus on \ -i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU." +i.MX Family Reference Boards." require recipes-kernel/linux/linux-imx.inc @@ -28,4 +28,8 @@ do_preconfigure_prepend() { cp ${S}/arch/${ARCH}/configs/${DEFCONFIG} ${WORKDIR}/defconfig } +do_deploy_append() { + cp -fp ${WORKDIR}/deploy-${BPN}/${KERNEL_DEVICETREE} ${DEPLOY_DIR_IMAGE}/imx6ull-somdevices.dtb +} + COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" diff --git a/recipes-somdevices/images/somdevices-minimal.bb b/recipes-somdevices/images/somdevices-minimal.bb index a95dcc2..eca3904 100644 --- a/recipes-somdevices/images/somdevices-minimal.bb +++ b/recipes-somdevices/images/somdevices-minimal.bb @@ -45,6 +45,7 @@ CORE_IMAGE_EXTRA_INSTALL += " \ " IMAGE_FEATURES += " package-management" +IMAGE_BOOT_FILES += " imx6ull-somdevices.dtb" inherit extrausers EXTRA_USERS_PARAMS = "usermod -p '\$6\$fA/wBANidw0\$NDNi79WYCcvUYINNKcLboslF.StZj6xyY7D3m0A3Ggf7NSbGtPbWWFoklwr3rcb6VyAvL9JmqWU.NtQDc2jt7/' root"