This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

嵌入式linux启动时间优化

Other Parts Discussed in Thread: AM1808, OMAP-L138, TSC2007, AM3359, DM3730, ADS7846, TVP5146M2

我们的ARM芯片是AM1808,文件系统和内核驱动都是在TI网上下的,内核驱动:dvsdk_omapl138-evm_4_02_00_06_setuplinux;文件系统:arago-base-rootfs.tar。我现在的问题是,嵌入式linux的启动时间太长,超过30秒了。特别是加载啥文件系统特别占时间,这是启动时输出的信息:[   18.420000] VFS: Mounted root (jffs2 filesystem) on device 31:4.。

请问怎么可以加快内核的启动时间啊?我们对内核没多大要求,我们的板子是用来做人机界面的,用的是Qt编程,所用的库都是自己做的,没用到内核里面的东西。

  • 你好,能在给一些资料吗?优化速度不明显。能不能告诉我,怎么样可以不用挂载文件系统啊?这步太费时间了。

  • 不挂文件系统,你玩什么呢

  • 我见杭州安米的AM1808开发板就没有提示要挂什么文件系统,它们开机时间就8秒钟左右。

  • 应用程序等都在文件系统里面,没有文件系统不行的

  • 这个我清楚,但关键是怎么缩减启动时间啊?毕竟是工业屏,整个启动时间接近1分钟,这怎么行呢。你们以前没解决这样的问题吗?

  • 你现在最耗时的地方在哪里?有分析过么

  • 这是启动过程输出的Uboot信息。

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.

    [    0.000000] Linux version 2.6.33-rc4 (zhangzhenhua@zhangzhenhua-desktop) (gcc

    version 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #1 PREEMPT Wed Aug 29 15:22:12 CS

    T 2012

    [    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177

    [    0.000000] CPU: VIVT data cache, VIVT instruction cache

    [    0.000000] Machine: DaVinci DA850/OMAP-L138/AM18xx EVM

    [    0.000000] Memory policy: ECC disabled, Data cache writeback

    [    0.000000] DaVinci da850/omap-l138/am18xx variant 0x1

    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag

    es: 16256

    [    0.000000] Kernel command line: mem=64M console=ttyS2,115200n8 root=/dev/mtd

    block4 rw rootfstype=jffs2 ip=192.168.1.3:192.168.1.105:192.168.1.1:255.255.255.

    0::eth0:off eth=00:40:01:2B:64:60

    [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)

    [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)

    [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)

    [    0.000000] Memory: 64MB = 64MB total

    [    0.000000] Memory: 60700KB available (3752K code, 271K data, 148K init, 0K h

    ighmem)

    [    0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, N

    odes=1

    [    0.000000] Hierarchical RCU implementation.

    [    0.000000] NR_IRQS:245

    [    0.000000] Console: colour dummy device 80x30

    [    0.000000] Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)

    [    0.210000] Mount-cache hash table entries: 512

    [    0.210000] CPU: Testing write buffer coherency: ok

    [    0.210000] DaVinci: 144 gpio irqs

    [    0.210000] NET: Registered protocol family 16

    [    0.260000] da850_evm_init: evm specific lcd mux setup failed: -22

    [    0.340000] bio: create slab <bio-0> at 0

    [    0.350000] SCSI subsystem initialized

    [    0.350000] usbcore: registered new interface driver usbfs

    [    0.350000] usbcore: registered new interface driver hub

    [    0.350000] usbcore: registered new device driver usb

    [    0.360000] i2c-gpio i2c-gpio.1: using pins 20 (SDA) and 21 (SCL)

    [    0.360000] Switching to clocksource timer0_1

    [    0.370000] musb_hdrc: version 6.0, cppi4.1-dma, host, debug=0

    [    0.370000] Waiting for USB PHY clock good...

    [    0.390000] musb_hdrc: USB Host mode controller at fee00000 using DMA, IRQ 58

    [    0.390000] musb_hdrc musb_hdrc: MUSB HDRC host driver

    [    0.390000] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number

    1

    [    0.390000] hub 1-0:1.0: USB hub found

    [    0.390000] hub 1-0:1.0: 1 port detected

    [    0.390000] NET: Registered protocol family 2

    [    0.390000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

    [    0.390000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)

    [    0.390000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

    [    0.390000] TCP: Hash tables configured (established 2048 bind 2048)

    [    0.390000] TCP reno registered

    [    0.390000] UDP hash table entries: 256 (order: 0, 4096 bytes)

    [    0.390000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

    [    0.390000] NET: Registered protocol family 1

    [    0.390000] RPC: Registered udp transport module.

    [    0.390000] RPC: Registered tcp transport module.

    [    0.390000] RPC: Registered tcp NFSv4.1 backchannel transport module.

    [    0.400000] EMAC: MII PHY configured, RMII PHY will not be functional

    [    0.400000] McBSP:Probed McBSP1

    [    0.490000] JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.

    [    0.490000] msgmni has been set to 118

    [    0.490000] io scheduler noop registered (default)

    [    0.490000] da8xx_lcdc da8xx_lcdc.0: GLCD: Found AUO_G084SN05 panel

    [    0.530000] Console: switching to colour frame buffer device 100x37

    [    0.650000] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled

    [    0.660000] serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a AR7

    [    0.660000] serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a AR7

    [    0.670000] serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a AR7

    [    1.010000] console [ttyS2] enabled

    [    1.020000] brd: module loaded

    [    1.030000] ahci ahci: forcing PORTS_IMPL to 0x1

    [    1.030000] ahci ahci: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA m

    ode

    [    1.040000] ahci ahci: flags: ncq sntf pm led clo only pmp pio slum part ccc

    [    1.050000] scsi0 : ahci

    [    1.050000] ata1: SATA max UDMA/133 irq 67

    [    1.060000] NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1

    GiB 3,3V 8-bit)

    [    1.070000] Creating 5 MTD partitions on "davinci_nand.1":

    [    1.080000] 0x000000000000-0x000000040000 : "u-boot env"

    [    1.090000] 0x000000040000-0x000000080000 : "UBL"

    [    1.100000] 0x000000080000-0x000000100000 : "u-boot"

    [    1.110000] 0x000000200000-0x000000600000 : "kernel"

    [    1.120000] 0x000000600000-0x000040000000 : "filesystem"

    [    1.130000] davinci_nand davinci_nand.1: controller rev. 2.5

    [    1.140000] spi_davinci spi_davinci.1: Controller at 0xfef0e000

    [    1.160000] console [netcon0] enabled

    [    1.160000] netconsole: network logging started

    [    1.170000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

    [    1.170000] ohci ohci.0: DA8xx OHCI

    [    1.180000] ohci ohci.0: new USB bus registered, assigned bus number 2

    [    1.180000] ohci ohci.0: irq 59, io mem 0x01e25000

    [    1.250000] hub 2-0:1.0: USB hub found

    [    1.260000] hub 2-0:1.0: 1 port detected

    [    1.260000] Initializing USB Mass Storage driver...

    [    1.270000] usbcore: registered new interface driver usb-storage

    [    1.270000] USB Mass Storage support registered.

    [    1.280000] input: gpio-keys as /devices/platform/gpio-keys/input/input0

    [    1.290000] input: TSC2007 Touchscreen as /devices/virtual/input/input1

    [    1.300000] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0

    [    1.310000] omap_rtc: RTC power up reset detected

    [    1.320000] i2c /dev entries driver

    [    1.320000] watchdog watchdog: heartbeat 60 sec

    [    1.330000] cpuidle: using governor ladder

    [    1.340000] cpuidle: using governor menu

    [    1.340000] Registered led device: led::D1

    [    1.350000] Registered led device: led::D2

    [    1.350000] Registered led device: led::D3

    [    1.360000] Registered led device: led::D4

    [    1.370000] usbcore: registered new interface driver usbhid

    [    1.370000] usbhid: USB HID core driver

    [    1.380000] TCP cubic registered

    [    1.380000] NET: Registered protocol family 17

    [    1.390000] Clocks: disable unused i2c1

    [    1.390000] Clocks: disable unused emac

    [    1.390000] Clocks: disable unused mcasp

    [    1.390000] Clocks: disable unused mmcsd

    [    1.390000] Clocks: disable unused mmcsd1

    [    1.390000] Clocks: disable unused spi0

    [    1.390000] Clocks: disable unused mcbsp0

    [    1.390000] Clocks: disable unused vpif

    [    1.390000] Clocks: disable unused ecap0

    [    1.420000] ata1: SATA link down (SStatus 0 SControl 300)

    [    1.440000] davinci_emac_probe: using random MAC addr: 06:9a:4d:69:e9:db

    [    1.450000] emac-mii: probed

    [    1.450000] omap_rtc omap_rtc: setting system clock to 2040-01-01 10:10:02 UT

    C (2209025402)

    [    1.970000] eth0: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_add

    r=1:00, id=7c0f1)

    [    2.990000] IP-Config: Complete:

    [    2.990000]      device=eth0, addr=192.168.1.3, mask=255.255.255.0, gw=192.16

    8.1.1,

    [    3.000000]      host=192.168.1.3, domain=, nis-domain=(none),

    [    3.000000]      bootserver=192.168.1.105, rootserver=192.168.1.105, rootpath

    =

    [    3.260000] jffs2_scan_inode_node(): CRC failed on node at 0x02066fc0: Read 0

    xffffffff, calculated 0x08a5960b

    [    3.300000] Empty flash at 0x02067004 ends at 0x02067800

    [    5.790000] jffs2_scan_dirent_node(): Node CRC failed on node at 0x16df97ec:

    Read 0xffffffff, calculated 0xb17d9ec5

    [    5.810000] Empty flash at 0x16df9818 ends at 0x16dfa000

    [    9.200000] Empty flash at 0x351360ec ends at 0x35136800

    [   18.780000] VFS: Mounted root (jffs2 filesystem) on device 31:4.

    [   18.790000] Freeing init memory: 148K

    INIT: version 2.86 booting

    Please wait: booting...

    Starting udev

    [   25.230000] udev: starting version 141

    Remounting root file system...

    Caching udev devnodes

    Populating dev cachemv: cannot rename '/tmp/devices': No such file or directory

    [   31.370000] NET: Registered protocol family 10

    [   31.420000] ADDRCONF(NETDEV_UP): eth0: link is not ready

    logger: mount: mount point /proc/bus/usb does not exist

    Configuring network interfaces... done.

    Setting up IP spoofing protection: rp_filter.

    hwclock: settimeofday() failed: Invalid argument

    Thu Apr 22 08:11:00 UTC 2010

    INIT: Entering runlevel: 5

    Starting system message bus: dbus.

    Starting telnet daemon.

    Starting syslogd/klogd: done

    Starting thttpd.

  • 当然有,但是不知道怎么解决

  •   18.780000] VFS: Mounted root (jffs2 filesystem) on device 31:4.

    [   18.790000] Freeing init memory: 148K

    INIT: version 2.86 booting

    Please wait: booting...

    Starting udev

    [   25.230000] udev: starting version 141

    Remounting root file system...

    Caching udev devnodes

    Populating dev cachemv: cannot rename '/tmp/devices': No such file or directory

    [   31.370000] NET: Registered protocol family 10

    [   31.420000] ADDRCONF(NETDEV_UP): eth0: link is not ready

    logger: mount: mount point /proc/bus/usb does not exist

    Configuring network interfaces... done.

    Setting up IP spoofing protection: rp_filter.

    hwclock: settimeofday() failed: Invalid argument

    Thu Apr 22 08:11:00 UTC 2010

    INIT: Entering runlevel: 5

    Starting system message bus: dbus.

    Starting telnet daemon.

    Starting syslogd/klogd: done

    Starting thttpd.‘

    关闭你不需要的服务。AM1808.最快10s启动的撸过。

  • 你能不能用那个空的文件系统挂载看看,看能不能快点

  • 首先,我得说一下自己的见识少。比如说:“18.780000] VFS: Mounted root (jffs2 filesystem) on device 31:4.”这是在TI内核里面的配置,这个我不敢瞎动。

    其次,Uboot输出的信息,我在文件系统里面找了好久都没找到。

    其次,我曾试着把关于音频输出的服务给去了,但是启动速度没看到任何效果。

    还有,我觉得Uboot的输出并非是完整的信息,以及TI的最下文件系统里面有些服务是可以删除,但是没有指导资料,不敢乱删除,担心影响系统稳定性。

    最后,我在删减内核配置的时候,一般是删减硬件驱动,这个是有把握的,因为我们电路板有哪些设备接口,我是清楚的。

    你说10秒,是不是有些夸张啊。我感觉问题不仅仅是服务的问题,内核启动过程中的延时好像也是问题啊?

  • 首先,我得说一下自己的见识少。比如说:“18.780000] VFS: Mounted root (jffs2 filesystem) on device 31:4.”这是在TI内核里面的配置,这个我不敢瞎动。

    其次,Uboot输出的信息,我在文件系统里面找了好久都没找到。

    其次,我曾试着把关于音频输出的服务给去了,但是启动速度没看到任何效果。

    还有,我觉得Uboot的输出并非是完整的信息,以及TI的最下文件系统里面有些服务是可以删除,但是没有指导资料,不敢乱删除,担心影响系统稳定性。

    最后,我在删减内核配置的时候,一般是删减硬件驱动,这个是有把握的,因为我们电路板有哪些设备接口,我是清楚的。

    你说10秒,是不是有些夸张啊。我感觉问题不仅仅是服务的问题,内核启动过程中的延时好像也是问题啊?

  • 你好,我不清楚你说的空文件系统是啥文件系统?我是过三个文件系统。

    1、TI的最小文件系统,启动速度跟上面的差不多。

    2、杭州安米的最小文件系统,一样。

    3、我自己在TI的最小文件系统,增加了Qt库,Qt应用程序,自动登录系统的程序,以及配置路径地址。以前,Qt数据库很大时,启动速度要慢几秒;后来把Qt库减小了一些,启动时间就是上面的时间了;再到后来,再减小文件系统也没有什么效果。

    上面Uboot的输出的时间,我觉得只是进入到root状态下的时间,加上Qt应用程序启动的时间,还得再加10秒左右的时间。

  • 呵呵,我当时uboot没动,内核大小为1.4M,但这不是关键,文件系统做的很干净。启动10s,本来可以更快,奈何三星的K9F2G08读取太慢,硬伤。

    最近在做AM3359,在linux下,从上电到串口终端信息打印完毕,耗时4.7s。

    我建议你对文件系统下的/etc/做一些了解。当你理解了,也就明白文件系统最快的启动时间可以在1s之内。

    我所知道的最快的linux启动速度为1.7s,不过我没做到。

  • alvin,你能不能具体说说你的启动指的是什么,是到了login了么?如果方便,你把你的经验也分享给上面的朋友下吧,我这边给的那个ppt,感觉说的也很清楚的,可能那个朋友需要更具体的东西吧

  • 你是从nand启动么,会不会是nand没有配好,太慢了,用sd卡试了么?

  • 我建议大家有空多看看wiki

    processors.wiki.ti.com/.../Boot_Time_Optimization

    TI给出的系统启动优化办法

  • 这个wiki的内容,就是我贴的那个ppt,他说他已经看了,,,

  • 细节就不多说了吧,uboot下setenv bootdelay 1  (或者0,到时候用CTL+C暂停,也可能停不下来,呵呵。)

    kernel下,把内核打印信息都去掉,办法如下

    在linux内核中的/kernel目录下printk.c文件中有一个函数:

    static void __call_console_drivers(unsigned long start, unsigned long end)

    {

    struct console *con;

    for (con = console_drivers; con; con = con->next) {

     if ((con->flags & CON_ENABLED) && con->write)

      con->write(con, &LOG_BUF(start), end - start);

    }

    }

    然后到文件系统,/etc/rc.d/下面的都是启动耗时间的东西,不用的都去掉。当然,别乱搞,起不来别怪我。

    我所说的AM3359启动时间4.7s是到login的时间,如果要启动QT界面,最快要6s的样子。

  • 这是我AM3359linux下的所有启动信息。你说这里面需要几秒?

    U-Boot 2011.09 (Apr 17 2012 - 19:19:12)

    I2C:   ready

    DRAM:  256 MiB

    WARNING: Caches not enabled

    No daughter card present

    NAND:  HW ECC Hamming Code selected

    256 MiB

    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1

    Net:   cpsw

    Hit any key to stop autoboot:  0

    NAND read: device 0 offset 0x280000, size 0x300000

    3145728 bytes read: OK

    NAND read: device 0 offset 0x720000, size 0x200000

    2097152 bytes read: OK

    ## Booting kernel from Legacy Image at 81000000 ...

      Image Name:   Linux-3.2.0

      Image Type:   ARM Linux Kernel Image (uncompressed)

      Data Size:    2909696 Bytes = 2.8 MiB

      Load Address: 80008000

      Entry Point:  80008000

      Verifying Checksum ... OK

      Loading Kernel Image ... OK

    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.

     ::

     :: Enabling hot-plug  : [SUCCESS]

     ::

     ::

      : Populating /dev    : [SUCCESS]

    [SUCCESS]

     ::

     ::

     :: Setting PATH

     ::

      : telnetd            : [SUCCESS]

     ::

     :: Setting shell environment ...

     ::

      : Path

      : Aliases

      : Touch Screen

     ::

     :: Done

     ::

    [root@alvin /]#

  • 大大的赞一记,这些在我前面贴的ppt里面写的也很清楚

  • Yaoming Qin,你好!

    我想来想去,我还是想重复我第一次提到的问题,就这个:“VFS: Mounted root (jffs2 filesystem) on device 31:4.”

    为什么我的文件系统挂载要这么长时间,快15s了

  • 你好!我看你的系统启动的确是快。但是我有一个问题,我看你的Uboot信息怎么没有挂载文件系统提示,我的文件系统挂载特别占时间,不知你是怎么解决的。我的文件系统是JFFS2,TI所谓的最小文件系统

  • 补充一点,查看你的EMIFA口配置nandflash的时序是否针对你的nandflash做过配置,还是采用的默认值

  • 你好,是默认的。因为我内核配置没动它,也没改相应的内核代码

  • 嗯,如果EMIFA的接口是默认的时序,那读取NAND FLASH就十分慢的,建议你根据你的nandflash的时序要求对相对应的EMIFA口的时序进行配置。

  • 关于挂载的时间问题,有两个办法吧,一个是按照gary说的思路,优化下nand flash的时序,另一个就是你试着挂载下sd卡或者nfs,看看时间是否有改进,这样可以看看是否和文件系统有关系。

  • 我挂载过NFS文件系统,时间要相对快很多了,不到19秒

  • 你好!请问在什么文件夹下什么文件可以修改时序配置啊?

  • 你好!请问,你能告诉我在什么文件夹下什么文件可以修改EMIFA口的时序进行配置啊?

  • alvin:AM3359启动时间4.7s是到login的时间,如果要启动QT界面,最快要6s的样子。我的带个QT要将近20s 板子是devkit8500D,有好的优化方案吗?内核信息打印如下:

    Instruments X-Loader 1.47 (Mar 25 2011 - 10:15:15)
    Devkit8500 xM Rev A                                 
    Booting from nand . . .                             
    Starting OS Bootloader...


    U-Boot 2010.06-rc1-svn (Jun 06 2012 - 09:22:53)

    OMAP3630-GP ES2.1, CPU-OPP2 L3-165MHz
    OMAP3 Devkit8500 board + LPDDR/NAND
    I2C:   ready
    DRAM:  512 MiB
    NAND:  512 MiB
    In:    serial
    Out:   serial                                                                  
    Err:   serial                                                                  
    Devkit8500 xM Rev A                                                            
    Die ID #47be00029e3800000168300e0f034012                                       
    Net:   dm9000                                                                  
    Hit any key to stop autoboot:  0                                               
    No MMC card found                                                              
    Booting from nand ...                                                          
                                                                                   
    NAND read: device 0 offset 0x280000, size 0x400000                             
     4194304 bytes read: OK                                                        
    ## Booting kernel from Legacy Image at 81000000 ...                            
       Image Name:   Linux-2.6.32                                                  
       Image Type:   ARM Linux Kernel Image (uncompressed)                         
       Data Size:    2127628 Bytes = 2 MiB                                         
       Load Address: 80008000                                                      
       Entry Point:  80008000                                                      
       Loading Kernel Image ... OK                                                 
    OK                                                                             
                                                                                   
    Starting kernel ...                                                            
                                                                                   
    Uncompressing Linux.............................................................
    Linux version 2.6.32 (administrator@ubuntu) (gcc version 4.4.0 (GCC) ) #5 Mon A4
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f                
    CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache           
    Machine: OMAP3 DEVKIT8500 Board                                                
    Memory policy: ECC disabled, Data cache writeback                              
    OMAP3630/DM3730 ES1.0 (l2cache iva sgx neon isp 192mhz_clk )                   
    SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000                     
    Reserving 12582912 bytes SDRAM for VRAM                                        
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048    
    Kernel command line: console=ttyS2,115200n8 mpurate=1000 vram=12M omapdss.def_d2
    PID hash table entries: 2048 (order: 1, 8192 bytes)                            
    Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)                
    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)                 
    Memory: 256MB 256MB = 512MB total                                              
    Memory: 502912KB available (3780K code, 353K data, 164K init, 0K highmem)      
    Hierarchical RCU implementation.                                               
    NR_IRQS:402                                                                    
    Clocking rate (Crystal/Core/MPU): 26.0/332/600 MHz                             
    Reprogramming SDRC clock to 332000000 Hz                                       
    GPMC revision 5.0                                                              
    IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts             
    Total of 96 interrupts on 1 active controller                                  
    OMAP GPIO hardware version 2.5                                                 
    OMAP clockevent source: GPTIMER12 at 32768 Hz                                  
    Console: colour dummy device 80x30                                             
    Calibrating delay loop... 346.58 BogoMIPS (lpj=1351680)                        
    Mount-cache hash table entries: 512                                            
    CPU: Testing write buffer coherency: ok                                        
    regulator: core version 0.5                                                    
    NET: Registered protocol family 16                                             
    Found NAND on CS0                                                              
    Registering NAND on CS0                                                        
    Unable to get DVI PUP GPIO                                                     
    Target VDD1 OPP = 4, VDD2 OPP = 2                                              
    OMAP DMA hardware revision 5.0                                                 
    bio: create slab <bio-0> at 0                                                  
    SCSI subsystem initialized                                                     
    usbcore: registered new interface driver usbfs                                 
    usbcore: registered new interface driver hub                                   
    usbcore: registered new device driver usb                                      
    i2c_omap i2c_omap.1: bus 1 rev4.0 at 2600 kHz                                  
    twl4030: PIH (irq 7) chaining IRQs 368..375                                    
    twl4030: power (irq 373) chaining IRQs 376..383                                
    twl4030: gpio (irq 368) chaining IRQs 384..401                                 
    regulator: VUSB1V5: 1500 mV normal standby                                     
    regulator: VUSB1V8: 1800 mV normal standby                                     
    regulator: VUSB3V1: 3100 mV normal standby                                     
    twl4030_usb twl4030_usb: Initialized TWL4030 USB module                        
    regulator: VMMC1: 1850 <--> 3150 mV normal standby                             
    regulator: VDAC: 1800 mV normal standby                                        
    regulator: VPLL2: 1800 mV normal standby                                       
    regulator: VMMC2: 1850 <--> 3150 mV normal standby                             
    regulator: VSIM: 1800 <--> 3000 mV normal standby                              
    i2c_omap i2c_omap.2: bus 2 rev4.0 at 400 kHz                                   
    i2c_omap i2c_omap.3: bus 3 rev4.0 at 100 kHz                                   
    Switching to clocksource 32k_counter                                           
    musb_hdrc: version 6.0, musb-dma, host, debug=0                                
    musb_hdrc: USB Host mode controller at fa0ab000 using DMA, IRQ 92              
    musb_hdrc musb_hdrc: MUSB HDRC host driver                                     
    musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1             
    hub 1-0:1.0: USB hub found                                                     
    hub 1-0:1.0: 1 port detected                                                   
    NET: Registered protocol family 2                                              
    IP route cache hash table entries: 4096 (order: 2, 16384 bytes)                
    TCP established hash table entries: 16384 (order: 5, 131072 bytes)             
    TCP bind hash table entries: 16384 (order: 4, 65536 bytes)                     
    TCP: Hash tables configured (established 16384 bind 16384)                     
    TCP reno registered                                                            
    UDP hash table entries: 256 (order: 0, 4096 bytes)                             
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)                        
    NET: Registered protocol family 1                                              
    RPC: Registered udp transport module.                                          
    RPC: Registered tcp transport module.                                          
    RPC: Registered tcp NFSv4.1 backchannel transport module.                      
    omap-iommu omap-iommu.0: isp registered                                        
    ashmem: initialized                                                            
    VFS: Disk quotas dquot_6.5.2                                                   
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)                     
    msgmni has been set to 982                                                     
    alg: No test for stdrng (krng)                                                 
    io scheduler noop registered                                                   
    io scheduler deadline registered                                               
    io scheduler cfq registered (default)                                          
    OMAP DSS rev 2.0                                                               
    OMAP DISPC rev 3.0                                                             
    OMAP VENC rev 2                                                                
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled                        
    serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654                 
    serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654                 
    serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654                 
    console [ttyS2] enabled                                                        
    brd: module loaded                                                             
    loop: module loaded                                                            
    omap2-nand driver initializing                                                 
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron NAND 512MiB 1,8V 16-b)
    cmdlinepart partition parsing not available                                    
    Creating 5 MTD partitions on "omap2-nand":                                     
    0x000000000000-0x000000080000 : "X-Loader"                                     
    0x000000080000-0x000000260000 : "U-Boot"                                       
    0x000000260000-0x000000280000 : "U-Boot Env"                                   
    0x000000280000-0x000000680000 : "Kernel"                                       
    0x000000680000-0x000020000000 : "File System"                                  
    UBI: attaching mtd4 to ubi0                                                    
    UBI: physical eraseblock size:   131072 bytes (128 KiB)                        
    UBI: logical eraseblock size:    129024 bytes                                  
    UBI: smallest flash I/O unit:    2048                                          
    UBI: sub-page size:              512                                           
    UBI: VID header offset:          512 (aligned 512)                             
    UBI: data offset:                2048                                          
    UBI: attached mtd4 to ubi0                                                     
    UBI: MTD device name:            "File System"                                 
    UBI: MTD device size:            505 MiB                                       
    UBI: number of good PEBs:        4044                                          
    UBI: number of bad PEBs:         0                                             
    UBI: max. allowed volumes:       128                                           
    UBI: wear-leveling threshold:    4096                                          
    UBI: number of internal volumes: 1                                             
    UBI: number of user volumes:     1                                             
    UBI: available PEBs:             0                                             
    UBI: total number of reserved PEBs: 4044                                       
    UBI: number of PEBs reserved for bad PEB handling: 40                          
    UBI: max/mean erase counter: 2/1                                               
    UBI: image sequence number: 0                                                  
    UBI: background thread "ubi_bgt0d" started, PID 432                            
    PPP generic driver version 2.4.2                                               
    PPP Deflate Compression module registered                                      
    PPP BSD Compression module registered                                          
    NET: Registered protocol family 24                                             
    dm9000 Ethernet Driver, V1.31                                                  
    eth0: dm9000a at e08b6000,e08ba400 IRQ 185 MAC: 00:11:22:33:44:55 (chip)       
    usbcore: registered new interface driver asix                                  
    usbcore: registered new interface driver cdc_ether                             
    usbcore: registered new interface driver dm9601                                
    usbcore: registered new interface driver smsc95xx                              
    usbcore: registered new interface driver gl620a                                
    usbcore: registered new interface driver net1080                               
    usbcore: registered new interface driver cdc_subset                            
    usbcore: registered new interface driver zaurus                                
    usbcore: registered new interface driver MOSCHIP usb-ethernet driver           
    usbmon: debugfs is not available                                               
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver                     
    ehci-omap ehci-omap.0: OMAP-EHCI Host Controller                               
    ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 2           
    ehci-omap ehci-omap.0: irq 77, io mem 0x48064800                               
    ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00                              
    hub 2-0:1.0: USB hub found                                                     
    hub 2-0:1.0: 3 ports detected                                                  
    Initializing USB Mass Storage driver...                                        
    usbcore: registered new interface driver usb-storage                           
    USB Mass Storage support registered.                                           
    usbcore: registered new interface driver usbserial                             
    USB Serial support registered for generic                                      
    usbcore: registered new interface driver usbserial_generic                     
    usbserial: USB Serial Driver core                                              
    udc: OMAP UDC driver, version: 4 October 2004 (iso) (dma)                      
    input: gpio-keys as /devices/platform/gpio-keys/input/input0                   
    input: TWL4030 Keypad as /devices/platform/i2c_omap.1/i2c-1/1-004a/twl4030_keyp1
    ads7846 spi2.0: touchscreen, irq 187                                           
    input: ADS7846 Touchscreen as /devices/platform/omap2_mcspi.2/spi2.0/input/inpu2
    twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0                          
    twl_rtc twl_rtc: Power up reset detected.                                      
    twl_rtc twl_rtc: Enabling TWL-RTC.                                             
    i2c /dev entries driver                                                        
    Linux video capture interface: v2.00                                           
    tvp514x 2-005d: Registered to v4l2 master omap34xxcam!!                        
    omap-iommu omap-iommu.0: isp: version 1.1                                      
    usbcore: registered new interface driver uvcvideo                              
    USB Video Class driver (v0.1.0)                                                
    Registered led device: sys_led                                                 
    Registered led device: user_ledb                                               
    Registered led device: user_led1                                               
    Registered led device: user_led2                                               
    usbcore: registered new interface driver usbhid                                
    usbhid: USB HID core driver                                                    
    TCP cubic registered                                                           
    NET: Registered protocol family 17                                             
    NET: Registered protocol family 15                                             
    Power Management for TI OMAP3.                                                 
    Unable to set L3 frequency (400000000)                                         
    Switched to new clocking rate (Crystal/Core/MPU): 26.0/332/1000 MHz            
    IVA2 clocking rate: 800 MHz                                                    
    SmartReflex driver initialized                                                 
    usb 2-1: new high speed USB device using ehci-omap and address 2               
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3        
    Console: switching to colour frame buffer device 128x48                        
    regulator_init_complete: incomplete constraints, leaving VDVI on               
    regulator_init_complete: incomplete constraints, leaving VDAC on               
    twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)   
    tvp514x 2-005d: tvp5146m2 found at 0xba (OMAP I2C adapter)                     
    omapdss DPI error: display already enabled                                     
    omap_vout omap_vout: 'lcd' Display already enabled                             
    omapdss DPI error: display already enabled                                     
    omap_vout omap_vout: 'lcd' Display already enabled                             
    omap_vout omap_vout: Buffer Size = 3686400                                     
    omap_vout omap_vout: : registered and initialized video device 1               
    omap_vout omap_vout: Buffer Size = 3686400                                     
    omap_vout omap_vout: : registered and initialized video device 2               
    UBIFS: recovery needed                                                         
    UBIFS: recovery completed                                                      
    UBIFS: mounted UBI device 0, volume 0, name "rootfs"                           
    UBIFS: file system size:   256112640 bytes (250110 KiB, 244 MiB, 1985 LEBs)    
    UBIFS: journal size:       9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)            
    UBIFS: media format:       w4/r0 (latest is w4/r0)                             
    UBIFS: default compressor: lzo                                                 
    UBIFS: reserved for root:  0 bytes (0 KiB)                                     
    VFS: Mounted root (ubifs filesystem) on device 0:11.                           
    Freeing init memory: 164K                                                      
    Failed to execute /init.  Attempting defaults...                               
    hub 2-1:1.0: USB hub found                                                     
    hub 2-1:1.0: 4 ports detected                                                  
    INIT: version 2.86 booting                                                     
    Starting udevusb 2-1.4: new low speed USB device using ehci-omap and address 3 
    input: HID 04f3:0103 as /devices/platform/ehci-omap.0/usb2/2-1/2-1.4/2-1.4:1.0/3
    generic-usb 0003:04F3:0103.0001: input: USB HID v1.10 Keyboard [HID 04f3:0103] 0
    input: HID 04f3:0103 as /devices/platform/ehci-omap.0/usb2/2-1/2-1.4/2-1.4:1.1/4
    generic-usb 0003:04F3:0103.0002: input: USB HID v1.10 Device [HID 04f3:0103] on1
    tar: removing leading '/' from member names                                    
                                                                                   
    Remounting root file system...                                                 
    UBIFS: parse relatime                                                          
    UBIFS error (pid 1342): ubifs_parse_options: unrecognized mount option "relatime
    UBIFS error (pid 1342): ubifs_remount_fs: invalid or unknown remount parameter 
    mount: mounting ubi0:rootfs on / failed: Invalid argument                      
    UBIFS: parse relatime                                                          
    UBIFS error (pid 1344): ubifs_parse_options: unrecognized mount option "relatime
    UBIFS error (pid 1344): ubifs_remount_fs: invalid or unknown remount parameter 
    mount: mounting ubi0:rootfs on / failed: Invalid argument                      
    root: mount: mounting rootfs on / failed: No such file or directory            
    root: mount: mounting usbfs on /proc/bus/usb failed: No such file or directory 
    Setting up IP spoofing protection: rp_filter.                                  
    Configuring network interfaces... done.                                        
    /sbin/ldconfig: /lib/libts-0.0.so.0 is not a symbolic link                     
                                                                                   
    Tue Jan 27 08:47:00 UTC 2009                                                   
    INIT: Entering runlevel: 5                                                     
    Starting syslogd/klogd: done                                                   
    insmod: cannot insert '/devkit8500D/spi-can.ko': Function not implemented      
    ln: /devkit8500D/qtlib/libQtCore.so.4: File exists                             
    ln: /devkit8500D/qtlib/libQtGui.so.4: File exists                              
    ln: /devkit8500D/qtlib/libQtNetwork.so.4: File exists                          
    ln: /devkit8500D/cpluslib/libstdc++.so.6: File exists                          
    ir read : fopen erro!                                                          
    ccd read : fopen erro!
    虽然最后erro了,但是在显示器上还是能显示视频图像,怎么对启动时间进行优化,能分享一下您的经验吗?新手,最好能详细点,谢谢您!