Boot Linux in 300 milliseconds

MakeLinux.com managed to boot Linux from the bootloader to console within 300ms using a customized (and minimal) version of Linux running on Beagleboard based on TI OMAP 3530 (Cortex A8) as per their Super Fast Boot project.

Here’s the analysis of the boot sequence and timings:

  • Logging starts at 70 ms from reset. Boot time from reset is 300 + 70 = 370 ms.
  • Logging starts at 330 ms from power on. Cold boot time is 330 + 300 = 630 ms.
  • Loading of 1.5 MiB Linux image from NAND takes 237 ms with throughput 6 MiB/s.
  • Code execution takes 60 ms or 43M CPU cycles. (For other CPU frequency execution time is different, but the number of processor cycles is the same)
  • The most time-consuming operation is coping firmware from NAND flash.

They used a Linux 2.6.32 kernel from DVSDK 3.01, in a minimal configuration (900KB footprint), the boot loader comprises an optimized x-loader, without U-boot and the only application in the rootfs is a statically compiled BusyBox v1.16.2 humble shell (600KB footprint) for a total of 1.5MB.

Bear in mind that it is a minimal kernel, so you’d probably not be able to do much with it as it only runs busybox.


For further details ad if you’d like to get the binary image, please visit https://www.makelinux.net/emb/fastboot/

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
1 Comment
oldest
newest
3 years ago

Got here via “related posts” and this is what I’ve been looking for for a long time.

AFAIK URL has changed, it is now at https://www.makelinux.net/emb/fastboot/

Boardcon Rockchip and Allwinner SoM and SBC products