i.MX6Q PL310: Change L2 cache size in SW

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

i.MX6Q PL310: Change L2 cache size in SW

907 Views
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.

Labels (1)
0 Kudos
Reply
3 Replies

749 Views
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 Kudos
Reply

749 Views
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 Kudos
Reply

749 Views
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 Kudos
Reply