Issue with IMX8MM's GPU

Hello,

I build uboot and kernel and all other required things step by step from document below:

I use DSI to HTMI driver and LCD blinking to white and black randomly and I do not see anything in output. As you can see in the log below there is some errors in loading DRM driver.

In additional I build imx firmware with gpu-viv for imx8mm too.

After boot I can see /dev/dri/card0 but it is not possible to use it. DRM will crash and lcd blink again. It look like it is trying to load driver again and timeout for another 30-60 seconds.

U-Boot SPL 2020.04 (Sep 10 2022 - 20:32:36 +0200)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from MMC1
NOTICE:  BL31: v2.7(release):
NOTICE:  BL31: Built : 17:42:04, Sep 10 2022


U-Boot 2020.04 (Sep 10 2022 - 20:32:36 +0200)

CPU:   i.MX8MMDL rev1.0 1800 MHz (running at 1200 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 33C
Reset cause: POR
DRAM:  1 GiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... OK
Fail to setup video link
In:    serial
Out:   serial
Err:   serial
Model: Toradex Verdin iMX8M Mini DualLite 1GB V1.1A, Serial# 06827344
Carrier: Toradex Dahlia V1.1B, Serial# 10922847

 BuildInfo:
  - ATF 
  - U-Boot 2020.04

flash target is MMC:0
Net:   eth0: ethernet@30be0000
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot:  1  0 
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
5964 bytes read in 19 ms (305.7 KiB/s)
## Executing script at 47000000
Loading DeviceTree: imx8mm-verdin-nonwifi-dev.dtb
65059 bytes read in 15 ms (4.1 MiB/s)
47 bytes read in 13 ms (2.9 KiB/s)
Applying Overlay: verdin-imx8mm_lt8912_overlay.dtbo
1492 bytes read in 43 ms (33.2 KiB/s)
10547372 bytes read in 332 ms (30.3 MiB/s)
Uncompressed size: 25831936 = 0x18A2A00
Bootargs: root=PARTUUID=defd8125-02 ro rootwait console=tty1 console=ttymxc0,115200 consoleblank=0 earlycon
## Flattened Device Tree blob at 44000000
   Booting using the fdt blob at 0x44000000
   Loading Device Tree to 000000007d6d9000, end 000000007d70bfff ... OK
Modify /vpu_g1@38300000:status disabled
Modify /vpu_g2@38310000:status disabled
Modify /vpu_h1@38320000:status disabled
Delete node /cpus/cpu@2
Delete node /cpus/cpu@3
Update node /thermal-zones/cpu-thermal/cooling-maps/map0, cooling-device prop
Update node /pmu, interrupt-affinity prop

Starting kernel ...

PLEASE READ REPLAY FOR REST OF THE LOG. MESSAGE BODY WAS LIMITED.


[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.193 (buildrooter@buildrootserver) (gcc version 12.1.0 (Buildroot 2022.08-rc2)) #1 SMP PREEMPT Sat Sep 10 02:35:03 CEST 2022
[    0.000000] Machine model: Toradex Verdin iMX8M Mini on Verdin Development Board
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 256 MiB at 0x000000006c000000
[    0.000000] earlycon: ec_imx6q0 at MMIO 0x0000000030860000 (options '')
[    0.000000] printk: bootconsole [ec_imx6q0] enabled
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x7fdc0500-0x7fdc1fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 24 pages/cpu s58904 r8192 d31208 u98304
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258048
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: root=PARTUUID=defd8125-02 ro rootwait console=tty1 console=ttymxc0,115200 consoleblank=0 earlycon
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 739688K/1048576K available (14460K kernel code, 1226K rwdata, 6528K rodata, 2944K init, 1012K bss, 46744K reserved, 262144K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: e[4CRCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 128 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000038880000
[    0.000000] ITS: No ITS available, not enabling LPIs
[    0.000000] random: get_random_bytes called from start_kernel+0x2b4/0x438 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 8.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
[    0.000003] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
[    0.008426] Console: colour dummy device 80x25
[    0.012897] printk: console [tty1] enabled
[    0.016690] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=32000)
[    0.026966] pid_max: default: 32768 minimum: 301
[    0.031649] LSM: Security Framework initializing
[    0.036275] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.043678] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.052628] ASID allocator initialised with 32768 entries
[    0.057068] rcu: Hierarchical SRCU implementation.
[    0.064379] EFI services will not be available.
[    0.066562] smp: Bringing up secondary CPUs ...
[    0.071270] Detected VIPT I-cache on CPU1
[    0.071294] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000
[    0.071325] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.071404] smp: Brought up 1 node, 2 CPUs
[    0.092506] SMP: Total of 2 processors activated.
[    0.097224] CPU features: detected: 32-bit EL0 Support
[    0.102401] CPU features: detected: CRC32 instructions
[    0.113215] CPU: All CPU(s) started at EL2
[    0.114470] alternatives: patching kernel code
[    0.119940] devtmpfs: initialized
[    0.129072] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.136043] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.149177] pinctrl core: initialized pinctrl subsystem
[    0.152033] DMI not present or invalid.
[    0.155678] NET: Registered protocol family 16
[    0.166182] DMA: preallocated 256 KiB pool for atomic allocations
[    0.169520] audit: initializing netlink subsys (disabled)
[    0.175104] audit: type=2000 audit(0.136:1): state=initialized audit_enabled=0 res=1
[    0.182700] cpuidle: using governor menu
[    0.187115] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.194258] Serial: AMBA PL011 UART driver
[    0.197587] imx mu driver is registered.
[    0.201493] imx rpmsg driver is registered.
[    0.210130] imx8mm-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver
[    0.231473] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.235373] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.242094] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.248831] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.256459] cryptd: max_cpu_qlen set to 1000
[    0.262757] ACPI: Interpreter disabled.
[    0.265215] iommu: Default domain type: Translated 
[    0.268797] vgaarb: loaded
[    0.271599] SCSI subsystem initialized
[    0.275395] usbcore: registered new interface driver usbfs
[    0.280664] usbcore: registered new interface driver hub
[    0.286143] usbcore: registered new device driver usb
[    0.292457] mc: Linux media interface: v0.10
[    0.295362] videodev: Linux video capture interface: v2.00
[    0.300915] pps_core: LinuxPPS API ver. 1 registered
[    0.305835] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.315038] PTP clock support registered
[    0.319085] EDAC MC: Ver: 3.0.0
[    0.322894] No BMan portals available!
[    0.326107] QMan: Allocated lookup table at (____ptrval____), entry count 65537
[    0.333519] No QMan portals available!
[    0.337416] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
[    0.343345] FPGA manager framework
[    0.346503] Advanced Linux Sound Architecture Driver Initialized.
[    0.353528] clocksource: Switched to clocksource arch_sys_counter
[    0.358829] VFS: Disk quotas dquot_6.6.0
[    0.362670] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.369711] pnp: PnP ACPI: disabled
[    0.378471] thermal_sys: Registered thermal governor 'step_wise'
[    0.378475] thermal_sys: Registered thermal governor 'power_allocator'
[    0.381960] NET: Registered protocol family 2
[    0.392682] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.400550] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    0.408464] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.416279] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    0.423590] TCP: Hash tables configured (established 8192 bind 8192)
[    0.429938] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.436543] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.443707] NET: Registered protocol family 1
[    0.448282] RPC: Registered named UNIX socket transport module.
[    0.453942] RPC: Registered udp transport module.
[    0.458657] RPC: Registered tcp transport module.
[    0.463381] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.469863] PCI: CLS 0 bytes, default 64
[    0.474297] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.481945] kvm [1]: IPA Size Limit: 40 bits
[    0.486445] kvm [1]: GICv3: no GICV resource entry
[    0.490681] kvm [1]: disabling GICv2 emulation
[    0.495157] kvm [1]: GIC system register CPU interface enabled
[    0.501041] kvm [1]: vgic interrupt IRQ1
[    0.505017] kvm [1]: Hyp mode initialized successfully
[    0.512877] Initialise system trusted keyrings
[    0.514681] workingset: timestamp_bits=44 max_order=18 bucket_order=0
[    0.526561] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.530147] NFS: Registering the id_resolver key type
[    0.534670] Key type id_resolver registered
[    0.538844] Key type id_legacy registered
[    0.542872] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.549604] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.557063] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    0.575832] Key type asymmetric registered
[    0.577084] Asymmetric key parser 'x509' registered
[    0.582015] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.589426] io scheduler mq-deadline registered
[    0.593973] io scheduler kyber registered
[    0.601417] EINJ: ACPI disabled.
[    0.602320] M4 is started
[    0.610007] mxs-dma 33000000.dma-controller: initialized
[    0.612985] imx_busfreq: probe of busfreq failed with error -22
[    0.618532] Bus freq driver module loaded
[    0.627100] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.632473] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 35, base_baud = 1500000) is a IMX
[    0.639448] printk: console [ttymxc0] enabled
[    0.639448] printk: console [ttymxc0] enabled
[    0.648075] printk: bootconsole [ec_imx6q0] disabled
[    0.648075] printk: bootconsole [ec_imx6q0] disabled
[    0.658456] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 36, base_baud = 1500000) is a IMX
[    0.670046] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 37, base_baud = 1500000) is a IMX
[    0.684515] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.691163] [drm] No driver support for vblank timestamp query.
[    0.697165] imx-drm soc@0:bus@32c00000:display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops)
[    0.706452] imx_sec_dsim_drv 32e10000.mipi_dsi: failed to get blk_ctl
[    0.713025] imx_sec_dsim_drv 32e10000.mipi_dsi: version number is 0x1060200
[    0.720049] imx_sec_dsim_drv 32e10000.mipi_dsi: Failed to attach bridge: 32e10000.mipi_dsi
[    0.728335] imx_sec_dsim_drv 32e10000.mipi_dsi: failed to bind sec dsim bridge: -517, retry 0
[    0.745780] brd: module loaded
[    0.753725] loop: module loaded
[    0.757223] zram: Added device: zram0
[    0.765758] tun: Universal TUN/TAP device driver, 1.6
[    0.771966] Freescale FM module, FMD API version 21.1.0
[    0.777464] Freescale FM Ports module
[    0.781769] VFIO - User Level meta-driver version: 0.3
[    0.788302] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.794879] ehci-pci: EHCI PCI platform driver
[    0.799775] usbcore: registered new interface driver usb-storage
[    0.805861] usbcore: registered new interface driver usbserial_generic
[    0.812416] usbserial: USB Serial support registered for generic
[    0.818454] usbcore: registered new interface driver cp210x
[    0.824052] usbserial: USB Serial support registered for cp210x
[    0.830006] usbcore: registered new interface driver ftdi_sio
[    0.835779] usbserial: USB Serial support registered for FTDI USB Serial Device
[    0.843122] usbcore: registered new interface driver pl2303
[    0.848717] usbserial: USB Serial support registered for pl2303
[    0.854673] usbcore: registered new interface driver usb_serial_simple
[    0.861228] usbserial: USB Serial support registered for carelink
[    0.867347] usbserial: USB Serial support registered for zio
[    0.873030] usbserial: USB Serial support registered for funsoft
[    0.879062] usbserial: USB Serial support registered for flashloader
[    0.885440] usbserial: USB Serial support registered for google
[    0.891387] usbserial: USB Serial support registered for libtransistor
[    0.897977] usbserial: USB Serial support registered for vivopay
[    0.904014] usbserial: USB Serial support registered for moto_modem
[    0.910309] usbserial: USB Serial support registered for motorola_tetra
[    0.916946] usbserial: USB Serial support registered for nokia
[    0.922808] usbserial: USB Serial support registered for novatel_gps
[    0.929187] usbserial: USB Serial support registered for hp4x
[    0.934958] usbserial: USB Serial support registered for suunto
[    0.940904] usbserial: USB Serial support registered for siemens_mpi
[    0.949654] input: 30370000.snvs:snvs-powerkey as /devices/platform/soc@0/soc@0:bus@30000000/30370000.snvs/30370000.snvs:snvs-powerkey/input/input0
[    0.964303] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc1
[    0.970595] i2c /dev entries driver
[    0.978212] imx2-wdt 30280000.watchdog: timeout 60 sec (nowayout=0)
[    0.985506] sdhci: Secure Digital Host Controller Interface driver
[    0.991712] sdhci: Copyright(c) Pierre Ossman
[    0.996249] Synopsys Designware Multimedia Card Interface Driver
[    1.002818] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.040868] mmc0: SDHCI controller on 30b40000.mmc [30b40000.mmc] using ADMA
[    1.050023] ledtrig-cpu: registered to indicate activity on CPUs
[    1.057319] caam 30900000.crypto: device ID = 0x0a16040100000000 (Era 9)
[    1.064098] caam 30900000.crypto: job rings = 3, qi = 0
[    1.072044] caam_jr 30901000.jr: failed to flush job ring 0
[    1.078073] caam_jr: probe of 30901000.jr failed with error -5
[    1.089809] caam algorithms registered in /proc/crypto
[    1.095795] caam 30900000.crypto: caam pkc algorithms registered in /proc/crypto
[    1.103229] caam 30900000.crypto: registering rng-caam
[    1.108638] Device caam-keygen registered
[    1.113864] fsl-jr-uio 30901000.jr: UIO device full name fsl-jr0 initialized
[    1.122695] caam-snvs 30370000.caam-snvs: violation handlers armed - non-secure state
[    1.130749] hidraw: raw HID events driver (C) Jiri Kosina
[    1.137364] usbcore: registered new interface driver usbhid
[    1.142999] usbhid: USB HID core driver
[    1.149701] No fsl,qman node
[    1.152596] Freescale USDPAA process driver
[    1.156793] fsl-usdpaa: no region found
[    1.159927] mmc0: new HS400 MMC card at address 0001
[    1.160657] Freescale USDPAA process IRQ driver
[    1.166096] mmcblk0: mmc0:0001 Q2J54A 3.59 GiB 
[    1.174739] random: fast init done
[    1.174961] mmcblk0boot0: mmc0:0001 Q2J54A partition 1 16.0 MiB
[    1.184320] mmcblk0boot1: mmc0:0001 Q2J54A partition 2 16.0 MiB
[    1.186260] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    1.190390] mmcblk0rpmb: mmc0:0001 Q2J54A partition 3 512 KiB, chardev (237:0)
[    1.197902] crng init done
[    1.206348]  mmcblk0: p1 p2
[    1.210887] NET: Registered protocol family 26
[    1.215856] NET: Registered protocol family 10
[    1.220909] Segment Routing with IPv6
[    1.224643] NET: Registered protocol family 17
[    1.229148] tsn generic netlink module v1 init...
[    1.233951] Key type dns_resolver registered
[    1.238623] registered taskstats version 1
[    1.242744] Loading compiled-in X.509 certificates
[    1.264368] GPIO line 129 (CTRL_SLEEP_MOCI#) hogged as output/high
[    1.480477] pca9450 0-0025: Device ID=0x10
[    1.484993] pca9450 0-0025: gpio_intr = 3
[    1.489023] pca9450 0-0025: chip_irq=66
[    1.509698] rtc-ds1307 0-0032: oscillator failed, set time!
[    1.515526] rtc-ds1307 0-0032: registered as rtc0
[    1.522748] at24 0-0050: 256 byte 24c02 EEPROM, writable, 16 bytes/write
[    1.529529] i2c i2c-0: IMX I2C adapter registered
[    1.534986] i2c i2c-1: IMX I2C adapter registered
[    1.540342] i2c i2c-2: IMX I2C adapter registered
[    1.545904] pca953x 3-0021: using no AI
[    1.550147] pca953x 3-0021: failed writing register
[    1.557130] at24 3-0050: 256 byte 24c02 EEPROM, writable, 16 bytes/write
[    1.564385] at24 3-0057: 256 byte 24c02 EEPROM, writable, 16 bytes/write
[    1.571278] i2c i2c-3: IMX I2C adapter registered
[    1.577735] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.578115] imx6q-pcie 33800000.pcie: PLL REF_CLK is used!.
[    1.584381] [drm] No driver support for vblank timestamp query.
[    1.592882] imx6q-pcie 33800000.pcie: PCIe PLL locked after 20 us.
[    1.595966] imx-drm soc@0:bus@32c00000:display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops)
[    1.611374] imx_sec_dsim_drv 32e10000.mipi_dsi: failed to get blk_ctl
[    1.617909] imx_sec_dsim_drv 32e10000.mipi_dsi: version number is 0x1060200
[    1.625072] imx-drm soc@0:bus@32c00000:display-subsystem: bound 32e10000.mipi_dsi (ops imx_sec_dsim_ops)
[    1.634947] [drm] Initialized imx-drm 1.0.0 20120507 for soc@0:bus@32c00000:display-subsystem on minor 0
[    1.817678] imx6q-pcie 33800000.pcie: host bridge /soc@0/pcie@33800000 ranges:
[    1.824944] imx6q-pcie 33800000.pcie:    IO 0x1ff80000..0x1ff8ffff -> 0x00000000
[    1.832366] imx6q-pcie 33800000.pcie:   MEM 0x18000000..0x1fefffff -> 0x18000000
[    2.138985] lt8912 3-0048: "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x48 0x5
[    2.139600] lt8912 3-0048: LT8912 ID: 12, b2
[    2.309704] ------------[ cut here ]------------
[    2.309708] [CRTC:33:crtc-0] vblank wait timed out
[    2.309761] WARNING: CPU: 0 PID: 21 at drivers/gpu/drm/drm_atomic_helper.c:1467 drm_atomic_helper_wait_for_vblanks.part.0+0x224/0x250
[    2.309763] Modules linked in:
[    2.309771] CPU: 0 PID: 21 Comm: kworker/0:1 Not tainted 5.4.193 #1
[    2.309774] Hardware name: Toradex Verdin iMX8M Mini on Verdin Development Board (DT)
[    2.309783] Workqueue: events deferred_probe_work_func
[    2.309788] pstate: 60000005 (nZCv daif -PAN -UAO)
[    2.309793] pc : drm_atomic_helper_wait_for_vblanks.part.0+0x224/0x250
[    2.309797] lr : drm_atomic_helper_wait_for_vblanks.part.0+0x224/0x250
[    2.309800] sp : ffff800011aab4c0
[    2.309802] x29: ffff800011aab4c0 x28: 0000000000000001 
[    2.309808] x27: 0000000000000000 x26: 0000000000000001 
[    2.309814] x25: 0000000000000038 x24: ffff00002b0d5800 
[    2.309819] x23: 0000000000000001 x22: 0000000000000000 
[    2.309825] x21: ffff00002a548680 x20: ffff00002a75f088 
[    2.309831] x19: 0000000000000000 x18: ffff800011811000 
[    2.309836] x17: 0000000000000000 x16: 0000000000000000 
[    2.309842] x15: ffff800011932d18 x14: 0000000000000000 
[    2.309847] x13: ffff800011932000 x12: ffff800011811000 
[    2.309853] x11: ffff800011932368 x10: ffff800011aab4c0 
[    2.309859] x9 : 0000000000000000 x8 : ffff80001193a138 
[    2.309864] x7 : 0000000000000000 x6 : 000000000224d5ff 
[    2.309870] x5 : 0000000000000000 x4 : 0000000000000000 
[    2.309875] x3 : 00000000ffffffff x2 : 0000000000000000 
[    2.309880] x1 : 0000000000000000 x0 : ffff00002a0eaac0 
[    2.309886] Call trace:
[    2.309892]  drm_atomic_helper_wait_for_vblanks.part.0+0x224/0x250
[    2.309897]  drm_atomic_helper_wait_for_vblanks+0x14/0x20
[    2.309904]  lcdif_drm_atomic_commit_tail+0x50/0x70
[    2.309907]  commit_tail+0x9c/0x120
[    2.309911]  drm_atomic_helper_commit+0xcc/0x140
[    2.309918]  drm_atomic_commit+0x48/0x60
[    2.309925]  drm_client_modeset_commit_atomic+0x174/0x210
[    2.309929]  drm_client_modeset_commit_force+0x54/0x180
[    2.309933]  drm_fb_helper_restore_fbdev_mode_unlocked+0x68/0xc0
[    2.309936]  drm_fb_helper_set_par+0x2c/0x60
[    2.309941]  fbcon_init+0x1fc/0x530
[    2.309946]  visual_init+0xb0/0x100
[    2.309951]  do_bind_con_driver.isra.0+0x1a8/0x380
[    2.309954]  do_take_over_console+0x198/0x1f0
[    2.309960]  do_fbcon_takeover+0x6c/0xe0
[    2.309964]  fbcon_fb_registered+0xf8/0x110
[    2.309968]  register_framebuffer+0x19c/0x340
[    2.309973]  __drm_fb_helper_initial_config_and_unlock+0x2dc/0x480
[    2.309976]  drm_fbdev_client_hotplug+0xf4/0x200
[    2.309979]  drm_fbdev_generic_setup+0x98/0x130
[    2.309984]  imx_drm_bind+0x100/0x150
[    2.309988]  try_to_bring_up_master+0x1f0/0x2c0
[    2.309991]  __component_add+0x9c/0x180
[    2.309995]  component_add+0x10/0x20
[    2.309998]  imx_sec_dsim_probe+0x50/0xa0
[    2.310002]  platform_drv_probe+0x50/0xb0
[    2.310005]  really_probe+0xe0/0x490
[    2.310008]  driver_probe_device+0xe0/0x130
[    2.310013]  __device_attach_driver+0x88/0x110
[    2.310018]  bus_for_each_drv+0x74/0xd0
[    2.310021]  __device_attach+0xc4/0x1a0
[    2.310024]  device_initial_probe+0x10/0x20
[    2.310030]  bus_probe_device+0x90/0xa0
[    2.310036]  deferred_probe_work_func+0x80/0xd0
[    2.310043]  process_one_work+0x1c0/0x350
[    2.310047]  worker_thread+0x200/0x450
[    2.310052]  kthread+0x148/0x150
[    2.310057]  ret_from_fork+0x10/0x24
[    2.310059] ---[ end trace c0a57fe8d3877cc0 ]---
[    2.841377] imx6q-pcie 33800000.pcie: Phy link never came up
[    2.841398] imx6q-pcie 33800000.pcie: failed to initialize host
[    2.841401] imx6q-pcie 33800000.pcie: unable to add pcie port.
[   12.317715] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CRTC:33:crtc-0] flip_done timed out
[   22.557704] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CONNECTOR:35:HDMI-A-1] flip_done timed out
[   32.797677] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [PLANE:31:plane-0] flip_done timed out
[   32.901687] ------------[ cut here ]------------
[   32.901690] [CRTC:33:crtc-0] vblank wait timed out
[   32.901728] WARNING: CPU: 0 PID: 21 at drivers/gpu/drm/drm_atomic_helper.c:1467 drm_atomic_helper_wait_for_vblanks.part.0+0x224/0x250
[   32.901730] Modules linked in:
[   32.901738] CPU: 0 PID: 21 Comm: kworker/0:1 Tainted: G        W         5.4.193 #1
[   32.901740] Hardware name: Toradex Verdin iMX8M Mini on Verdin Development Board (DT)
[   32.901748] Workqueue: events deferred_probe_work_func
[   32.901753] pstate: 60000005 (nZCv daif -PAN -UAO)
[   32.901757] pc : drm_atomic_helper_wait_for_vblanks.part.0+0x224/0x250
[   32.901761] lr : drm_atomic_helper_wait_for_vblanks.part.0+0x224/0x250
[   32.901765] sp : ffff800011aab270
[   32.901767] x29: ffff800011aab270 x28: 0000000000000002 
[   32.901773] x27: 0000000000000000 x26: 0000000000000001 
[   32.901778] x25: 0000000000000038 x24: ffff00002b0d5800 
[   32.901784] x23: 0000000000000001 x22: 0000000000000000 
[   32.901789] x21: ffff00002a548a00 x20: ffff00002a75f088 
[   32.901795] x19: 0000000000000000 x18: ffff800011811000 
[   32.901801] x17: 0000000000000000 x16: 0000000000000000 
[   32.901806] x15: ffff800011932d18 x14: 0000000000000000 
[   32.901812] x13: ffff800011932000 x12: ffff800011811000 
[   32.901815] x11: ffff800011932368 x10: ffff800011aab270 
[   32.901821] x9 : 0000000000000000 x8 : ffff80001193b20c 
[   32.901827] x7 : 0000000000000000 x6 : 000000000224d5ff 
[   32.901832] x5 : 0000000000000000 x4 : 0000000000000000 
[   32.901837] x3 : 00000000ffffffff x2 : 0000000000000000 
[   32.901843] x1 : 0000000000000000 x0 : ffff00002a0eaac0 
[   32.901849] Call trace:
[   32.901854]  drm_atomic_helper_wait_for_vblanks.part.0+0x224/0x250
[   32.901860]  drm_atomic_helper_wait_for_vblanks+0x14/0x20
[   32.901866]  lcdif_drm_atomic_commit_tail+0x50/0x70
[   32.901870]  commit_tail+0x9c/0x120
[   32.901873]  drm_atomic_helper_commit+0xcc/0x140
[   32.901880]  drm_atomic_commit+0x48/0x60
[   32.901886]  drm_client_modeset_commit_atomic+0x174/0x210
[   32.901890]  drm_client_modeset_commit_force+0x54/0x180
[   32.901896]  drm_fb_helper_pan_display+0xa8/0x1e0
[   32.901904]  fb_pan_display+0x78/0x120
[   32.901910]  bit_update_start+0x1c/0x40
[   32.901913]  fbcon_switch+0x3e4/0x590
[   32.901920]  redraw_screen+0x178/0x280
[   32.901924]  fbcon_prepare_logo+0x328/0x3d0
[   32.901927]  fbcon_init+0x3d4/0x530
[   32.901931]  visual_init+0xb0/0x100
[   32.901937]  do_bind_con_driver.isra.0+0x1a8/0x380
[   32.901940]  do_take_over_console+0x198/0x1f0
[   32.901946]  do_fbcon_takeover+0x6c/0xe0
[   32.901952]  fbcon_fb_registered+0xf8/0x110
[   32.901957]  register_framebuffer+0x19c/0x340
[   32.901962]  __drm_fb_helper_initial_config_and_unlock+0x2dc/0x480
[   32.901966]  drm_fbdev_client_hotplug+0xf4/0x200
[   32.901969]  drm_fbdev_generic_setup+0x98/0x130
[   32.901973]  imx_drm_bind+0x100/0x150
[   32.901977]  try_to_bring_up_master+0x1f0/0x2c0
[   32.901980]  __component_add+0x9c/0x180
[   32.901985]  component_add+0x10/0x20
[   32.901989]  imx_sec_dsim_probe+0x50/0xa0
[   32.901993]  platform_drv_probe+0x50/0xb0
[   32.901996]  really_probe+0xe0/0x490
[   32.901999]  driver_probe_device+0xe0/0x130
[   32.902002]  __device_attach_driver+0x88/0x110
[   32.902009]  bus_for_each_drv+0x74/0xd0
[   32.902012]  __device_attach+0xc4/0x1a0
[   32.902015]  device_initial_probe+0x10/0x20
[   32.902019]  bus_probe_device+0x90/0xa0
[   32.902024]  deferred_probe_work_func+0x80/0xd0
[   32.902031]  process_one_work+0x1c0/0x350
[   32.902034]  worker_thread+0x200/0x450
[   32.902041]  kthread+0x148/0x150
[   32.902046]  ret_from_fork+0x10/0x24
[   32.902049] ---[ end trace c0a57fe8d3877cc1 ]---
[   32.925164] Console: switching to colour frame buffer device 240x67
[   43.037689] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CRTC:33:crtc-0] flip_done timed out
[   53.277701] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CONNECTOR:35:HDMI-A-1] flip_done timed out
[   63.517682] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [PLANE:31:plane-0] flip_done timed out
[   63.621681] ------------[ cut here ]------------
[   63.621685] [CRTC:33:crtc-0] vblank wait timed out
[   63.621720] WARNING: CPU: 0 PID: 21 at drivers/gpu/drm/drm_atomic_helper.c:1467 drm_atomic_helper_wait_for_vblanks.part.0+0x224/0x250
[   63.621722] Modules linked in:
[   63.621728] CPU: 0 PID: 21 Comm: kworker/0:1 Tainted: G        W         5.4.193 #1
[   63.621730] Hardware name: Toradex Verdin iMX8M Mini on Verdin Development Board (DT)
[   63.621736] Workqueue: events deferred_probe_work_func
[   63.621740] pstate: 60000005 (nZCv daif -PAN -UAO)
[   63.621744] pc : drm_atomic_helper_wait_for_vblanks.part.0+0x224/0x250
[   63.621749] lr : drm_atomic_helper_wait_for_vblanks.part.0+0x224/0x250
[   63.621753] sp : ffff800011aab3a0
[   63.621755] x29: ffff800011aab3a0 x28: 0000000000000003 
[   63.621761] x27: 0000000000000000 x26: 0000000000000001 
[   63.621767] x25: 0000000000000038 x24: ffff00002b0d5800 
[   63.621772] x23: 0000000000000001 x22: 0000000000000000 
[   63.621778] x21: ffff00002a548680 x20: ffff00002a75f088 
[   63.621783] x19: 0000000000000000 x18: ffff800011811000 
[   63.621787] x17: 0000000000000000 x16: 0000000000000000 
[   63.621793] x15: ffff800011932d18 x14: 0000000000000000 
[   63.621798] x13: ffff800011932000 x12: ffff800011811000 
[   63.621804] x11: ffff800011932368 x10: ffff800011aab3a0 
[   63.621809] x9 : 0000000000000000 x8 : ffff80001193c280 
[   63.621815] x7 : 0000000000000000 x6 : 000000000224d5ff 
[   63.621820] x5 : 0000000000000000 x4 : 0000000000000000 
[   63.621826] x3 : 00000000ffffffff x2 : 0000000000000000 
[   63.621831] x1 : 0000000000000000 x0 : ffff00002a0eaac0 
[   63.621837] Call trace:
[   63.621841]  drm_atomic_helper_wait_for_vblanks.part.0+0x224/0x250
[   63.621847]  drm_atomic_helper_wait_for_vblanks+0x14/0x20
[   63.621852]  lcdif_drm_atomic_commit_tail+0x50/0x70
[   63.621856]  commit_tail+0x9c/0x120
[   63.621861]  drm_atomic_helper_commit+0xcc/0x140
[   63.621867]  drm_atomic_commit+0x48/0x60
[   63.621872]  drm_client_modeset_commit_atomic+0x174/0x210
[   63.621876]  drm_client_modeset_commit_force+0x54/0x180
[   63.621880]  drm_fb_helper_pan_display+0xa8/0x1e0
[   63.621884]  fb_pan_display+0x78/0x120
[   63.621889]  bit_update_start+0x1c/0x40
[   63.621892]  fbcon_switch+0x3e4/0x590
[   63.621899]  redraw_screen+0x178/0x280
[   63.621902]  do_bind_con_driver.isra.0+0x26c/0x380
[   63.621908]  do_take_over_console+0x198/0x1f0
[   63.621913]  do_fbcon_takeover+0x6c/0xe0
[   63.621917]  fbcon_fb_registered+0xf8/0x110
[   63.621922]  register_framebuffer+0x19c/0x340
[   63.621929]  __drm_fb_helper_initial_config_and_unlock+0x2dc/0x480
[   63.621932]  drm_fbdev_client_hotplug+0xf4/0x200
[   63.621935]  drm_fbdev_generic_setup+0x98/0x130
[   63.621939]  imx_drm_bind+0x100/0x150
[   63.621943]  try_to_bring_up_master+0x1f0/0x2c0
[   63.621946]  __component_add+0x9c/0x180
[   63.621951]  component_add+0x10/0x20
[   63.621955]  imx_sec_dsim_probe+0x50/0xa0
[   63.621959]  platform_drv_probe+0x50/0xb0
[   63.621962]  really_probe+0xe0/0x490
[   63.621965]  driver_probe_device+0xe0/0x130
[   63.621970]  __device_attach_driver+0x88/0x110
[   63.621974]  bus_for_each_drv+0x74/0xd0
[   63.621979]  __device_attach+0xc4/0x1a0
[   63.621982]  device_initial_probe+0x10/0x20
[   63.621988]  bus_probe_device+0x90/0xa0
[   63.621994]  deferred_probe_work_func+0x80/0xd0
[   63.622000]  process_one_work+0x1c0/0x350
[   63.622003]  worker_thread+0x200/0x450
[   63.622009]  kthread+0x148/0x150
[   63.622014]  ret_from_fork+0x10/0x24
[   63.622016] ---[ end trace c0a57fe8d3877cc2 ]---
[   65.367999] imx-drm soc@0:bus@32c00000:display-subsystem: fb0: imx-drmdrmfb frame buffer device
[   65.382988] pps pps0: new PPS source ptp0
[   65.396838] fec 30be0000.ethernet eth0: registered PHC device 0
[   65.471848] ci_hdrc ci_hdrc.1: EHCI Host Controller
[   65.480160] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[   65.505705] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[   65.515077] hub 1-0:1.0: USB hub found
[   65.522205] hub 1-0:1.0: 1 port detected
[   65.530402] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 3 mkt segment 0 supported-hw 0x8 0x1
[   65.546668] sdhci-esdhc-imx 30b50000.mmc: Got CD GPIO
[   65.589307] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using ADMA
[   65.606442] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[   65.618633] rtc-ds1307 0-0032: hctosys: unable to read the hardware clock
[   65.629579] ALSA device list:
[   65.635107]   No soundcards found.
[   65.647389] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[   65.657734] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[   65.668443] EXT4-fs (mmcblk0p2): recovery complete
[   65.685668] mmc1: new SD card at address a4ee
[   65.693224] mmcblk1: mmc1:a4ee SU02G 1.89 GiB 
[   65.702233]  mmcblk1: p1
[   65.785716] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[   65.889512] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   65.901905] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[   65.913738] devtmpfs: mounted
[   65.922024] Freeing unused kernel memory: 2944K
[   65.930814] Run /sbin/init as init process
[   65.951515] hub 1-1:1.0: USB hub found
[   65.959750] hub 1-1:1.0: 4 ports detected
[   66.051452] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Populating /dev using udev: [   66.142530] udevd[238]: starting version 3.2.11
[   66.173432] udevd[240]: starting eudev-3.2.11
[   66.257588] usb 1-1.2: new full-speed USB device number 3 using ci_hdrc
[   66.330678] galcore: loading out-of-tree module taints kernel.
[   66.362365] imx-sdma 302c0000.dma-controller: loaded firmware 4.6
[   66.372854] galcore: clk_get vg clock failed, disable vg!

Hi @OmidID !

Could you please answer the following questions, so we can better understand your issue?

  • Could you please share the full name of your module with its version (just like is printed on its sticker)?
  • Which carrier board are you using? (with version)
  • Which DSI to HDMI adapter are you using? (with version)
  • Since you are building kernel from source, seems like you are trying to “assembly” your own image. Is that right? Is there a reason to not use Toradex’ Yocto layers/recipes?
  • As a basic test, could you please flash a Reference Multimedia Image from BSP 5 LTS on your module so we can check wether your setup has some issue or not? Reference: Toradex Download Links (Torizon, Linux BSP, WinCE and Partner Demos) | Toradex Developer Center

Best regards,

Hello @henrique.tx and thanks for reply.

The multimedia image works fine and I have no issue with the board. and for rest of the questions I think you can find all information in the log!

Model: Toradex Verdin iMX8M Mini DualLite 1GB V1.1A, Serial# 06827344
Carrier: Toradex Dahlia V1.1B, Serial# 10922847

[    2.139600] lt8912 3-0048: LT8912 ID: 12, b2

I just copy paste from the log.

As you see in the logs i use board v1.1 same for DSI TO HDMI

Thanks again.

Hi @OmidID, thanks for the update!

Indeed the version information was inside the logs.

Ok! It’s important to know so we can exclude the module as a possible problem.

We’d have some additional questions to properly understand the root cause of your issue:

  • Is there a reason for you not to use our Yocto Layers/Recipes as Henrique suggested?
  • Can you please share with us the exact steps and configurations you did to arrive at your custom image?

Best regards,

Hello @gclaudino.tx Thanks for reply.

I follow step by step from document. Build U-Boot and Linux Kernel from Source Code | Toradex Developer Center

About the question why not yocto. I can ask you why this is the only solution? From my point of view this is more personal question. Is IMX8MM limited to yocto? If yes why never mentioned in any document?
To answer this question I can say we hate Yocto. We feel Yocto is a big mess! So as I told you it is personal question. And I think the reason of not use yocto is not related to this topic as we focus to solve the issue.

Thanks again.

1 Like

Hi @OmidID,

I understand Yocto can be quite frustrating and confusing. We suggested this as from our understanding it’s usually better to have your project using Yocto Recipes/Layers for maintenance and it has additional tools to check and look for errors while building an image. In addition, Yocto does most of the build from the source and extracts it so that you could concentrate on your application and on the packages that you’d need. However, it’s indeed not the only solution and you can build Kernel and U-boot from Source as from the article you’ve just shared. I’ve forwarded your feedback to our developer team so that we can try to make things clearer for people starting to use Yocto :smiley:

Ok! Thanks for the update, so just to check:

  • Did you do any kernel modification? It’s shown in the article how to do it but it’s not obligatory.
  • Did you add the Kernel and U-boot you compiled to an image based on the Reference Multimedia Image or Minimal Image? The Reference Minimal Image has no graphics support by default. Also, are they based on which Version? Is this 5 LTS?
  • How did you do the following step?
  • Finally, did you do the additional steps for the Verdin iMX8MM SoC? Which files did you add to it?

Edit: Adding the link to the additional steps section of build from source Build From Source Code Documentation Overview | Toradex Developer Center

Thanks again!

Best regards,

Thanks a lot for helping @gclaudino.tx

No i simply use toradex_defconfig without any additional changes. I imagine after we success to have first working build then we will going to optimize the kernel after.

We do not need any graphical such as Wayland or X11. Our project target to DRM and libdrm it will enough. We using our rootfs as well. That has simple structure with busybox, inittab, and needed libraries.

In uboot we called generate env script to have default script and also using uboot tools we generate script,
Almost all the steps from document. including modules and overlays and everything placed well.
At end simple image.json, boot env, icon png, flash.bin(uboot), kernel.tar, rootfs.tar and marketing.tar (copy from toradex).

Of course. including imx firmware and DDR set to lpddr4 , IMEM set to 0x8000 and DMEM set to 0x4000. gpu-viv and gpu-g2d included as well. and for sure we build the module gpu viv.
Let’s say i try to follow how yocto build the Freescale iMX firmware.

By the way I build the mesa for vivante gpu as well.

In additional I did the test including Wayland and Weston and result was same.
I saw in yocto you added some rules to udev. I apply same changes and again result was same.

From the log can you recognise any issue?

Thanks again and best regards

1 Like

@gclaudino.tx @henrique.tx
Hello again, I just wanted to ping if you have any update for this issue.

Thanks in advance.

1 Like

No update? I really need your support. At least give me a clue I can search for that.

Hi @OmidID, how are you?

Sorry for the delay. I couldn’t test this on my side yet to verify if I could reproduce the same behaviour. I just got a new Verdin Module and I’ll test it soon.

If you use the rootfs from one of our reference images does the same behaviour happens? We may need to check if there could be any necessary package missing on your rootfs.

Best regards,

Hello @gclaudino.tx No problem :slight_smile:
Can I send you the whole image here? If you confirm I will send it.

Thanks a lot for helping.

Yes! You can use share.toradex.com to upload it. Please also test using the rootfs from the reference images.

Best regards

Sure. Meanwhile you check our image, I going to test mulitmedia rootfs because i need to be sure DRM will work.

https://share.toradex.com/lsj3fi4tfl0hspb

Thanks a lot :slight_smile:

2 Likes

I did the test with toradex rootfs and result was same.
Then I try another test. I download one toradex image and i replaced rootfs with mine and that’s worked!
SO. question is here. Where is the issue? Kernel? Uboot? Enviorment Config? Boot Script or overlay?

I have big hope to fix it now :slight_smile:

1 Like

@gclaudino.tx I confirm the issue is the uboot :slight_smile:
But I follow everything step by step from the document.
You had really good idea to replace some files from your images. :slight_smile: Thanks

Hi @OmidID, thanks for the update!

So you want to make sure that your custom U-boot is running, is this right? Or can you use the u-boot from our reference images?

Best regards,

It would be better if I can build everything here and then we can customize anything.
Still we have another issue. We cannot run DRM.
I try with kmscube and you can see the result below:

# kmscube 
failed to initialize
failed to initialize EGL

And our app result:

eglGetDisplay failed with error EGL_BAD_PARAMETER (0x300C)

I can see the device /dev/dri/card0 exists.
After check the yocto from nxp I found libdrm use downstream with vivante driver. I change the build of libdrm to the same repository and branch but still result is same.
mesa build with vivante driver as well.

Screenshot 2022-09-18 at 14.15.01

Do you think something is missed again?

Framebuffer works well.

Thanks a lot.

Hi @OmidID

I’m sorry to say that we don’t have that much expertise in DRM to help you and test it properly.

Our Reference Multimedia Image has all the graphic stack already in place for this to work. Initially, you don’t need to mind the build process. Also, even though this may be complex, you can try to customize this using Yocto and have something that would be working “out of the box” as it would do all the necessary steps for the kernel, u-boot and so on to be configured.

If you want to continue on this path, we’d like to share with you our list of partners (filtered by GPU). They would be able to support you better on this topic

Best regards,

Unfortunately, We waste time here.

You could answer to my first question. YES!

I think, because your yocto is base on NXP yocto and this dependency you have it make it more complicate. And it is hard to find what is happening in the build with lot of patches and downstream repository. From my point of view iMX8 still is in beta version until it move to upstream.
At end my conclusions is Amazing hardware with weak softwares.

Overall, thanks for the idea you had to replace files. At least you helped me to make it work.

1 Like