Cleaning Cache on an SBC2440-II board under ARM Linux

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Hi,

I want to clean the cache of a SBC2440-II Board (ARM920T). In the
ARM920T TRM I found following code:

<CODE>
for seg = 0 to 7
         for index = 0 to 63
                 Rd =
                 MCR p15,0,Rd,c7,c10,2 ; Clean DCache single
                                       ; entry (using index)
                          or
                 MCR p15,0,Rd,c7,c14,2 ; Clean and Invalidate
                                       ; DCache single entry
                                       ; (using index)
         next index
next seg
</CODE>

Is there a chance to execute this code under arm-linux or is it
prohibited?
Can I clean the cache in another way?

Thanks

Site Timeline