mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-17 15:38:51 +09:00
![Breno Matheus Lima](/assets/img/avatar_default.png)
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>
13 lines
486 B
Perl
13 lines
486 B
Perl
#! /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);
|