diff options
author | Breno Matheus Lima <breno.lima@nxp.com> | 2019-01-23 19:29:59 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-02-15 12:46:45 +0100 |
commit | 872cfa20cd694fdbfa76abddd3cd00b05ad5355b (patch) | |
tree | 9d5bed1cfab8ce372a76561364d58de05cd91c29 /doc/imx/habv4/script_examples/genIVT.pl | |
parent | cbc4b0418cddb577002305112399f0d869087c88 (diff) |
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 <ye.li@nxp.com>
Reviewed-by: Utkarsh Gupta <utkarsh.gupta@nxp.com>
Signed-off-by: Breno Lima <breno.lima@nxp.com>
Diffstat (limited to 'doc/imx/habv4/script_examples/genIVT.pl')
-rw-r--r-- | doc/imx/habv4/script_examples/genIVT.pl | 12 |
1 files changed, 12 insertions, 0 deletions
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); |