i.MX6 Linux usage of OCRAM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MX6 Linux usage of OCRAM

ソリューションへジャンプ
4,308件の閲覧回数
vsiles
Senior Contributor I

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.

ラベル(3)
タグ(3)
1 解決策
3,294件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Vincent

for memory usage please refer to Chapter 3 Machine Specific Layer (MSL)

attached Linux Manual. Yes Linux uses the OCRAM, i.MX6Q OCRAM is 256 KB,

"alias" means the same memory mapped on other address.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
3,295件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Vincent

for memory usage please refer to Chapter 3 Machine Specific Layer (MSL)

attached Linux Manual. Yes Linux uses the OCRAM, i.MX6Q OCRAM is 256 KB,

"alias" means the same memory mapped on other address.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
3,294件の閲覧回数
vsiles
Senior Contributor I

Hi !

Thank you for the document, it gave me hints on which file to parse. I'll try to see how much OCRAM linux is using, so I can reserve some for secure usage.

0 件の賞賛
返信