Enable CSU in imx6

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

Enable CSU in imx6

1,381 Views
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

Labels (3)
4 Replies

867 Views
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!
-----------------------------------------------------------------------------------------------------------------------

867 Views
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 Kudos

867 Views
art
NXP Employee
NXP Employee

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

0 Kudos

867 Views
kajalsabhani
Contributor II

Ok .

so using CSU we can provide non secure accesss .

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

0 Kudos