Secure Boot iMX8M Nano

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Secure Boot iMX8M Nano

1,083件の閲覧回数
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 返答(返信)

1,031件の閲覧回数
aleksandar_niko
Contributor III

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

0 件の賞賛
返信

1,068件の閲覧回数
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 件の賞賛
返信

1,064件の閲覧回数
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 件の賞賛
返信

1,008件の閲覧回数
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 件の賞賛
返信