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

English Edit question
Ubuntu gcc-defaults Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :

Why not just using Google?

According to

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