I am referencing to the document AN12079, How to use i.MXRT Security Boot, refer to section 3.3 Encrypt XIP using elfosb. I notice that there isn't any guide to burns the KEYS to SW-GP2 and the full bit selection for PRDB options. Can you guide me on this?
Based on the documentation, do my thought on the flow of elfosb tool to do the encryption as below is correct?
elfosb tool read the prgram_xxx_hyperflash.bd file -> tool will read the keys from OTPMK or SW-GP2 accordingly to PRDB options (assume option selected to use key in SW-GP2) -> do the encryption on the image using the SW-GP2 key to generate boot_image.sb
Appreciate if you could help.