AnsweredAssumed Answered

iMX6UL Using CAAM Memory More Than 16 KB

Question asked by radikedalpatadu on Apr 9, 2019
Latest reply on Apr 10, 2019 by Yuri Muhin

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