fred at openmoko.com
Tue Jul 8 18:40:25 CEST 2008
The kernel issue is under study right now. I got some boot informations
from "demsg", please check the attached file. we can see the kernel is
doing for what at boot time.
here are some interesting places for kernel at boot time:
1. Mount filesystem needs 3.6secs:
[ 3.265000] CRCFAIL 0x1a3f
>> [ 3.265000] Current Request Command:5, ARG:0x00000000
>> [ 6.805000] VFS: Mounted root (jffs2 filesystem).
[ 6.805000] Freeing init memory: 124K
[ 6.935000] CRCFAIL 0x1a3f
2. Framebuffer and console stuffs need 0.5 sec:
[ 1.010000] SMEDIA Glamo frame buffer driver (C) 2007 Openmoko, Inc.
[ 1.610000] Console: switching to colour frame buffer device 80x58
3. sdio_wlan needs 1 sec or ?:
[ 7.010000] sdio_wlan 00:01: driver attached
[ 7.010000] sdio_wlan 00:01: SDIO device, IDs SD_0001 (active)
[ 8.090000] Unsupported configuration opcode: 3
[ 8.090000] Unsupported configuration opcode: 5
4. ar6000 needs 1 sec or?
[ 8.225000] ar6000_avail: name=eth0 htcTarget=0xc7f46000,
dev=0xc74b0000 (0), ar=0xc74b04a0
[ 9.205000] PM: Removing info for No Bus:vcs1
[ 9.210000] PM: Removing info for No Bus:vcsa1
[ 9.215000] PM: Removing info for No Bus:vcs1
[ 9.215000] PM: Removing info for No Bus:vcsa1
[ 9.305000] PM: Removing info for No Bus:vcs1
[ 9.310000] PM: Removing info for No Bus:vcsa1
[ 9.315000] PM: Removing info for No Bus:vcs1
[ 9.315000] PM: Removing info for No Bus:vcsa1
[ 9.320000] PM: Removing info for No Bus:vcs1
[ 9.325000] PM: Removing info for No Bus:vcsa1
於 二，2008-07-08 於 20:42 +1000，Carsten Haitzler 提到：
> On Sun, 06 Jul 2008 10:29:20 +0100 Andy Green <andy at openmoko.com> babbled:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > Somebody in the thread at some point said:
> > | after collect informations, we can sum up the most important issues for
> > | boot time:
> > Hey bootchart is really good step to understand and measure the real
> > issues, nice work.
> > | 1. initializing kernel(9 secs)
> > What actually does that, JFFS2 mount? I use ext2 on SD card, there is
> > no 9 second delay there.
> i think so - jffs2 and flash IO. our flash is abysmally slow. i am amazed how
> slow it is... is there something perhaps wrong with how we drive it?
> > | 2. initializing boot splash (exquisite/exquisite-write) (8 secs)
> > | 3. udev (udev/udevd) (29 secs)
> > mdev on busybox is possible replacement.
> > | 4. updating dynamic library cache will waste a lot of time (ldconfig)
> > | (18secs)
> > I already mentioned this some weeks ago, I took it out on the DM2 boot
> > here and it makes a big difference. And most of the time, it is doing
> > nothing at all.
> > - -Andy
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.9 (GNU/Linux)
> > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
> > iEYEARECAAYFAkhwkHAACgkQOjLpvpq7dMo6dwCeIV/lmzHaXavthGsQpXMBsdSK
> > wd0AnjLL1AKtOHiAebdrbJ2psC5cXtO1
> > =4+Ya
> > -----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 15607 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/openmoko-devel/attachments/20080709/96b2186b/attachment.bin
More information about the openmoko-devel