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: TVP5146M2

大家好,请教大家linux时间优化的问题,本人用的是devkit8500D这块板子,加上QT以后大概启动时间要18S,看网上有人说不加QT可以优化到7s左右,有没有人能够帮忙分析一下,哪些地方可以优化,最好能够详细一点,以下是终端里面打印的信息:

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了,但是在显示器上还是能显示视频图像,怎么对启动时间进行优化,能分享一下您的经验吗?新手,最好能详细点,谢谢!