mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Boot speed on 600MHz AM3354
@ 2015-01-08 10:55 Andy Pont
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Pont @ 2015-01-08 10:55 UTC (permalink / raw)
  To: barebox

Hello,

We have a custom hardware platform that uses a 600MHz TI AM3354 and stores
U-Boot-SPL, U-Boot and the Linux kernel in an SPI NOR flash device with the
intent of using Falcon mode to boot the kernel directly.

I have found that the performance is very poor when it comes to the system
boot and in particular reading the kernel from the SPI flash device.  We are
currently investigating that but we are also looking at whether Barebox may
be a better alternative based on comments made by Michael Opdenacker in a
presentation at ELC2014.

Does anyone have a feel, or actual figures, on how much faster Barebox would
be over U-Boot for this kind of platform?

Thanks,

Andy.



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

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: Boot speed on 600MHz AM3354
@ 2015-01-14  8:55 Rolf Evers-Fischer
  0 siblings, 0 replies; 2+ messages in thread
From: Rolf Evers-Fischer @ 2015-01-14  8:55 UTC (permalink / raw)
  To: barebox, andy.pont

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

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

end of thread, other threads:[~2015-01-14  8:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-08 10:55 Boot speed on 600MHz AM3354 Andy Pont
2015-01-14  8:55 Rolf Evers-Fischer

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