All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kernel-fitimage: include overlays with external dtb
@ 2019-07-16 20:06 Ricardo Salveti
  2019-07-16 20:40 ` Manjukumar Harthikote Matha
  0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Salveti @ 2019-07-16 20:06 UTC (permalink / raw)
  To: openembedded-core

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 <ricardo@foundries.io>
---
 meta/classes/kernel-fitimage.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index b51882dce4..17d4d85658 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] kernel-fitimage: include overlays with external dtb
  2019-07-16 20:06 [PATCH] kernel-fitimage: include overlays with external dtb Ricardo Salveti
@ 2019-07-16 20:40 ` Manjukumar Harthikote Matha
  0 siblings, 0 replies; 2+ messages in thread
From: Manjukumar Harthikote Matha @ 2019-07-16 20:40 UTC (permalink / raw)
  To: Ricardo Salveti, openembedded-core

Hi Ricardo,

> -----Original Message-----
> From: Ricardo Salveti <ricardo@foundries.io>
> Sent: Tuesday, July 16, 2019 1:07 PM
> To: openembedded-core@lists.openembedded.org
> Cc: Manjukumar Harthikote Matha <MANJUKUM@xilinx.com>
> Subject: [PATCH] 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 <ricardo@foundries.io>

Thanks for the patch.

Acked-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>

> ---
>  meta/classes/kernel-fitimage.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-
> fitimage.bbclass
> index b51882dce4..17d4d85658 100644
> --- a/meta/classes/kernel-fitimage.bbclass
> +++ b/meta/classes/kernel-fitimage.bbclass
> @@ -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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-17 17:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-16 20:06 [PATCH] kernel-fitimage: include overlays with external dtb Ricardo Salveti
2019-07-16 20:40 ` Manjukumar Harthikote Matha

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.