i.MX6Q PL310: Change L2 cache size in SW

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

i.MX6Q PL310: Change L2 cache size in SW

908 次查看
norishinozaki
Contributor V

Hello Champs,

Can we limit the amount of cache size used in software?

I understand we can't configure the size in PL310 by coprocessor instructions, but I'm looking for a way to do that by software, if possible.

BR,

N.S.

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

750 次查看
Yuri
NXP Employee
NXP Employee

Hello,

Please refer to i.MX6Q PL310: Change size of L2 cache

Have a great day,
Yuri

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

0 项奖励
回复

750 次查看
norishinozaki
Contributor V

Hello Yuri,

Thanks, but Artur confirmed that:

>The i.MX6Q L2 cache size of 1MByte is hardwired within the chip and cannot be changed.

i.MX6Q PL310: Change size of L2 cache

So I'm asking other ways....

BR,

N.S.

0 项奖励
回复

750 次查看
Yuri
NXP Employee
NXP Employee

Hello,

   One of possible solutions is cache line / way locking approach, but

again -  this is configurable on IP level by SOC designer. According

to Table 12-5 (PL310 L2 Cache configuration) of the i.MX6 D/Q RM,

"Lockdown by line" is supported. To get more details about it we should

use ARM CPU specs. Table 12-2 (Cortex-A9 revision) states that ARM
CPU specs of the i.MX6 D/Q is "MP004-BU-50000-r2p10-0rel0".
This document is not provided on ARM web. Nevertheless, You may

try using the following :

ARM Information Center

Regards,

Yuri.

0 项奖励
回复