SHINYFATHIMA
Posts: 5
Joined: Fri Jan 04, 2013 6:13 am

Enable/Disable Cache

Sat Jan 05, 2013 9:09 am

Hi,

I would like to enable or disable portion of ARM L2 's cache memory of raspberry PI. Please help me on this.

tufty
Posts: 1456
Joined: Sun Sep 11, 2011 2:32 pm

Re: Enable/Disable Cache

Sat Jan 05, 2013 4:11 pm

http://infocenter.arm.com/help/index.js ... index.html should have the information you need.

User avatar
Lob0426
Posts: 2198
Joined: Fri Aug 05, 2011 4:30 pm
Location: Susanville CA.
Contact: Website

Re: Enable/Disable Cache

Sat Jan 05, 2013 6:02 pm

Add the following line in /boot/config.txt

Code: Select all

enable_l2cache=0
I believe that will disable your L2 cache for you. If not try =1.

enable_l2cache: enable arm access to GPU's L2 cache. Needs corresponding L2 enabled kernel. Default 0.
512MB version 2.0 as WordPress Server
Motorola Lapdock with Pi2B
Modded Rev 1.0 with pin headers at USB

http://rich1.dyndns.tv/
(RS)Allied ships old stock to reward its Customers for long wait!

SHINYFATHIMA
Posts: 5
Joined: Fri Jan 04, 2013 6:13 am

Re: Enable/Disable Cache

Sun Jan 06, 2013 4:01 am

Thank you for your answer. If i add the enable_L2Cache in my config file how do i make sure that my cache has either enabled or disabled? Could you please help me with the steps to get the disabled kernel for my board. Thanks in Advance......

Return to “Bare metal, Assembly language”