Re: [PATCH v2 00/21] Refine memblock API

Adam Ford
2019-09-29T13:33:01Z

[-- Attachment #1: Type: text/plain, Size: 3077 bytes --]

I am attaching two logs. I now the mailing lists will be unhappy, but
don't want to try and spam a bunch of log through the mailing liast.
The two logs show the differences between the working and non-working
imx6q 3D accelerator when trying to run a simple glmark2-es2-drm demo.

The only change between them is the 2 line code change you suggested.

In both cases, I have cma=128M set in my bootargs. Historically this
has been sufficient, but cma=256M has not made a difference.

adam

On Sat, Sep 28, 2019 at 2:33 AM Mike Rapoport <rppt@linux.ibm.com> wrote:
>
> On Thu, Sep 26, 2019 at 02:35:53PM -0500, Adam Ford wrote:
> > On Thu, Sep 26, 2019 at 11:04 AM Mike Rapoport <rppt@linux.ibm.com> wrote:
> > >
> > > Hi,
> > >
> > > On Thu, Sep 26, 2019 at 08:09:52AM -0500, Adam Ford wrote:
> > > > On Wed, Sep 25, 2019 at 10:17 AM Fabio Estevam <festevam@gmail.com> wrote:
> > > > >
> > > > > On Wed, Sep 25, 2019 at 9:17 AM Adam Ford <aford173@gmail.com> wrote:
> > > > >
> > > > > > I tried cma=256M and noticed the cma dump at the beginning didn't
> > > > > > change. Do we need to setup a reserved-memory node like
> > > > > > imx6ul-ccimx6ulsom.dtsi did?
> > > > >
> > > > > I don't think so.
> > > > >
> > > > > Were you able to identify what was the exact commit that caused such regression?
> > > >
> > > > I was able to narrow it down the 92d12f9544b7 ("memblock: refactor
> > > > internal allocation functions") that caused the regression with
> > > > Etnaviv.
> > >
> > >
> > > Can you please test with this change:
> > >
> >
> > That appears to have fixed my issue. I am not sure what the impact
> > is, but is this a safe option?
>
> It's not really a fix, I just wanted to see how exactly 92d12f9544b7 ("memblock:
> refactor internal allocation functions") broke your setup.
>
> Can you share the dts you are using and the full kernel log?
>
> > adam
> >
> > > diff --git a/mm/memblock.c b/mm/memblock.c
> > > index 7d4f61a..1f5a0eb 100644
> > > --- a/mm/memblock.c
> > > +++ b/mm/memblock.c
> > > @@ -1356,9 +1356,6 @@ static phys_addr_t __init memblock_alloc_range_nid(phys_addr_t size,
> > > align = SMP_CACHE_BYTES;
> > > }
> > >
> > > - if (end > memblock.current_limit)
> > > - end = memblock.current_limit;
> > > -
> > > again:
> > > found = memblock_find_in_range_node(size, align, start, end, nid,
> > > flags);
> > >
> > > > I also noticed that if I create a reserved memory node as was done one
> > > > imx6ul-ccimx6ulsom.dtsi the 3D seems to work again, but without it, I
> > > > was getting errors regardless of the 'cma=256M' or not.
> > > > I don't have a problem using the reserved memory, but I guess I am not
> > > > sure what the amount should be. I know for the video decoding 1080p,
> > > > I have historically used cma=128M, but with the 3D also needing some
> > > > memory allocation, is that enough or should I use 256M?
> > > >
> > > > adam
> > >
> > > --
> > > Sincerely yours,
> > > Mike.
> > >
>
> --
> Sincerely yours,
> Mike.
>

[-- Attachment #2: imx6q-working.log --]
[-- Type: text/x-log, Size: 24560 bytes --]

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.3.1-dirty (aford@aford-IdeaCentre-A730) (gcc version 8.3.0 (Buildroot 2019.02.5-00192-gcd72d5bf57-dirty)) #2 SMP Sun Sep 29 08:26:09 CDT 2019
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Logic PD i.MX6QD SOM-M3
[ 0.000000] printk: debug: ignoring loglevel setting.
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 128 MiB at 0x88000000
[ 0.000000] On node 0 totalpages: 524288
[ 0.000000] Normal zone: 1536 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 196608 pages, LIFO batch:63
[ 0.000000] HighMem zone: 327680 pages, LIFO batch:63
[ 0.000000] percpu: Embedded 21 pages/cpu s54632 r8192 d23192 u86016
[ 0.000000] pcpu-alloc: s54632 r8192 d23192 u86016 alloc=21*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 522752
[ 0.000000] Kernel command line: console=ttymxc0,115200 root=PARTUUID=60f4e103-02 rootwait rw ignore_loglevel cma=128M
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 1922048K/2097152K available (12288K kernel code, 956K rwdata, 4252K rodata, 1024K init, 6920K bss, 44032K reserved, 131072K cma-reserved, 1179648K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Running RCU self tests
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU lockdep checking is enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] L2C-310 errata 752271 769419 enabled
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[ 0.000000] L2C-310 ID prefetch enabled, offset 16 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB
[ 0.000000] L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76470001
[ 0.000000] random: get_random_bytes called from start_kernel+0x2f4/0x504 with crng_init=0
[ 0.000000] Switching to timer-based delay loop, resolution 333ns
[ 0.000008] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[ 0.000034] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[ 0.001789] Console: colour dummy device 80x30
[ 0.001830] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[ 0.001847] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 0.001864] ... MAX_LOCK_DEPTH: 48
[ 0.001880] ... MAX_LOCKDEP_KEYS: 8192
[ 0.001897] ... CLASSHASH_SIZE: 4096
[ 0.001913] ... MAX_LOCKDEP_ENTRIES: 32768
[ 0.001929] ... MAX_LOCKDEP_CHAINS: 65536
[ 0.001945] ... CHAINHASH_SIZE: 32768
[ 0.001961] memory used by lock dependency info: 4413 kB
[ 0.001977] per task-struct memory footprint: 1536 bytes
[ 0.002080] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[ 0.002109] pid_max: default: 32768 minimum: 301
[ 0.002458] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.002495] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.005590] CPU: Testing write buffer coherency: ok
[ 0.005678] CPU0: Spectre v2: using BPIALL workaround
[ 0.006996] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.009303] Setting up static identity map for 0x10100000 - 0x10100078
[ 0.010190] rcu: Hierarchical SRCU implementation.
[ 0.011740] smp: Bringing up secondary CPUs ...
[ 0.014217] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.014228] CPU1: Spectre v2: using BPIALL workaround
[ 0.016979] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.016991] CPU2: Spectre v2: using BPIALL workaround
[ 0.019187] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.019198] CPU3: Spectre v2: using BPIALL workaround
[ 0.019789] smp: Brought up 1 node, 4 CPUs
[ 0.019813] SMP: Total of 4 processors activated (24.00 BogoMIPS).
[ 0.019833] CPU: All CPU(s) started in SVC mode.
[ 0.022517] devtmpfs: initialized
[ 0.053207] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.055505] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.055572] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.063395] pinctrl core: initialized pinctrl subsystem
[ 0.068304] NET: Registered protocol family 16
[ 0.088841] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.092073] cpuidle: using governor menu
[ 0.092372] CPU identified as i.MX6Q, silicon rev 1.5
[ 0.112034] vdd1p1: supplied by regulator-dummy
[ 0.113817] vdd3p0: supplied by regulator-dummy
[ 0.115083] vdd2p5: supplied by regulator-dummy
[ 0.117458] vddpu: supplied by regulator-dummy
[ 0.147316] No ATAGs?
[ 0.147778] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.147868] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.151803] imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[ 0.244029] mxs-dma 110000.dma-apbh: initialized
[ 0.338934] 3v3_aud: supplied by reg_3v3
[ 0.340173] hdmi-supply: supplied by reg_3v3
[ 0.341400] uart3-supply: supplied by reg_3v3
[ 0.342592] 1v8-supply: supplied by reg_3v3
[ 0.345761] lcd_panel_pwr: supplied by reg_3v3
[ 0.346945] nLCD_RESET: supplied by lcd_panel_pwr
[ 0.350401] vgaarb: loaded
[ 0.351996] SCSI subsystem initialized
[ 0.352602] libata version 3.00 loaded.
[ 0.353403] usbcore: registered new interface driver usbfs
[ 0.353619] usbcore: registered new interface driver hub
[ 0.353880] usbcore: registered new device driver usb
[ 0.354344] usb_phy_generic usbphynop1: usbphynop1 supply vcc not found, using dummy regulator
[ 0.355073] usb_phy_generic usbphynop2: usbphynop2 supply vcc not found, using dummy regulator
[ 0.358862] i2c i2c-0: IMX I2C adapter registered
[ 0.379070] pcf857x 2-0020: probed
[ 0.379271] i2c i2c-2: IMX I2C adapter registered
[ 0.379696] mc: Linux media interface: v0.10
[ 0.379820] videodev: Linux video capture interface: v2.00
[ 0.380296] pps_core: LinuxPPS API ver. 1 registered
[ 0.380321] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.380379] PTP clock support registered
[ 0.381312] Advanced Linux Sound Architecture Driver Initialized.
[ 0.384978] Bluetooth: Core ver 2.22
[ 0.385099] NET: Registered protocol family 31
[ 0.385123] Bluetooth: HCI device and connection manager initialized
[ 0.385236] Bluetooth: HCI socket layer initialized
[ 0.385270] Bluetooth: L2CAP socket layer initialized
[ 0.385418] Bluetooth: SCO socket layer initialized
[ 0.387794] clocksource: Switched to clocksource mxc_timer1
[ 1.094855] VFS: Disk quotas dquot_6.6.0
[ 1.095033] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.121459] thermal_sys: Registered thermal governor 'step_wise'
[ 1.122193] NET: Registered protocol family 2
[ 1.123985] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 20480 bytes, linear)
[ 1.124117] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 1.124289] TCP bind hash table entries: 8192 (order: 6, 294912 bytes, linear)
[ 1.125364] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.125975] UDP hash table entries: 512 (order: 3, 40960 bytes, linear)
[ 1.126172] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes, linear)
[ 1.126733] NET: Registered protocol family 1
[ 1.129132] RPC: Registered named UNIX socket transport module.
[ 1.129219] RPC: Registered udp transport module.
[ 1.129242] RPC: Registered tcp transport module.
[ 1.129265] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.130329] PCI: CLS 0 bytes, default 64
[ 1.132382] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[ 1.133033] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[ 1.137893] Initialise system trusted keyrings
[ 1.138546] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[ 1.156067] NFS: Registering the id_resolver key type
[ 1.156247] Key type id_resolver registered
[ 1.156339] Key type id_legacy registered
[ 1.156535] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 1.157908] fuse: init (API version 7.31)
[ 1.197152] Key type asymmetric registered
[ 1.197292] Asymmetric key parser 'x509' registered
[ 1.197558] bounce: pool size: 64 pages
[ 1.197765] io scheduler mq-deadline registered
[ 1.197791] io scheduler kyber registered
[ 1.205113] imx6q-pcie 1ffc000.pcie: host bridge /soc/pcie@1ffc000 ranges:
[ 1.205311] imx6q-pcie 1ffc000.pcie: IO 0x01f80000..0x01f8ffff -> 0x00000000
[ 1.205517] imx6q-pcie 1ffc000.pcie: MEM 0x01000000..0x01efffff -> 0x01000000
[ 1.216186] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[ 1.216285] imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.bin
[ 1.219974] imx-pgc-pd imx-pgc-power-domain.0: DMA mask not set
[ 1.220501] imx-pgc-pd imx-pgc-power-domain.1: DMA mask not set
[ 1.224576] pfuze100-regulator 2-0008: Full layer: 2, Metal layer: 1
[ 1.225450] pfuze100-regulator 2-0008: FAB: 0, FIN: 0
[ 1.225477] pfuze100-regulator 2-0008: pfuze100 found.
[ 1.236518] gen_rgmii: Bringing 1200000uV into 1800000-1800000uV
[ 1.244362] gen_1v5: Bringing 800000uV into 1500000-1500000uV
[ 1.258150] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 27, base_baud = 5000000) is a IMX
[ 2.186716] printk: console [ttymxc0] enabled
[ 2.194531] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 71, base_baud = 5000000) is a IMX
[ 2.203691] serial serial0: tty port ttymxc1 registered
[ 2.209751] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 72, base_baud = 5000000) is a IMX
[ 2.243501] etnaviv etnaviv: bound 130000.gpu (ops gpu_ops)
[ 2.249909] etnaviv etnaviv: bound 134000.gpu (ops gpu_ops)
[ 2.256133] etnaviv etnaviv: bound 2204000.gpu (ops gpu_ops)
[ 2.261897] etnaviv-gpu 130000.gpu: model: GC2000, revision: 5108
[ 2.284606] etnaviv-gpu 134000.gpu: model: GC320, revision: 5007
[ 2.307108] etnaviv-gpu 2204000.gpu: model: GC355, revision: 1215
[ 2.313317] etnaviv-gpu 2204000.gpu: Ignoring GPU with VG and FE2.0
[ 2.318423] imx6q-pcie 1ffc000.pcie: Phy link never came up
[ 2.322201] [drm] Initialized etnaviv 1.2.0 20151214 for etnaviv on minor 0
[ 2.329081] imx6q-pcie 1ffc000.pcie: PCI host bridge to bus 0000:00
[ 2.336535] imx-ipuv3 2400000.ipu: IPUv3H probed
[ 2.338673] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 2.345806] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 2.348720] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 2.355358] [drm] No driver support for vblank timestamp query.
[ 2.361594] pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]
[ 2.368870] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops ipu_crtc_ops)
[ 2.374751] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400
[ 2.382181] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops ipu_crtc_ops)
[ 2.387983] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[ 2.395661] imx-drm display-subsystem: bound imx-ipuv3-crtc.6 (ops ipu_crtc_ops)
[ 2.401673] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[ 2.409370] imx-drm display-subsystem: bound imx-ipuv3-crtc.7 (ops ipu_crtc_ops)
[ 2.416114] pci 0000:00:00.0: supports D1
[ 2.424219] dwhdmi-imx 120000.hdmi: Detected HDMI TX controller v1.30a with HDCP (DWC HDMI 3D TX PHY)
[ 2.427274] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
[ 2.441298] imx-drm display-subsystem: bound 120000.hdmi (ops dw_hdmi_imx_ops)
[ 2.448214] PCI: bus0: Fast back to back transfers disabled
[ 2.450777] imx-drm display-subsystem: bound ldb (ops imx_ldb_ops)
[ 2.460053] PCI: bus1: Fast back to back transfers enabled
[ 2.464526] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 1
[ 2.467468] pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]
[ 2.482301] pci 0000:00:00.0: BAR 6: assigned [mem 0x01100000-0x0110ffff pref]
[ 2.489612] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 3.168314] Console: switching to colour frame buffer device 100x30
[ 3.190946] imx-drm display-subsystem: fb0: imx-drmdrmfb frame buffer device
[ 3.198619] imx-ipuv3 2800000.ipu: IPUv3H probed
[ 3.227753] brd: module loaded
[ 3.261972] loop: module loaded
[ 3.267561] at24 2-0051: 8192 byte 24c64 EEPROM, read-only, 0 bytes/write
[ 3.276254] at24 2-0052: 8192 byte 24c64 EEPROM, writable, 32 bytes/write
[ 3.291472] nand: No NAND device found
[ 3.300111] libphy: Fixed MDIO Bus: probed
[ 3.305513] CAN device driver interface
[ 3.312029] ethernet-supply: supplied by gen_rgmii
[ 3.410748] pps pps0: new PPS source ptp0
[ 3.416150] fec 2188000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[ 3.422967] fec 2188000.ethernet: Using random MAC address: 6e:c7:5f:d3:58:ee
[ 3.438612] libphy: fec_enet_mii_bus: probed
[ 3.444226] fec 2188000.ethernet eth0: registered PHC device 0
[ 3.451991] usbcore: registered new interface driver r8152
[ 3.457589] usbcore: registered new interface driver lan78xx
[ 3.463456] usbcore: registered new interface driver asix
[ 3.469019] usbcore: registered new interface driver ax88179_178a
[ 3.475215] usbcore: registered new interface driver cdc_ether
[ 3.481248] usbcore: registered new interface driver smsc95xx
[ 3.487094] usbcore: registered new interface driver net1080
[ 3.492902] usbcore: registered new interface driver cdc_subset
[ 3.498971] usbcore: registered new interface driver zaurus
[ 3.504641] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 3.512245] usbcore: registered new interface driver cdc_ncm
[ 3.517976] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.524524] ehci-pci: EHCI PCI platform driver
[ 3.529274] ehci-mxc: Freescale On-Chip EHCI Host driver
[ 3.535486] usbcore: registered new interface driver usb-storage
[ 3.554389] imx_usb 2184200.usb: No over current polarity defined
[ 3.620331] random: fast init done
[ 3.647822] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 3.653013] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[ 3.687816] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 3.694565] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[ 3.703046] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.710354] usb usb1: Product: EHCI Host Controller
[ 3.715255] usb usb1: Manufacturer: Linux 5.3.1-dirty ehci_hcd
[ 3.721158] usb usb1: SerialNumber: ci_hdrc.1
[ 3.728664] hub 1-0:1.0: USB hub found
[ 3.732688] hub 1-0:1.0: 1 port detected
[ 3.749417] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0
[ 3.755910] i2c /dev entries driver
[ 3.769530] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[ 3.776228] Bluetooth: HCI UART driver ver 2.3
[ 3.780779] Bluetooth: HCI UART protocol H4 registered
[ 3.786052] Bluetooth: HCI UART protocol LL registered
[ 3.793239] sdhci: Secure Digital Host Controller Interface driver
[ 3.799499] sdhci: Copyright(c) Pierre Ossman
[ 3.803880] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.849515] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[ 3.860054] sdhci-esdhc-imx 2194000.usdhc: Got CD GPIO
[ 3.880865] hci-ti serial0-0: Direct firmware load for ti-connectivity/TIInit_11.8.32.bts failed with error -2
[ 3.891142] hci-ti serial0-0: Falling back to sysfs fallback for: ti-connectivity/TIInit_11.8.32.bts
[ 3.901922] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[ 3.954146] mmc0: new DDR MMC card at address 0001
[ 3.963605] mmcblk0: mmc0:0001 DG4008 7.28 GiB
[ 3.970467] mmcblk0boot0: mmc0:0001 DG4008 partition 1 4.00 MiB
[ 3.978727] mmcblk0boot1: mmc0:0001 DG4008 partition 2 4.00 MiB
[ 3.985780] mmcblk0rpmb: mmc0:0001 DG4008 partition 3 4.00 MiB, chardev (244:0)
[ 3.998615] mmcblk0: p1 p2
[ 4.028897] mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
[ 4.046580] sdhci-esdhc-imx 2198000.usdhc: card claims to support voltages below defined range
[ 4.050278] caam 2100000.caam: Entropy delay = 3200
[ 4.082262] mmc2: new high speed SDIO card at address 0001
[ 4.107835] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[ 4.121069] caam 2100000.caam: Instantiated RNG4 SH0
[ 4.181828] caam 2100000.caam: Instantiated RNG4 SH1
[ 4.186825] caam 2100000.caam: device ID = 0x0a16010000000000 (Era 4)
[ 4.193357] caam 2100000.caam: job rings = 2, qi = 0
[ 4.205787] mmc1: host does not support reading read-only switch, assuming write-enable
[ 4.223295] mmc1: new high speed SDHC card at address aaaa
[ 4.232112] mmcblk1: mmc1:aaaa SL32G 29.7 GiB
[ 4.242765] mmcblk1: p1 p2
[ 4.249727] caam algorithms registered in /proc/crypto
[ 4.265783] caam_jr 2101000.jr0: registering rng-caam
[ 4.274554] usbcore: registered new interface driver usbhid
[ 4.280514] usbhid: USB HID core driver
[ 4.288287] ipu1_csi0: Registered ipu1_csi0 capture as /dev/video0
[ 4.295992] ipu1_ic_prpenc: Registered ipu1_ic_prpenc capture as /dev/video1
[ 4.304611] ipu1_ic_prpvf: Registered ipu1_ic_prpvf capture as /dev/video2
[ 4.311673] imx-media: ipu1_csi0:1 -> ipu1_ic_prp:0
[ 4.316749] imx-media: ipu1_csi0:1 -> ipu1_vdic:0
[ 4.321582] imx-media: ipu1_vdic:2 -> ipu1_ic_prp:0
[ 4.326487] imx-media: ipu1_ic_prp:1 -> ipu1_ic_prpenc:0
[ 4.328921] usb 1-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[ 4.331868] imx-media: ipu1_ic_prp:2 -> ipu1_ic_prpvf:0
[ 4.340129] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 4.345348] imx-media: subdev ipu1_csi0 bound
[ 4.354672] hub 1-1:1.0: USB hub found
[ 4.357894] ipu1_csi1: Registered ipu1_csi1 capture as /dev/video3
[ 4.361148] hub 1-1:1.0: 4 ports detected
[ 4.366918] imx-media: ipu1_csi1:1 -> ipu1_ic_prp:0
[ 4.376071] imx-media: ipu1_csi1:1 -> ipu1_vdic:0
[ 4.380851] imx-media: subdev ipu1_csi1 bound
[ 4.386180] ipu2_csi0: Registered ipu2_csi0 capture as /dev/video4
[ 4.392988] ipu2_ic_prpenc: Registered ipu2_ic_prpenc capture as /dev/video5
[ 4.400707] ipu2_ic_prpvf: Registered ipu2_ic_prpvf capture as /dev/video6
[ 4.407658] imx-media: ipu2_csi0:1 -> ipu2_ic_prp:0
[ 4.412645] imx-media: ipu2_csi0:1 -> ipu2_vdic:0
[ 4.417374] imx-media: ipu2_vdic:2 -> ipu2_ic_prp:0
[ 4.422333] imx-media: ipu2_ic_prp:1 -> ipu2_ic_prpenc:0
[ 4.427719] imx-media: ipu2_ic_prp:2 -> ipu2_ic_prpvf:0
[ 4.432983] imx-media: subdev ipu2_csi0 bound
[ 4.438300] ipu2_csi1: Registered ipu2_csi1 capture as /dev/video7
[ 4.444512] imx-media: ipu2_csi1:1 -> ipu2_ic_prp:0
[ 4.449479] imx-media: ipu2_csi1:1 -> ipu2_vdic:0
[ 4.454213] imx-media: subdev ipu2_csi1 bound
[ 4.475738] wm8962 0-001a: customer id 0 revision F
[ 4.495480] fsl-asoc-card sound: ASoC: failed to init link HiFi: -517
[ 4.505628] fsl-ssi-dai 202c000.ssi: No cache defaults, reading back from HW
[ 4.519683] NET: Registered protocol family 10
[ 4.527909] Segment Routing with IPv6
[ 4.531709] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 4.539595] NET: Registered protocol family 17
[ 4.544094] can: controller area network core (rev 20170425 abi 9)
[ 4.550553] NET: Registered protocol family 29
[ 4.555032] can: raw protocol (rev 20170425)
[ 4.559508] can: broadcast manager protocol (rev 20170425 t)
[ 4.565211] can: netlink gateway (rev 20170425) max_hops=1
[ 4.571177] Key type dns_resolver registered
[ 4.577482] vddarm: supplied by vddcore
[ 4.582166] vddsoc: supplied by vddsoc
[ 4.593690] Registering SWP/SWPB emulation handler
[ 4.602141] Loading compiled-in X.509 certificates
[ 4.683401] imx_thermal tempmon: Automotive CPU temperature grade - max:125C critical:120C passive:115C
[ 4.698779] input: WM8962 Beep Generator as /devices/soc0/soc/2100000.aips-bus/21a0000.i2c/i2c-0/0-001a/input/input0
[ 4.769278] fsl-asoc-card sound: wm8962 <-> 202c000.ssi mapping ok
[ 4.797269] input: keyboard as /devices/soc0/keyboard/input/input1
[ 4.807487] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T00:06:48 UTC (408)
[ 4.817105] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 4.829867] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 4.837909] vwl1837: disabling
[ 4.837918] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 4.841021] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[ 4.857519] usb_otg_vbus: disabling
[ 4.861153] 3v3_aud: disabling
[ 4.864241] mipi_pwr_en: disabling
[ 4.867796] ALSA device list:
[ 4.870790] #0: wm8962-audio
[ 4.911663] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[ 4.920736] VFS: Mounted root (ext4 filesystem) on device 179:26.
[ 4.933364] devtmpfs: mounted
[ 4.939135] Freeing unused kernel memory: 1024K
[ 4.944644] Run /sbin/init as init process
[ 5.249968] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
Starting syslogd: OK
Starting klogd: OK
Populating /dev using udev: [ 6.520602] udevd[286]: starting version 3.2.7
[ 6.570851] random: udevd: uninitialized urandom read (16 bytes read)
[ 6.582136] random: udevd: uninitialized urandom read (16 bytes read)
[ 6.588854] random: udevd: uninitialized urandom read (16 bytes read)
[ 6.611962] udevd[286]: specified group 'kvm' unknown
[ 6.653875] udevd[288]: starting eudev-3.2.7
[ 7.050422] evbug: Connected device: input0 (WM8962 Beep Generator at 0-001a)
[ 7.064244] evbug: Connected device: input1 (keyboard at gpio-keys/input0)
[ 7.171694] coda 2040000.vpu: Direct firmware load for vpu_fw_imx6q.bin failed with error -2
[ 7.180268] coda 2040000.vpu: Falling back to sysfs fallback for: vpu_fw_imx6q.bin
[ 7.288552] imx-media: ipu1_csi0_mux:2 -> ipu1_csi0:0
[ 7.293716] imx-media: imx6-mipi-csi2:2 -> ipu1_csi1:0
[ 7.298987] imx-media: imx6-mipi-csi2:3 -> ipu2_csi0:0
[ 7.304211] imx-media: ipu2_csi1_mux:2 -> ipu2_csi1:0
[ 7.309478] imx-media: imx6-mipi-csi2:1 -> ipu1_csi0_mux:0
[ 7.315134] imx-media: imx6-mipi-csi2:4 -> ipu2_csi1_mux:0
[ 7.320778] imx-media: ov5640 2-0010:0 -> imx6-mipi-csi2:0
[ 7.768023] wl18xx_driver wl18xx.2.auto: Direct firmware load for ti-connectivity/wl18xx-conf.bin failed with error -2
[ 7.778814] wl18xx_driver wl18xx.2.auto: Falling back to sysfs fallback for: ti-connectivity/wl18xx-conf.bin
done
Initializing random number generator... [ 7.853723] urandom_read: 2 callbacks suppressed
[ 7.853736] random: dd: uninitialized urandom read (512 bytes read)
done.
Starting rngd: OK
[ 7.956291] random: crng init done
Starting system message bus: done
Starting network: OK
Starting sshd: OK

Welcome to Buildroot
buildroot login:
Welcome to Buildroot
buildroot login: root
# glmark2-es2-drm
=======================================================
glmark2 2014.03
=======================================================
OpenGL Information
GL_VENDOR: etnaviv
GL_RENDERER: Vivante GC2000 rev 5108
GL_VERSION: OpenGL ES 2.0 Mesa 18.3.3
=======================================================

[-- Attachment #3: imx6q-non-working.log --]
[-- Type: text/x-log, Size: 24599 bytes --]

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.3.1 (aford@aford-IdeaCentre-A730) (gcc version 8.3.0 (Buildroot 2019.02.5-00192-gcd72d5bf57-dirty)) #1 SMP Sun Sep 29 08:10:00 CDT 2019
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Logic PD i.MX6QD SOM-M3
[ 0.000000] printk: debug: ignoring loglevel setting.
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 128 MiB at 0x38000000
[ 0.000000] On node 0 totalpages: 524288
[ 0.000000] Normal zone: 1536 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 196608 pages, LIFO batch:63
[ 0.000000] HighMem zone: 327680 pages, LIFO batch:63
[ 0.000000] percpu: Embedded 21 pages/cpu s54632 r8192 d23192 u86016
[ 0.000000] pcpu-alloc: s54632 r8192 d23192 u86016 alloc=21*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 522752
[ 0.000000] Kernel command line: console=ttymxc0,115200 root=PARTUUID=60f4e103-02 rootwait rw ignore_loglevel cma=128M
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 1921792K/2097152K available (12288K kernel code, 956K rwdata, 4252K rodata, 1024K init, 6920K bss, 44288K reserved, 131072K cma-reserved, 1310720K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Running RCU self tests
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU lockdep checking is enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] L2C-310 errata 752271 769419 enabled
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[ 0.000000] L2C-310 ID prefetch enabled, offset 16 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB
[ 0.000000] L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76470001
[ 0.000000] random: get_random_bytes called from start_kernel+0x2f4/0x504 with crng_init=0
[ 0.000000] Switching to timer-based delay loop, resolution 333ns
[ 0.000008] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[ 0.000035] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[ 0.001790] Console: colour dummy device 80x30
[ 0.001832] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[ 0.001852] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 0.001869] ... MAX_LOCK_DEPTH: 48
[ 0.001885] ... MAX_LOCKDEP_KEYS: 8192
[ 0.001902] ... CLASSHASH_SIZE: 4096
[ 0.001918] ... MAX_LOCKDEP_ENTRIES: 32768
[ 0.001934] ... MAX_LOCKDEP_CHAINS: 65536
[ 0.001949] ... CHAINHASH_SIZE: 32768
[ 0.001966] memory used by lock dependency info: 4413 kB
[ 0.001981] per task-struct memory footprint: 1536 bytes
[ 0.002081] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[ 0.002109] pid_max: default: 32768 minimum: 301
[ 0.002457] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.002494] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.005567] CPU: Testing write buffer coherency: ok
[ 0.005655] CPU0: Spectre v2: using BPIALL workaround
[ 0.006969] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.009281] Setting up static identity map for 0x10100000 - 0x10100078
[ 0.010179] rcu: Hierarchical SRCU implementation.
[ 0.011750] smp: Bringing up secondary CPUs ...
[ 0.014273] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.014284] CPU1: Spectre v2: using BPIALL workaround
[ 0.017035] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.017049] CPU2: Spectre v2: using BPIALL workaround
[ 0.019241] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.019254] CPU3: Spectre v2: using BPIALL workaround
[ 0.019815] smp: Brought up 1 node, 4 CPUs
[ 0.019839] SMP: Total of 4 processors activated (24.00 BogoMIPS).
[ 0.019859] CPU: All CPU(s) started in SVC mode.
[ 0.022531] devtmpfs: initialized
[ 0.053293] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.055577] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.055644] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.063246] pinctrl core: initialized pinctrl subsystem
[ 0.068141] NET: Registered protocol family 16
[ 0.089728] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.093011] cpuidle: using governor menu
[ 0.093313] CPU identified as i.MX6Q, silicon rev 1.5
[ 0.112900] vdd1p1: supplied by regulator-dummy
[ 0.114676] vdd3p0: supplied by regulator-dummy
[ 0.115931] vdd2p5: supplied by regulator-dummy
[ 0.118297] vddpu: supplied by regulator-dummy
[ 0.148143] No ATAGs?
[ 0.148613] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.148705] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.152636] imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[ 0.244915] mxs-dma 110000.dma-apbh: initialized
[ 0.349010] 3v3_aud: supplied by reg_3v3
[ 0.350217] hdmi-supply: supplied by reg_3v3
[ 0.351445] uart3-supply: supplied by reg_3v3
[ 0.352635] 1v8-supply: supplied by reg_3v3
[ 0.355758] lcd_panel_pwr: supplied by reg_3v3
[ 0.356940] nLCD_RESET: supplied by lcd_panel_pwr
[ 0.360424] vgaarb: loaded
[ 0.362017] SCSI subsystem initialized
[ 0.362642] libata version 3.00 loaded.
[ 0.363439] usbcore: registered new interface driver usbfs
[ 0.363647] usbcore: registered new interface driver hub
[ 0.363916] usbcore: registered new device driver usb
[ 0.364374] usb_phy_generic usbphynop1: usbphynop1 supply vcc not found, using dummy regulator
[ 0.365103] usb_phy_generic usbphynop2: usbphynop2 supply vcc not found, using dummy regulator
[ 0.368899] i2c i2c-0: IMX I2C adapter registered
[ 0.389141] pcf857x 2-0020: probed
[ 0.389334] i2c i2c-2: IMX I2C adapter registered
[ 0.389761] mc: Linux media interface: v0.10
[ 0.389891] videodev: Linux video capture interface: v2.00
[ 0.390348] pps_core: LinuxPPS API ver. 1 registered
[ 0.390372] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.390426] PTP clock support registered
[ 0.391359] Advanced Linux Sound Architecture Driver Initialized.
[ 0.395049] Bluetooth: Core ver 2.22
[ 0.395169] NET: Registered protocol family 31
[ 0.395189] Bluetooth: HCI device and connection manager initialized
[ 0.395302] Bluetooth: HCI socket layer initialized
[ 0.395339] Bluetooth: L2CAP socket layer initialized
[ 0.395481] Bluetooth: SCO socket layer initialized
[ 0.397885] clocksource: Switched to clocksource mxc_timer1
[ 1.104745] VFS: Disk quotas dquot_6.6.0
[ 1.104923] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.131189] thermal_sys: Registered thermal governor 'step_wise'
[ 1.131936] NET: Registered protocol family 2
[ 1.133757] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 20480 bytes, linear)
[ 1.133896] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 1.134067] TCP bind hash table entries: 8192 (order: 6, 294912 bytes, linear)
[ 1.135145] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.135748] UDP hash table entries: 512 (order: 3, 40960 bytes, linear)
[ 1.135949] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes, linear)
[ 1.136503] NET: Registered protocol family 1
[ 1.138850] RPC: Registered named UNIX socket transport module.
[ 1.138940] RPC: Registered udp transport module.
[ 1.138962] RPC: Registered tcp transport module.
[ 1.138982] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.140040] PCI: CLS 0 bytes, default 64
[ 1.142087] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[ 1.142758] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[ 1.147487] Initialise system trusted keyrings
[ 1.148222] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[ 1.165742] NFS: Registering the id_resolver key type
[ 1.165907] Key type id_resolver registered
[ 1.165994] Key type id_legacy registered
[ 1.166176] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 1.167476] fuse: init (API version 7.31)
[ 1.207531] Key type asymmetric registered
[ 1.207671] Asymmetric key parser 'x509' registered
[ 1.208017] bounce: pool size: 64 pages
[ 1.208197] io scheduler mq-deadline registered
[ 1.208239] io scheduler kyber registered
[ 1.215241] imx6q-pcie 1ffc000.pcie: host bridge /soc/pcie@1ffc000 ranges:
[ 1.215441] imx6q-pcie 1ffc000.pcie: IO 0x01f80000..0x01f8ffff -> 0x00000000
[ 1.215649] imx6q-pcie 1ffc000.pcie: MEM 0x01000000..0x01efffff -> 0x01000000
[ 1.226349] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[ 1.226447] imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.bin
[ 1.230166] imx-pgc-pd imx-pgc-power-domain.0: DMA mask not set
[ 1.230711] imx-pgc-pd imx-pgc-power-domain.1: DMA mask not set
[ 1.234831] pfuze100-regulator 2-0008: Full layer: 2, Metal layer: 1
[ 1.235709] pfuze100-regulator 2-0008: FAB: 0, FIN: 0
[ 1.235736] pfuze100-regulator 2-0008: pfuze100 found.
[ 1.246751] gen_rgmii: Bringing 1200000uV into 1800000-1800000uV
[ 1.254558] gen_1v5: Bringing 800000uV into 1500000-1500000uV
[ 1.269047] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 27, base_baud = 5000000) is a IMX
[ 2.197113] printk: console [ttymxc0] enabled
[ 2.204911] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 71, base_baud = 5000000) is a IMX
[ 2.214080] serial serial0: tty port ttymxc1 registered
[ 2.220167] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 72, base_baud = 5000000) is a IMX
[ 2.253851] etnaviv etnaviv: bound 130000.gpu (ops gpu_ops)
[ 2.260296] etnaviv etnaviv: bound 134000.gpu (ops gpu_ops)
[ 2.266510] etnaviv etnaviv: bound 2204000.gpu (ops gpu_ops)
[ 2.272285] etnaviv-gpu 130000.gpu: model: GC2000, revision: 5108
[ 2.294321] etnaviv-gpu 130000.gpu: command buffer outside valid memory window
[ 2.302723] etnaviv-gpu 134000.gpu: model: GC320, revision: 5007
[ 2.324067] etnaviv-gpu 134000.gpu: command buffer outside valid memory window
[ 2.328504] imx6q-pcie 1ffc000.pcie: Phy link never came up
[ 2.332376] etnaviv-gpu 2204000.gpu: model: GC355, revision: 1215
[ 2.341012] imx6q-pcie 1ffc000.pcie: PCI host bridge to bus 0000:00
[ 2.343079] etnaviv-gpu 2204000.gpu: Ignoring GPU with VG and FE2.0
[ 2.349538] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 2.358431] [drm] Initialized etnaviv 1.2.0 20151214 for etnaviv on minor 0
[ 2.361178] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 2.372688] imx-ipuv3 2400000.ipu: IPUv3H probed
[ 2.374372] pci_bus 0000:00: root bus resource [mem 0x01000000-0x01efffff]
[ 2.381792] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 2.386260] pci 0000:00:00.0: [16c3:abcd] type 01 class 0x060400
[ 2.392710] [drm] No driver support for vblank timestamp query.
[ 2.394090] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops ipu_crtc_ops)
[ 2.398855] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[ 2.405031] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops ipu_crtc_ops)
[ 2.412209] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[ 2.418855] imx-drm display-subsystem: bound imx-ipuv3-crtc.6 (ops ipu_crtc_ops)
[ 2.426225] pci 0000:00:00.0: supports D1
[ 2.432964] imx-drm display-subsystem: bound imx-ipuv3-crtc.7 (ops ipu_crtc_ops)
[ 2.440107] pci 0000:00:00.0: PME# supported from D0 D1 D3hot D3cold
[ 2.445261] PCI: bus0: Fast back to back transfers disabled
[ 2.452627] dwhdmi-imx 120000.hdmi: Detected HDMI TX controller v1.30a with HDCP (DWC HDMI 3D TX PHY)
[ 2.462321] PCI: bus1: Fast back to back transfers enabled
[ 2.468588] imx-drm display-subsystem: bound 120000.hdmi (ops dw_hdmi_imx_ops)
[ 2.473026] pci 0000:00:00.0: BAR 0: assigned [mem 0x01000000-0x010fffff]
[ 2.478962] imx-drm display-subsystem: bound ldb (ops imx_ldb_ops)
[ 2.485677] pci 0000:00:00.0: BAR 6: assigned [mem 0x01100000-0x0110ffff pref]
[ 2.495219] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 1
[ 2.498765] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 3.203527] Console: switching to colour frame buffer device 100x30
[ 3.226230] imx-drm display-subsystem: fb0: imx-drmdrmfb frame buffer device
[ 3.233903] imx-ipuv3 2800000.ipu: IPUv3H probed
[ 3.263128] brd: module loaded
[ 3.297194] loop: module loaded
[ 3.302874] at24 2-0051: 8192 byte 24c64 EEPROM, read-only, 0 bytes/write
[ 3.311613] at24 2-0052: 8192 byte 24c64 EEPROM, writable, 32 bytes/write
[ 3.326659] nand: No NAND device found
[ 3.335305] libphy: Fixed MDIO Bus: probed
[ 3.340752] CAN device driver interface
[ 3.347184] ethernet-supply: supplied by gen_rgmii
[ 3.450797] pps pps0: new PPS source ptp0
[ 3.455996] fec 2188000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[ 3.462805] fec 2188000.ethernet: Using random MAC address: 3a:a4:b5:43:1f:dc
[ 3.478534] libphy: fec_enet_mii_bus: probed
[ 3.484131] fec 2188000.ethernet eth0: registered PHC device 0
[ 3.491915] usbcore: registered new interface driver r8152
[ 3.497512] usbcore: registered new interface driver lan78xx
[ 3.503361] usbcore: registered new interface driver asix
[ 3.508915] usbcore: registered new interface driver ax88179_178a
[ 3.515110] usbcore: registered new interface driver cdc_ether
[ 3.521135] usbcore: registered new interface driver smsc95xx
[ 3.526980] usbcore: registered new interface driver net1080
[ 3.532794] usbcore: registered new interface driver cdc_subset
[ 3.538866] usbcore: registered new interface driver zaurus
[ 3.544540] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 3.552140] usbcore: registered new interface driver cdc_ncm
[ 3.557879] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.564427] ehci-pci: EHCI PCI platform driver
[ 3.569174] ehci-mxc: Freescale On-Chip EHCI Host driver
[ 3.575453] usbcore: registered new interface driver usb-storage
[ 3.594529] imx_usb 2184200.usb: No over current polarity defined
[ 3.606880] random: fast init done
[ 3.687896] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 3.693078] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[ 3.727888] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 3.734725] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[ 3.743216] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.750518] usb usb1: Product: EHCI Host Controller
[ 3.755419] usb usb1: Manufacturer: Linux 5.3.1 ehci_hcd
[ 3.760803] usb usb1: SerialNumber: ci_hdrc.1
[ 3.768341] hub 1-0:1.0: USB hub found
[ 3.772385] hub 1-0:1.0: 1 port detected
[ 3.789324] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0
[ 3.795811] i2c /dev entries driver
[ 3.809478] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[ 3.816179] Bluetooth: HCI UART driver ver 2.3
[ 3.820733] Bluetooth: HCI UART protocol H4 registered
[ 3.826006] Bluetooth: HCI UART protocol LL registered
[ 3.833183] sdhci: Secure Digital Host Controller Interface driver
[ 3.839445] sdhci: Copyright(c) Pierre Ossman
[ 3.843824] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.889557] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[ 3.898762] sdhci-esdhc-imx 2194000.usdhc: Got CD GPIO
[ 3.920686] hci-ti serial0-0: Direct firmware load for ti-connectivity/TIInit_11.8.32.bts failed with error -2
[ 3.931063] hci-ti serial0-0: Falling back to sysfs fallback for: ti-connectivity/TIInit_11.8.32.bts
[ 3.944044] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[ 4.003832] mmc0: new DDR MMC card at address 0001
[ 4.013356] mmcblk0: mmc0:0001 DG4008 7.28 GiB
[ 4.020115] mmcblk0boot0: mmc0:0001 DG4008 partition 1 4.00 MiB
[ 4.028617] mmcblk0boot1: mmc0:0001 DG4008 partition 2 4.00 MiB
[ 4.035632] mmcblk0rpmb: mmc0:0001 DG4008 partition 3 4.00 MiB, chardev (244:0)
[ 4.048816] mmcblk0: p1 p2
[ 4.070725] mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
[ 4.087218] sdhci-esdhc-imx 2198000.usdhc: card claims to support voltages below defined range
[ 4.099739] caam 2100000.caam: Entropy delay = 3200
[ 4.118650] mmc2: new high speed SDIO card at address 0001
[ 4.165435] caam 2100000.caam: Instantiated RNG4 SH0
[ 4.226194] caam 2100000.caam: Instantiated RNG4 SH1
[ 4.231232] caam 2100000.caam: device ID = 0x0a16010000000000 (Era 4)
[ 4.237695] caam 2100000.caam: job rings = 2, qi = 0
[ 4.242906] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[ 4.260727] mmc1: host does not support reading read-only switch, assuming write-enable
[ 4.278280] mmc1: new high speed SDHC card at address aaaa
[ 4.287178] mmcblk1: mmc1:aaaa SL32G 29.7 GiB
[ 4.287495] caam algorithms registered in /proc/crypto
[ 4.297352] mmcblk1: p1 p2
[ 4.308600] caam_jr 2101000.jr0: registering rng-caam
[ 4.316878] usbcore: registered new interface driver usbhid
[ 4.322919] usbhid: USB HID core driver
[ 4.330780] ipu1_csi0: Registered ipu1_csi0 capture as /dev/video0
[ 4.338856] ipu1_ic_prpenc: Registered ipu1_ic_prpenc capture as /dev/video1
[ 4.346622] ipu1_ic_prpvf: Registered ipu1_ic_prpvf capture as /dev/video2
[ 4.353819] imx-media: ipu1_csi0:1 -> ipu1_ic_prp:0
[ 4.358957] imx-media: ipu1_csi0:1 -> ipu1_vdic:0
[ 4.363692] imx-media: ipu1_vdic:2 -> ipu1_ic_prp:0
[ 4.368638] imx-media: ipu1_ic_prp:1 -> ipu1_ic_prpenc:0
[ 4.373975] imx-media: ipu1_ic_prp:2 -> ipu1_ic_prpvf:0
[ 4.379265] imx-media: subdev ipu1_csi0 bound
[ 4.384590] ipu1_csi1: Registered ipu1_csi1 capture as /dev/video3
[ 4.390873] imx-media: ipu1_csi1:1 -> ipu1_ic_prp:0
[ 4.395778] imx-media: ipu1_csi1:1 -> ipu1_vdic:0
[ 4.400552] imx-media: subdev ipu1_csi1 bound
[ 4.405818] ipu2_csi0: Registered ipu2_csi0 capture as /dev/video4
[ 4.412623] ipu2_ic_prpenc: Registered ipu2_ic_prpenc capture as /dev/video5
[ 4.420366] ipu2_ic_prpvf: Registered ipu2_ic_prpvf capture as /dev/video6
[ 4.427332] imx-media: ipu2_csi0:1 -> ipu2_ic_prp:0
[ 4.432305] imx-media: ipu2_csi0:1 -> ipu2_vdic:0
[ 4.437038] imx-media: ipu2_vdic:2 -> ipu2_ic_prp:0
[ 4.441993] imx-media: ipu2_ic_prp:1 -> ipu2_ic_prpenc:0
[ 4.447330] imx-media: ipu2_ic_prp:2 -> ipu2_ic_prpvf:0
[ 4.452627] imx-media: subdev ipu2_csi0 bound
[ 4.457976] ipu2_csi1: Registered ipu2_csi1 capture as /dev/video7
[ 4.459112] usb 1-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[ 4.464183] imx-media: ipu2_csi1:1 -> ipu2_ic_prp:0
[ 4.464206] imx-media: ipu2_csi1:1 -> ipu2_vdic:0
[ 4.472498] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 4.477390] imx-media: subdev ipu2_csi1 bound
[ 4.484761] hub 1-1:1.0: USB hub found
[ 4.497850] hub 1-1:1.0: 4 ports detected
[ 4.506586] wm8962 0-001a: customer id 0 revision F
[ 4.526108] fsl-asoc-card sound: ASoC: failed to init link HiFi: -517
[ 4.536365] fsl-ssi-dai 202c000.ssi: No cache defaults, reading back from HW
[ 4.550354] NET: Registered protocol family 10
[ 4.558511] Segment Routing with IPv6
[ 4.562325] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 4.570216] NET: Registered protocol family 17
[ 4.574716] can: controller area network core (rev 20170425 abi 9)
[ 4.581182] NET: Registered protocol family 29
[ 4.585663] can: raw protocol (rev 20170425)
[ 4.590134] can: broadcast manager protocol (rev 20170425 t)
[ 4.595837] can: netlink gateway (rev 20170425) max_hops=1
[ 4.601810] Key type dns_resolver registered
[ 4.608204] vddarm: supplied by vddcore
[ 4.612847] vddsoc: supplied by vddsoc
[ 4.626599] Registering SWP/SWPB emulation handler
[ 4.632730] Loading compiled-in X.509 certificates
[ 4.714356] imx_thermal tempmon: Automotive CPU temperature grade - max:125C critical:120C passive:115C
[ 4.729737] input: WM8962 Beep Generator as /devices/soc0/soc/2100000.aips-bus/21a0000.i2c/i2c-0/0-001a/input/input0
[ 4.794418] fsl-asoc-card sound: wm8962 <-> 202c000.ssi mapping ok
[ 4.814160] input: keyboard as /devices/soc0/keyboard/input/input1
[ 4.824252] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T00:00:01 UTC (1)
[ 4.834065] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 4.848207] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 4.855884] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 4.858529] vwl1837: disabling
[ 4.864587] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[ 4.867663] usb_otg_vbus: disabling
[ 4.879069] 3v3_aud: disabling
[ 4.882157] mipi_pwr_en: disabling
[ 4.885666] ALSA device list:
[ 4.888697] #0: wm8962-audio
[ 4.929065] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[ 4.938076] VFS: Mounted root (ext4 filesystem) on device 179:26.
[ 4.949844] devtmpfs: mounted
[ 4.955550] Freeing unused kernel memory: 1024K
[ 4.999945] Run /sbin/init as init process
[ 5.311019] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
Starting syslogd: OK
Starting klogd: OK
Populating /dev using udev: [ 6.617397] udevd[286]: starting version 3.2.7
[ 6.657342] random: udevd: uninitialized urandom read (16 bytes read)
[ 6.668656] random: udevd: uninitialized urandom read (16 bytes read)
[ 6.675256] random: udevd: uninitialized urandom read (16 bytes read)
[ 6.699592] udevd[286]: specified group 'kvm' unknown
[ 6.741291] udevd[288]: starting eudev-3.2.7
[ 7.124728] evbug: Connected device: input0 (WM8962 Beep Generator at 0-001a)
[ 7.139556] evbug: Connected device: input1 (keyboard at gpio-keys/input0)
[ 7.214789] coda 2040000.vpu: Direct firmware load for vpu_fw_imx6q.bin failed with error -2
[ 7.223468] coda 2040000.vpu: Falling back to sysfs fallback for: vpu_fw_imx6q.bin
[ 7.351719] imx-media: ipu1_csi0_mux:2 -> ipu1_csi0:0
[ 7.360679] imx-media: imx6-mipi-csi2:2 -> ipu1_csi1:0
[ 7.375400] imx-media: imx6-mipi-csi2:3 -> ipu2_csi0:0
[ 7.394398] imx-media: ipu2_csi1_mux:2 -> ipu2_csi1:0
[ 7.400581] imx-media: imx6-mipi-csi2:1 -> ipu1_csi0_mux:0
[ 7.406896] imx-media: imx6-mipi-csi2:4 -> ipu2_csi1_mux:0
[ 7.414098] imx-media: ov5640 2-0010:0 -> imx6-mipi-csi2:0
[ 7.884552] wl18xx_driver wl18xx.2.auto: Direct firmware load for ti-connectivity/wl18xx-conf.bin failed with error -2
[ 7.895428] wl18xx_driver wl18xx.2.auto: Falling back to sysfs fallback for: ti-connectivity/wl18xx-conf.bin
done
Initializing random number generator... [ 7.970813] urandom_read: 2 callbacks suppressed
[ 7.970824] random: dd: uninitialized urandom read (512 bytes read)
done.
Starting rngd: OK
[ 8.071645] random: crng init done
Starting system message bus: done
Starting network: OK
Starting sshd: OK

Welcome to Buildroot
buildroot login:
Welcome to Buildroot
buildroot login: root
# glmark2-es2-drm
Error creating gpu
Error: eglCreateWindowSurface failed with error: 0x3009
Error: eglCreateWindowSurface failed with error: 0x3009
Error: CanvasGeneric: Invalid EGL state
Error: main: Could not initialize canvas
#