Hi Yuri and all,
As you may noticed, with help from Liu Kui, I managed to resolve the HAB_INV_ADDRESS issue.
However, my first custom board was locked (bricked) after programming to close the device. Although everything looks correct per the doc and no any event showed for command hab_status, the board cannot boot anymore after I program SEC_CONFIG[1] fuse bit.
Do you have any idea or suggestion if there is any way to recover and make the device boot again?
Furthermore, to avoid to lock or brick another board, I put on-hold my testing for other boards.
Please advise on what could be the root cause for this issue and what suggestion I should try to resolve the issue.
FYI:
I am using the 2048-bit certificate, not 4096-bit.
Followed is detailed contents in my CSF file.
Do I need to change any settings, like:
Engine = ANY ---> Engine = CAAM
#Illustrative Command Sequence File Description
[Header]
Version = 4.1
Hash Algorithm = sha256
Engine = ANY
Engine Configuration = 0
Certificate Format = X509
Signature Format = CMS
[Install SRK]
File = "../crts/SRK_1_2_3_4_table.bin"
# Index of the key location in the SRK table to be installed
Source index = 0
[Install CSFK]
# Key used to authenticate the CSF data
File = "../crts/CSF1_1_sha256_2048_65537_v3_usr_crt.pem"
[Authenticate CSF]
[Install Key]
# Key slot index used to authenticate the key to be installed
Verification index = 0
# Target key slot in HAB key store where key will be installed
Target Index = 2
# Key to install
File= "../crts/IMG1_1_sha256_2048_65537_v3_usr_crt.pem"
[Authenticate Data]
# Key slot index used to authenticate the image data
Verification index = 2
# Address Offset Length Data File Path
Blocks = 0x177ff400 0x00000000 0x0005FC00 "../u-boot_dir_ap/u-boot.imx"
#Blocks = 0x177ff400 0x00000000 0x0005FC00 "../u-boot_dir_ap/u-boot.imx", \
# 0x00910000 0x0000002c 0x00000238 "../u-boot_dir_ap/u-boot.imx"
If you find anything needed to change, please feel free to let me know.
Thanks in advance for your help and suggestion.
Best regards,
Shunnian