how to map cache memory as fast heap

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

how to map cache memory as fast heap

191 Views
fbre
Contributor III

Hi,

I have special algorithm code which is optimized to run many times faster on fast RAM.

Is it possible to map parts of the L1 oder L2 cache of the i.MX8mm SoC to special memory addresses for using it as fast heap memory?

Such things are possible e.g. with TI SysBIOS where you can define parts of the cache memory as Fast RAM with special addresses. Then firmware can consider that for putting code or variables there which much speeds up algorithms.

I don't know if the i.MX8mm provides that in general, and I don't know how to configure that on building the embedded Linux.

Thanx in advance

fbre

0 Kudos
1 Reply

169 Views
Alejandro_Salas
NXP TechSupport
NXP TechSupport

Hello @fbre , 

We have not documentation about TI SysBIOS, but you can look in the ARM documentation for those functions of L1 and L2 Cache, maybe you can find more information there.

 

Best regards!

0 Kudos