public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] AM335x: enabling datacache in SPL slows down system?
@ 2013-06-20  8:05 Bas van den Berg
  2013-06-20 18:51 ` Jeroen Hofstee
  2013-06-21  5:33 ` Wolfgang Denk
  0 siblings, 2 replies; 7+ messages in thread
From: Bas van den Berg @ 2013-06-20  8:05 UTC (permalink / raw)
  To: u-boot

I'm trying to optimize the boottime for an AM335x based board. Currently
we're loading the kernel from SPL directly (falcon mode). Loading the kernel
from flash to ram takes roughly 3 seconds.
When doing this from U-boot itself with 'nand read .., it only takes 1.8 seconds.
It seems that U-boot has data_cache enabled, while SPL did not.

When enabling the data cache with dcache_enable(), loading takes 3.5 seconds,
so even slower! The enabling itself does not take a significant amount of time.

Anyone have any idea why enabling the data cache slows SPL down?
Or does U-boot do anything else that I'm missing?

Bas

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

end of thread, other threads:[~2013-06-24 18:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-20  8:05 [U-Boot] AM335x: enabling datacache in SPL slows down system? Bas van den Berg
2013-06-20 18:51 ` Jeroen Hofstee
2013-06-21  5:33 ` Wolfgang Denk
2013-06-21 18:46   ` Jeroen Hofstee
2013-06-21 18:56     ` Tom Rini
2013-06-24  8:01       ` Bas van den Berg
2013-06-24 18:17         ` Jeroen Hofstee

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