set verify=n this will ignore checksum

Regard's
RT

--- On Thu, 29/7/10, Nicolas Luna <[email protected]> wrote:

From: Nicolas Luna <[email protected]>
Subject: Boot time
To: [email protected]
Date: Thursday, 29 July, 2010, 0:59

Hi guys,
I'm trying to make by board boot as quick as possible. I did some optimisation 
with the "All This For 1 Second Boot" wiki and other website. I would like to 
reduce a little bit more the boot time and I wonder if you guys could give me 
some clues.

I copied my boot log below. For sure I'll remove the uboot autoboot delay and 
probably build a new kernel with modules. I putted in bold part that I think it 
is possible to do more optimisation.


1- See bullet #3.2- The verifying Checksum is about 400 msec is it possible to 
skip it?3- It takes ~1 sec to start booting the kernel and there is a other ~1 
sec delay between the starting kernel and the beginning of the uncompressing. 
Why it's so long? Ok maybe there is the copy from NOR to RAM but it should not 
take more than few msec.
4- It takes ~1 sec to the kernel to free 120K memory... I got enought RAM is it 
possible to remove it?
I got custom hardware based on OMAP-L138 with FS (jffs2) and compressed kernel 
in NOR Flash.

Thanks a lot
Nicolas
-------------------------------------------------------------------------------------
0.000 0.000: OMAP-L138 initialization passed!
0.000 0.000: Booting TI User Boot Loader0.004 0.004:    UBL Version: 1.650.004 
0.000:    UBL Flashtype: NOR0.008 0.004: Starting NOR Copy...0.008 0.000: CFI 
Query...passed.
0.012 0.004: NOR Initialization:0.012 0.000:    Command Set: Intel0.012 0.000:  
  Manufacturer: INTEL0.016 0.004:    Size: 0x00000020 MB0.020 0.004: Valid 
magicnum, 0x55424CBB, found..
0.184 0.164:    DONE0.188 0.004: Jumping to entry point at 0xC1080000.0.504 
0.316:1.548 1.044: Hit any key to stop autoboot:  02.372 0.824: ## Booting 
kernel from Legacy Image at c0007fc0 ...
2.372 0.000:    Image Name:   Linux-2.6.342.380 0.008:    Image Type:   ARM 
Linux Kernel Image (uncompressed)2.380 0.000:    Data Size:    1505956 Bytes =  
1.4 MB2.384 0.004:    Load Address: c0008000
2.388 0.004:    Entry Point:  c00080002.808 0.420:    Verifying Checksum ... 
OK2.808 0.000:    Loading Kernel Image ... OK2.808 0.000: OK2.808 0.000:2.812 
0.004: Starting kernel ...
2.812 0.000:3.860 1.048: Uncompressing Linux... done, booting the kernel.4.264 
0.404: Linux version 2.6.34 (i...@idt-ubuntu-linux) (gcc version 4.3.3 
(Sourcery G++ Lite 2009q1-203) ) #89 PREEMPT Thu Jul 22 15:24:03 EDT 2010
4.268 0.004: CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=000531774.272 
0.004: CPU: VIVT data cache, VIVT instruction cache4.276 0.004: Machine: 
DaVinci DA850/OMAP-L138 EVM4.280 0.004: Memory policy: ECC disabled, Data cache 
writeback
4.284 0.004: DaVinci da850/omap-l138 variant 0x04.288 0.004: Built 1 zonelists 
in Zone order, mobility grouping on.  Total pages: 325124.300 0.012: Kernel 
command line: lpj=747520 mem=128M console=ttyS2,115200n8 root=/dev/mtdblock2 
rootfstype=jffs2 rw ip=off
4.304 0.004: PID hash table entries: 512 (order: -1, 2048 bytes)4.308 0.004: 
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)4.316 0.008: 
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
4.316 0.000: Memory: 128MB = 128MB total4.324 0.008: Memory: 126752k/126752k 
available, 4320k reserved, 0K highmem4.324 0.000: Virtual kernel memory 
layout:4.332 0.008:     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
4.336 0.004:     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)4.340 0.004:     
DMA     : 0xff000000 - 0xffe00000   (  14 MB)4.344 0.004:     vmalloc : 
0xc8800000 - 0xfea00000   ( 866 MB)
4.348 0.004:     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)4.352 0.004:     
modules : 0xbf000000 - 0xc0000000   (  16 MB)4.356 0.004:       .init : 
0xc0008000 - 0xc0026000   ( 120 kB)4.360 0.004:       .text : 0xc0026000 - 
0xc02e8000   (2824 kB)
4.364 0.004:       .data : 0xc02e8000 - 0xc0307a60   ( 127 kB)4.372 0.008: 
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=14.376 
0.004: Hierarchical RCU implementation.
4.376 0.000: NR_IRQS:2454.380 0.004: Console: colour dummy device 80x304.384 
0.004: Calibrating delay loop (skipped) preset value.. 149.50 BogoMIPS 
(lpj=747520)4.388 0.004: Mount-cache hash table entries: 512
4.392 0.004: CPU: Testing write buffer coherency: ok4.396 0.004: DaVinci: 144 
gpio irqs4.396 0.000: NET: Registered protocol family 164.400 0.004: bio: 
create slab <bio-0> at 0
4.404 0.004: SCSI subsystem initialized4.408 0.004: usbcore: registered new 
interface driver usbfs4.412 0.004: usbcore: registered new interface driver 
hub4.416 0.004: usbcore: registered new device driver usb
4.416 0.000: Switching to clocksource timer0_14.420 0.004: musb_hdrc: version 
6.0, pio, host, debug=04.424 0.004: Waiting for USB PHY clock good...4.428 
0.004: musb_hdrc musb_hdrc: MUSB HDRC host driver
4.432 0.004: musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 
14.436 0.004: hub 1-0:1.0: USB hub found4.440 0.004: hub 1-0:1.0: 1 port 
detected4.444 0.004: musb_hdrc musb_hdrc: USB Host mode controller at fee00000 
using PIO, IRQ 58
4.448 0.004: NET: Registered protocol family 24.456 0.008: IP route cache hash 
table entries: 1024 (order: 0, 4096 bytes)4.460 0.004: TCP established hash 
table entries: 4096 (order: 3, 32768 bytes)
4.464 0.004: TCP bind hash table entries: 4096 (order: 2, 16384 bytes)4.468 
0.004: TCP: Hash tables configured (established 4096 bind 4096)4.472 0.004: TCP 
reno registered4.476 0.004: UDP hash table entries: 256 (order: 0, 4096 bytes)
4.480 0.004: UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)4.484 
0.004: NET: Registered protocol family 14.488 0.004: RPC: Registered udp 
transport module.4.492 0.004: RPC: Registered tcp transport module.
4.496 0.004: RPC: Registered tcp NFSv4.1 backchannel transport module.4.500 
0.004: JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.4.504 0.004: msgmni 
has been set to 2474.508 0.004: io scheduler noop registered (default)
4.512 0.004: da8xx_lcdc da8xx_lcdc.0: GLCD: Found Sharp_LK043T1DG01 panel4.516 
0.004: Console: switching to colour frame buffer device 60x344.520 0.004: 
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
4.528 0.008: serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A4.532 
0.004: serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A4.540 0.008: 
serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A
4.540 0.000: console [ttyS2] enabled4.548 0.008: brd: module loaded4.556 0.008: 
physmap platform flash device: 02000000 at 600000004.564 0.008: 
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
4.568 0.004:  Intel/Sharp Extended Query Table at 0x010A4.572 0.004:  
Intel/Sharp Extended Query Table at 0x010A4.576 0.004:  Intel/Sharp Extended 
Query Table at 0x010A4.580 0.004:  Intel/Sharp Extended Query Table at 0x010A
4.584 0.004:  Intel/Sharp Extended Query Table at 0x010A4.588 0.004: Using 
buffer write method4.588 0.000: Using auto-unlock on power-up/resume4.592 
0.004: cfi_cmdset_0001: Erase suspend on write enabled
4.596 0.004: RedBoot partition parsing not available4.600 0.004: Using physmap 
partition information4.604 0.004: Creating 3 MTD partitions on 
"physmap-flash.0":4.608 0.004: 0x000000000000-0x000000080000 : "bootloaders + 
env"
4.620 0.012: 0x000000080000-0x000000280000 : "kernel"4.628 0.008: 
0x000000280000-0x000002000000 : "filesystem"4.636 0.008: physmap-flash.0: 
failed to claim resource 0
4.644 0.008: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron NAND 
512MiB 3,3V 8-bit)4.652 0.008: Creating 2 MTD partitions on 
"davinci_nand.1":4.656 0.004: 0x000000000000-0x000001900000 : "data"
4.664 0.008: 0x000001900000-0x000020000000 : "else"4.672 0.008: davinci_nand 
davinci_nand.1: controller rev. 2.54.680 0.008: spi_davinci spi_davinci.1: 
Controller at 0xfef0e000
4.692 0.012: tun: Universal TUN/TAP device driver, 1.64.696 0.004: tun: (C) 
1999-2004 Max Krasnyansky <[email protected]>4.704 0.008: ohci_hcd: USB 1.1 
'Open' Host Controller (OHCI) Driver
4.708 0.004: ohci ohci.0: DA8xx OHCI4.712 0.004: ohci ohci.0: new USB bus 
registered, assigned bus number 24.716 0.004: Waiting for USB PHY clock 
good...4.720 0.004: ohci ohci.0: irq 59, io mem 0x01e25000
4.788 0.068: hub 2-0:1.0: USB hub found4.788 0.000: hub 2-0:1.0: 1 port 
detected4.796 0.008: Initializing USB Mass Storage driver...4.804 0.008: 
usbcore: registered new interface driver usb-storage
4.804 0.000: USB Mass Storage support registered.5.804 1.000: i2c_davinci 
i2c_davinci.1: controller timed out5.808 0.004: i2c_davinci i2c_davinci.1: 
initiating i2c bus recovery5.812 0.004: tps6507x-ts: probe of tps6507x-ts 
failed with error -110
5.820 0.008: omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc05.824 
0.004: omap_rtc: RTC power up reset detected5.824 0.000: omap_rtc: already 
running5.828 0.004: i2c /dev entries driver
5.832 0.004: TCP cubic registered5.836 0.004: Clocks: disable unused i2c15.840 
0.004: Clocks: disable unused emac5.848 0.008: davinci_emac_probe: using random 
MAC addr: 72:93:72:ad:15:13
5.852 0.004: emac-mii: probed5.860 0.008: omap_rtc omap_rtc: setting system 
clock to 2000-01-01 01:34:03 UTC (946690443)6.136 0.276: VFS: Mounted root 
(jffs2 filesystem) on device 31:2.
6.140 0.004: Freeing init memory: 120K7.356 1.216: Mounting proc

-----Inline Attachment Follows-----

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source



      
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to