Just a comment on this. While improvements to bootloader performance
are helpful, the kernel and bootloader are not the difficult problem
areas in Android boot time. Techniques for achieving boot times
for the bootloader and kernel in the 1 to 2 second range are
well-documented (see http://elinux.org/Boot_Time for resources).
Of course there's always a good amount of effort required getting
the specific solutions working on your hardware ;-)
However, the big problem with Android boot time is the user-space
portion of the boot. The overall init system, involving
loading and initializing multiple daemons (some with networking
waits), as well as initializing zygote and preloading classes,
and doing the package scanning and manifest/security validation --
these are where the big time is spent in Android boot time
(in a cold boot situation).
These are, IMHO, more difficult to work on, but have the potential
for bigger impact (across a wider variety of platforms).
In case people haven't seen it, there is some information at:
http://elinux.org/Android_Booting
Just my 2 cents.
-- Tim
=============================
Tim Bird
Architecture Group Chair, CE Workgroup of the Linux Foundation
Senior Staff Engineer, Sony Network Entertainment
=============================
--
unsubscribe: android-kerne...@googlegroups.com
website: http://groups.google.com/group/android-kernel
> Recently i came accross a link which showed the booting of android that
> is the display of the home screen in 1 sec..
>
> http://www.linuxfordevices.com/c/a/News/Ubiquitous-QuickBoot/?kc=LNXDEVNL032410
This is using the "snapshot boot" approach, which is one way
to address the problem. It's basically a specialized un-hibernate,
which bypasses many tasks normally done during a cold boot.
It's not the same as optimizing the boot-time processing, and
has both pros and cons. (e.g. one drawback is a fairly large
reserved space in flash for the snapshotted system image).