Secure Boot iMX8M Nano

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Secure Boot iMX8M Nano

782 Views
aleksandar_niko
Contributor III

Hello support team,

i want to enable the secure boot on iMX8M Nano. I have read the U-Boot documentation and the info from this link, howeveer, the following is unclear to me:

./print_fit_hab.sh 0x60000 evk.dtb

What is this 0x60000?

Thanks and regards,

Aleksandar Nikolic

Labels (1)
Tags (1)
0 Kudos
4 Replies

730 Views
aleksandar_niko
Contributor III

Is anyone going to answer? This is getting a little unprofessional.

0 Kudos

767 Views
Yuri
NXP Employee
NXP Employee

@aleksandar_niko 
Hello,

   fit_off is 0x60000 according to the script code:

https://github.com/Freescale/imx-mkimage/blob/master/iMX8M/print_fit_hab.sh

 

Regards,
Yuri.

0 Kudos

763 Views
aleksandar_niko
Contributor III

Yep, I know that as well, but that does not answer my question. Why is 0x60000 given as the argument, why not e.g. 0x80000? fit_off gets set to 0x60000, not the other way around.

0 Kudos

707 Views
Yuri
NXP Employee
NXP Employee

@aleksandar_niko 
Hello,

   "That is some hard code offset to calculate the uboot image's offset in flash.bin.

Customers can see below code in print_fit_hab.sh to see these hard code value. fit_off is 0x60000.

----

let uboot_sign_off=$((fit_off - 0x8000 - ivt_off + 0x3000))

----

finally, it will find uboot_sign_off be 0x5AC00, the correct offset for uboot in the flash.bin."

Regards,
Yuri.

0 Kudos