mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Rolf Evers-Fischer <embedded24@evers-fischer.de>
To: barebox@lists.infradead.org, andy.pont@sdcsystems.com
Subject: Re: Boot speed on 600MHz AM3354
Date: Wed, 14 Jan 2015 09:55:32 +0100 (CET)	[thread overview]
Message-ID: <805818852.49418.1421225733074.JavaMail.open-xchange@oxbaltgw09.schlund.de> (raw)

Dear Andy,
we have another custom hardware platform that uses a 800MHz TI AM3359. Currently
we store only barebox-MLO and the barebox itself in SPI NOR. The kernel is
loaded over USB.

When I checked the SPI bus during boot, I found that the ROM Code loads the
first part of the barebox in chunks of 4 byte with a break of 1.7us between each
4-byte-packet, while the first part of the barebox (called "barebox_MLO") loads
the second part "byte by byte" with a break of 500ns between the bytes. Adding
the transfer time of 320ns per byte will result in a transfer rate of 1000/820 =
1,2MByte/s.
This means that, if we would ever boot our 2,7MByte kernel from the SPI NOR, it
would take at least 2.3 seconds to load it from the flash into the RAM.

I don't have so much experience with U-Boot, but I'd expect similar figures
there.

Kind regards,
 Rolf

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2015-01-14  8:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-14  8:55 Rolf Evers-Fischer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-01-08 10:55 Andy Pont

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=805818852.49418.1421225733074.JavaMail.open-xchange@oxbaltgw09.schlund.de \
    --to=embedded24@evers-fischer.de \
    --cc=andy.pont@sdcsystems.com \
    --cc=barebox@lists.infradead.org \
    /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