How to access the cache memory of RaspberryPI board?

Asked by Shiny Fathima

I would like to enable or disable portion of ARM L2 's cache memory of raspberry PI. I am working on performance evaluation of raspberryPI by locking the cache memory of it. Please suggest me some ideas on this.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gcc-defaults Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Why not just using Google?

According to http://www.raspberrypi.org/phpBB3/viewtopic.php?f=72&t=28379

Add the following line in /boot/config.txt
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.

(I do not have a Raspberry board, never tried that myself, no warranty)

Can you help with this problem?

Provide an answer of your own, or ask Shiny Fathima for more information if necessary.

To post a message you must log in.