This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Accessing L2 cache from ARM335x - linux

Hi ,

Am currently porting my linux c++ project  into ARM - linux processor.

Timing of my linux project  was 1ms in Linux (kernel:3.13.0-32-generic) and timing for the same in ARM linux is 15ms !!

I understand that due to MIPS difference the executio time differs :

ARM cortex A8 : 2000 MIPS at 1.0GHz (Dedicated processor)

Intel i5 : 83,000 MIPS at 3.3Ghz

My questions are : 

1) how to utilize the available 256KB L2 cache efficiently ?

2) A memorymap file similar to DSP is available for ARM ? How MSMCSRAM and DDR3 access is done in code ?   

I could not find any example program for the same ?


ARM cortex Linux kernel : kernel:3.4.40-armv7l

compiler : arm-linux-gnueabihf-g++-4.8

Thank you