aboutsummaryrefslogtreecommitdiff
path: root/tools/.gitignore
diff options
context:
space:
mode:
authorRoman Kopytin <Roman.Kopytin@kaspersky.com>2023-03-08 01:13:41 +0000
committerSimon Glass <sjg@chromium.org>2023-03-14 16:08:52 -0600
commit30238e99619c0d58fd5d10eb4fd52e05561f4fd4 (patch)
treef7104059080ecf57dc002a003edf4bde6ac5e8a6 /tools/.gitignore
parent5b34efe865887060e626fe4e78859dab591fc24a (diff)
downloadu-boot-30238e99619c0d58fd5d10eb4fd52e05561f4fd4.zip
u-boot-30238e99619c0d58fd5d10eb4fd52e05561f4fd4.tar.gz
u-boot-30238e99619c0d58fd5d10eb4fd52e05561f4fd4.tar.bz2
tools: add fdt_add_pubkey
Having to use the -K option to mkimage to populate U-Boot's .dtb with the public key while signing the kernel FIT image is often a little awkward. In particular, when using a meta-build system such as bitbake/Yocto, having the tasks of the kernel and U-Boot recipes intertwined, modifying deployed artifacts and rebuilding U-Boot with an updated .dtb is quite cumbersome. Also, in some scenarios one may wish to build U-Boot complete with the public key(s) embedded in the .dtb without the corresponding private keys being present on the same build host. So this adds a simple tool that allows one to disentangle the kernel and U-Boot builds, by simply copy-pasting just enough of the mkimage code to allow one to add a public key to a .dtb. When using mkimage, some of the information is taken from the .its used to build the kernel (algorithm and key name), so that of course needs to be supplied on the command line. Signed-off-by: Roman Kopytin <Roman.Kopytin@kaspersky.com> Signed-off-by: Ivan Mikhaylov <fr0st61te@gmail.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Cc: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Diffstat (limited to 'tools/.gitignore')
-rw-r--r--tools/.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/.gitignore b/tools/.gitignore
index 788ea26..cda3ea6 100644
--- a/tools/.gitignore
+++ b/tools/.gitignore
@@ -6,6 +6,7 @@
/dumpimage
/easylogo/easylogo
/envcrc
+/fdt_add_pubkey
/fdtgrep
/file2include
/fit_check_sign