Cannot boot using BEE encrypted flash image with XIP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot boot using BEE encrypted flash image with XIP

1,300 Views
JesseCronce
Contributor I
I am having trouble getting an encrypted flash image to boot on an iMX RT 1021 processor using XIP. I am trying to get firmware upgrade to work, so I copy the image into memory, erase the XIP flash (0x60000000 starting address) and write the image from memory to the flash using RAMFUNC functions. If I perform this operation using a non-encrypted image, it works perfectly. The encrypted image however is not working. My fuse settings are all the settings set by using the Burn DEK data button, except for Cfg0 which is 0x1, enable encrypted XIP. I did a binary diff between the image that I can copy to flash and it works, and the image that is encrypted, and what I get is a block of differences from 0x400-0x600 for what I assume are tables to get software to handle the encrypted image, and then everything starting at 0x2000 to the end of the file is changed. Additionally, I tried both AES modes (by setting the encryption type between 0,1 in the command to encrypt the file). How do I resolve this issue? Thanks!
0 Kudos
Reply
2 Replies

1,252 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello Jesse,

In the following post is discussed something similar:

iMXRT1021 flexspiNOR unable to use HAB Encrypted X... - NXP Community

Best Regards,

Alexis Andalon

0 Kudos
Reply

1,296 Views
JesseCronce
Contributor I

--wanted to add screenshots of how I'm trying to accomplish this--

0 Kudos
Reply