summaryrefslogtreecommitdiffstats
path: root/doc/uImage.FIT
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-06-13 15:10:01 -0700
committerTom Rini <trini@ti.com>2013-06-26 10:18:56 -0400
commit56518e71041fafdfd7af3a24f263b0a22efbeda9 (patch)
tree03327d88f29d505539dc1fd5a68f88bf16163d28 /doc/uImage.FIT
parent3e569a6b1eb7ef0c8144f8c243f9e33c834bf003 (diff)
downloadtalos-obmc-uboot-56518e71041fafdfd7af3a24f263b0a22efbeda9.tar.gz
talos-obmc-uboot-56518e71041fafdfd7af3a24f263b0a22efbeda9.zip
image: Support signing of images
Add support for signing images using a new signature node. The process is handled by fdt_add_verification_data() which now takes parameters to provide the keys and related information. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/uImage.FIT')
-rw-r--r--doc/uImage.FIT/sign-images.its42
1 files changed, 42 insertions, 0 deletions
diff --git a/doc/uImage.FIT/sign-images.its b/doc/uImage.FIT/sign-images.its
new file mode 100644
index 0000000000..f69326a39b
--- /dev/null
+++ b/doc/uImage.FIT/sign-images.its
@@ -0,0 +1,42 @@
+/dts-v1/;
+
+/ {
+ description = "Chrome OS kernel image with one or more FDT blobs";
+ #address-cells = <1>;
+
+ images {
+ kernel@1 {
+ data = /incbin/("test-kernel.bin");
+ type = "kernel_noload";
+ arch = "sandbox";
+ os = "linux";
+ compression = "none";
+ load = <0x4>;
+ entry = <0x8>;
+ kernel-version = <1>;
+ signature@1 {
+ algo = "sha1,rsa2048";
+ key-name-hint = "dev";
+ };
+ };
+ fdt@1 {
+ description = "snow";
+ data = /incbin/("sandbox-kernel.dtb");
+ type = "flat_dt";
+ arch = "sandbox";
+ compression = "none";
+ fdt-version = <1>;
+ signature@1 {
+ algo = "sha1,rsa2048";
+ key-name-hint = "dev";
+ };
+ };
+ };
+ configurations {
+ default = "conf@1";
+ conf@1 {
+ kernel = "kernel@1";
+ fdt = "fdt@1";
+ };
+ };
+};
OpenPOWER on IntegriCloud