public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jeroen Hofstee <jeroen@myspectrum.nl>
To: u-boot@lists.denx.de
Subject: [U-Boot] AM335x: enabling datacache in SPL slows down system?
Date: Mon, 24 Jun 2013 20:17:38 +0200	[thread overview]
Message-ID: <51C88D42.4060801@myspectrum.nl> (raw)
In-Reply-To: <20130624080148.f723f859@mail.altenpts.nl>

Hello Bas,

On 06/24/2013 10:01 AM, Bas van den Berg wrote:
> After debugging a bit more, I found that in our code, we didn't set the RAM size
> correctly (so no real RAM section was setup for caching). Fixing this fixed our
> time to 2.4 seconds (U-boot still took 1.8 sec).
>
> Adding your SRAM patch (modified, since AM335x has more SRAM),
> The load time dropped from 2.4 -> 1.9 seconds. So adding this small area saved
> half a second!
> I write off the remaing difference (1.8 vs 1.9 seconds) to code differences between
> our SPL and U-boot nand functions.
Thanks for reporting and checking that adding the SRAM region is
needed as well (I suppose you already verified that -O2 cannot get
rid of the last difference).

Regards,
Jeroen

ps: the consensus on this mailinglist is not to top post..

      reply	other threads:[~2013-06-24 18:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51C88D42.4060801@myspectrum.nl \
    --to=jeroen@myspectrum.nl \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox