Hello,
Below , you find the answer to your question :

 *   Is the address supposed to point to the base PL310 address?  Yes , you 
have to provide the physical address of PL310.
 *   Why do you call this operation if the target status is unknown?

ð  After target creation and smp initialization, this operation need to be done 
only once.

ð  By doing it with target in unknow state, It is not performed several time,  
if operation is done several time, only 1st call is taken into account.

 *   What does this operation do when called?

ð  This operation is initializing the l2 cache handler with external cache 
PL310.

(without this initialization cache l2 is not supported)

ð  The number of way is provided as parameter, auto detection is not 
implemented yet.

ð  The effect of this call is seen later on :

-1- while reading phys memory through dap apsel 1: a flush of the cache L1 from 
the cortex A9s and then a flush of unified cache L2 will be done. This will 
allow to read a consistent physical memory.

-2- cortex_a8 cache_info : shows the cache L1 and L2 info
Best Regards
Michel JAOUEN
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to