AM335X 開機速度提升

2019-03-26 15:10发布

我是使用TI SDK6,TI-BASE FILE SYSTEM

參考網路的文章,改了UBOOT,KERNEL,使用C10的TF卡,

目前做到可以上電-> Run Application 約6.4Sec

不曉得是否有機會再精簡時間到4.x Sec??

另外從下列需要花費1.8秒,不知是否合理呢??

[4.080772] Starting udev
[4.085440] Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
[5.860986] bootlogd.
[5.861966] EXT3-fs (mmcblk0p2): using internal journal

下列問題我已經解決,1.8秒與這個無關!

cannot allocate pseudo tty: No such file or directory

1.png
RS232_COM=Com3
RS232_BAUD=115200,n,8,1
test by XXX

[0.000000] U-Boot SPL 2013.01.01 (Jul 11 2016 - 18:36:06)
[0.005002] pin_mux for GPIO_HD44780
[0.007149] gpio_request for GPIO_HD44780
[0.010058] <<< SW LEVELING 2015.1.30>>>
[0.104327] OMAP SD/MMC: 0
[0.260297] reading u-boot.img
[0.327175] reading u-boot.img
[0.329521]
[0.366295]
[0.367315] U-Boot 2013.01.01 (Jul 11 2016 - 18:36:06)
[0.371267]
[0.371305] DRAM: 256 MiB
[0.372512] MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
[0.657045] Using default environment
[0.659191]
[0.659226] Hit any key to stop autoboot: 0
[1.194908] mmc0 is current device
[1.266249] SD/MMC found on device 0
[1.334076] reading uEnv.txt
[1.337245] ** Unable to read file uEnv.txt **
[1.342082] reading uImage
[1.346029] 2653928 bytes read in 264 ms (9.6 MiB/s)
[1.611438] Booting from mmc ...
[1.614482] ## Booting kernel from Legacy Image at 80007fc0 ...
[1.624063] Image Name: Linux-3.2.0
[1.626954] Image Type: ARM Linux Kernel Image (uncompressed)
[1.631247] Data Size: 2653864 Bytes = 2.5 MiB
[1.635132] Load Address: 80008000
[1.637246] Entry Point: 80008000
[1.640050] XIP Kernel Image ... OK
[1.642189] OK
[1.663328]
[1.663649] Starting kernel ...
[1.665734]
[1.665784] Uncompressing Linux... done, booting the kernel.
[2.018211] Linux version 3.2.0 (root@ubuntu-VirtualBox) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #2 Tue Jul 12 18:30:08 CST 201
6
[2.326287] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[2.331904] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[2.338143] Machine: am335xevm
[2.340100] Memory policy: ECC disabled, Data cache writeback
[2.344964] AM335X ES2.1 (neon )
[2.346962] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[2.353933] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext3 rootwait ip=none
[2.362990] PID hash table entries: 1024 (order: 0, 4096 bytes)
[2.367956] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[2.373896] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[2.379136] Memory: 256MB = 256MB total
[2.382011] Memory: 254404k/254404k available, 7740k reserved, 0K highmem
[2.387966] Virtual kernel memory layout:
[2.390890] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[2.395072] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[2.399961] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)
[2.404882] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[2.409053] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[2.413962] .text : 0xc0008000 - 0xc0497000 (4668 kB)
[2.418872] .init : 0xc0497000 - 0xc04ce000 ( 220 kB)
[2.423042] .data : 0xc04ce000 - 0xc0525860 ( 351 kB)
[2.427944] .bss : 0xc0525884 - 0xc0552e64 ( 182 kB)
[2.432131] NR_IRQS:396
[2.433875] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[2.439981] Total of 128 interrupts on 1 active controller
[2.444081] OMAP clockevent source: GPTIMER2 at 24000000 Hz
[2.448906] omap_dm_timer_switch_src: Switching to HW default clocksource(sys_clkin_ck) for timer1, this may impact timekeeping in low power state
[2.461006] OMAP clocksource: GPTIMER1 at 24000000 Hz
[2.464988] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[2.471134] Console: colour dummy device 80x30
[2.474867] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[2.479921] pid_max: default: 32768 minimum: 301
[2.483078] Security Framework initialized
[2.486077] Mount-cache hash table entries: 512
[2.489878] CPU: Testing write buffer coherency: ok
[2.493114] omap_hwmod: gfx: failed to hardreset
[2.496932] omap_hwmod: pruss: failed to hardreset
[2.500136] print_constraints: dummy:
[2.502988] NET: Registered protocol family 16
[2.506081] OMAP GPIO hardware version 0.1
[2.509093] omap_mux_init: Add partition: #1: core, flags: 0
[2.513902] omap_i2c.1: alias fck already exists
[2.517076] edma.0: alias fck already exists
[2.520133] edma.0: alias fck already exists
[2.523862] edma.0: alias fck already exists
[2.526931] bio: create slab <bio-0> at 0
[2.529876] SCSI subsystem initialized
[2.532048] usbcore: registered new interface driver usbfs
[2.536870] usbcore: registered new interface driver hub
[2.540891] usbcore: registered new device driver usb
[2.544872] registerd cppi-dma Intr @ IRQ 17
[2.547930] Cppi41 Init Done Qmgr-base(d087a000) dma-base(d0878000)
[2.552959] Cppi41 Init Done
[2.554872] musb-ti81xx musb-ti81xx: musb0, board_mode=0x11, plat_mode=0x1
[2.560109] musb-ti81xx musb-ti81xx: musb1, board_mode=0x11, plat_mode=0x1
[2.566045] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[2.570872] tps65910 1-002d: JTAGREVNUM 0x0
[2.573216] print_constraints: VRTC:
[2.576020] print_constraints: VIO: at 1500 mV
[2.579130] print_constraints: VDD1: 600 <--> 1500 mV at 1325 mV normal
[2.585015] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal
[2.590903] print_constraints: VDD3: 5000 mV
[2.593957] print_constraints: VDIG1: at 1800 mV
[2.597145] print_constraints: VDIG2: at 1800 mV
[2.600983] print_constraints: VPLL: at 1800 mV
[2.604125] print_constraints: VDAC: at 1800 mV
[2.607978] print_constraints: VAUX1: at 1800 mV
[2.611111] print_constraints: VAUX2: at 3300 mV
[2.614981] print_constraints: VAUX33: at 3300 mV
[2.618861] print_constraints: VMMC: at 3300 mV
[2.622011] tps65910 1-002d: No interrupt support, no core IRQ
[2.626932] Switching to clocksource gp timer
[2.629986] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[2.634957] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
[2.638987] MUSB0 controller's USBSS revision = 4ea20800
[2.643042] musb0: Enabled SW babble control
[2.646074] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[2.650869] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
[2.656961] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[2.662871] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[2.668930] usb usb1: Product: MUSB HDRC host driver
[2.672865] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
[2.676929] usb usb1: SerialNumber: musb-hdrc.0
[2.680045] hub 1-0:1.0: USB hub found
[2.682900] hub 1-0:1.0: 1 port detected
[2.685128] musb-hdrc musb-hdrc.0: USB Host mode controller at d083c000 using DMA, IRQ 18
[2.692873] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
[2.696900] MUSB1 controller's USBSS revision = 4ea20800
[2.700956] musb1: Enabled SW babble control
[2.703984] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[2.708057] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
[2.714871] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[2.720069] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[2.726855] usb usb2: Product: MUSB HDRC host driver
[2.730096] usb usb2: Manufacturer: Linux 3.2.0 musb-hcd
[2.734868] usb usb2: SerialNumber: musb-hdrc.1
[2.737979] hub 2-0:1.0: USB hub found
[2.740144] hub 2-0:1.0: 1 port detected
[2.743044] musb-hdrc musb-hdrc.1: USB Host mode controller at d083e800 using DMA, IRQ 19
[2.750096] NET: Registered protocol family 2
[2.753867] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[2.759101] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[2.765097] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[2.770899] TCP: Hash tables configured (established 8192 bind 8192)
[2.775987] TCP reno registered
[2.777967] UDP hash table entries: 256 (order: 0, 4096 bytes)
[2.782870] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[2.787935] NET: Registered protocol family 1
[2.790988] RPC: Registered named UNIX socket transport module.
[2.795927] RPC: Registered udp transport module.
[2.799102] RPC: Registered tcp transport module.
[2.802984] RPC: Registered tcp NFSv4.1 backchannel transport module.
[2.808115] NetWinder Floating Point Emulator V0.97 (double precision)
[2.813927] VFS: Disk quotas dquot_6.5.2
[2.816867] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[2.821983] msgmni has been set to 496
[2.824871] alg: No test for stdrng (krng)
[2.827125] io scheduler noop registered
[2.830044] io scheduler deadline registered
[2.833068] io scheduler cfq registered (default)
[2.836927] Could not set LED4 to fully on
[2.839916] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[2.845898] console [ttyO0] enabled
[2.848055] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[2.854869] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[2.860987] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[2.867097] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[2.873858] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[2.879996] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
[2.886093] brd: module loaded
[2.895849] loop: module loaded
[2.900758] i2c-core: driver [tsl2550] using legacy suspend method
[2.906525] i2c-core: driver [tsl2550] using legacy resume method
[2.911516] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[2.917516] No daughter card found
[2.990083] at24 1-0055: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
[2.995176] The board is a AM335x Starter Kit.
[2.998950] omap_hsmmc.0: alias fck already exists
[3.002917] _omap_mux_get_by_name: Could not find signal gpmc_csn1.gpio1_29
[3.009091] _omap_mux_get_by_name: Could not find signal gpmc_csn2.gpio1_30
[3.015089] _omap_mux_get_by_name: Could not find signal gpmc_csn3.gpio1_31
[3.021060] registered am33xx_sr device
[3.026110] vcan: Virtual CAN interface driver
[3.030990] CAN device driver interface
[3.033166] CAN bus driver for Bosch D_CAN controller 1.0
[3.037247] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[3.092197] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
[3.097929] phy read clk = 0x3def
[3.100940] phy read clk = 0x3ed6
[3.103029] phy read rxd = 0x7777
[3.105932] phy read rxd = 0x0
[3.107932] davinci_mdio.0: probed
[3.110089] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
[3.116082] usbcore: registered new interface driver zd1201
[3.120998] usbcore: registered new interface driver cdc_ether
[3.125970] usbcore: registered new interface driver cdc_eem
[3.130166] usbcore: registered new interface driver dm9601
[3.135054] cdc_ncm: 04-Aug-2011
[3.137056] usbcore: registered new interface driver cdc_ncm
[3.141942] Initializing USB Mass Storage driver...
[3.145220] usbcore: registered new interface driver usb-storage
[3.150939] USB Mass Storage support registered.
[3.154055] mousedev: PS/2 mouse device common for all mice
[3.159002] i2c /dev entries driver
[3.161941] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[3.302911] cpuidle: using governor ladder
[3.307908] cpuidle: using governor menu
[3.310940] omap4_aes_mod_init: loading AM33X AES driver
[3.317116] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
[3.322060] omap4_aes_probe: probe() done
[3.325862] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
[3.330089] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
[3.335863] omap4_sham_probe: probe() done
[3.342415] oprofile: hardware counters not available
[3.347213] oprofile: using timer interrupt.
[3.350215] nf_conntrack version 0.5.0 (3975 buckets, 15900 max)
[3.355211] ip_tables: (C) 2000-2006 Netfilter Core Team
[3.359384] TCP cubic registered
[3.361443] NET: Registered protocol family 17
[3.365217] can: controller area network core (rev 20090105 abi 8)
[3.370244] NET: Registered protocol family 29
[3.373370] can: raw protocol (rev 20090105)
[3.376407] can: broadcast manager protocol (rev 20090105 t)
[3.381243] Registering the dns_resolver key type
[3.384411] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[3.391331] ThumbEE CPU extension supported.
[3.394358] mux: Failed to setup hwmod io irq -22
[3.398242] Power Management for AM33XX family
[3.402212] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[3.407290] Copied the M3 firmware to UMEM
[3.410329] Cortex M3 Firmware Version = 0x181
[3.413440] create_regulator: VDD1: Failed to create debugfs directory
[3.423577] smartreflex smartreflex: am33xx_sr_probe: Driver initialized
[3.430626] clock: disabling unused clocks to save power
[3.443916] Detected MACID=6c:ec:eb:aa:1a:72
[3.455947] cpsw: Detected MACID = 6c:ec:eb:aa:1a:74
[3.460687] Waiting for root device /dev/mmcblk0p2...
[3.466468] mmc0: host does not support reading read-only switch. assuming write-enable.
[3.474752] mmc0: new high speed SDHC card at address b368
[3.481517] mmcblk0: mmc0:b368 USD 7.45 GiB
[3.485485] mmcblk0: p1 p2
[3.488524] EXT3-fs (mmcblk0p2): recovery required on readonly filesystem
[3.575280] EXT3-fs (mmcblk0p2): write access will be enabled during recovery
[3.581306] kjournald starting. Commit interval 5 seconds
[3.680492] EXT3-fs (mmcblk0p2): recovery complete
[3.683714] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[3.699305] VFS: Mounted root (ext3 filesystem) readonly on device 179:2.
[3.705249] Freeing init memory: 220K
[3.708165] INIT: version 2.88 booting
[3.818069] Error opening /dev/fb0: No such device
[4.080772] Starting udev
[4.085440] Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
[5.860986] bootlogd.
[5.861966] EXT3-fs (mmcblk0p2): using internal journal
[5.880945] ALSA: Restoring mixer settings...
[6.039661] Configuring network interfaces... /usr/sbin/alsactl: load_state:1686: No soundcards found...
[6.124494] done.
[6.174335] hwclock: can't open '/dev/misc/rtc': No such file or directory
[6.212602] Tue Jun 25 23:08:00 UTC 2013
[6.222453] hwclock: can't open '/dev/misc/rtc': No such file or directory
[6.238295] INIT: Entering runlevel: 5
[6.288090] mkdir: can't create directory '/media/mmcblk0p1': File exists
[6.340750] mkdir: can't create directory '/media/mmcblk0p2': File exists
[6.345914] ======== '/media/mmcblk0p1file:///C:DOCUME~1ADMINI~1LOCALS~1TempV7(XMWRN]{G8~CI}BCCR3QC.giftup.sh' Found =========
[6.350860] mount: mounting /dev/sda1 on /media/usbdisk failed: No such file or directory
[6.359832] >>>>>>>>>>>>>>>>>>>> mount -t vfat /dev/sda1 /media/usbdisk
[6.365661] umount: can't umount /media/usbdiskphy read clk = 0x3ed6
[6.370690] : Invalid argumephy read clk = 0x3ed6
[6.373863] nt
[6.374669] phy read rxd = 0x0
[6.376663] phy read rxd = 0x0
[6.378680] net eth0: CPSW phy found : id is : 0x221622
[6.382802] Disabling lock debugging due to kernel taint
[6.400884] gpio_to_irq 0.31= 191
[6.403084] lcm_key_drv.ko is installed 2014/11/14
[6.407006] >>>>> Main Version 1.00 SCHED_OTHER<<<<<
[6.473656] panasonic Mode
[6.475466] sizeof(typPAT_ALCTAB)=256
[6.477566] sizeof(typPATTERN)=416
[6.480336] Starting system message bus: dbus.
[6.531652] Starting telnet daemon.
[6.555588] Starting portmap: done
[6.588848] hwclock: can't open '/dev/misc/rtc': No such file or directory
[6.606688] Starting syslogdfile:///C:DOCUME~1ADMINI~1LOCALS~1TempDRB]]T6%}NPW1MK~8NH{GBC.gifogd: done
[6.637069] Stopping Bootlog daemon: bootlogd.
[6.861752]
[7.593204] ==========>CABLE DISCONNECT
[7.596315]
[7.885400] _____ _____ _ _
[7.892401] | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
[7.897427] | | _| .'| . | . | | __| _| . | | | -_| _| _|
[7.902456] |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
[7.907460] |___| |___|
[7.912501]
[7.912549] Arago Project http://arago-project.org am335x-evm ttyO0
[7.917541]
[7.917586] Arago 2013.05 am335x-evm ttyO0
[7.920540]
[7.920586] am335x-evm login:

此帖出自小平头技术问答
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。