[U-Boot-Users] disabling d-cache in 'bootelf' for QNX

Rafal Jaworowski raj at semihalf.com
Sat Jan 5 23:18:10 CET 2008


Stefan Roese wrote:
>> Yeah, after a second thought I tend to agree. Maybe the way to go is doing
>> data cache flush from within dcache_disable() properly i.e. bring it in for
>> arch variations that don't do it currently like 85xx... Actually to confirm
>> my observations I tested a working patch that flushes d-cache at
>> cache_disable() just like 86xx and it works for me, this is: my problems
>> disappear. Do you think this is a better option?
> 
> Yes, I think this is the way to go. Please provide a patch and send it to the 
> 85xx maintainer. Best would be if you could check the other ARCH's (at least 
> PPC) for this dcache_disable() behaviour too.
> 

I checked, and only 7xx/74xx, 86xx and 4xx do it properly. For all other PPC
variants cache_disable() does not flush d-cache before disabling it... So the
problem is quite widespread. I'll try to come up with something generic, but
am not sure if it'll fit every other variant.

kind regards,
Rafal




More information about the U-Boot mailing list