Booting Linux in Less Than 1 Second in AllWinner A10 Devices? Yes! You Can!

threewater, a Chinese developer, has just posted a very interesting demo on linux-sunxi mailing list showing a device based on AllWinner A10 boot linux within 0.85s, and if you add a Qt app, the total time is just about 1.2s.

This appears to be a custom hardware (EM6000), but we do know it’s based on AllWinner A10, comes with 512 MB RAM, and 4GB NAND Flash. On the software side, the device runs kernel 3.4 from linux-sunxi, with a customized version of uboot, a squashfs rootfs, and a Qt 4.7.4 app showing a gauge. Both the rootfs (7MB) and the kernel (2MB) have been compressed with LZO. All that boots from NAND flash for optimal speed.

The 1.2 second time includes kernel + rootfs + app time, and the total time is a bit longer, but this is still impressive. Here’s the boot log:

If you just boot to the command line, it’s even faster:

This is not the first time, people have implemented ultra fast boot on ARM hardware, an example is a ~400ms boot on the Beagleboard, but it’s still nice to see what can be achieved thanks to developers’ communities such as linux-sunxi.

The complete details and/or binary files are not available at this time, but if you are interested in Linux fast boot, you may considering checking Adeneo Embedded presentation at ELCE 2012 who did something very similar on Freescale i.MX51 & i.MX 6Q hardware.

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.
7 Comments
oldest
newest
Ian Tester
11 years ago

That’s great, but it’s almost certainly being achieved at the cost of flexibility. It sounds like everything is in the compressed rootfs. So no mounting of a r/w filesystem, no starting of daemons, no handling of dynamic devices (i.e udev). Is it even bringing up a network interface?

So, perfect for an “appliance”, like an industrial control panel. But don’t expect your desktop or media player to boot this fast.

Tsvetan
11 years ago

correct me if I’m wrong but from the logs is seen uboot to launch their Qt app, so actually the uboot boots in less 1 second not linux

j24
j24
11 years ago

nothing new here, we do this on omap4 and most of the platform for years (5)

It’s amazing how it take other years to do the same

on freescale we boot in < 350ms

tejbir
tejbir
11 years ago

j24 can u plz help I really want to start this task on ti am3517 I want some guidance how to do this.Already I have booted on this board but i want to do it in minimum time.

Behzad
Behzad
10 years ago

Great boot time!
How did you do this optimization?

Boardcon Rockchip and Allwinner SoM and SBC products