This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM6421: FIT verification in secure boot

Part Number: AM6421
Other Parts Discussed in Thread: TMDS64EVM

Hello support team,

I am using SDK version - ti-processor-sdk-linux-rt-am64xx-evm-11.01.05.03 and board - TMDS64EVM. I am working on implementing FIT signing (ultimately complete secure boot). I have followed these steps to try it out:

  1. Generate fitImage using signature node in the fitImage.its (I can verify that it is signed by looking at the sign value in fitImage)
  2. Inject the key into u-boot.dtb after "make u-boot" (Can be verified by signature node/key-name-hint with fdtdump u-boot.dtb)
  3. Replace these 2 files (u-boot.img and fitImage) in the default sd card wic image (from PROCESSOR-SDK-LINUX-AM64X Software development kit (SDK) | TI.com) inside boot.
  4. Try booting on the evm. 

I tried 2 cases:

  1. Inject the same key and sign fitImage with the same.
  2. Using different keys.

In both the cases the kernel is being booted (even in the 2nd case which it should NOT). And I do not observe any logs related to "FIT image", "Signature verification" that help me understand even if the verification taking place. Help me if there is any step missing. Should I copy u-boot.dtb in boot? Should I re-run make u-boot after injecting key into .dtb?

 

Thanks and regards