drm: panel: panel-raydium68200 driver fails to write MIPI DSI init commands
diff mbox series

Message ID bf9ddf520b6f6f6d61123db02cd8fea10f495562.camel@gmail.com
State New, archived
Headers show
Series
  • drm: panel: panel-raydium68200 driver fails to write MIPI DSI init commands
Related show

Commit Message

aleksandr.o.makarov@gmail.com Jan. 16, 2021, 11:40 a.m. UTC
I need to bring up my MIPI DSI 1280x720 EDT ETML0500F3DHA panel on a
RockPro64 V2.1 board.

There is no completely suitable in-tree driver for that panel yet, but
for the purpose of reproducing the issue that I face, the
gpu/drm/panel/panel-raydium-rm68200.c can do just fine.

To reproduce:

- Get the same Linux 5.9.14 as on my RockPro64 board (with Armbian
20.11.6 on it)

- Patch the rk3399-rockpro64.dts to add a panel node that is compatible
with "raydium,rm68200" driver on MIPI interface (rockpro64-
rm68200.patch attached)

- Compile and put the resulting rk3399-rockpro64.dtb on the target
system. The panel driver shall then get probed at next boot.

The kernel log shall contain following errors:

[   10.139957] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
command FIFO
[   10.139988] [drm:rm68200_dcs_write_cmd.isra.4
[panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write failed: -110
[   10.160972] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
command FIFO
[   10.161000] [drm:rm68200_dcs_write_buf.isra.5
[panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.181929] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
command FIFO
[   10.181953] [drm:rm68200_dcs_write_buf.isra.5
[panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.202923] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
command FIFO
[   10.202947] [drm:rm68200_dcs_write_buf.isra.5
[panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.223064] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
command FIFO
[   10.223094] [drm:rm68200_dcs_write_buf.isra.5
[panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.226104] zram1: detected capacity change from 0 to 52428800
[   10.244027] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
command FIFO
[   10.244073] [drm:rm68200_dcs_write_buf.isra.5
[panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.265024] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
command FIFO
[   10.265064] [drm:rm68200_dcs_write_buf.isra.5
[panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.285711] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
command FIFO
[   10.285746] [drm:rm68200_dcs_write_buf.isra.5
[panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.305926] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
command FIFO
[   10.305955] [drm:rm68200_dcs_write_buf.isra.5
[panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.326996] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
command FIFO
[   10.327039] [drm:rm68200_dcs_write_buf.isra.5
[panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.348030] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
command FIFO
[   10.348074] [drm:rm68200_dcs_write_buf.isra.5
[panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110

It's remarkable that if to pull the module panel-rm682000 out and then
back in, there are no errors mentioned. I can for sure say that those
commands become effective - I start seeing colourful stripes on the
display after. That is, if I would send the correct command set to the
panel, then it would bring up just fine. the panel, then it would bring
up just fine.
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.9.14-rockchip64 (root@desktop) (aarch64-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0, GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #20.11.4 SMP PREEMPT Tue Dec 15 08:52:20 CET 2020
[    0.000000] Machine model: Pine64 RockPro64 v2.1
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 128 MiB at 0x00000000e8c00000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xf77eb100-0xf77ecfff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000200000-0x000000003fffffff]
[    0.000000]   DMA32    [mem 0x0000000040000000-0x00000000f7ffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] On node 0 totalpages: 1015296
[    0.000000]   DMA zone: 4088 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 261632 pages, LIFO batch:63
[    0.000000]   DMA32 zone: 11776 pages used for memmap
[    0.000000]   DMA32 zone: 753664 pages, LIFO batch:63
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 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 32 pages/cpu s93784 r8192 d29096 u131072
[    0.000000] pcpu-alloc: s93784 r8192 d29096 u131072 alloc=32*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 
[    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: 999432
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: root=UUID=6b3a13e5-c22a-4e01-af13-97cf0943582a rootwait rootfstype=ext4 bootsplash.bootfile=bootsplash.armbian console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=1 ubootpart=dc7b7442-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x3bfff000-0x3ffff000] (64MB)
[    0.000000] Memory: 3740516K/4061184K available (14464K kernel code, 2094K rwdata, 5980K rodata, 4224K init, 573K bss, 189596K reserved, 131072K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=6.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] 	Rude variant of Tasks RCU enabled.
[    0.000000] 	Tracing variant of 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=6
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 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: CPU0: found redistributor 0 region 0:0x00000000fef00000
[    0.000000] ITS [mem 0xfee20000-0xfee3ffff]
[    0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @f2d00000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000000f2cb0000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000f2cc0000
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
[    0.000000] random: get_random_bytes called from start_kernel+0x698/0x850 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001325] Console: colour dummy device 80x25
[    0.001343] printk: console [tty1] enabled
[    0.001469] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001483] pid_max: default: 32768 minimum: 301
[    0.001635] LSM: Security Framework initializing
[    0.001677] Yama: becoming mindful.
[    0.001826] AppArmor: AppArmor initialized
[    0.001916] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001948] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.005233] rcu: Hierarchical SRCU implementation.
[    0.006412] Platform MSI: interrupt-controller@fee20000 domain created
[    0.006927] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.009234] EFI services will not be available.
[    0.009872] smp: Bringing up secondary CPUs ...
[    0.010824] Detected VIPT I-cache on CPU1
[    0.010868] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.010885] GICv3: CPU1: using allocated LPI pending table @0x00000000f2cd0000
[    0.010939] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.012053] Detected VIPT I-cache on CPU2
[    0.012089] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.012103] GICv3: CPU2: using allocated LPI pending table @0x00000000f2ce0000
[    0.012141] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.013274] Detected VIPT I-cache on CPU3
[    0.013307] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.013321] GICv3: CPU3: using allocated LPI pending table @0x00000000f2cf0000
[    0.013358] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.014425] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[    0.014434] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.014442] Detected PIPT I-cache on CPU4
[    0.014478] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.014492] GICv3: CPU4: using allocated LPI pending table @0x00000000f2d80000
[    0.014531] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.015558] Detected PIPT I-cache on CPU5
[    0.015588] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.015601] GICv3: CPU5: using allocated LPI pending table @0x00000000f2d90000
[    0.015632] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.015787] smp: Brought up 1 node, 6 CPUs
[    0.015796] SMP: Total of 6 processors activated.
[    0.015805] CPU features: detected: 32-bit EL0 Support
[    0.015814] CPU features: detected: CRC32 instructions
[    0.015823] CPU features: detected: 32-bit EL1 Support
[    0.042955] CPU: All CPU(s) started at EL2
[    0.043021] alternatives: patching kernel code
[    0.046826] devtmpfs: initialized
[    0.060248] Registered cp15_barrier emulation handler
[    0.060268] Registered setend emulation handler
[    0.061062] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.061136] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.064314] xor: measuring software checksum speed
[    0.101283]    8regs     :  2346.000 MB/sec
[    0.141371]    32regs    :  2757.000 MB/sec
[    0.181462]    arm64_neon:  2203.000 MB/sec
[    0.181468] xor: using function: 32regs (2757.000 MB/sec)
[    0.181522] pinctrl core: initialized pinctrl subsystem
[    0.182177] DMI not present or invalid.
[    0.182762] NET: Registered protocol family 16
[    0.185562] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[    0.187053] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.187825] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.187947] audit: initializing netlink subsys (disabled)
[    0.188253] audit: type=2000 audit(0.184:1): state=initialized audit_enabled=0 res=1
[    0.189488] thermal_sys: Registered thermal governor 'fair_share'
[    0.189492] thermal_sys: Registered thermal governor 'bang_bang'
[    0.189499] thermal_sys: Registered thermal governor 'step_wise'
[    0.189504] thermal_sys: Registered thermal governor 'user_space'
[    0.190025] cpuidle: using governor menu
[    0.190357] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.190571] ASID allocator initialised with 65536 entries
[    0.191732] Serial: AMBA PL011 UART driver
[    0.255975] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.255985] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.255992] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.255999] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.261583] cryptd: max_cpu_qlen set to 1000
[    0.337884] raid6: neonx8   gen()  1667 MB/s
[    0.406039] raid6: neonx8   xor()  1218 MB/s
[    0.474208] raid6: neonx4   gen()  1686 MB/s
[    0.542365] raid6: neonx4   xor()  1256 MB/s
[    0.610524] raid6: neonx2   gen()  1505 MB/s
[    0.678685] raid6: neonx2   xor()  1159 MB/s
[    0.746844] raid6: neonx1   gen()  1179 MB/s
[    0.815011] raid6: neonx1   xor()   931 MB/s
[    0.883202] raid6: int64x8  gen()   997 MB/s
[    0.951328] raid6: int64x8  xor()   575 MB/s
[    1.019506] raid6: int64x4  gen()   990 MB/s
[    1.087644] raid6: int64x4  xor()   589 MB/s
[    1.155823] raid6: int64x2  gen()   926 MB/s
[    1.223961] raid6: int64x2  xor()   522 MB/s
[    1.292125] raid6: int64x1  gen()   723 MB/s
[    1.360297] raid6: int64x1  xor()   389 MB/s
[    1.360303] raid6: using algorithm neonx4 gen() 1686 MB/s
[    1.360308] raid6: .... xor() 1256 MB/s, rmw enabled
[    1.360314] raid6: using neon recovery algorithm
[    1.362944] vcc3v3_pcie: supplied by vcc12v_dcin
[    1.364969] vcc5v0_sys: supplied by vcc12v_dcin
[    1.365378] vcc3v3_sys: supplied by vcc5v0_sys
[    1.365432] vcc3v0_sd: supplied by vcc3v3_sys
[    1.365553] vcc5v0_usb: supplied by vcc12v_dcin
[    1.366001] vcc5v0_host: supplied by vcc5v0_usb
[    1.366080] vcc5v0_typec: supplied by vcc5v0_usb
[    1.366492] iommu: Default domain type: Translated 
[    1.369859] vgaarb: loaded
[    1.370385] SCSI subsystem initialized
[    1.370635] libata version 3.00 loaded.
[    1.370911] usbcore: registered new interface driver usbfs
[    1.370962] usbcore: registered new interface driver hub
[    1.371074] usbcore: registered new device driver usb
[    1.371713] pps_core: LinuxPPS API ver. 1 registered
[    1.371719] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.371734] PTP clock support registered
[    1.372033] EDAC MC: Ver: 3.0.0
[    1.373258] NetLabel: Initializing
[    1.373264] NetLabel:  domain hash size = 128
[    1.373269] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.373335] NetLabel:  unlabeled traffic allowed by default
[    1.373889] clocksource: Switched to clocksource arch_sys_counter
[    1.499461] VFS: Disk quotas dquot_6.6.0
[    1.499543] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.500387] AppArmor: AppArmor Filesystem Enabled
[    1.511045] NET: Registered protocol family 2
[    1.511938] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    1.512112] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    1.512650] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    1.513315] TCP: Hash tables configured (established 32768 bind 32768)
[    1.513503] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.513666] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.514058] NET: Registered protocol family 1
[    1.514095] NET: Registered protocol family 44
[    1.514109] PCI: CLS 0 bytes, default 64
[    1.514336] Trying to unpack rootfs image as initramfs...
[    2.651515] Freeing initrd memory: 15416K
[    2.652709] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    2.653155] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    2.653864] kvm [1]: IPA Size Limit: 40bits
[    2.654709] kvm [1]: vgic-v2@fff20000
[    2.654745] kvm [1]: GIC system register CPU interface enabled
[    2.654992] kvm [1]: vgic interrupt IRQ10
[    2.655289] kvm [1]: Hyp mode initialized successfully
[    2.666361] Initialise system trusted keyrings
[    2.666400] Key type blacklist registered
[    2.666614] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    2.673211] zbud: loaded
[    2.674891] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.675807] fuse: init (API version 7.31)
[    2.677179] integrity: Platform Keyring initialized
[    2.742990] Key type asymmetric registered
[    2.742997] Asymmetric key parser 'x509' registered
[    2.743041] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    2.743258] io scheduler mq-deadline registered
[    2.743265] io scheduler kyber registered
[    2.743401] io scheduler bfq registered
[    2.761323] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[    2.761348] OF: /pcie@f8000000: Missing device_type
[    2.761379] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[    2.761399] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[    2.762606] rockchip-pcie f8000000.pcie: supply vpcie1v8 not found, using dummy regulator
[    2.762754] rockchip-pcie f8000000.pcie: supply vpcie0v9 not found, using dummy regulator
[    3.317940] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[    3.318690] rockchip-pcie: probe of f8000000.pcie failed with error -110
[    3.325326] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    3.325337] dma-pl330 ff6d0000.dma-controller: 	DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    3.326943] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    3.326954] dma-pl330 ff6e0000.dma-controller: 	DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    3.331190] vdd_log: supplied by regulator-dummy
[    3.332587] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    3.336109] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 38, base_baud = 1500000) is a 16550A
[    3.336286] serial serial0: tty port ttyS0 registered
[    3.337083] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 39, base_baud = 1500000) is a 16550A
[    3.337267] printk: console [ttyS2] enabled
[    3.338683] Serial: AMBA driver
[    3.340157] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    3.352282] loop: module loaded
[    3.358558] spi-nor spi0.0: gd25q128 (16384 Kbytes)
[    3.376925] libphy: Fixed MDIO Bus: probed
[    3.377275] tun: Universal TUN/TAP device driver, 1.6
[    3.378390] thunder_xcv, ver 1.0
[    3.378437] thunder_bgx, ver 1.0
[    3.378485] nicpf, ver 1.0
[    3.379608] e1000e: Intel(R) PRO/1000 Network Driver
[    3.379613] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    3.379669] igb: Intel(R) Gigabit Ethernet Network Driver
[    3.379674] igb: Copyright (c) 2007-2014 Intel Corporation.
[    3.379717] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    3.379721] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    3.380006] sky2: driver version 1.30
[    3.380694] VFIO - User Level meta-driver version: 0.3
[    3.405774] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.405796] ehci-pci: EHCI PCI platform driver
[    3.405835] ehci-platform: EHCI generic platform driver
[    3.408292] ehci-platform fe380000.usb: EHCI Host Controller
[    3.408318] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 1
[    3.408491] ehci-platform fe380000.usb: irq 31, io mem 0xfe380000
[    3.421943] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    3.422347] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[    3.422360] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.422370] usb usb1: Product: EHCI Host Controller
[    3.422380] usb usb1: Manufacturer: Linux 5.9.14-rockchip64 ehci_hcd
[    3.422390] usb usb1: SerialNumber: fe380000.usb
[    3.423065] hub 1-0:1.0: USB hub found
[    3.423109] hub 1-0:1.0: 1 port detected
[    3.425903] ehci-platform fe3c0000.usb: EHCI Host Controller
[    3.425926] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 2
[    3.426061] ehci-platform fe3c0000.usb: irq 33, io mem 0xfe3c0000
[    3.441907] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    3.442167] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[    3.442177] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.442185] usb usb2: Product: EHCI Host Controller
[    3.442193] usb usb2: Manufacturer: Linux 5.9.14-rockchip64 ehci_hcd
[    3.442200] usb usb2: SerialNumber: fe3c0000.usb
[    3.442704] hub 2-0:1.0: USB hub found
[    3.442743] hub 2-0:1.0: 1 port detected
[    3.443500] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.443520] ohci-pci: OHCI PCI platform driver
[    3.443575] ohci-platform: OHCI generic platform driver
[    3.443917] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[    3.443937] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 3
[    3.444076] ohci-platform fe3a0000.usb: irq 32, io mem 0xfe3a0000
[    3.506172] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.09
[    3.506182] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.506190] usb usb3: Product: Generic Platform OHCI controller
[    3.506197] usb usb3: Manufacturer: Linux 5.9.14-rockchip64 ohci_hcd
[    3.506204] usb usb3: SerialNumber: fe3a0000.usb
[    3.506695] hub 3-0:1.0: USB hub found
[    3.506733] hub 3-0:1.0: 1 port detected
[    3.507456] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    3.507476] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
[    3.507604] ohci-platform fe3e0000.usb: irq 34, io mem 0xfe3e0000
[    3.570176] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.09
[    3.570185] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.570193] usb usb4: Product: Generic Platform OHCI controller
[    3.570201] usb usb4: Manufacturer: Linux 5.9.14-rockchip64 ohci_hcd
[    3.570208] usb usb4: SerialNumber: fe3e0000.usb
[    3.570686] hub 4-0:1.0: USB hub found
[    3.570732] hub 4-0:1.0: 1 port detected
[    3.572334] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.572357] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 5
[    3.572533] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    3.572592] xhci-hcd xhci-hcd.0.auto: irq 230, io mem 0xfe800000
[    3.573019] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[    3.573028] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.573036] usb usb5: Product: xHCI Host Controller
[    3.573043] usb usb5: Manufacturer: Linux 5.9.14-rockchip64 xhci-hcd
[    3.573050] usb usb5: SerialNumber: xhci-hcd.0.auto
[    3.573554] hub 5-0:1.0: USB hub found
[    3.573593] hub 5-0:1.0: 1 port detected
[    3.573983] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.573998] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 6
[    3.574013] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    3.574094] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.574237] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.09
[    3.574246] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.574253] usb usb6: Product: xHCI Host Controller
[    3.574261] usb usb6: Manufacturer: Linux 5.9.14-rockchip64 xhci-hcd
[    3.574267] usb usb6: SerialNumber: xhci-hcd.0.auto
[    3.574779] hub 6-0:1.0: USB hub found
[    3.574817] hub 6-0:1.0: 1 port detected
[    3.575384] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    3.575405] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 7
[    3.575577] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    3.575640] xhci-hcd xhci-hcd.1.auto: irq 231, io mem 0xfe900000
[    3.576055] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
[    3.576064] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.576071] usb usb7: Product: xHCI Host Controller
[    3.576078] usb usb7: Manufacturer: Linux 5.9.14-rockchip64 xhci-hcd
[    3.576086] usb usb7: SerialNumber: xhci-hcd.1.auto
[    3.576560] hub 7-0:1.0: USB hub found
[    3.576598] hub 7-0:1.0: 1 port detected
[    3.576950] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    3.576965] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 8
[    3.576979] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    3.577061] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.577214] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.09
[    3.577223] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.577230] usb usb8: Product: xHCI Host Controller
[    3.577237] usb usb8: Manufacturer: Linux 5.9.14-rockchip64 xhci-hcd
[    3.577244] usb usb8: SerialNumber: xhci-hcd.1.auto
[    3.577739] hub 8-0:1.0: USB hub found
[    3.577777] hub 8-0:1.0: 1 port detected
[    3.578386] usbcore: registered new interface driver usb-storage
[    3.580970] mousedev: PS/2 mouse device common for all mice
[    3.582379] i2c /dev entries driver
[    3.591469] rk808 0-001b: chip id: 0x0
[    3.595706] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    3.595737] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    3.596592] vdd_center: supplied by vcc5v0_sys
[    3.597202] vdd_cpu_l: supplied by vcc5v0_sys
[    3.597500] vcc_ddr: supplied by vcc5v0_sys
[    3.598303] vcc_1v8: supplied by vcc5v0_sys
[    3.599687] vcc1v8_dvp: supplied by vcc5v0_sys
[    3.600699] vcc3v0_touch: supplied by vcc5v0_sys
[    3.601833] vcca_1v8: supplied by vcc5v0_sys
[    3.603017] vcc_sdio: supplied by vcc5v0_sys
[    3.604036] vcca3v0_codec: supplied by vcc5v0_sys
[    3.605167] vcc_1v5: supplied by vcc5v0_sys
[    3.606125] vcca1v8_codec: supplied by vcc5v0_sys
[    3.607271] vcc_3v0: supplied by vcc5v0_sys
[    3.607585] vcc3v3_s3: supplied by vcc3v3_sys
[    3.607919] vcc3v3_s0: supplied by vcc3v3_sys
[    3.611706] rk808-rtc rk808-rtc: registered as rtc0
[    3.612268] rk808-rtc rk808-rtc: setting system clock to 2013-01-18T08:57:06 UTC (1358499426)
[    3.615315] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[    3.616652] vcc1v8_s3: supplied by vcc_1v8
[    3.616750] vdd_cpu_b: supplied by vcc5v0_sys
[    3.619752] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[    3.620425] random: fast init done
[    3.621114] vdd_gpu: supplied by vcc5v0_sys
[    3.629331] dw_wdt ff848000.watchdog: No valid TOPs array specified
[    3.631595] sdhci: Secure Digital Host Controller Interface driver
[    3.631601] sdhci: Copyright(c) Pierre Ossman
[    3.631631] Synopsys Designware Multimedia Card Interface Driver
[    3.633179] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    3.633208] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    3.633224] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    3.633287] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    3.633605] dwmmc_rockchip fe310000.mmc: allocated mmc-pwrseq
[    3.633615] mmc_host mmc0: card is non-removable.
[    3.646096] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    3.659682] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    3.659710] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    3.659756] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    3.659825] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    3.660290] dwmmc_rockchip fe320000.mmc: Got CD GPIO
[    3.673151] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    3.686388] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.688197] mmc2: CQHCI version 5.10
[    3.699603] mmc_host mmc0: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)
[    3.712272] mmc2: SDHCI controller on fe330000.sdhci [fe330000.sdhci] using ADMA
[    3.716859] ledtrig-cpu: registered to indicate activity on CPUs
[    3.718188] hid: raw HID events driver (C) Jiri Kosina
[    3.718380] usbcore: registered new interface driver usbhid
[    3.718385] usbhid: USB HID core driver
[    3.724310] drop_monitor: Initializing network drop monitor service
[    3.725160] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    3.725262] mmc1: new high speed SDHC card at address 59b4
[    3.725584] NET: Registered protocol family 10
[    3.726441] mmcblk1: mmc1:59b4 USDU1 14.9 GiB 
[    3.729428]  mmcblk1: p1
[    3.756501] mmc_host mmc0: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0)
[    3.769529] Segment Routing with IPv6
[    3.769633] NET: Registered protocol family 17
[    3.769829] 8021q: 802.1Q VLAN Support v1.8
[    3.769934] Key type dns_resolver registered
[    3.770445] registered taskstats version 1
[    3.770459] Loading compiled-in X.509 certificates
[    3.773946] Loaded X.509 cert 'Build time autogenerated kernel key: dccf44bd6a6a6c80c8ebb43ecbfc03e645b516d0'
[    3.774133] zswap: loaded using pool lzo/zbud
[    3.774519] Key type ._fscrypt registered
[    3.774525] Key type .fscrypt registered
[    3.774531] Key type fscrypt-provisioning registered
[    3.777581] Btrfs loaded, crc32c=crc32c-generic
[    3.798312] Key type encrypted registered
[    3.798346] AppArmor: AppArmor sha1 policy hashing enabled
[    3.817977] mmc_host mmc0: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
[    3.860873] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    3.861422] of_cfs_init
[    3.861455] of_cfs_init: OK
[    3.865269] Freeing unused kernel memory: 4224K
[    3.878075] Run /init as init process
[    3.878083]   with arguments:
[    3.878088]     /init
[    3.878093]   with environment:
[    3.878098]     HOME=/
[    3.878103]     TERM=linux
[    3.878108]     ubootpart=dc7b7442-01
[    3.878113]     cgroup_enable=memory
[    3.878118]     cgroup_memory=1
[    4.085943] usb 3-1: new full-speed USB device number 2 using ohci-platform
[    4.113960] usb 4-1: new full-speed USB device number 2 using ohci-platform
[    4.317030] usb 3-1: New USB device found, idVendor=09da, idProduct=f624, bcdDevice=24.38
[    4.317046] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.317056] usb 3-1: Product: USB Device
[    4.317066] usb 3-1: Manufacturer: COMPANY
[    4.324537] input: COMPANY USB Device as /devices/platform/fe3a0000.usb/usb3/3-1/3-1:1.0/0003:09DA:F624.0001/input/input1
[    4.341036] usb 4-1: New USB device found, idVendor=09da, idProduct=f213, bcdDevice=13.97
[    4.341049] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.341060] usb 4-1: Product: USB Device
[    4.341070] usb 4-1: Manufacturer: COMPANY
[    4.348423] hid-generic 0003:09DA:F213.0002: hiddev96,hidraw0: USB HID v1.11 Device [COMPANY USB Device] on usb-fe3e0000.usb-1/input0
[    4.353166] input: COMPANY USB Device as /devices/platform/fe3e0000.usb/usb4/4-1/4-1:1.1/0003:09DA:F213.0003/input/input2
[    4.383329] hid-generic 0003:09DA:F624.0001: input,hidraw1: USB HID v1.11 Keyboard [COMPANY USB Device] on usb-fe3a0000.usb-1/input0
[    4.384459] hid-generic 0003:09DA:F213.0003: input,hidraw2: USB HID v1.11 Mouse [COMPANY USB Device] on usb-fe3e0000.usb-1/input1
[    4.387290] input: COMPANY USB Device as /devices/platform/fe3a0000.usb/usb3/3-1/3-1:1.1/0003:09DA:F624.0004/input/input3
[    4.387989] hid-generic 0003:09DA:F624.0004: input,hidraw3: USB HID v1.11 Mouse [COMPANY USB Device] on usb-fe3a0000.usb-1/input1
[    4.393409] input: COMPANY USB Device Keyboard as /devices/platform/fe3a0000.usb/usb3/3-1/3-1:1.2/0003:09DA:F624.0005/input/input4
[    4.446391] pwm-backlight backlight: supply power not found, using dummy regulator
[    4.450643] input: COMPANY USB Device System Control as /devices/platform/fe3a0000.usb/usb3/3-1/3-1:1.2/0003:09DA:F624.0005/input/input5
[    4.451262] input: COMPANY USB Device Consumer Control as /devices/platform/fe3a0000.usb/usb3/3-1/3-1:1.2/0003:09DA:F624.0005/input/input6
[    4.451767] input: COMPANY USB Device as /devices/platform/fe3a0000.usb/usb3/3-1/3-1:1.2/0003:09DA:F624.0005/input/input7
[    4.452502] hid-generic 0003:09DA:F624.0005: input,hiddev97,hidraw4: USB HID v1.11 Keyboard [COMPANY USB Device] on usb-fe3a0000.usb-1/input2
[    4.514396] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    4.514411] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    4.514624] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    4.514993] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[    4.515008] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
[    4.515020] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
[    4.515039] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[    4.515141] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[    4.515151] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[    4.520184] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[    4.520633] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    4.520651] rk_gmac-dwmac fe300000.ethernet: 	DWMAC1000
[    4.520662] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
[    4.520672] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
[    4.520682] rk_gmac-dwmac fe300000.ethernet: COE Type 2
[    4.520691] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[    4.520699] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
[    4.520858] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
[    4.520869] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
[    4.520878] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    4.610196] rockchip-vop ff8f0000.vop: Adding to iommu group 2
[    4.611278] rockchip-vop ff900000.vop: Adding to iommu group 3
[    4.649503] libphy: stmmac: probed
[    4.649532] RTL8211F Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    4.649549] RTL8211F Gigabit Ethernet stmmac-0:01: attached PHY driver [RTL8211F Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[    6.173251] EXT4-fs (mmcblk1p1): mounted filesystem with writeback data mode. Opts: (null)
[    7.099799] systemd[1]: System time before build time, advancing clock.
[    7.122866] systemd[1]: Inserted module 'autofs4'
[    7.209580] systemd[1]: systemd 245.4-4ubuntu3.3 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
[    7.211040] systemd[1]: Detected architecture arm64.
[    7.251383] systemd[1]: Set hostname to <rockpro64>.
[    7.359687] dw-apb-uart ff1a0000.serial: forbid DMA for kernel console
[    7.749576] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
[    8.083766] random: systemd: uninitialized urandom read (16 bytes read)
[    8.088234] systemd[1]: Created slice system-modprobe.slice.
[    8.088778] random: systemd: uninitialized urandom read (16 bytes read)
[    8.090259] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    8.090607] random: systemd: uninitialized urandom read (16 bytes read)
[    8.091874] systemd[1]: Created slice User and Session Slice.
[    8.092544] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    8.093924] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    8.094499] systemd[1]: Reached target User and Group Name Lookups.
[    8.094849] systemd[1]: Reached target Remote File Systems.
[    8.095172] systemd[1]: Reached target Slices.
[    8.095513] systemd[1]: Reached target Swap.
[    8.095830] systemd[1]: Reached target System Time Set.
[    8.096722] systemd[1]: Listening on Syslog Socket.
[    8.097538] systemd[1]: Listening on fsck to fsckd communication Socket.
[    8.098161] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    8.099429] systemd[1]: Listening on Journal Audit Socket.
[    8.100222] systemd[1]: Listening on Journal Socket (/dev/log).
[    8.101142] systemd[1]: Listening on Journal Socket.
[    8.102145] systemd[1]: Listening on udev Control Socket.
[    8.102878] systemd[1]: Listening on udev Kernel Socket.
[    8.108748] systemd[1]: Mounting Huge Pages File System...
[    8.114817] systemd[1]: Mounting POSIX Message Queue File System...
[    8.120980] systemd[1]: Mounting Kernel Debug File System...
[    8.127048] systemd[1]: Mounting Kernel Trace File System...
[    8.134857] systemd[1]: Starting Restore / save the current clock...
[    8.140815] systemd[1]: Starting Set the console keyboard layout...
[    8.147655] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    8.148260] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[    8.153392] systemd[1]: Started Nameserver information manager.
[    8.154558] systemd[1]: Reached target Network (Pre).
[    8.158414] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    8.158612] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    8.166809] systemd[1]: Starting Load Kernel Modules...
[    8.173097] systemd[1]: Starting Remount Root and Kernel File Systems...
[    8.179303] systemd[1]: Starting udev Coldplug all Devices...
[    8.188688] systemd[1]: Mounted Huge Pages File System.
[    8.190181] systemd[1]: Mounted POSIX Message Queue File System.
[    8.191303] systemd[1]: Mounted Kernel Debug File System.
[    8.192459] systemd[1]: Mounted Kernel Trace File System.
[    8.196471] systemd[1]: Finished Restore / save the current clock.
[    8.200747] systemd[1]: Finished Create list of static device nodes for the current kernel.
[    8.219661] systemd[1]: Finished Load Kernel Modules.
[    8.226114] systemd[1]: Mounting FUSE Control File System...
[    8.230505] EXT4-fs (mmcblk1p1): re-mounted. Opts: commit=600,errors=remount-ro
[    8.232399] systemd[1]: Mounting Kernel Configuration File System...
[    8.239147] systemd[1]: Starting Apply Kernel Variables...
[    8.255628] systemd[1]: Finished Remount Root and Kernel File Systems.
[    8.257053] systemd[1]: Mounted FUSE Control File System.
[    8.258207] systemd[1]: Mounted Kernel Configuration File System.
[    8.261082] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    8.261305] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    8.266953] systemd[1]: Starting Load/Save Random Seed...
[    8.273271] systemd[1]: Starting Create System Users...
[    8.349164] systemd[1]: Finished Apply Kernel Variables.
[    8.363937] systemd[1]: Finished Create System Users.
[    8.372641] systemd[1]: Starting Create Static Device Nodes in /dev...
[    8.453313] systemd[1]: Finished Create Static Device Nodes in /dev.
[    8.459717] systemd[1]: Starting udev Kernel Device Manager...
[    8.526368] systemd[1]: Finished Set the console keyboard layout.
[    8.527606] systemd[1]: Reached target Local File Systems (Pre).
[    8.535280] systemd[1]: Mounting /tmp...
[    8.552611] systemd[1]: Mounted /tmp.
[    8.553659] systemd[1]: Reached target Local File Systems.
[    8.559184] systemd[1]: Starting Armbian ZRAM config...
[    8.565831] systemd[1]: Starting Set console font and keymap...
[    8.571898] systemd[1]: Starting Tell Plymouth To Write Out Runtime Data...
[    8.572496] systemd[1]: Condition check resulted in Mark the need to relabel after reboot being skipped.
[    8.572844] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.
[    8.605154] systemd[1]: Finished Set console font and keymap.
[    8.632516] systemd[1]: plymouth-read-write.service: Succeeded.
[    8.635202] systemd[1]: Finished Tell Plymouth To Write Out Runtime Data.
[    8.834964] systemd[1]: Finished udev Coldplug all Devices.
[    8.848987] systemd[1]: Starting Helper to synchronize boot up for ifupdown...
[    8.882318] systemd[1]: Finished Helper to synchronize boot up for ifupdown.
[    8.891120] systemd[1]: Starting Raise network interfaces...
[    8.992528] systemd[1]: Started udev Kernel Device Manager.
[    8.994075] systemd[1]: Condition check resulted in Show Plymouth Boot Screen being skipped.
[    8.994264] systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch when bootsplash is active being skipped.
[    8.994391] systemd[1]: Condition check resulted in Forward Password Requests to Plymouth Directory Watch being skipped.
[    8.994567] systemd[1]: Reached target Local Encrypted Volumes.
[    9.178268] zram: Added device: zram0
[    9.178931] zram: Added device: zram1
[    9.179665] zram: Added device: zram2
[    9.364637] zram0: detected capacity change from 0 to 1992310784
[    9.531191] systemd[1]: Found device /dev/ttyS2.
[    9.533392] systemd[1]: Created slice system-systemd\x2dbacklight.slice.
[    9.538096] systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:backlight...
[    9.544105] systemd[1]: Finished Raise network interfaces.
[    9.643134] systemd[1]: Finished Load/Save Screen Backlight Brightness of backlight:backlight.
[    9.708973] Bluetooth: Core ver 2.22
[    9.710362] NET: Registered protocol family 31
[    9.710366] Bluetooth: HCI device and connection manager initialized
[    9.710375] Bluetooth: HCI socket layer initialized
[    9.710379] Bluetooth: L2CAP socket layer initialized
[    9.710392] Bluetooth: SCO socket layer initialized
[    9.724093] mc: Linux media interface: v0.10
[    9.785922] random: crng init done
[    9.785928] random: 7 urandom warning(s) missed due to ratelimiting
[    9.787941] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops [rockchipdrm])
[    9.788038] [drm] unsupported AFBC format[3231564e]
[    9.789693] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops [rockchipdrm])
[    9.789927] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
[    9.791294] rockchip-drm display-subsystem: bound ff940000.hdmi (ops dw_hdmi_rockchip_ops [rockchipdrm])
[    9.791523] rockchip-drm display-subsystem: bound ff960000.mipi (ops dw_mipi_dsi_rockchip_ops [rockchipdrm])
[    9.792320] videodev: Linux video capture interface: v2.00
[    9.834593] panfrost ff9a0000.gpu: clock rate = 500000000
[    9.838845] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 status 0x0
[    9.838854] panfrost ff9a0000.gpu: features: 00000000,100e77bf, issues: 00000000,24040400
[    9.838861] panfrost ff9a0000.gpu: Features: L2:0x07120206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
[    9.838866] panfrost ff9a0000.gpu: shader_present=0xf l2_present=0x1
[    9.853398] [drm] Initialized panfrost 1.1.0 20180908 for ff9a0000.gpu on minor 1
[    9.855968] typec_fusb302 4-0022: No cable types defined, using default cables
[    9.856062] OF: graph: no port node found in /i2c@ff3d0000/typec-portc@22
[    9.870585] systemd[1]: Finished Load/Save Random Seed.
[    9.877421] es8316 1-0011: Failed to get IRQ 0: -22
[    9.935530] bootsplash: Loading splash file (563104 bytes)
[    9.935573] bootsplash: Loaded (563104 bytes, 2 pics, 76 blobs).
[    9.978475] Bluetooth: HCI UART driver ver 2.3
[    9.978479] Bluetooth: HCI UART protocol H4 registered
[    9.978481] Bluetooth: HCI UART protocol BCSP registered
[    9.978516] Bluetooth: HCI UART protocol LL registered
[    9.978518] Bluetooth: HCI UART protocol ATH3K registered
[    9.978537] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    9.978697] Bluetooth: HCI UART protocol Intel registered
[    9.978785] Bluetooth: HCI UART protocol Broadcom registered
[    9.978787] Driver 'hci_uart_qca' needs updating - please use bus_type methods
[    9.978808] Bluetooth: HCI UART protocol QCA registered
[    9.978809] Bluetooth: HCI UART protocol AG6XX registered
[    9.978829] Bluetooth: HCI UART protocol Marvell registered
[    9.982746] dwhdmi-rockchip ff940000.hdmi: PHY configuration failed (clock 148501000)
[    9.993944] Adding 1945612k swap on /dev/zram0.  Priority:5 extents:1 across:1945612k SSFS
[    9.999933] asoc-audio-graph-card sound: ASoC: no DMI vendor name!
[   10.032854] rockchip-rga ff680000.rga: HW Version: 0x03.02
[   10.033129] rockchip-rga ff680000.rga: Registered rockchip-rga as /dev/video0
[   10.080950] rockchip_vdec: module is from the staging directory, the quality is unknown, you have been warned.
[   10.083061] rkvdec ff660000.video-codec: Adding to iommu group 1
[   10.088198] asoc-simple-card hdmi-sound: ASoC: no DMI vendor name!
[   10.092276] hantro_vpu: module is from the staging directory, the quality is unknown, you have been warned.
[   10.094847] hantro-vpu ff650000.video-codec: Adding to iommu group 0
[   10.095601] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-enc as /dev/video2
[   10.095782] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-dec as /dev/video3
[   10.098088] dw-apb-uart ff180000.serial: failed to request DMA
[   10.105921] Registered IR keymap rc-cec
[   10.106059] rc rc0: dw_hdmi as /devices/platform/ff940000.hdmi/rc/rc0
[   10.106251] input: dw_hdmi as /devices/platform/ff940000.hdmi/rc/rc0/input8
[   10.139957] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.139988] [drm:rm68200_dcs_write_cmd.isra.4 [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write failed: -110
[   10.160972] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.161000] [drm:rm68200_dcs_write_buf.isra.5 [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.181929] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.181953] [drm:rm68200_dcs_write_buf.isra.5 [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.202923] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.202947] [drm:rm68200_dcs_write_buf.isra.5 [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.223064] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.223094] [drm:rm68200_dcs_write_buf.isra.5 [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.226104] zram1: detected capacity change from 0 to 52428800
[   10.244027] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.244073] [drm:rm68200_dcs_write_buf.isra.5 [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.265024] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.265064] [drm:rm68200_dcs_write_buf.isra.5 [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.285711] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.285746] [drm:rm68200_dcs_write_buf.isra.5 [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.305926] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.305955] [drm:rm68200_dcs_write_buf.isra.5 [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.326996] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.327039] [drm:rm68200_dcs_write_buf.isra.5 [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.348030] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.348074] [drm:rm68200_dcs_write_buf.isra.5 [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.368966] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.389002] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.409433] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.430018] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.450742] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.471457] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.492198] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.512473] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.533199] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.533238] [drm:rm68200_dcs_write_cmd.isra.4 [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write failed: -110
[   10.553975] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.554004] [drm:rm68200_dcs_write_cmd.isra.4 [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write failed: -110
[   10.574738] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.574767] [drm:rm68200_dcs_write_cmd.isra.4 [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write failed: -110
[   10.595530] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.595559] [drm:rm68200_dcs_write_cmd.isra.4 [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write failed: -110
[   10.616333] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.616361] [drm:rm68200_dcs_write_cmd.isra.4 [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write failed: -110
[   10.637123] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.637152] [drm:rm68200_dcs_write_cmd.isra.4 [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write failed: -110
[   10.657927] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.657955] [drm:rm68200_dcs_write_cmd.isra.4 [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write failed: -110
[   10.678726] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.678754] [drm:rm68200_dcs_write_cmd.isra.4 [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write failed: -110
[   10.699521] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.699550] [drm:rm68200_dcs_write_cmd.isra.4 [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write failed: -110
[   10.720315] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.741075] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.761838] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.782606] dw-mipi-dsi-rockchip ff960000.mipi: failed to write command FIFO
[   10.803372] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   10.824132] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   10.844884] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   10.865642] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   10.886406] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   10.907164] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   10.927915] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   10.948627] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   10.969382] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   10.990138] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.010857] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.031621] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.052471] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.073228] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.093985] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.114742] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.135499] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.156278] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.176970] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.197558] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.218092] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.238622] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.259157] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.279692] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.300219] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.320751] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.341279] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.361802] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.382333] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.402860] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.423386] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.443913] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.464437] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.484961] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.505487] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.526035] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.546561] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.567082] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.587601] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.608127] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.628651] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.649179] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.669704] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.690231] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.710757] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.731278] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.751803] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.772327] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.792854] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.813379] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.833907] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.854431] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.874953] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.895481] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.916004] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.936529] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.957089] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.977613] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   11.998136] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.018660] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.039182] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.059708] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.080231] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.100756] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.121281] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.141806] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.162329] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.182853] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.203382] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.223905] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.225925] Bluetooth: hci0: command 0x0c03 tx timeout
[   12.244509] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.265078] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.285615] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.306154] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.326686] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.347217] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.367749] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.388279] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.408813] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.429343] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.449906] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.470441] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.490971] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.511503] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.532035] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.552070] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.572600] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.593121] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.613653] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.634215] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.654744] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.675274] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.695804] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.716332] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.736864] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.757400] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.777929] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.798458] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.818986] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.839517] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.860046] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.880576] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.901016] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.921543] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.942072] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.962597] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   12.983124] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.003649] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.024177] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.044705] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.065231] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.085757] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.106319] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.126846] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.147371] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.167901] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.188427] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.208976] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.229500] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.250029] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.270559] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.291087] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.311615] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.332171] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.352698] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.373225] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.393753] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.414283] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.434813] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.455343] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.475871] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.496400] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.516929] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.537454] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.558020] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.578546] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.599073] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.619599] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.640128] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.660657] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.681186] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.701712] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.722244] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.742770] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.763296] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.783824] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.804378] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.824906] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.845432] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.865964] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.886493] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.907017] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.927087] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.947614] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.968163] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   13.988691] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   14.009218] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   14.029745] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   14.050275] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   14.070802] dw-mipi-dsi-rockchip ff960000.mipi: failed to get available command FIFO
[   14.082990] Console: switching to colour frame buffer device 90x67
[   14.272756] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device
[   14.286673] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[   14.296678] systemd[1]: Finished Armbian ZRAM config.
[   14.359949] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[   14.364888] systemd[1]: Starting Armbian memory supported logging...
[   14.369578] systemd[1]: Starting Tell Plymouth To Write Out Runtime Data...
[   14.417219] systemd[1]: Condition check resulted in Show Plymouth Boot Screen being skipped.
[   14.417740] systemd[1]: Started Dispatch Password Requests to Console Directory Watch when bootsplash is active.
[   14.418346] systemd[1]: Condition check resulted in Forward Password Requests to Plymouth Directory Watch being skipped.
[   14.418756] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[   14.418898] systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped.
[   14.419059] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[   14.419224] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.
[   14.419339] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[   14.427484] systemd[1]: plymouth-read-write.service: Succeeded.
[   14.429979] systemd[1]: Finished Tell Plymouth To Write Out Runtime Data.
[   14.432620] EXT4-fs (zram1): mounted filesystem without journal. Opts: discard
[   14.432658] ext4 filesystem being mounted at /var/log supports timestamps until 2038 (0x7fffffff)
[   14.436720] systemd[1]: Starting Load/Save RF Kill Switch Status...
[   14.462383] systemd[1]: Started Load/Save RF Kill Switch Status.
[   16.865984] systemd[1]: Finished Armbian memory supported logging.
[   16.874802] systemd[1]: Starting Journal Service...
[   17.093430] systemd[1]: Started Journal Service.
[   17.135114] systemd-journald[735]: Received client request to flush runtime journal.
[   20.449951] Bluetooth: hci0: BCM: Reset failed (-110)
[   24.547255] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   24.547265] Bluetooth: BNEP filters: protocol multicast
[   24.547284] Bluetooth: BNEP socket layer initialized
[   26.322958] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[   26.327436] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found
[   26.327450] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW
[   26.327790] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode
[   30.434762] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   30.434801] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   33.949488] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22
[   33.950026] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -22
[   33.951494] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22
[   33.951987] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -22
[   33.953420] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22
[   33.953961] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -22
[   33.960676] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22
[   33.961176] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -22
[   33.963430] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22
[   33.963928] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -22
[   33.965579] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22
[   33.966107] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -22
[   34.081223] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   34.081742] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   34.086551] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   34.087060] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   34.089561] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   34.090138] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   34.092781] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   34.093286] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   34.096237] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   34.096743] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   34.103049] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   34.103572] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   34.115921] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   34.116429] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   34.118740] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   34.119247] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   34.121249] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   34.121752] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   34.124034] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   34.124537] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   34.127014] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   34.127516] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   34.131951] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   34.132456] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   34.137627] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   34.138174] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   34.143780] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   34.144278] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   34.145190] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   34.145679] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   34.151508] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   34.152001] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   34.157218] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   34.157711] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   34.158613] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   34.159101] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   39.334455] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   39.334958] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   39.338808] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   39.339311] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   39.341105] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22
[   39.341605] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -22
[   56.987202] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   56.987696] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   56.989786] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   56.990508] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   56.995065] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22
[   56.995568] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -22
[   57.305628] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22
[   57.306153] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -22
[   57.307391] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22
[   57.307879] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -22
[   57.309065] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22
[   57.309553] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -22
[   57.310969] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22
[   57.311459] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -22
[   57.312912] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22
[   57.313404] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -22
[   57.314836] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22
[   57.315326] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -22
[   57.354741] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   57.355236] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   57.358374] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   57.358867] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   57.360067] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   57.360558] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   57.362040] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   57.362532] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   57.363902] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   57.364391] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   57.367526] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   57.368018] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   57.374042] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   57.374535] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   57.375926] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   57.376417] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   57.377543] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   57.378080] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   57.379480] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   57.379971] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   57.381400] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   57.381918] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   57.384160] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   57.384651] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   57.388758] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   57.389253] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   57.394663] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   57.395174] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   57.396055] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   57.396541] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   57.402224] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   57.402716] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   57.407652] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   57.408144] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   57.408989] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   57.409476] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   59.444659] overlayfs: "xino" feature enabled using 2 upper inode bits.
[   59.546992] overlayfs: "xino" feature enabled using 2 upper inode bits.
[   62.507773] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   62.508268] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   62.511847] rockchip-i2s ff890000.i2s: Fail to set mclk -22
[   62.512340] rockchip-i2s ff890000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff890000.i2s: -22
[   62.514022] rockchip-i2s ff8a0000.i2s: Fail to set mclk -22
[   62.514602] rockchip-i2s ff8a0000.i2s: ASoC: error at snd_soc_dai_set_sysclk on ff8a0000.i2s: -22

Comments

Philippe CORNU Jan. 19, 2021, 4:24 p.m. UTC | #1
Dear Aleksandr,

We use the raydium68200 ic driver in a dsi 720p 2dl panel module mounted on the MB1230 board [1], mounted on the STM32MP157 eval board [2].

According to your email, you are using the EDT ETML0500F3DHA panel module, probably composed of a raydium68200+a touchscreen+a glass+backlight+.... 

Could you please double check if your panel module has the same characteristics as the one described in panel-raydium68200.c (pixel clock, blanking values, resolutions, number of dsi data lanes, enable & reset gpios, backlight...).

Moreover, maybe your panel embeds a non-volatile ram which contains nice default values ("fused" during production) allowing to reduce a lot the panel init sequence... allowing then to use panel-simple.c instead of panel-raydium68200.c (that could explain why you can see "colors" without sending any init sequence).

The issues you encountered may come from (starting with the highest probability):
* bad lcd hw vs sw configuration (see description above).
* bad pixel clock frequency, bad blanking values...
* bad dsi internal Rockchip ip programming (pll and clock trees in dt...)

Hope it helps,

[1] https://wiki.st.com/stm32mpu/wiki/MB1230
[2] https://www.st.com/en/evaluation-tools/stm32mp157a-ev1.html

Philippe :-)

-----Original Message-----
From: aleksandr.o.makarov@gmail.com <aleksandr.o.makarov@gmail.com> 
Sent: Saturday, January 16, 2021 12:40
To: Andrzej Hajda <a.hajda@samsung.com>; Neil Armstrong <narmstrong@baylibre.com>; Laurent Pinchart <Laurent.pinchart@ideasonboard.com>; Jonas Karlman <jonas@kwiboo.se>; Jernej Skrabec <jernej.skrabec@siol.net>; David Airlie <airlied@linux.ie>; Daniel Vetter <daniel@ffwll.ch>; Sam Ravnborg <sam@ravnborg.org>; Philippe CORNU <philippe.cornu@st.com>; Antonio BORNEO <antonio.borneo@st.com>; <dri-devel@lists.freedesktop.org> <linux-kernel@vger.kernel.org>
Subject: drm: panel: panel-raydium68200 driver fails to write MIPI DSI init commands

I need to bring up my MIPI DSI 1280x720 EDT ETML0500F3DHA panel on a
RockPro64 V2.1 board.

There is no completely suitable in-tree driver for that panel yet, but for the purpose of reproducing the issue that I face, the gpu/drm/panel/panel-raydium-rm68200.c can do just fine.

To reproduce:

- Get the same Linux 5.9.14 as on my RockPro64 board (with Armbian
20.11.6 on it)

- Patch the rk3399-rockpro64.dts to add a panel node that is compatible with "raydium,rm68200" driver on MIPI interface (rockpro64- rm68200.patch attached)

- Compile and put the resulting rk3399-rockpro64.dtb on the target system. The panel driver shall then get probed at next boot.

The kernel log shall contain following errors:

[   10.139957] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
command FIFO
[   10.139988] [drm:rm68200_dcs_write_cmd.isra.4
[panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write failed: -110
[   10.160972] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
command FIFO
[   10.161000] [drm:rm68200_dcs_write_buf.isra.5
[panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.181929] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
command FIFO
[   10.181953] [drm:rm68200_dcs_write_buf.isra.5
[panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.202923] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
command FIFO
[   10.202947] [drm:rm68200_dcs_write_buf.isra.5
[panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.223064] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
command FIFO
[   10.223094] [drm:rm68200_dcs_write_buf.isra.5
[panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.226104] zram1: detected capacity change from 0 to 52428800
[   10.244027] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
command FIFO
[   10.244073] [drm:rm68200_dcs_write_buf.isra.5
[panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.265024] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
command FIFO
[   10.265064] [drm:rm68200_dcs_write_buf.isra.5
[panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.285711] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
command FIFO
[   10.285746] [drm:rm68200_dcs_write_buf.isra.5
[panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.305926] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
command FIFO
[   10.305955] [drm:rm68200_dcs_write_buf.isra.5
[panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.326996] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
command FIFO
[   10.327039] [drm:rm68200_dcs_write_buf.isra.5
[panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
[   10.348030] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
command FIFO
[   10.348074] [drm:rm68200_dcs_write_buf.isra.5
[panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110

It's remarkable that if to pull the module panel-rm682000 out and then back in, there are no errors mentioned. I can for sure say that those commands become effective - I start seeing colourful stripes on the display after. That is, if I would send the correct command set to the panel, then it would bring up just fine. the panel, then it would bring up just fine.
aleksandr.o.makarov@gmail.com Jan. 26, 2021, 7:38 p.m. UTC | #2
В Вт, 19/01/2021 в 16:24 +0000, Philippe CORNU пишет:
> Dear Aleksandr,
> 
> We use the raydium68200 ic driver in a dsi 720p 2dl panel module mounted on the MB1230 board [1], mounted on the STM32MP157 eval board [2].
> 
> According to your email, you are using the EDT ETML0500F3DHA panel module, probably composed of a raydium68200+a touchscreen+a glass+backlight+.... 
> 
> Could you please double check if your panel module has the same characteristics as the one described in panel-raydium68200.c (pixel clock, blanking values, resolutions, number of dsi data lanes, enable & reset gpios, backlight...).
> 
> Moreover, maybe your panel embeds a non-volatile ram which contains nice default values ("fused" during production) allowing to reduce a lot the panel init sequence... allowing then to use panel-simple.c instead of panel-raydium68200.c (that could explain why you can see "colors" without sending any init sequence).
> 
> The issues you encountered may come from (starting with the highest probability):
> * bad lcd hw vs sw configuration (see description above).
> * bad pixel clock frequency, bad blanking values...
> * bad dsi internal Rockchip ip programming (pll and clock trees in dt...)
> 
> Hope it helps,
> 
> [1] https://wiki.st.com/stm32mpu/wiki/MB1230
> [2] https://www.st.com/en/evaluation-tools/stm32mp157a-ev1.html
> 
> Philippe :-)
> 
I've fixed errors related to writing to DSI after applying this [1]
patch.

With the panel timings and other parameters all left intact in device
tree, I only had to apply that patch to start to see video.

After doing some testing, I found an issue with patch. With it applied,
you must keep your driver as module with DRM_PANEL_RAYDIUM_RM68200=m.
Otherwise, if DRM_PANEL_RAYDIUM_RM68200=y is set, the issues with
writing to DSI from prepare() shall persist. 

[1] https://patchwork.kernel.org/project/dri-
devel/patch/95f16906d654057c912f089d286bd51856ee3bdf.1607892237.git.tom
myhebb@gmail.com/
> -----Original Message-----
> From: aleksandr.o.makarov@gmail.com <aleksandr.o.makarov@gmail.com> 
> Sent: Saturday, January 16, 2021 12:40
> To: Andrzej Hajda <a.hajda@samsung.com>; Neil Armstrong <narmstrong@baylibre.com>; Laurent Pinchart <Laurent.pinchart@ideasonboard.com>; Jonas Karlman <jonas@kwiboo.se>; Jernej Skrabec <jernej.skrabec@siol.net>; David Airlie <airlied@linux.ie>; Daniel Vetter <daniel@ffwll.ch>; Sam Ravnborg <sam@ravnborg.org>; Philippe CORNU <philippe.cornu@st.com>; Antonio BORNEO <antonio.borneo@st.com>; <dri-devel@lists.freedesktop.org> <linux-kernel@vger.kernel.org>
> Subject: drm: panel: panel-raydium68200 driver fails to write MIPI DSI init commands
> 
> I need to bring up my MIPI DSI 1280x720 EDT ETML0500F3DHA panel on a
> RockPro64 V2.1 board.
> 
> There is no completely suitable in-tree driver for that panel yet, but for the purpose of reproducing the issue that I face, the gpu/drm/panel/panel-raydium-rm68200.c can do just fine.
> 
> To reproduce:
> 
> - Get the same Linux 5.9.14 as on my RockPro64 board (with Armbian
> 20.11.6 on it)
> 
> - Patch the rk3399-rockpro64.dts to add a panel node that is compatible with "raydium,rm68200" driver on MIPI interface (rockpro64- rm68200.patch attached)
> 
> - Compile and put the resulting rk3399-rockpro64.dtb on the target system. The panel driver shall then get probed at next boot.
> 
> The kernel log shall contain following errors:
> 
> [   10.139957] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
> command FIFO
> [   10.139988] [drm:rm68200_dcs_write_cmd.isra.4
> [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write failed: -110
> [   10.160972] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
> command FIFO
> [   10.161000] [drm:rm68200_dcs_write_buf.isra.5
> [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
> [   10.181929] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
> command FIFO
> [   10.181953] [drm:rm68200_dcs_write_buf.isra.5
> [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
> [   10.202923] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
> command FIFO
> [   10.202947] [drm:rm68200_dcs_write_buf.isra.5
> [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
> [   10.223064] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
> command FIFO
> [   10.223094] [drm:rm68200_dcs_write_buf.isra.5
> [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
> [   10.226104] zram1: detected capacity change from 0 to 52428800
> [   10.244027] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
> command FIFO
> [   10.244073] [drm:rm68200_dcs_write_buf.isra.5
> [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
> [   10.265024] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
> command FIFO
> [   10.265064] [drm:rm68200_dcs_write_buf.isra.5
> [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
> [   10.285711] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
> command FIFO
> [   10.285746] [drm:rm68200_dcs_write_buf.isra.5
> [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
> [   10.305926] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
> command FIFO
> [   10.305955] [drm:rm68200_dcs_write_buf.isra.5
> [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
> [   10.326996] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
> command FIFO
> [   10.327039] [drm:rm68200_dcs_write_buf.isra.5
> [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
> [   10.348030] dw-mipi-dsi-rockchip ff960000.mipi: failed to write
> command FIFO
> [   10.348074] [drm:rm68200_dcs_write_buf.isra.5
> [panel_raydium_rm68200]] *ERROR* MIPI DSI DCS write buffer failed: -110
> 
> It's remarkable that if to pull the module panel-rm682000 out and then back in, there are no errors mentioned. I can for sure say that those commands become effective - I start seeing colourful stripes on the display after. That is, if I would send the correct command set to the panel, then it would bring up just fine. the panel, then it would bring up just fine.

Patch
diff mbox series

--- a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts	2021-01-15 13:38:35.792226916 +0000
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts	2021-01-15 17:30:51.298912355 +0000
@@ -11,6 +11,57 @@ 
 / {
 	model = "Pine64 RockPro64 v2.1";
 	compatible = "pine64,rockpro64-v2.1", "pine64,rockpro64", "rockchip,rk3399";
+	backlight: backlight {
+		status = "okay";
+		compatible = "pwm-backlight";
+		pwms = <&pwm0 0 100000 0>; //10KHz
+		enable-gpios = <&gpio4 RK_PC5 GPIO_ACTIVE_HIGH>; //GPIO4_C5 in SA51, //uP_BLK_EN
+		brightness-levels = <
+			  0   1   2   3   4   5   6   7
+			  8   9  10  11  12  13  14  15
+			 16  17  18  19  20  21  22  23
+			 24  25  26  27  28  29  30  31
+			 32  33  34  35  36  37  38  39
+			 40  41  42  43  44  45  46  47
+			 48  49  50  51  52  53  54  55
+			 56  57  58  59  60  61  62  63
+			 64  65  66  67  68  69  70  71
+			 72  73  74  75  76  77  78  79
+			 80  81  82  83  84  85  86  87
+			 88  89  90  91  92  93  94  95
+			 96  97  98  99 100 101 102 103
+			104 105 106 107 108 109 110 111
+			112 113 114 115 116 117 118 119
+			120 121 122 123 124 125 126 127
+			128 129 130 131 132 133 134 135
+			136 137 138 139 140 141 142 143
+			144 145 146 147 148 149 150 151
+			152 153 154 155 156 157 158 159
+			160 161 162 163 164 165 166 167
+			168 169 170 171 172 173 174 175
+			176 177 178 179 180 181 182 183
+			184 185 186 187 188 189 190 191
+			192 193 194 195 196 197 198 199
+			200 201 202 203 204 205 206 207
+			208 209 210 211 212 213 214 215
+			216 217 218 219 220 221 222 223
+			224 225 226 227 228 229 230 231
+			232 233 234 235 236 237 238 239
+			240 241 242 243 244 245 246 247
+			248 249 250 251 252 253 254 255>;
+		default-brightness-level = <200>;
+	};
+
+        vcc_lcd: vcc-lcd-regulator {
+                compatible = "regulator-fixed";
+                enable-active-high;
+                regulator-name = "vcc_lcd";
+                regulator-always-on;
+                regulator-boot-on;
+                regulator-min-microvolt = <3300000>;
+                regulator-max-microvolt = <3300000>;
+        };
+
 };
 
 &i2c1 {
@@ -27,4 +78,35 @@ 
 			};
 		};
 	};
+};
+
+&mipi_dsi {
+	status = "okay";
+
+	ports {
+		mipi_out: port@1 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			reg = <1>;
+
+			mipi_out_panel: endpoint {
+				remote-endpoint = <&panel_in>;
+			};
+		};
+	};
+
+	panel@0 {
+		compatible = "raydium,rm68200";
+		reg = <0>;
+		power-supply = <&vcc_lcd>;
+		backlight = <&backlight>;
+		reset-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
+		enable-gpios = <&gpio3 15 GPIO_ACTIVE_HIGH>;
+		status = "okay";
+		port {
+			panel_in: endpoint {
+				remote-endpoint = <&mipi_out_panel>;
+			};
+		};
+	};
 };