Following is bootlog from our am3352 board in sdk6.0
We only use the gpmc,ethernet,usb and gpio peripherals in our am3352 board
It takes 15sec form PowerON to root login
a.We have reducted menuconfig item,(uImage size 3MB -> 2.5MB)
b.We canceled the uImage check sum verify in uboot
c.We use the const data to replace read eeprom in uboot / kernel
d.I know use ramdisk will affect the boot time (because production board problems)
question:
1 why udev action takes 3 seconds ??
2.Why VFS Mount time takes 1.7 seconds ??
3 I use arago-base-tisdk-image-am335x-evm for rootfs
lib and / usr / lib what things can be removed??
4.What can I do for reducted boot time???
U-Boot SPL 2013.01.01 (Oct 13 2014 - 14:58:52)
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img
U-Boot 2013.01.01 (Oct 13 2014 - 14:58:52)
I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 0
mmc0 is current device
SD/MMC found on device 0
reading uEnv.txt
196 bytes read in 4 ms (47.9 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc ...
Running uenvcmd ...
reading uImage
2653960 bytes read in 252 ms (10 MiB/s)
reading ramdisk.gz
15953390 bytes read in 1499 ms (10.1 MiB/s)
## Booting kernel from Legacy Image at 80200000 ...
Image Name: Linux-3.2.0
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2653896 Bytes = 2.5 MiB
Load Address: 80008000
Entry Point: 80008000
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Linux version 3.2.0 (root@am335xhost) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #2 Tue Oct 7 12:35:32 CST 2014
[ 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 ES2.1 (neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/ram0 rw rootfstype=ext2 initrd=0x81000000,64M
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 256MB = 256MB total
[ 0.000000] Memory: 188868k/188868k available, 73276k 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 : 0xd0800000 - 0xff000000 ( 744 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0497000 (4668 kB)
[ 0.000000] .init : 0xc0497000 - 0xc04ce000 ( 220 kB)
[ 0.000000] .data : 0xc04ce000 - 0xc0525860 ( 351 kB)
[ 0.000000] .bss : 0xc0525884 - 0xc0552e64 ( 182 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.000164] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[ 0.087769] pid_max: default: 32768 minimum: 301
[ 0.087863] Security Framework initialized
[ 0.087948] Mount-cache hash table entries: 512
[ 0.088270] CPU: Testing write buffer coherency: ok
[ 0.107651] omap_hwmod: gfx: failed to hardreset
[ 0.123423] omap_hwmod: pruss: failed to hardreset
[ 0.124381] print_constraints: dummy:
[ 0.124677] NET: Registered protocol family 16
[ 0.126387] OMAP GPIO hardware version 0.1
[ 0.128193] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.129702] omap_i2c.1: alias fck already exists
[ 0.130947] edma.0: alias fck already exists
[ 0.130963] edma.0: alias fck already exists
[ 0.130977] edma.0: alias fck already exists
[ 0.145334] bio: create slab <bio-0> at 0
[ 0.147039] SCSI subsystem initialized
[ 0.147597] usbcore: registered new interface driver usbfs
[ 0.147865] usbcore: registered new interface driver hub
[ 0.148031] usbcore: registered new device driver usb
[ 0.148328] registerd cppi-dma Intr @ IRQ 17
[ 0.148340] Cppi41 Init Done Qmgr-base(d087a000) dma-base(d0878000)
[ 0.148347] Cppi41 Init Done
[ 0.148370] musb-ti81xx musb-ti81xx: musb0, board_mode=0x11, plat_mode=0x1
[ 0.148630] musb-ti81xx musb-ti81xx: musb1, board_mode=0x11, plat_mode=0x1
[ 0.149412] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[ 0.150943] tps65910 1-002d: JTAGREVNUM 0x0
[ 0.153208] print_constraints: VRTC:
[ 0.154572] print_constraints: VIO: at 1500 mV
[ 0.156781] print_constraints: VDD1: 600 <--> 1500 mV at 1325 mV normal
[ 0.158981] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal
[ 0.159911] print_constraints: VDD3: 5000 mV
[ 0.161241] print_constraints: VDIG1: at 1800 mV
[ 0.162590] print_constraints: VDIG2: at 1800 mV
[ 0.163924] print_constraints: VPLL: at 1800 mV
[ 0.165262] print_constraints: VDAC: at 1800 mV
[ 0.166613] print_constraints: VAUX1: at 1800 mV
[ 0.167970] print_constraints: VAUX2: at 3300 mV
[ 0.169311] print_constraints: VAUX33: at 3300 mV
[ 0.170649] print_constraints: VMMC: at 3300 mV
[ 0.171026] tps65910 1-002d: No interrupt support, no core IRQ
[ 0.172834] Switching to clocksource gp timer
[ 0.184455] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.184618] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
[ 0.184877] MUSB0 controller's USBSS revision = 4ea20800
[ 0.184905] musb0: Enabled SW babble control
[ 0.185317] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[ 0.185400] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
[ 0.185525] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.185536] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.185547] usb usb1: Product: MUSB HDRC host driver
[ 0.185554] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
[ 0.185562] usb usb1: SerialNumber: musb-hdrc.0
[ 0.186253] hub 1-0:1.0: USB hub found
[ 0.186280] hub 1-0:1.0: 1 port detected
[ 0.186702] musb-hdrc musb-hdrc.0: USB Host mode controller at d083c000 using DMA, IRQ 18
[ 0.186853] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
[ 0.187110] MUSB1 controller's USBSS revision = 4ea20800
[ 0.187132] musb1: Enabled SW babble control
[ 0.187512] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.187549] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
[ 0.187632] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.187643] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.187653] usb usb2: Product: MUSB HDRC host driver
[ 0.187660] usb usb2: Manufacturer: Linux 3.2.0 musb-hcd
[ 0.187668] usb usb2: SerialNumber: musb-hdrc.1
[ 0.188237] hub 2-0:1.0: USB hub found
[ 0.188259] hub 2-0:1.0: 1 port detected
[ 0.188658] musb-hdrc musb-hdrc.1: USB Host mode controller at d083e800 using DMA, IRQ 19
[ 0.189022] NET: Registered protocol family 2
[ 0.189191] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.189438] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.189554] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.189623] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.189633] TCP reno registered
[ 0.189642] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.189659] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.189814] NET: Registered protocol family 1
[ 0.190031] RPC: Registered named UNIX socket transport module.
[ 0.190042] RPC: Registered udp transport module.
[ 0.190048] RPC: Registered tcp transport module.
[ 0.190054] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.190248] Trying to unpack rootfs image as initramfs...
[ 0.190939] rootfs image is not initramfs (no cpio magic); looks like an initrd
[ 0.487899] Freeing initrd memory: 65536K
[ 0.487921] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.498378] VFS: Disk quotas dquot_6.5.2
[ 0.498435] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.498874] msgmni has been set to 496
[ 0.501472] alg: No test for stdrng (krng)
[ 0.502042] io scheduler noop registered
[ 0.502052] io scheduler deadline registered
[ 0.502108] io scheduler cfq registered (default)
[ 0.502636] Could not set LED4 to fully on
[ 0.543768] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 1.265650] console [ttyO0] enabled
[ 1.269718] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 1.277444] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 1.285150] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 1.292829] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 1.300541] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 1.308607] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
[ 1.322564] brd: module loaded
[ 1.329472] loop: module loaded
[ 1.332949] i2c-core: driver [tsl2550] using legacy suspend method
[ 1.339409] i2c-core: driver [tsl2550] using legacy resume method
[ 1.345846] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.452863] No daughter card found
[ 1.456449] at24 1-0055: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[ 1.463736] The board is a AM335x Starter Kit.
[ 1.468559] omap_hsmmc.0: alias fck already exists
[ 1.474283] _omap_mux_get_by_name: Could not find signal gpmc_csn1.gpio1_29
[ 1.481570] _omap_mux_get_by_name: Could not find signal gpmc_csn2.gpio1_30
[ 1.488875] _omap_mux_get_by_name: Could not find signal gpmc_csn3.gpio1_31
[ 1.498474] registered am33xx_sr device
[ 1.503789] vcan: Virtual CAN interface driver
[ 1.508439] CAN device driver interface
[ 1.512443] CAN bus driver for Bosch D_CAN controller 1.0
[ 1.562892] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[ 1.569358] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
[ 1.576783] phy read clk = 0x3def
[ 1.580486] phy read clk = 0x3ed6
[ 1.584452] phy read rxd = 0x7777
[ 1.588156] phy read rxd = 0x0
[ 1.591512] davinci_mdio.0: probed
[ 1.595079] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
[ 1.602719] usbcore: registered new interface driver zd1201
[ 1.608704] usbcore: registered new interface driver cdc_ether
[ 1.614936] usbcore: registered new interface driver cdc_eem
[ 1.620957] usbcore: registered new interface driver dm9601
[ 1.626826] cdc_ncm: 04-Aug-2011
[ 1.630315] usbcore: registered new interface driver cdc_ncm
[ 1.636242] Initializing USB Mass Storage driver...
[ 1.641519] usbcore: registered new interface driver usb-storage
[ 1.647808] USB Mass Storage support registered.
[ 1.652993] mousedev: PS/2 mouse device common for all mice
[ 1.659311] i2c /dev entries driver
[ 1.803647] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.811962] cpuidle: using governor ladder
[ 1.816649] cpuidle: using governor menu
[ 1.822839] omap4_aes_mod_init: loading AM33X AES driver
[ 1.828512] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
[ 1.835191] omap4_aes_probe: probe() done
[ 1.839574] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
[ 1.845709] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
[ 1.860565] omap4_sham_probe: probe() done
[ 1.867262] oprofile: hardware counters not available
[ 1.872555] oprofile: using timer interrupt.
[ 1.877051] nf_conntrack version 0.5.0 (3975 buckets, 15900 max)
[ 1.883746] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.889398] TCP cubic registered
[ 1.892771] NET: Registered protocol family 17
[ 1.897448] can: controller area network core (rev 20090105 abi 8)
[ 1.903995] NET: Registered protocol family 29
[ 1.908639] can: raw protocol (rev 20090105)
[ 1.913110] can: broadcast manager protocol (rev 20090105 t)
[ 1.919058] Registering the dns_resolver key type
[ 1.924029] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 1.932043] ThumbEE CPU extension supported.
[ 1.936569] mux: Failed to setup hwmod io irq -22
[ 1.942057] Power Management for AM33XX family
[ 1.946908] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[ 1.953602] Copied the M3 firmware to UMEM
[ 1.957954] Cortex M3 Firmware Version = 0x181
[ 1.964275] create_regulator: VDD1: Failed to create debugfs directory
[ 1.972592] smartreflex smartreflex: am33xx_sr_probe: Driver initialized
[ 1.985425] clock: disabling unused clocks to save power
[ 2.000223] Detected MACID=1c:ba:8c:b7:53:1c
[ 2.005714] cpsw: Detected MACID = 1c:ba:8c:b7:53:1e
[ 2.012155] RAMDISK: gzip image found at block 0
[ 2.042440] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 2.063042] mmc0: new high speed SD card at address e624
[ 2.083084] mmcblk0: mmc0:e624 SU02G 1.84 GiB
[ 2.093819] mmcblk0: p1
[ 3.733836] VFS: Mounted root (ext2 filesystem) on device 1:0.
[ 3.740275] Freeing init memory: 220K
INIT: version 2.88 booting
Error opening /dev/fb0: No such device
Starting udev
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
ALSA: Restoring mixer settings...
/usr/sbin/alsactl: load_state:1686: No soundcards found...
Configuring network interfaces... done.
hwclock: can't open '/dev/misc/rtc': No such file or directory
Tue Jun 25 23:08:00 UTC 2013
hwclock: can't open '/dev/misc/rtc': No such file or directory
Configuring update-modules.
INIT: Entering runlevel: 5
[ 6.532921] phy read clk = 0x3ed6
[ 6.536606] phy read clk = 0x3ed6
[ 6.540571] phy read rxd = 0x0
[ 6.544016] phy read rxd = 0x0
[ 6.547474] net eth0: CPSW phy found : id is : 0x221622
[ 6.566315] Disabling lock debugging due to kernel taint
dbus.
Starting telnet daemon.
hwclock: can't open '/dev/misc/rtc': No such file or directory
Starting syslogd/klogd: done
Stopping Bootlog daemon: bootlogd.
_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|
Arago Project http://arago-project.org am335x-evm ttyO0
Arago 2013.05 am335x-evm ttyO0
am335x-evm login: