Enable CSU in imx6

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

Enable CSU in imx6

1,554件の閲覧回数
kajalsabhani
Contributor II

Hi all,

As per CSU_CSL registers default value ,it has secure read /write permission by default .(CSU_CSL=0x00330033)

I am not getting that even though it has secure read/write access permission then how that peripheral can be accessed from linux kernel.

is it that linux kernel is operating in secure mode?

i want to add CSU for secure and non secure access of peripherals .

so help me on how to enable CSU in imx6.

Thanks

ラベル(3)
4 返答(返信)

1,040件の閲覧回数
art
NXP Employee
NXP Employee

Q. is it that linux kernel is operating in secure mode?

A. The Linux kernel code is executed in the ARM hardware Supervisor mode, so, it has the Secure level of access.

Q. i want to add CSU for secure and non secure access of peripherals . so help me on how to enable CSU in imx6.

A. Please refer to the Chapter 3 of the i.MX6 Series Security Reference Manual document, available for download on the NXP web site (check the "Reference Manuals" section):

http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-process...


Have a great day,
Artur

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

1,040件の閲覧回数
kajalsabhani
Contributor II

As linux is in supervisor mode and has secured level of access then how i configure linux for user mode and non secure access

0 件の賞賛
返信

1,040件の閲覧回数
art
NXP Employee
NXP Employee

It is not possible to make the Linux kernel run in User mode.

0 件の賞賛
返信

1,040件の閲覧回数
kajalsabhani
Contributor II

Ok .

so using CSU we can provide non secure accesss .

for that SMC (secure monitor calling) is required . right?

0 件の賞賛
返信