public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] cache related query for MIPS
@ 2008-03-26  4:42 Chetan Nanda
  2008-03-26 11:01 ` Shinya Kuribayashi
  0 siblings, 1 reply; 2+ messages in thread
From: Chetan Nanda @ 2008-03-26  4:42 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] cache related query for MIPS
  2008-03-26  4:42 [U-Boot-Users] cache related query for MIPS Chetan Nanda
@ 2008-03-26 11:01 ` Shinya Kuribayashi
  0 siblings, 0 replies; 2+ messages in thread
From: Shinya Kuribayashi @ 2008-03-26 11:01 UTC (permalink / raw)
  To: u-boot

Chetan Nanda wrote:
> My question here is why cache is tried to flushed and disabled before
> jumping into start location?

As described in source code, it seems be the QNX requirement.
I don't know much about QNX, but archives probably help you.

http://search.gmane.org/?query=bootelf+dcache_disable&author=&group=gmane.comp.boot-loaders.u-boot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-26 11:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-26  4:42 [U-Boot-Users] cache related query for MIPS Chetan Nanda
2008-03-26 11:01 ` Shinya Kuribayashi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox