Enable CSU in imx6

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Enable CSU in imx6

1,475 次查看
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 回复数

961 次查看
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!
-----------------------------------------------------------------------------------------------------------------------

961 次查看
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 项奖励
回复

961 次查看
art
NXP Employee
NXP Employee

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

0 项奖励
回复

961 次查看
kajalsabhani
Contributor II

Ok .

so using CSU we can provide non secure accesss .

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

0 项奖励
回复