AnsweredAssumed Answered

i.MX6 Linux usage of OCRAM

Question asked by Vincent Siles on Jan 5, 2017
Latest reply on Jan 6, 2017 by Vincent Siles

Hi !

We are running a secure OS alongside Linux on some different flavors of i.MX6 boards, and we need to use the OCRAM from the Secure Side. I want to protect the code/data we put on the OCRAM using the provided OCRAM_TZASC. But I am not 100% sure about some behavior of Linux:

* Is Linux using the OCRAM at all ? (maybe for some low power/ suspend features ?)

* If Linux is using the OCRAM, where can I find this in the code, so I can survey how much memory is needed, and I can put our secure information in a different location, so we don't fight over memory

* Is the total amount of OCRAM is 256 Kb ? I'm not sure about the "OCRAM aliased" entry in the memory table.

 

For your information, we are using 2 flavors of Linux:

* one from NXP: git://git.freescale.com/imx/linux-2.6-imx.git

* one from Boundary Devices (for our sabre lite boards): git://github.com/boundarydevices/linux-imx6.git

Best,

V.

Outcomes