mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] kernel-fit: Fix dtb file inclusion
@ 2021-08-19  7:27 Robin van der Gracht
  2021-09-03 14:25 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Robin van der Gracht @ 2021-08-19  7:27 UTC (permalink / raw)
  To: ptxdist; +Cc: Robin van der Gracht, m.olbrich, bst

KERNEL_DTB is not set. This results in a FIT image without device tree
inclusion.

Signed-off-by: Robin van der Gracht <robin@protonic.nl>
---
 rules/kernel-fit.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/kernel-fit.make b/rules/kernel-fit.make
index ffead846b..fd1ffe707 100644
--- a/rules/kernel-fit.make
+++ b/rules/kernel-fit.make
@@ -28,7 +28,7 @@ KERNEL_FIT_KERNEL		 = $(KERNEL_IMAGE_PATH_y)
 ifdef PTXCONF_KERNEL_FIT_INITRAMFS
 KERNEL_FIT_INITRAMFS		:= $(IMAGEDIR)/root.cpio
 endif
-KERNEL_FIT_DTB			 = $(KERNEL_DTB)
+KERNEL_FIT_DTB			 = $(foreach dtb, $(KERNEL_DTB_FILES), $(IMAGEDIR)/$(dtb))
 
 # ----------------------------------------------------------------------------
 # Target-Install
-- 
2.30.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


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

* Re: [ptxdist] [PATCH] kernel-fit: Fix dtb file inclusion
  2021-08-19  7:27 [ptxdist] [PATCH] kernel-fit: Fix dtb file inclusion Robin van der Gracht
@ 2021-09-03 14:25 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2021-09-03 14:25 UTC (permalink / raw)
  To: Robin van der Gracht; +Cc: ptxdist, bst

On Thu, Aug 19, 2021 at 09:27:46AM +0200, Robin van der Gracht wrote:
> KERNEL_DTB is not set. This results in a FIT image without device tree
> inclusion.
> 
> Signed-off-by: Robin van der Gracht <robin@protonic.nl>
> ---
>  rules/kernel-fit.make | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/rules/kernel-fit.make b/rules/kernel-fit.make
> index ffead846b..fd1ffe707 100644
> --- a/rules/kernel-fit.make
> +++ b/rules/kernel-fit.make
> @@ -28,7 +28,7 @@ KERNEL_FIT_KERNEL		 = $(KERNEL_IMAGE_PATH_y)
>  ifdef PTXCONF_KERNEL_FIT_INITRAMFS
>  KERNEL_FIT_INITRAMFS		:= $(IMAGEDIR)/root.cpio
>  endif
> -KERNEL_FIT_DTB			 = $(KERNEL_DTB)
> +KERNEL_FIT_DTB			 = $(foreach dtb, $(KERNEL_DTB_FILES), $(IMAGEDIR)/$(dtb))

$(addprefix $(IMAGEDIR)/,$(KERNEL_DTB_FILES))

Michael

>  
>  # ----------------------------------------------------------------------------
>  # Target-Install
> -- 
> 2.30.2
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


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

end of thread, other threads:[~2021-09-03 14:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-19  7:27 [ptxdist] [PATCH] kernel-fit: Fix dtb file inclusion Robin van der Gracht
2021-09-03 14:25 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox