M4 not working on secure

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

M4 not working on secure

441 Views
raveen
Contributor II

Hello,

I am facing an issue while trying to run my M4 firmware on the secure image of the imx7s platform. The M4 firmware utilizes OCRAM along with other memory sections, and I have included the memory section details below for reference:

MEMORY

{

VECTORS (RX) : ORIGIN = 0x1FFF8000, LENGTH = 0x00000240 

TCM_L (RX) : ORIGIN = 0x1FFF8240, LENGTH = 0x00007DC0 

TCM_H (RW) : ORIGIN = 0x20000000, LENGTH = 0x00008000 

OCRAM (RW) : ORIGIN = 0x20201000, LENGTH = 0x0003F000 

DDR_CODE (RX) : ORIGIN = 0x80000000, LENGTH = 0x00080000

DDR_DATA (RW) : ORIGIN = 0x80080000, LENGTH = 0x00080000 

DDR_META (R ) : ORIGIN = 0x9ff00000, LENGTH = 0x00100000 

}

and also M4 firmware using OCRAM from 0x00900000 to 0x00940000.

For your information, the M4 core is working fine in non-secure image.

Regards,

Raveen

Labels (1)
0 Kudos
1 Reply

395 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @raveen ,

 
I hope you are doing well.
 
Cortex-A7 maps OCRAM_128KB at 0090_0000 - 0091_FFFF in i.MX7S
 
OCRAM_128KB is used by HAB persistent memory (to store events, public keys and HAB process-related information.)
 
Please refer to 3 HAB persistent data in HABv4 RVT Guidelines and Recommendations
 
Thanks & Regards,
Sanket Parekh
0 Kudos