* [Buildroot] [PATCH 1/1] package/uboot-tools: install host fdt_add_pubkey with FIT signature support
@ 2026-11-26 11:39 Fiona Klute via buildroot
2026-11-26 22:21 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 3+ messages in thread
From: Fiona Klute via buildroot @ 2026-11-26 11:39 UTC (permalink / raw)
To: buildroot; +Cc: Fiona Klute (othermo GmbH)
From: "Fiona Klute (othermo GmbH)" <fiona.klute@gmx.de>
fdt_add_pubkey is a tool to add public keys to the U-Boot control DTB
as valid signers for FIT sigantures, unlike mkimage with -K/--key-dest
it does not require access to the matching private keys. It was
already built if BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT=y,
but not installed. Rename HOST_UBOOT_TOOLS_INSTALL_FIT_CHECK_SIGN to
HOST_UBOOT_TOOLS_INSTALL_FIT_SIGN_TOOLS to make the slightly expanded
meaning clear.
Signed-off-by: Fiona Klute (othermo GmbH) <fiona.klute@gmx.de>
---
package/uboot-tools/uboot-tools.mk | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/package/uboot-tools/uboot-tools.mk b/package/uboot-tools/uboot-tools.mk
index 72b387c41c..e161ee2131 100644
--- a/package/uboot-tools/uboot-tools.mk
+++ b/package/uboot-tools/uboot-tools.mk
@@ -152,8 +152,9 @@ endif
ifeq ($(BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),y)
HOST_UBOOT_TOOLS_MAKE_OPTS += CONFIG_TOOLS_LIBCRYPTO=y CONFIG_FIT_SIGNATURE=y
HOST_UBOOT_TOOLS_DEPENDENCIES += host-openssl
-define HOST_UBOOT_TOOLS_INSTALL_FIT_CHECK_SIGN
+define HOST_UBOOT_TOOLS_INSTALL_FIT_SIGN_TOOLS
$(INSTALL) -m 0755 -D $(@D)/tools/fit_check_sign $(HOST_DIR)/bin/fit_check_sign
+ $(INSTALL) -m 0755 -D $(@D)/tools/fdt_add_pubkey $(HOST_DIR)/bin/fdt_add_pubkey
endef
endif
@@ -240,7 +241,7 @@ define HOST_UBOOT_TOOLS_INSTALL_CMDS
$(INSTALL) -m 0755 -D $(@D)/tools/mkeficapsule $(HOST_DIR)/bin/mkeficapsule
$(INSTALL) -m 0755 -D $(@D)/tools/mkenvimage $(HOST_DIR)/bin/mkenvimage
$(INSTALL) -m 0755 -D $(@D)/tools/dumpimage $(HOST_DIR)/bin/dumpimage
- $(HOST_UBOOT_TOOLS_INSTALL_FIT_CHECK_SIGN)
+ $(HOST_UBOOT_TOOLS_INSTALL_FIT_SIGN_TOOLS)
$(INSTALL) -m 0755 -D $(@D)/tools/env/fw_printenv $(HOST_DIR)/bin/fw_printenv
ln -sf fw_printenv $(HOST_DIR)/bin/fw_setenv
$(HOST_UBOOT_TOOLS_INSTALL_ENVIMAGE)
--
2.55.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/uboot-tools: install host fdt_add_pubkey with FIT signature support
2026-11-26 11:39 [Buildroot] [PATCH 1/1] package/uboot-tools: install host fdt_add_pubkey with FIT signature support Fiona Klute via buildroot
@ 2026-11-26 22:21 ` Thomas Petazzoni via buildroot
2026-11-26 22:22 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-11-26 22:21 UTC (permalink / raw)
To: Fiona Klute; +Cc: buildroot
On Thu, Nov 26, 2026 at 12:39:25PM +0100, Fiona Klute via buildroot wrote:
> From: "Fiona Klute (othermo GmbH)" <fiona.klute@gmx.de>
>
> fdt_add_pubkey is a tool to add public keys to the U-Boot control DTB
> as valid signers for FIT sigantures, unlike mkimage with -K/--key-dest
> it does not require access to the matching private keys. It was
> already built if BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT=y,
> but not installed. Rename HOST_UBOOT_TOOLS_INSTALL_FIT_CHECK_SIGN to
> HOST_UBOOT_TOOLS_INSTALL_FIT_SIGN_TOOLS to make the slightly expanded
> meaning clear.
>
> Signed-off-by: Fiona Klute (othermo GmbH) <fiona.klute@gmx.de>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/uboot-tools: install host fdt_add_pubkey with FIT signature support
2026-11-26 22:21 ` Thomas Petazzoni via buildroot
@ 2026-11-26 22:22 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-11-26 22:22 UTC (permalink / raw)
To: Fiona Klute; +Cc: buildroot
On Thu, Nov 26, 2026 at 11:21:50PM +0100, Thomas Petazzoni wrote:
> On Thu, Nov 26, 2026 at 12:39:25PM +0100, Fiona Klute via buildroot wrote:
> > From: "Fiona Klute (othermo GmbH)" <fiona.klute@gmx.de>
> >
> > fdt_add_pubkey is a tool to add public keys to the U-Boot control DTB
> > as valid signers for FIT sigantures, unlike mkimage with -K/--key-dest
> > it does not require access to the matching private keys. It was
> > already built if BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT=y,
> > but not installed. Rename HOST_UBOOT_TOOLS_INSTALL_FIT_CHECK_SIGN to
> > HOST_UBOOT_TOOLS_INSTALL_FIT_SIGN_TOOLS to make the slightly expanded
> > meaning clear.
> >
> > Signed-off-by: Fiona Klute (othermo GmbH) <fiona.klute@gmx.de>
>
> Applied to master, thanks!
Sorry: applied to next.
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-11-26 22:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 11:39 [Buildroot] [PATCH 1/1] package/uboot-tools: install host fdt_add_pubkey with FIT signature support Fiona Klute via buildroot
2026-11-26 22:21 ` Thomas Petazzoni via buildroot
2026-11-26 22:22 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox