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

Orange Pi Development Boards

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.

Support CNX Software - Donate via PayPal or become a Patron on Patreon

8
Leave a Reply

avatar
8 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
6 Comment authors
Behzadtejbir¡Arranca Linux en menos de un segundo! | Konzentrixj24cnxsoft Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
trackback

[…] Linux booting in under 1 second on an Allwinner A10-powered device The Allwinner A10 is an ARM Cortex-A8 single core processor. It’s not exactly fast… but with the right software, you can boot a very simple operating system in less than a second. Don’t expect to do this with a full Ubuntu desktop Linux OS anytime soon. [CNX Software] […]

Member

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
Guest

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
Guest
j24

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

trackback

[…] desarollador en china ha publicado una demostración , en la que se puede observar como un dispositivo basado en el mini-PC AllWinner A10, es capaz de […]

tejbir
Guest
tejbir

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
Guest
Behzad

Great boot time!
How did you do this optimization?