[U-Boot-Users] cache related query for MIPS

Chetan Nanda chetannanda at gmail.com
Wed Mar 26 05:42:24 CET 2008


Hi All,
I am using u-boot for booting Nucleus on our MIPS 4KC processor.

In u-boot code, when we give 'bootelf' command, it load all sections
one by one and then do flus_cache for that section. (though
flush_cache() function is empty).
And in the last before jumping to start location it disable the caches
using dcache_disable().

My question here is why cache is tried to flushed and disabled before
jumping into start location?
And what if new OS do not touches the cache configuration at all?

thanks,
Chetan Nanda




More information about the U-Boot mailing list