I am using u-boot 2016.03 on iMX6Dual (meta-freescale, branch pyro). I followed 2 documents (IMX Application trust Architecture, High assurance Boot Hab dummy) to enable secure boot and sign u-boot/kernel.
=> load mmc 1 12800000 zImage
And
=> hab_auth_img 12800000 600000
U-boot hangs here. Bellow is the log:
U-Boot 2016.03-imx_v2016.03_4.1.15_2.0.0_ga+g48ab39e06f (Dec 13 2018 - 10:18:45 +0700)
CPU: Freescale i.MX6D rev1.5 at 792MHz
CPU: Industrial temperature grade (-40C to 105C) at 43C
Reset cause: POR
Board: MX6-SabreSD
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE100 ID=0x10
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc1 is current device
Use ethernet address from eMMC d2:83:38:6d:af:37.
Net: Board Net Initialization Failed
No ethernet found.
Normal Boot
Hit any key to stop autoboot: 0
=> load mmc 1 12800000 zImage
reading zImage
6297944 bytes read in 307 ms (19.6 MiB/s)
=> hab_auth_img 12800000 600000Authenticate image from DDR location 0x12800000...
My question is "What is the possible cause?" Is there any suggestion?
Solved! Go to Solution.
Hi Yuri,
The problem is script genIVT has some fixed values (Jump location, Self Pointer, CSF pointer). I did not change these values to the correct one for my kernel. I solved the problem by changing these values. Here is a script var-genIVT of someone on GitHub that helps me do the job faster.
Thank for your help!
Hello,
Please try to get HAB log, using JTAG to read data from 0x00904000, size 0x0B80.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Yuri,
The problem is script genIVT has some fixed values (Jump location, Self Pointer, CSF pointer). I did not change these values to the correct one for my kernel. I solved the problem by changing these values. Here is a script var-genIVT of someone on GitHub that helps me do the job faster.
Thank for your help!