Secure Boot iMX8M Nano

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Secure Boot iMX8M Nano

785 次查看
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

标签 (1)
标记 (1)
0 项奖励
4 回复数

733 次查看
aleksandar_niko
Contributor III

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

0 项奖励

770 次查看
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 项奖励

766 次查看
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 项奖励

710 次查看
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 项奖励