From 872cfa20cd694fdbfa76abddd3cd00b05ad5355b Mon Sep 17 00:00:00 2001 From: Breno Matheus Lima Date: Wed, 23 Jan 2019 19:29:59 +0000 Subject: doc: imx: habv4: Add Secure Boot guide for i.MX6 and i.MX7 non-SPL targets Add HABv4 documentation for non-SPL targets covering the following topics: - How to sign an securely boot an u-boot-dtb.imx image. - How to extend the root of trust for additional boot images. - Add 3 CSF examples. - Add IVT generation script example. Reviewed-by: Ye Li Reviewed-by: Utkarsh Gupta Signed-off-by: Breno Lima --- doc/imx/habv4/script_examples/genIVT.pl | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 doc/imx/habv4/script_examples/genIVT.pl (limited to 'doc/imx/habv4/script_examples') diff --git a/doc/imx/habv4/script_examples/genIVT.pl b/doc/imx/habv4/script_examples/genIVT.pl new file mode 100644 index 00000000000..84a4fcb16f3 --- /dev/null +++ b/doc/imx/habv4/script_examples/genIVT.pl @@ -0,0 +1,12 @@ +#! /usr/bin/perl -w +use strict; +open(my $out, '>:raw', 'ivt.bin') or die "Unable to open: $!"; +print $out pack("V", 0x412000D1); # Signature +print $out pack("V", 0x80800000); # Load Address (*load_address) +print $out pack("V", 0x0); # Reserved +print $out pack("V", 0x0); # DCD pointer +print $out pack("V", 0x0); # Boot Data +print $out pack("V", 0x80EEA000); # Self Pointer (*ivt) +print $out pack("V", 0x80EEA020); # CSF Pointer (*csf) +print $out pack("V", 0x0); # Reserved +close($out); -- cgit v1.2.3