Nilly wrote:
> HI All,
> 
> I want to reduce the boot up time of android.
> I have tried removing some stuff such as not required .apk from the /
> system/apps folder.
> from init.rc file some services which is not required.
> 
> my kernel uncompressing is taking 11 sec almost.how can reduce
> that?

See http://elinux.org/Boot_Time for a long list of different
techniques for measuring and optimizing Linux booting.
11 seconds to decompress the kernel is pretty bad.  Are you
sure it's taking this long?  It might on the emulator, but
no hardware should take that long.

Try turning on CONFIG_DEBUG_LL
(if on an ARM platform) so the kernel messages come out
on the serial console sooner.  (Normally they get queued up
and are not displayed exactly when produced.)  Then use
something like grabserial to measure boot times from the host.

(This all presumes that you have a target with a serial console
output.)
> one thing is that i can remove the drivers which are not needed
> but i am not finding any .config file to remove it?
> 
> From where can i remove the not required driver from kernel code?

Did you build the kernel?  If so, the .config should be in the top
level kernel directory (same directory as the MAINTAINERS file).
Or, if you are using a KBUILD_OUTPUT directory, it should be in
that directory.
 -- Tim


=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Corporation of America
=============================

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to