Hello PRABIN CA,
Please refer to the following check points.
1. Check SM_HP Status Register(SECMON_HPSR), please refer to LS1021 Reference Manual for details. Bits OTPMK_ZERO, OTPMK_SYNDROME and PE should be 0, otherwise there is some error in the OTPMK fuse blown by you.
2. If OTMPK fuse is correct (see Step 1), check the SCRATCHRW2 register for errors. Refer to Section for error codes.
If Error code = 0 then check the Security Monitor state(SSM_ST) in SECMON_HPSR register.
Sec Mon in Check State (0x9)
If ITS fuse = 1, then it means ISBC code has reset the board. This may be due to the following reasons:
Hash of the public key used to sign the ESBC u-boot doesn't match with the value in SRK Hash Fuse.
Or Signature verification of the image failed.
Sec Mon in Trusted State (0xd) or Non Secure State (0xb)
Check the entry point field in the ESBC header. It seems that this value should be 0x40010000 for QSPI u-boot.
3. If entry point is correct, ensure that u-boot image has been compiled with the required secure boot configuration. It is needed to define CONFIG_SECURE_BOOT in include/configs/ls1021aiot.h in u-boot source code.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------