iMX6UL Using CAAM Memory More Than 16 KB

cancel
Showing results for 
Search instead for 
Did you mean: 

iMX6UL Using CAAM Memory More Than 16 KB

200 Views
Contributor II

Hi All,

I am currently using an iMX6UL secure chip. According to the Reference Manual, CAAM starts at the address 0010_0000 and ends at the address 0010_7FFF. The total size is 32KB.

However, in the device tree include file "imx6ul.dtsi" following memory size is allocated to the CAAM memory:

caam_sm: caam-sm@00100000 {
compatible = "fsl,imx7d-caam-sm", "fsl,imx6q-caam-sm";
reg = <0x00100000 0x3fff>;
};

As can be seen above, the amount of size allocated is 0x3fff, which is less than 16KB.

Any idea what could be the reason to define it like above?

I wanted to use further CAAM RAM more than 16KB, however, it fails when mapping virtual memory at the 5th Page.

Linux BSP version I am using: 3.14.38

Thanks!!!

Labels (2)
0 Kudos
1 Reply

50 Views
NXP TechSupport
NXP TechSupport

Hello,

  The device tree file states about i.MX6Q compatibility.

IMX6Q CAAM  has 16 KB secure RAM.


Have a great day,
Yuri

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos