Hello Bryce Ferguson,
Since you are in the testing phase, I suggest you work on bank 0 and flash secure images on bank4.
1. For running secure boot, you need to blow OTPMK and SRK, for these register address you could refer to T1040 Reference Manual.
OTPMKR(0-7) Address : E_8000h base + 21Ch offset + (4d × i), where i=0d to 7d
SRKHRn Address: E_8000h base + 23Ch offset + (4d × i), where i=0d to 7d
You could write these registers from bank 0 u-boot, CCSR begins at 0xFFE00000.
SRK hash value should be same as the hash of the key pair being used to sign the ESBC u-boot.
OTPMK key could be generated by generated by gen_otpmk utility in cst package.
2. You need to flash all the signed images at locations as described in the address map in SDK 1.7 User Manual.
Please flash these image in alternate bank, and also flash uImage, dts, rootfs, CSF header, bootscript, because the secure u-boot can be stopped to let you enter commands.
For signing images, probably you know the process, you could refer to "Signing the images using same key pair" section in Linux SDK 1.7 document.
3. Switch to alternate bank from bank0, the secure boot would execute.
You could refer to the section "Running secure boot (Chain of Trust)" in SDK User Manual.
Previous I created a document about "Secure boot on Non-PBL Platform" Secure boot for Non-PBL Platform, you also could get the main process of secure boot from it.
If further assistance is needed, please feel free to let me know.
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------