iMX6UL Using CAAM Memory More Than 16 KB

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

iMX6UL Using CAAM Memory More Than 16 KB

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

标签 (2)
标记 (3)
0 项奖励
回复
1 回复

708 次查看
Yuri
NXP Employee
NXP Employee

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 项奖励
回复