I am trying to improve boot time by reconfiguring default kernel with DM365 EVM. I am loosing 1.25 sec after the following message which i have made bold in the printk obtained using dmesg command after boot up.
[ 0.220000] io scheduler noop registered
[ 0.220000] io scheduler anticipatory registered (default)
[ 1.510000] DM365 IPIPEIF probed
[ 1.510000] imp serializer initialized
[ 1.510000] davinci_previewer initialize
Can someone please tell me why there is a long delay and is it possible to remove it?
Full boot log:
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Linux-2.6.32.17-davinci1
Created: 2012-05-18 20:06:55 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1073472 Bytes = 1 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux......................................................................... done, booting the kernel.
[ 0.040000] davinci_serial_init:97: failed to get UART2 clock
init started: BusyBox v1.13.2 (2011-03-24 18:58:44 CDT)
starting pid 815, tty '': '/etc/init.d/rcS'
This is INIT PROCESS:
mounted proc
Loading modules
mknod: /dev/dm365mmap: File exists
Please press Enter to activate this console.
starting pid 833, tty '': '-/bin/sh'
-/bin/sh: can't access tty; job control turned off
root@(none):/# dmesg
[ 0.000000] Linux version 2.6.32.17-davinci1 (ct@ct-desktop) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #2 PREEMPT Sat May 19 01:36:49 IST 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 DM36x EVM
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 19456
[ 0.000000] free_area_init_node: node 0, pgdat c0230980, node_mem_map c0259000
[ 0.000000] DMA zone: 152 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 19304 pages, LIFO batch:3
[ 0.000000] DaVinci dm36x_rev1.2 variant 0x8
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 19304
[ 0.000000] Kernel command line: console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootwait ip=off mem=76M video=davincifb:vid0=OFF:vid1=OFF:osd0=1920x1080x4,32400K8
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 76MB = 76MB total
[ 0.000000] Memory: 74616KB available (2024K code, 254K data, 84K init, 0K highmem)
[ 0.000000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:245
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] Calibrating delay loop (skipped) preset value.. 147.86 BogoMIPS (lpj=739328)
[ 0.000000] Mount-cache hash table entries: 512
[ 0.000000] CPU: Testing write buffer coherency: ok
[ 0.000000] DaVinci: 8 gpio irqs
[ 0.040000] davinci_serial_init:97: failed to get UART2 clock
[ 0.050000] EVM: HD imager video input
[ 0.110000] bio: create slab <bio-0> at 0
[ 0.110000] DM365 IPIPE initialized in Continuous mode
[ 0.120000] pca9543a_probe
[ 0.120000] vpss vpss: dm365_vpss vpss probed
[ 0.120000] vpss vpss: dm365_vpss vpss probe success
[ 0.130000] Switching to clocksource timer0_1
[ 0.220000] msgmni has been set to 145
[ 0.220000] io scheduler noop registered
[ 0.220000] io scheduler anticipatory registered (default)
[ 1.510000] DM365 IPIPEIF probed
[ 1.510000] imp serializer initialized
[ 1.510000] davinci_previewer initialized
[ 1.520000] davinci_resizer initialized
[ 1.520000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 1.530000] serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
[ 1.540000] console [ttyS0] enabled
[ 1.550000] brd: module loaded
[ 1.550000] at24 1-0050: 32768 byte 24c256 EEPROM (writable)
[ 1.550000] Read MAC addr from EEPROM: 00:0e:99:03:51:55
[ 1.550000] spi_davinci spi_davinci.0: DaVinci SPI driver in EDMA mode
[ 1.550000] Using RX channel = 17 , TX channel = 16 and event queue = 3
[ 1.560000] at25 spi0.0: 8 KByte at25640 eeprom, pagesize 32
[ 1.560000] spi_davinci spi_davinci.0: Controller at 0xfec66000
[ 1.560000] i2c /dev entries driver
[ 1.560000] Linux video capture interface: v2.00
[ 1.560000] vpfe_init
[ 1.560000] vpfe-capture: vpss clock vpss_master enabled
[ 1.560000] vpfe-capture vpfe-capture: v4l2 device registered
[ 1.570000] vpfe-capture vpfe-capture: video device registered
[ 1.570000] dm365evm_enable_pca9543a
[ 1.570000] dm365evm_enable_pca9543a, status = -121
[ 1.570000] EVM: switch to HD imager video input
[ 1.570000] mt9p031 1-005d: Detected a MT9P031 chip ID 1801
[ 1.570000] mt9p031 1-005d: mt9p031 1-005d decoder driver registered !!
[ 1.570000] vpfe-capture vpfe-capture: v4l2 sub device mt9p031 registered
[ 1.570000] vpfe_register_ccdc_device: DM365 ISIF
...(some more messages)
[ 2.250000] File /media/08B0B562B0B556C2/dvsdk4_02/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
[ 2.420000] CMEMK module: built on May 18 2012 at 22:53:03
[ 2.420000] Reference Linux version 2.6.32
[ 2.420000] File /media/08B0B562B0B556C2/dvsdk4_02/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[ 2.430000] allocated heap buffer 0xc6000000 of size 0x13e8000
[ 2.430000] cmemk initialized
Thank you.