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
Is anyone going to answer? This is getting a little unprofessional.
@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.
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.
@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.