Hello,
on imx8M Mini I can read at
that I need to change the genIVT.pl content from the sample file that I can find :
This works , but what is the
print $out pack("V", 0x412000D1); # Signature
what is that address and what should I put there if I have more than one file to check from U-boot with the HAB APIs ?
I could find reference for the other addresses so I know how to change them but not for this one.
thank you
Antonio Santagiuliana
Solved! Go to Solution.
Hello,
After looking for examples and information about that field, it always remains the same; looking deeper into this in some old script they called it "IVT Header" and shows the same value as the "signature".
open(my $out, '>:raw', 'ivt.bin') or die "Unable to open: $!";
print $out pack("V", 0x412000D1); # IVT Header
print $out pack("V", 0x10801000); # Jump Location
So in conclusion, this field remains the same and the jump location is the load address of the image.
Hope it helps!
BR,
Ivan.
yes, but how to calculate this address :
print $out pack("V", 0x412000D1); # Signature
?
thank you
Hello,
After looking for examples and information about that field, it always remains the same; looking deeper into this in some old script they called it "IVT Header" and shows the same value as the "signature".
open(my $out, '>:raw', 'ivt.bin') or die "Unable to open: $!";
print $out pack("V", 0x412000D1); # IVT Header
print $out pack("V", 0x10801000); # Jump Location
So in conclusion, this field remains the same and the jump location is the load address of the image.
Hope it helps!
BR,
Ivan.
Hello,
The load address is the image load address, as mentioned in the following thread where a diagram is shown:
https://community.nxp.com/t5/i-MX-Processors/hab-auth-img-problem/m-p/1032545
Hope it helps!
BR,
Ivan.