我想在Yocto上移植Qt5,运行 Qt5_CinematicExperience -platform eglfs,可以运行,但是启动时间很慢,要20多秒才能把这个测试程序启动起来,别的qt例子也是一样,需要这么长时间,自己写Qt5程序也是如此。
直接使用fsl-image-gui ,编译出来的rootfs 有QT4.8.5 ,Linux启动后,也是需要特别长时间才能起来,而且很卡。
窗口能看到一个错误
[ 1059.108243] [galcore]: GPU[1] hang, automatic recovery.
下面是全部的log:
U-Boot 2014.01 (Nov 11 2014 - 14:10:52)
CPU: Freescale i.MX6DL rev1.1 at 792 MHz
Reset cause: POR
Board: M305 + C305
DRAM: 512 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
*** Warning - bad CRC, using default environment
auto-detected panel HDMI
Display: HDMI (1024x768)
In: serial
Out: serial
Err: serial
Net: FEC [PRIME]
Hit any key to stop autoboot: 0
mmc2(part 0) is current device
reading boot.scr
** Unable to read file boot.scr **
reading uImage
4167976 bytes read in 116 ms (34.3 MiB/s)
Booting from mmc ...
reading imx6dl_armt.dtb
45012 bytes read in 18 ms (2.4 MiB/s)
## Booting kernel from Legacy Image at 12000000 ...
Image Name: Linux-3.10.17
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4167912 Bytes = 4 MiB
Load Address: 10008000
Entry Point: 10008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 18000000
Booting using the fdt blob at 0x18000000
Loading Kernel Image ... OK
Using Device Tree in place at 18000000, end 1800dfd3
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.10.17 (dillon@dillon-virtual-machine) (gcc version 4.8.1 (GCC) ) #1 SMP PREEMPT Tue Nov 11 14:18:55 CST 2014
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: Freescale i.MX6 Quad/DualLite (Device Tree), model: Freescale i.MX6 DualLite , ARMT Board
[ 0.000000] cma: CMA: reserved 320 MiB at 1c000000
[ 0.000000] Memory policy: ECC disabled, Data cache writealloc
[ 0.000000] PERCPU: Embedded 8 pages/cpu @80f10000 s8832 r8192 d15744 u32768
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p2 rootwait rw
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 512MB = 512MB total
[ 0.000000] Memory: 180016k/180016k available, 344272k 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 : 0xa0800000 - 0xff000000 (1512 MB)
[ 0.000000] lowmem : 0x80000000 - 0xa0000000 ( 512 MB)
[ 0.000000] pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
[ 0.000000] modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
[ 0.000000] .text : 0x80008000 - 0x80a28a10 (10371 kB)
[ 0.000000] .init : 0x80a29000 - 0x80a63280 ( 233 kB)
[ 0.000000] .data : 0x80a64000 - 0x80a9a140 ( 217 kB)
[ 0.000000] .bss : 0x80a9a140 - 0x80afba7c ( 391 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] L310 cache controller enabled
[ 0.000000] l2x0: 16 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x32050000, Cache size: 524288 B
[ 0.000000] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
[ 0.000000] CPU identified as i.MX6DL, silicon rev 1.1
[ 0.000000] Console: colour dummy device 80x30
[ 0.000863] Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
[ 0.090128] pid_max: default: 32768 minimum: 301
[ 0.090300] Mount-cache hash table entries: 512
[ 0.091048] CPU: Testing write buffer coherency: ok
[ 0.091330] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.091414] Setting up static identity map for 0x804c3c78 - 0x804c3cd0
[ 0.152113] CPU1: Booted secondary processor
[ 0.191379] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.191492] Brought up 2 CPUs
[ 0.191512] SMP: Total of 2 processors activated (3162.11 BogoMIPS).
[ 0.191518] CPU: All CPU(s) started in SVC mode.
[ 0.192122] devtmpfs: initialized
[ 0.195836] pinctrl core: initialized pinctrl subsystem
[ 0.196113] regulator-dummy: no parameters
[ 0.214858] NET: Registered protocol family 16
[ 0.224104] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.224685] Use WDOG1 as reset source
[ 0.232297] syscon 20c8000.anatop: regmap [mem 0x020c8000-0x020c8fff] registered
[ 0.232556] vdd1p1: 800 1375 mV at 1125 mV
[ 0.232856] vdd3p0: 2800 3150 mV at 3000 mV
[ 0.233119] vdd2p5: 2000 2750 mV at 2425 mV
[ 0.233379] cpu: 725 1450 mV at 1150 mV
[ 0.233640] vddpu: 725 1450 mV at 1150 mV
[ 0.233915] vddsoc: 725 1450 mV at 1175 mV
[ 0.235385] syscon 20e0000.iomuxc-gpr: regmap [mem 0x020e0000-0x020e0037] registered
[ 0.237875] syscon 21bc000.ocotp-ctrl: regmap [mem 0x021bc000-0x021bffff] registered
[ 0.242362] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.242374] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.243865] imx6dl-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[ 0.250924] bio: create slab at 0
[ 0.252760] mxs-dma 110000.dma-apbh: initialized
[ 0.253453] usb_otg_vbus: 5000 mV
[ 0.253675] usb_h1_vbus: 5000 mV
[ 0.253866] mipi_dsi_pwr_on: no parameters
[ 0.254626] SCSI subsystem initialized
[ 0.254820] usbcore: registered new interface driver usbfs
[ 0.254871] usbcore: registered new interface driver hub
[ 0.254997] usbcore: registered new device driver usb
[ 0.255804] i2c i2c-0: IMX I2C adapter registered
[ 0.256737] i2c i2c-1: IMX I2C adapter registered
[ 0.257326] i2c i2c-2: IMX I2C adapter registered
[ 0.257460] Linux video capture interface: v2.00
[ 0.257513] pps_core: LinuxPPS API ver. 1 registered
[ 0.257522] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti
[ 0.257545] PTP clock support registered
[ 0.271457] imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
[ 0.272474] mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 driver probed
[ 0.272492] mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 dphy version is 0x3130302a
[ 0.272581] MIPI CSI2 driver module loaded
[ 0.272651] Advanced Linux Sound Architecture Driver Initialized.
[ 0.273650] Switching to clocksource mxc_timer1
[ 0.282101] NET: Registered protocol family 2
[ 0.282615] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.282689] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.282756] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.282807] TCP: reno registered
[ 0.282821] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.282848] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.283111] NET: Registered protocol family 1
[ 0.283428] RPC: Registered named UNIX socket transport module.
[ 0.283442] RPC: Registered udp transport module.
[ 0.283448] RPC: Registered tcp transport module.
[ 0.283455] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.283952] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
[ 0.284932] pureg-dummy: no parameters
[ 0.286241] Bus freq driver module loaded
[ 0.291892] VFS: Disk quotas dquot_6.5.2
[ 0.292164] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.294284] NFS: Registering the id_resolver key type
[ 0.294334] Key type id_resolver registered
[ 0.294344] Key type id_legacy registered
[ 0.294564] fuse init (API version 7.22)
[ 0.294945] msgmni has been set to 991
[ 0.297782] io scheduler noop registered
[ 0.297795] io scheduler deadline registered
[ 0.297964] io scheduler cfq registered (default)
[ 0.299599] pwm-backlight backlight_lcd.30: Unable to request PWM, trying legacy API
[ 0.299768] pwm-backlight backlight_lvds.31: Unable to request PWM, trying legacy API
[ 0.301288] mxc_sdc_fb fb.27: register mxc display driver lcd
[ 0.381183] Console: switching to colour frame buffer device 100x30
[ 0.415926] mxc_sdc_fb fb.28: register mxc display driver hdmi
[ 0.415984] mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0x1a:0xa0:0xc1
[ 0.416010] fbcvt: 1920x1080@60: CVT Name - 2.073M9
[ 0.440536] imx-sdma 20ec000.sdma: no iram assigned, using external mem
[ 0.442086] imx-sdma 20ec000.sdma: loaded firmware 1.1
[ 0.444483] imx-sdma 20ec000.sdma: initialized
[ 0.444846] Serial: IMX driver
[ 0.445292] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX
[ 1.130151] console [ttymxc0] enabled
[ 1.134242] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 59) is a IMX
[ 1.141447] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 60) is a IMX
[ 1.148603] 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 61) is a IMX
[ 1.155775] 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 62) is a IMX
[ 1.162885] serial: Freescale lpuart driver
[ 1.168454] [drm] Initialized drm 1.1.0 20060810
[ 1.173512] [drm] Initialized vivante 1.0.0 20120216 on minor 0
[ 1.186049] brd: module loaded
[ 1.192633] loop: module loaded
[ 1.201328] libphy: fec_enet_mii_bus: probed
[ 1.206053] fec 2188000.ethernet eth0: registered PHC device 0
[ 1.212681] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.219317] usbcore: registered new interface driver usb-storage
[ 1.233743] ci_hdrc ci_hdrc.1: doesn't support gadget
[ 1.238821] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 1.243756] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[ 1.263733] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 1.269723] hub 1-0:1.0: USB hub found
[ 1.273501] hub 1-0:1.0: 1 port detected
[ 1.278213] mousedev: PS/2 mouse device common for all mice
[ 1.284600] input: TSC2007 Touchscreen as /devices/virtual/input/input0
[ 1.292068] snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0
[ 1.300510] i2c /dev entries driver
[ 1.305076] mxc_v4l2_output v4l2_out.35: V4L2 device registered as video16
[ 1.312105] mxc_v4l2_output v4l2_out.35: V4L2 device registered as video17
[ 1.319145] mxc_v4l2_output v4l2_out.35: V4L2 device registered as video18
[ 1.327301] imx2-wdt 20bc000.wdog: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)
[ 1.335774] cpuidle: using governor ladder
[ 1.339884] cpuidle: using governor menu
[ 1.343869] sdhci: Secure Digital Host Controller Interface driver
[ 1.350058] sdhci: Copyright(c) Pierre Ossman
[ 1.354438] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.362053] mmc0: no vqmmc regulator found
[ 1.366194] mmc0: no vmmc regulator found
[ 1.413728] mmc0: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[ 1.422661] mmc1: no vqmmc regulator found
[ 1.426801] mmc1: no vmmc regulator found
[ 1.473744] mmc1: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
[ 1.481598] mmc2: no vqmmc regulator found
[ 1.485736] mmc2: no vmmc regulator found
[ 1.533715] mmc2: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA
[ 1.593843] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[ 1.618715] mmc2: BKOPS_EN bit is not set
[ 1.636568] mmc2: new high speed DDR MMC card at address 0001
[ 1.643226] mmcblk0: mmc2:0001 SEM04G 3.68 GiB
[ 1.648295] mmcblk0boot0: mmc2:0001 SEM04G partition 1 2.00 MiB
[ 1.654755] mmcblk0boot1: mmc2:0001 SEM04G partition 2 2.00 MiB
[ 1.661139] mmcblk0rpmb: mmc2:0001 SEM04G partition 3 2.00 MiB
[ 1.668319] mmcblk0: p1 p2
[ 1.674402] mmcblk0boot1: unknown partition table
[ 1.681338] mmcblk0boot0: unknown partition table
[ 1.755088] hub 1-1:1.0: USB hub found
[ 1.758972] hub 1-1:1.0: 4 ports detected
[ 1.833159] Galcore version 4.6.9.9754
[ 1.857242] mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
[ 1.865650] mxc_asrc 2034000.asrc: mxc_asrc registered
[ 1.871559] mxc_vpu 2040000.vpu: VPU initialized
[ 1.876597] leds-gpio leds.18: pins are not configured from the driver
[ 2.019965] caam 2100000.caam: device ID = 0x0a16010000000100 (Era -524)
[ 2.026737] caam 2100000.caam: job rings = 2, qi = 0
[ 2.032367] caam 2100000.caam: authenc-hmac-md5-cbc-aes-caam
[ 2.223560] caam 2100000.caam: fsl,sec-v4.0 algorithms registered in /proc/crypto
[ 2.235692] platform 2101000.jr0: registering rng-caam
[ 2.241985] platform caam_sm: caam_sm_test: 8-byte key test match OK
[ 2.248561] platform caam_sm: caam_sm_test: 16-byte key test match OK
[ 2.255193] platform caam_sm: caam_sm_test: 32-byte key test match OK
[ 2.262116] platform caam_secvio.36: security violation service handlers armed
[ 2.274615] input: Lite-On Technology Corp. USB Multimedia Keyboard as /devices/soc0/soc.1/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.3/1-1.3:1.0/input/input1
[ 2.289932] hid-generic 0003:04CA:002F.0001: input: USB HID v1.10 Keyboard [Lite-On Technology Corp. USB Multimedia Keyboard] on usb-ci_hdrc.1-1.3/input0
[ 2.311703] input: Lite-On Technology Corp. USB Multimedia Keyboard as /devices/soc0/soc.1/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.3/1-1.3:1.1/input/input2
[ 2.326896] usb 1-1.4: new low-speed USB device number 4 using ci_hdrc
[ 2.333649] hid-generic 0003:04CA:002F.0002: input: USB HID v1.10 Device [Lite-On Technology Corp. USB Multimedia Keyboard] on usb-ci_hdrc.1-1.3/input1
[ 2.347382] usbcore: registered new interface driver usbhid
[ 2.352997] usbhid: USB HID core driver
[ 2.357647] alc5621_i2c_probe(1384)
[ 2.361161] alc5621_i2c_probe(1396)
[ 2.460521] input: USB OPTICAL MOUSE as /devices/soc0/soc.1/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.4/1-1.4:1.0/input/input3
[ 2.473235] hid-generic 0003:2188:0AE1.0003: input: USB HID v1.11 Mouse [USB OPTICAL MOUSE ] on usb-ci_hdrc.1-1.4/input0
[ 2.697640] imx-alc5621 sound.25: alc5621-hifi 202c000.ssi mapping ok
[ 2.710271] imx-audio-hdmi sound-hdmi.26: hdmi-hifi hdmi_audio.16 mapping ok
[ 2.718708] TCP: cubic registered
[ 2.722043] NET: Registered protocol family 17
[ 2.726607] 8021q: 802.1Q VLAN Support v1.8
[ 2.730928] Key type dns_resolver registered
[ 2.735309] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 2.745358] input: gpio-keys.24 as /devices/soc0/gpio-keys.24/input/input4
[ 2.752601] snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 2014-11-11 09:42:12 UTC (1415698932)
[ 2.770041] ALSA device list:
[ 2.773037] #0: alc5621-audio
[ 2.776235] #1: imx-hdmi-soc
[ 2.871134] kjournald starting. Commit interval 5 seconds
[ 2.872308] EXT3-fs (mmcblk0p2): using internal journal
[ 2.873342] EXT3-fs (mmcblk0p2): recovery complete
[ 2.873347] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[ 2.873383] VFS: Mounted root (ext3 filesystem) on device 179:2.
[ 2.874468] devtmpfs: mounted
[ 2.874639] Freeing unused kernel memory: 232K (80a29000 - 80a63000)
INIT: version 2.88 booting
Starting udev
[ 3.339296] udevd[161]: starting version 182
Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or directory
bootlogd.
[ 4.716164] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
ALSA: Restoring mixer settings...
No state is present for card alc5621audio
Found hardware: "alc5621-audio" "" "" "" ""
Hardware is initialized using a generic method
Configuring network interfaces... No state is present for card alc5621audio
No state is present for card imxhdmisoc
Found hardware: "imx-hdmi-soc" "" "" "" ""
Hardware is initialized using a generic method
No state is present for card imxhdmisoc
[ 4.990102] fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet:04, irq=-1)
udhcpc (v1.21.1) started
Sending discover...
[ 8.004212] libphy: 2188000.ethernet:04 - Link is Up - 100/Full
Sending discover...
Sending select for 192.168.1.108...
Lease of 192.168.1.108 obtained, lease time 7200
/etc/udhcpc.d/50default: Adding DNS 202.96.128.166
/etc/udhcpc.d/50default: Adding DNS 202.96.134.133
done.
Starting rpcbind daemon...rpcbind: cannot create socket for udp6
rpcbind: cannot create socket for tcp6
done.
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
INIT: Entering runlevel: 5
Starting Xserver
Starting system message bus: dbus.
Starting Connection Manager
Starting Dropbear SSH server: dropbear.
Starting advanced power management daemon: No APM support in kernel
(failed.)
[ 9.339553] fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet:04, irq=-1)
creating NFS state directory: done
NFS daemon support not enabled in kernel
Starting syslogd/klogd: done
* Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
...done.
Starting Telephony daemon:(
Starting Linux NFC daemon
Starting OProfileUI server
Running local boot scripts (/etc/rc.local).
/etc/rc.local: line 15: autohdmi: command not found
Stopping Bootlog daemon: bootlogd.
Poky (Yocto Project Reference Distro) 1.5.1 imx6dlsabresd /dev/ttymxc0
imx6dlsabresd login: [ 11.334361] libphy: 2188000.ethernet:04 - Link is Up - 100/Full
[ 856.453772] [galcore]: GPU[1] hang, automatic recovery.
[ 1059.108243] [galcore]: GPU[1] hang, automatic recovery.