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.

Booting Speed optimizaation?

Other Parts Discussed in Thread: AM3352

Hi,

I'm developing AM3352 and below is the booting log. Currenlty it takes 20sec from kernel loading to FS loading.

Especially, red color part takes much time. Could you please suggest any idea for reducing the booting time?

Thanks and BR,

Devin

----------------------

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Linux version 3.2.0 (devin@devin-laptop) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #8 Thu May 9 13:33:13 KST 2013
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: am335xevm
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] AM335X ES1.0 (neon )
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=7,2048 rootfstype=ubifs rootwait=1
[    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: 58348k/58348k available, 7188k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc059b000   (5708 kB)
[    0.000000]       .init : 0xc059b000 - 0xc05d9000   ( 248 kB)
[    0.000000]       .data : 0xc05da000 - 0xc0640718   ( 410 kB)
[    0.000000]        .bss : 0xc064073c - 0xc066d4e4   ( 180 kB)
[    0.000000] NR_IRQS:396
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[    0.000000] Total of 128 interrupts on 1 active controller
[    0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz
[    0.000000] omap_dm_timer_switch_src: Switching to HW default clocksource(sys_clkin_ck) for timer1, this may impact timekeeping in low power state
[    0.000000] OMAP clocksource: GPTIMER1 at 24000000 Hz
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.000223] Calibrating delay loop... 548.86 BogoMIPS (lpj=2744320)
[    0.046591] pid_max: default: 32768 minimum: 301
[    0.046732] Security Framework initialized
[    0.046852] Mount-cache hash table entries: 512
[    0.047288] CPU: Testing write buffer coherency: ok
[    0.068338] omap_hwmod: gfx: failed to hardreset
[    0.085056] omap_hwmod: pruss: failed to hardreset
[    0.086349] print_constraints: dummy:
[    0.086814] NET: Registered protocol family 16
[    0.089444] OMAP GPIO hardware version 0.1
[    0.095300] omap_mux_init: Add partition: #1: core, flags: 0
[    0.095818]  omap_hsmmc.0: alias fck already exists
[    0.096187] [brandon] wl12xx_init() evm_id = 0
[    0.097799]  omap2_mcspi.1: alias fck already exists
[    0.098072]  omap2_mcspi.2: alias fck already exists
[    0.098964]  edma.0: alias fck already exists
[    0.098992]  edma.0: alias fck already exists
[    0.099017]  edma.0: alias fck already exists
[    0.132991] bio: create slab <bio-0> at 0
[    0.135749] SCSI subsystem initialized
[    0.137810] usbcore: registered new interface driver usbfs
[    0.138190] usbcore: registered new interface driver hub
[    0.138435] usbcore: registered new device driver usb
[    0.140716] Advanced Linux Sound Architecture Driver Version 1.0.24.
[    0.142073] Switching to clocksource gp timer
[    0.161717] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    0.162234] NET: Registered protocol family 2
[    0.162475] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.162824] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.162891] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.162936] TCP: Hash tables configured (established 2048 bind 2048)
[    0.162951] TCP reno registered
[    0.162967] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.162999] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.163218] NET: Registered protocol family 1
[    0.163539] RPC: Registered named UNIX socket transport module.
[    0.163556] RPC: Registered udp transport module.
[    0.163568] RPC: Registered tcp transport module.
[    0.163580] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.163878] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.164115] omap-gpmc omap-gpmc: GPMC revision 6.0
[    0.164138] Registering NAND on CS0
[    0.170483] VFS: Disk quotas dquot_6.5.2
[    0.170563] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.171233] msgmni has been set to 113
[    0.175142] alg: No test for stdrng (krng)
[    0.175942] io scheduler noop registered
[    0.175961] io scheduler deadline registered
[    0.176053] io scheduler cfq registered (default)
[    0.178280] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[    0.644515] console [ttyO0] enabled
[    0.648904] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[    0.656948] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[    0.664953] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[    0.672942] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[    0.680873] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[    0.700616] brd: module loaded
[    0.709989] loop: module loaded
[    0.713562] i2c-core: driver [tsl2550] using legacy suspend method
[    0.720080] i2c-core: driver [tsl2550] using legacy resume method
[    0.728470] mtdoops: mtd device (mtddev=name/number) must be supplied
[    0.735953] omap2-nand driver initializing
[    0.740616] ONFI flash detected
[    0.744092] ONFI param page 0 valid
[    0.747782] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xa1 (Micron MT29F1G08ABBEAH4)
[    0.756505] Creating 8 MTD partitions on "omap2-nand.0":
[    0.762146] 0x000000000000-0x000000020000 : "SPL"
[    0.768899] 0x000000020000-0x000000040000 : "SPL.backup1"
[    0.776274] 0x000000040000-0x000000060000 : "SPL.backup2"
[    0.783514] 0x000000060000-0x000000080000 : "SPL.backup3"
[    0.790745] 0x000000080000-0x000000260000 : "U-Boot"
[    0.798340] 0x000000260000-0x000000280000 : "U-Boot Env"
[    0.805539] 0x000000280000-0x000000780000 : "Kernel"
[    0.814426] 0x000000780000-0x000008000000 : "File System"
[    0.872196] OneNAND driver initializing
[    0.877068] UBI: attaching mtd7 to ubi0
[    0.881121] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    0.887761] UBI: logical eraseblock size:    126976 bytes
[    0.893464] UBI: smallest flash I/O unit:    2048
[    0.898420] UBI: sub-page size:              512
[    0.903297] UBI: VID header offset:          2048 (aligned 2048)
[    0.909627] UBI: data offset:                4096
[    1.946758] UBI: max. sequence number:       221
[    1.966265] UBI: attached mtd7 to ubi0
[    1.970225] UBI: MTD device name:            "File System"
[    1.976060] UBI: MTD device size:            120 MiB
[    1.981293] UBI: number of good PEBs:        964
[    1.986170] UBI: number of bad PEBs:         0
[    1.990851] UBI: number of corrupted PEBs:   0
[    1.995544] UBI: max. allowed volumes:       128
[    2.000409] UBI: wear-leveling threshold:    4096
[    2.005379] UBI: number of internal volumes: 1
[    2.010060] UBI: number of user volumes:     1
[    2.014751] UBI: available PEBs:             0
[    2.019431] UBI: total number of reserved PEBs: 964
[    2.024578] UBI: number of PEBs reserved for bad PEB handling: 9
[    2.030906] UBI: max/mean erase counter: 2/0
[    2.035414] UBI: image sequence number:  2134583740
[    2.040679] UBI: background thread "ubi_bgt0d" started, PID 547
[    2.047732] CAN device driver interface
[    2.051776] CAN bus driver for Bosch D_CAN controller 1.0
[    2.102165] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[    2.108687] davinci_mdio davinci_mdio.0: detected phy mask fffffff6
[    2.116681] davinci_mdio.0: probed
[    2.120274] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
[    2.127737] davinci_mdio davinci_mdio.0: phy[3]: device 0:03, driver unknown
[    2.135592] usbcore: registered new interface driver zd1201
[    2.141696] usbcore: registered new interface driver cdc_ether
[    2.148065] usbcore: registered new interface driver cdc_eem
[    2.154237] usbcore: registered new interface driver dm9601
[    2.160162] cdc_ncm: 04-Aug-2011
[    2.163781] usbcore: registered new interface driver cdc_ncm
[    2.169749] Initializing USB Mass Storage driver...
[    2.175116] usbcore: registered new interface driver usb-storage
[    2.181447] USB Mass Storage support registered.
[    2.186901] mousedev: PS/2 mouse device common for all mice
[    2.194026] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
[    2.200949] i2c /dev entries driver
[    2.204852] Linux video capture interface: v2.00
[    2.210079] usbcore: registered new interface driver uvcvideo
[    2.216160] USB Video Class driver (1.1.1)
[    2.221434] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    2.228094] _regulator_get: deviceless supply vdd_mpu not found, using dummy regulator
[    2.237002] cpuidle: using governor ladder
[    2.241930] cpuidle: using governor menu
[    2.388372] omap4_aes_mod_init: loading AM33X AES driver
[    2.394143] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
[    2.400811] omap4_aes_probe: probe() done
[    2.405308] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
[    2.411517] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
[    2.424593] omap4_sham_probe: probe() done
[    2.431799] usbcore: registered new interface driver usbhid
[    2.437721] usbhid: USB HID core driver
[    2.442530] usbcore: registered new interface driver snd-usb-audio
[    2.453440] mmc0: card claims to support voltages below the defined range. These will be ignored.
[    2.463544] ALSA device list:
[    2.466674]   No soundcards found.
[    2.470240] oprofile: hardware counters not available
[    2.475561] oprofile: using timer interrupt.
[    2.480068] nf_conntrack version 0.5.0 (911 buckets, 3644 max)
[    2.486729] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.492486] TCP cubic registered
[    2.495896] NET: Registered protocol family 17
[    2.500591] can: controller area network core (rev 20090105 abi 8)
[    2.507241] NET: Registered protocol family 29
[    2.511928] can: raw protocol (rev 20090105)
[    2.516445] can: broadcast manager protocol (rev 20090105 t)
[    2.522468] Registering the dns_resolver key type
[    2.527536] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    2.535640] ThumbEE CPU extension supported.
[    2.540204] mux: Failed to setup hwmod io irq -22
[    2.545892] Power Management for AM33XX family
[    2.550808] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[    2.557564] Copied the M3 firmware to UMEM
[    2.562648] sr_init: platform driver register failed
[    2.571899] clock: disabling unused clocks to save power
[    2.589647] mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
[    2.596603] mmc0: new high speed SDIO card at address 0001
[    2.609177] Detected MACID=bc:6a:29:fd:8:2a
[    2.614780] cpsw: Detected MACID = bc:6a:29:fd:08:2b
[    2.621273] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[    2.696441] UBIFS: recovery needed
[    2.865007] UBIFS: recovery completed
[    2.868889] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[    2.875247] UBIFS: file system size:   119230464 bytes (116436 KiB, 113 MiB, 939 LEBs)
[    2.883609] UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
[    2.891316] UBIFS: media format:       w4/r0 (latest is w4/r0)
[    2.897473] UBIFS: default compressor: lzo
[    2.901788] UBIFS: reserved for root:  0 bytes (0 KiB)
[    2.910440] VFS: Mounted root (ubifs filesystem) on device 0:12.
[    2.917285] Freeing init memory: 248K
INIT: version 2.86 booting
Please wait: booting...
Starting udev
Error opening /dev/fb0: No such device
[    4.848384] alignment: ignoring faults is unsafe on this CPU.  Defaulting to fixup mode.
Root filesystem already rw, not remounting
Caching udev devnodes
ALSA: Restoring mixer settings...
Configuring network interfaces... /usr/sbin/alsactl: load_state:1625: No soundcards found...
[    5.645864] net eth0: CPSW phy found : id is : 0x1cc816
udhcpc (v1.13.2) started
Sending discover...
[    7.642873] PHY: 0:03 - Link is Up - 100/Full
Sending discover...
Sending select for 192.168.0.109...
Lease of 192.168.0.109 obtained, lease time 864000
adding dns 157.87.119.10
adding dns 134.183.48.37
done.
Setting up IP spoofing protection: rp_filter.
Fri

 Jul 27 10:30:00 UTC 2012
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting telnet daemon.
Starting syslogd/klogd: done
Starting thttpd.

 _____                    _____           _         _
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
              |___|                    |___|

Arago Project http://arago-project.org am335x-evm ttyO0

Arago 2011.09 am335x-evm ttyO0

am335x-evm login: