kernel-fitimage: include overlays with external dtb
PATCH 1/1 kernel-fitimage: include overlays with external dtb
As done with the default dtb provider, create fit image sections for normal device-tree files and device-tree overlays (.dtbo).
Signed-off-by Ricardo Salveti <[email protected]>
--- meta/classes/kernel-fitimage.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/kernel-fitimage.bbclass +1 -1
@@ -406,7 +406,7 @@ fitimage_assemble() { if [ -n "${EXTERNAL_KERNEL_DEVICETREE}" ]; then dtbcount=1 - for DTBFILE in ${EXTERNAL_KERNEL_DEVICETREE}/*.dtb; do + for DTBFILE in ${EXTERNAL_KERNEL_DEVICETREE}/*.dtb*; do DTB=`basename ${DTBFILE}` DTB=$(echo "${DTB}" | tr '/' '_') DTBS="${DTBS} ${DTB}"
Signature · 1 line
2.22.0
Hi Ricardo,
Quoted 11 lines
-----Original Message-----
From: Ricardo Salveti <[email protected]>
Sent: Tuesday, July 16, 2019 1:07 PM
To: [email protected]
Cc: Manjukumar Harthikote Matha <[email protected]>
Subject: [PATCH] kernel-fitimage: include overlays with external dtbAs done with the default dtb provider, create fit image sections for normal device-tree files and device-tree overlays (.dtbo).
Signed-off-by Ricardo Salveti <[email protected]>
Thanks for the patch.
Acked-by Manjukumar Matha <[email protected]>
Quoted 20 lines
--- meta/classes/kernel-fitimage.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/classes/kernel- renamed from meta/classes/kernel-fitimage.bbclass +0
-0fitimage.bbclass
indexb51882dce4..17d4d85658100644meta/classes/kernel-fitimage.bbclass +1
-2@@ -406,7 +406,7 @@ fitimage_assemble() { if [ -n "${EXTERNAL_KERNEL_DEVICETREE}" ]; then dtbcount=1 - for DTBFILE in ${EXTERNAL_KERNEL_DEVICETREE}/*.dtb; do + for DTBFILE in ${EXTERNAL_KERNEL_DEVICETREE}/*.dtb*; do DTB=`basename ${DTBFILE}` DTB=$(echo "${DTB}" | tr '/' '_') DTBS="${DTBS} ${DTB}" --2.22.0