Using soquartz's MIPI DSI1 output
#1
I am currently trying (with no success so far) to start the DSI1 output with a 4-lane DSI panel on the soquartz module, using a RPi CM4 IO board as baseboard. I use a custom panel based on a Fitipower JD9365DA chip (I already have a kernel driver for it, tested on a RPi CM4 on the same baseboard). Note that it is my first project with a module based on a rockchip SoC.

As I understand from the kernel dts bindings documentation and headers, rockchip mipi dsi drivers, and existing quartz-a (which has a dsi0 output) and soquartz dts files, my dts must create the following pipeline by linking peripherals ports (and also enable the video_phy1 node used as dphy by the DSI1 node) :

VOP out (choosed vp0) >> DSI1 in >> DSI1 out >> Panel in

My work is based on a fork of @pgwipeout kernel tree retrieved from https://gitlab.com/pgwipeout/linux-next main branch. I use the u-boot build from https://gitlab.com/pgwipeout/quartz64_ci pipeline artifacts. My rootfs is a custom one based on Alpine's AArch64 rootfs.

Here is my DTS file (only shows the diff from the original rk3566-soquartz-cm4.dts)

Code:
&dsi1 {         status = "okay";         clock-master;         ports {                 dsi1_out: port@1 {                         reg = <1>;                         #address-cells = <1>;                         #size-cells = <0>;                         dsi1_out_panel: endpoint {                                 remote-endpoint = <&panel_in_dsi>;                         };                 };         };         mipi_panel: panel@0 {                 compatible = "fitipower,jd9365da";                 reg=<0>;                 backlight = <&panel_backlight>;                 reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>;                 port {                         panel_in_dsi: endpoint {                                 remote-endpoint = <&dsi1_out_panel>;                         };                 };         }; }; &dsi1_in {         dsi1_in_vp0: endpoint@0 {                 reg = <0>;                 remote-endpoint = <&vp0_out_dsi1>;         }; }; &video_phy1 {         status = "okay"; }; &vp0 {         vp0_out_dsi1: endpoint@RK3568_VOP2_EP_MIPI1 {                 reg = <RK3568_VOP2_EP_MIPI1>;                 remote-endpoint = <&dsi1_in_vp0>;         }; }; &vop {         assigned-clocks = <&cru DCLK_VOP0>;         assigned-clock-parents = <&pmucru PLL_HPLL>, <&cru PLL_VPLL>;         status = "okay"; }; &vop_mmu {         status = "okay"; };

Everything builds OK, the boards boots properly, and the nodes show up in /sys (got both vop, dsi and my driver, see below), but it seems like nothing is really started. I added some pr_warn() calls in the beginning of my panel driver dsi_probe() function, they never show up in dmesg, and Xorg fails to start with a "no screen detected" message. U-boot seems to detect the video output pipeline after loading the dtb (it tries to load a boot logo since I modified the dts).

Code:
# find /sys -name "*dsi*" /sys/kernel/debug/clk/xin_osc0_mipidsiphy0_g /sys/kernel/debug/clk/clk_mipidsiphy0_ref /sys/kernel/debug/clk/xin_osc0_mipidsiphy1_g /sys/kernel/debug/clk/clk_mipidsiphy1_ref /sys/kernel/debug/clk/pclk_dsitx_0 /sys/kernel/debug/clk/pclk_dsitx_1 /sys/kernel/debug/clk/pclk_mipidsiphy0 /sys/kernel/debug/clk/pclk_mipidsiphy1 /sys/class/devlink/platform:fe860000.video-phy--platform:fe070000.dsi /sys/class/devlink/platform:fe040000.vop--platform:fe070000.dsi /sys/class/devlink/platform:fe070000.dsi--platform:fe040000.vop /sys/class/devlink/platform:fe070000.dsi--platform:display-subsystem /sys/class/devlink/platform:fe760000.gpio--platform:fe070000.dsi /sys/class/devlink/platform:fdd90000.power-management:power-controller--platform:fe070000.dsi /sys/devices/platform/pinctrl/fe760000.gpio/consumer:platform:fe070000.dsi /sys/devices/platform/fe040000.vop/consumer:platform:fe070000.dsi /sys/devices/platform/fe040000.vop/supplier:platform:fe070000.dsi /sys/devices/platform/fe070000.dsi /sys/devices/platform/display-subsystem/supplier:platform:fe070000.dsi /sys/devices/platform/fdd90000.power-management/fdd90000.power-management:power-controller/consumer:platform:fe070000.dsi /sys/devices/platform/fe860000.video-phy/consumer:platform:fe070000.dsi /sys/devices/virtual/devlink/platform:fe860000.video-phy--platform:fe070000.dsi /sys/devices/virtual/devlink/platform:fe040000.vop--platform:fe070000.dsi /sys/devices/virtual/devlink/platform:fe070000.dsi--platform:fe040000.vop /sys/devices/virtual/devlink/platform:fe070000.dsi--platform:display-subsystem /sys/devices/virtual/devlink/platform:fe760000.gpio--platform:fe070000.dsi /sys/devices/virtual/devlink/platform:fdd90000.power-management:power-controller--platform:fe070000.dsi /sys/bus/platform/devices/fe070000.dsi /sys/bus/platform/drivers/inno-dsidphy /sys/bus/platform/drivers/dw-mipi-dsi-rockchip /sys/bus/mipi-dsi /sys/bus/mipi-dsi/drivers/jd9365da-dsi /sys/firmware/devicetree/base/dsi@fe060000 /sys/firmware/devicetree/base/dsi@fe070000

I have no errors regarding the VOP / DSI / panel in my dmesg / boot logs (see below), and only a warning regarding VOP2 IOMMU allocation which fails and fallbacks to a generic DMA (message : "Failed to allocate default IOMMU domain of type 4 for group (null) - Falling back to IOMMU_DOMAIN_DMA"), maybe this is related to the problem ?

Code:
Retrieving file: /initramfs reading /initramfs 5185977 bytes read in 433 ms (11.4 MiB/s) Retrieving file: /vmlinuz reading /vmlinuz 36727296 bytes read in 3044 ms (11.5 MiB/s) append: earlycon=uart8250,mmio32,0xfe660000 console=ttyS2,1500000n8 root=/dev/mmcblk0p7 rootwait Retrieving file: /dtbs/rockchip/rk3566-soquartz-cm4.dtb reading /dtbs/rockchip/rk3566-soquartz-cm4.dtb 54229 bytes read in 10 ms (5.2 MiB/s) Fdt Ramdisk skip relocation ## Flattened Device Tree blob at 0x0a100000    Booting using the fdt blob at 0x0a100000    Using Device Tree in place at 000000000a100000, end 000000000a1103d4 can't found rockchip,drm-logo, use rockchip,fb-logo WARNING: could not set reg FDT_ERR_BADOFFSET. failed to reserve fb-loader-logo memory Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000) Adding bank: 0x09400000 - 0x80000000 (size: 0x76c00000) Total: 6090.334 ms Starting kernel ... [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050] [    0.000000] Linux version 5.17.0 (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16)) 10.2.1 20201103, GNU ld (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16)) 2.35.1.20201028) #10 SMP PREEMPT Wed May 25 20:31:32 CEST 2022 [    0.000000] Machine model: Pine64 RK3566 SoQuartz with CM4-IO Carrier Board [    0.000000] earlycon: uart8250 at MMIO32 0x00000000fe660000 (options '') [    0.000000] printk: bootconsole [uart8250] enabled [    0.000000] efi: UEFI not found. [    0.000000] NUMA: No NUMA configuration found [    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x000000007fffffff] [    0.000000] NUMA: NODE_DATA [mem 0x7fbb6a40-0x7fbb8fff] [    0.000000] Zone ranges: [    0.000000]   DMA      [mem 0x0000000000200000-0x000000007fffffff] [    0.000000]   DMA32    empty [    0.000000]   Normal   empty [    0.000000] Movable zone start for each node [    0.000000] Early memory node ranges [    0.000000]   node   0: [mem 0x0000000000200000-0x00000000083fffff] [    0.000000]   node   0: [mem 0x0000000009400000-0x000000007fffffff] [    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000007fffffff] [    0.000000] On node 0, zone DMA: 512 pages in unavailable ranges [    0.000000] On node 0, zone DMA: 4096 pages in unavailable ranges [    0.000000] cma: Reserved 32 MiB at 0x000000007b800000 [    0.000000] psci: probing for conduit method from DT. [    0.000000] psci: PSCIv1.1 detected in firmware. [    0.000000] psci: Using standard PSCI v0.2 function IDs [    0.000000] psci: Trusted OS migration not required [    0.000000] psci: SMC Calling Convention v1.2 [    0.000000] percpu: Embedded 28 pages/cpu s74584 r8192 d31912 u114688 [    0.000000] pcpu-alloc: s74584 r8192 d31912 u114688 alloc=28*4096 [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [    0.000000] Detected VIPT I-cache on CPU0 [    0.000000] CPU features: detected: GIC system register CPU interface [    0.000000] CPU features: detected: Virtualization Host Extensions [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923 [    0.000000] alternatives: patching kernel code [    0.000000] Fallback order for Node 0: 0 [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 511496 [    0.000000] Policy zone: DMA [    0.000000] Kernel command line: earlycon=uart8250,mmio32,0xfe660000 console=ttyS2,1500000n8 root=/dev/mmcblk0p7 rootwait [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [    0.000000] Memory: 1963604K/2078720K available (19008K kernel code, 3098K rwdata, 7616K rodata, 6016K init, 622K bss, 82348K reserved, 32768K cma-reserved) [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [    0.000000] ftrace: allocating 58840 entries in 230 pages [    0.000000] ftrace: allocated 230 pages with 5 groups [    0.000000] trace event string verifier disabled [    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=4. [    0.000000]  Trampoline variant of Tasks RCU enabled. [    0.000000]  Rude 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=4 [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode [    0.000000] GICv3: 320 SPIs implemented [    0.000000] GICv3: 0 Extended SPIs implemented [    0.000000] GICv3: Distributor has no Range Selector support [    0.000000] Root IRQ handler: gic_handle_irq [    0.000000] GICv3: 16 PPIs implemented [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fd460000 [    0.000000] ITS [mem 0xfd440000-0xfd45ffff] [    0.000000] GIC: enabling workaround for ITS: Rockchip RK3568 force no_local_cache [    0.000000] ITS@0x00000000fd440000: allocated 8192 Devices @5d0000 (indirect, esz 8, psz 64K, shr 0) [    0.000000] ITS@0x00000000fd440000: allocated 32768 Interrupt Collections @5e0000 (flat, esz 2, psz 64K, shr 0) [    0.000000] ITS: using cache flushing for cmd queue [    0.000000] ITS ALLOCATE PROP WORKAROUND [    0.000000] GICv3: using LPI property table @0x00000000005f0000 [    0.000000] GIC: using cache flushing for LPI property table [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000000600000 [    0.000000] random: get_random_bytes called from start_kernel+0x784/0x974 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.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [    0.001592] Console: colour dummy device 80x25 [    0.002170] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [    0.003188] pid_max: default: 32768 minimum: 301 [    0.003747] LSM: Security Framework initializing [    0.004295] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [    0.005044] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [    0.008176] cblist_init_generic: Setting adjustable number of callback queues. [    0.008902] cblist_init_generic: Setting shift to 2 and lim to 1. [    0.009670] cblist_init_generic: Setting shift to 2 and lim to 1. [    0.010647] rcu: Hierarchical SRCU implementation. [    0.011666] Platform MSI: interrupt-controller@fd440000 domain created [    0.012651] PCI/MSI: /interrupt-controller@fd400000/interrupt-controller@fd440000 domain created [    0.013753] EFI services will not be available. [    0.014970] smp: Bringing up secondary CPUs ... I/TC: Secondary CPU 1 initializing I/TC: Secondary CPU 1 switching to normal world boot I/TC: Secondary CPU 2 initializing I/TC: Secondary CPU 2 switching to normal world boot I/TC: Secondary CPU 3 initializing I/TC: Secondary CPU 3 switching to normal world boot [    0.017098] Detected VIPT I-cache on CPU1 [    0.017149] GICv3: CPU1: found redistributor 100 region 0:0x00000000fd480000 [    0.017173] GICv3: CPU1: using allocated LPI pending table @0x0000000000610000 [    0.017246] CPU1: Booted secondary processor 0x0000000100 [0x412fd050] [    0.019069] Detected VIPT I-cache on CPU2 [    0.019115] GICv3: CPU2: found redistributor 200 region 0:0x00000000fd4a0000 [    0.019137] GICv3: CPU2: using allocated LPI pending table @0x0000000000620000 [    0.019194] CPU2: Booted secondary processor 0x0000000200 [0x412fd050] [    0.020943] Detected VIPT I-cache on CPU3 [    0.020985] GICv3: CPU3: found redistributor 300 region 0:0x00000000fd4c0000 [    0.021006] GICv3: CPU3: using allocated LPI pending table @0x0000000000630000 [    0.021059] CPU3: Booted secondary processor 0x0000000300 [0x412fd050] [    0.021220] smp: Brought up 1 node, 4 CPUs [    0.028956] SMP: Total of 4 processors activated. [    0.029425] CPU features: detected: 32-bit EL0 Support [    0.029931] CPU features: detected: 32-bit EL1 Support [    0.030437] CPU features: detected: Data cache clean to the PoU not required for I/D coherence [    0.031306] CPU features: detected: Common not Private translations [    0.031923] CPU features: detected: CRC32 instructions [    0.032432] CPU features: detected: RCpc load-acquire (LDAPR) [    0.032996] CPU features: detected: LSE atomic instructions [    0.033543] CPU features: detected: Privileged Access Never [    0.034088] CPU features: detected: RAS Extension Support [    0.034621] CPU features: detected: Speculative Store Bypassing Safe (SSBS) [    0.075977] CPU: All CPU(s) started at EL2 [    0.079080] devtmpfs: initialized [    0.094020] KASLR disabled due to lack of seed [    0.094737] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [    0.095752] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [    0.097810] pinctrl core: initialized pinctrl subsystem [    0.098867] regulator-dummy: no parameters, enabled [    0.099913] DMI not present or invalid. [    0.100962] NET: Registered PF_NETLINK/PF_ROUTE protocol family [    0.104267] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [    0.105284] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [    0.106341] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [    0.107231] audit: initializing netlink subsys (disabled) [    0.108037] audit: type=2000 audit(0.108:1): state=initialized audit_enabled=0 res=1 [    0.109398] thermal_sys: Registered thermal governor 'fair_share' [    0.109411] thermal_sys: Registered thermal governor 'bang_bang' [    0.110014] thermal_sys: Registered thermal governor 'step_wise' [    0.110605] thermal_sys: Registered thermal governor 'user_space' [    0.111194] thermal_sys: Registered thermal governor 'power_allocator' [    0.112463] cpuidle: using governor menu [    0.113759] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [    0.114620] ASID allocator initialised with 65536 entries [    0.115308] Serial: AMBA PL011 UART driver [    0.130543] platform fe070000.dsi: Fixing up cyclic dependency with fe040000.vop [    0.156804] rockchip-gpio fdd60000.gpio: probed /pinctrl/gpio@fdd60000 [    0.158423] rockchip-gpio fe740000.gpio: probed /pinctrl/gpio@fe740000 [    0.159998] rockchip-gpio fe750000.gpio: probed /pinctrl/gpio@fe750000 [    0.161578] rockchip-gpio fe760000.gpio: probed /pinctrl/gpio@fe760000 [    0.163033] rockchip-gpio fe770000.gpio: probed /pinctrl/gpio@fe770000 [    0.192035] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [    0.192715] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [    0.193414] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [    0.194077] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [    0.195944] cryptd: max_cpu_qlen set to 1000 [    0.197724] ACPI: Interpreter disabled. [    0.198989] sdmmc_pwr: 3300 mV, disabled [    0.199588] reg-fixed-voltage sdmmc_pwr: sdmmc_pwr supplying 3300000uV [    0.200479] vcc12v_dcin: 12000 mV, enabled [    0.201054] reg-fixed-voltage vcc12v_dcin: vcc12v_dcin supplying 12000000uV [    0.201975] vcc_5v: will resolve supply early: vin [    0.202456] reg-fixed-voltage vcc_5v: Looking up vin-supply from device tree [    0.203158] vcc_5v: supplied by vcc12v_dcin [    0.203579] vcc12v_dcin: could not add device link regulator.3: -ENOENT [    0.204327] vcc_5v: 5000 mV, enabled [    0.204872] reg-fixed-voltage vcc_5v: vcc_5v supplying 5000000uV [    0.205671] vcc3v3_pcie: will resolve supply early: vin [    0.206217] reg-fixed-voltage 3v3_pcie: Looking up vin-supply from device tree [    0.206940] vcc3v3_pcie: supplied by vcc12v_dcin [    0.207410] vcc12v_dcin: could not add device link regulator.4: -ENOENT [    0.208123] vcc3v3_pcie: 3300 mV, enabled [    0.208700] reg-fixed-voltage 3v3_pcie: vcc3v3_pcie supplying 3300000uV [    0.210041] iommu: Default domain type: Passthrough [    0.211749] vgaarb: loaded [    0.212390] SCSI subsystem initialized [    0.213050] libata version 3.00 loaded. [    0.213783] usbcore: registered new interface driver usbfs [    0.214396] usbcore: registered new interface driver hub [    0.215047] usbcore: registered new device driver usb [    0.216395] pps_core: LinuxPPS API ver. 1 registered [    0.216889] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [    0.217819] PTP clock support registered [    0.218256] EDAC MC: Ver: 3.0.0 [    0.219820] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled. [    0.220570] arm-scmi firmware:scmi: SCMI Protocol v2.0 'rockchip:' Firmware version 0x0 [    0.222389] Advanced Linux Sound Architecture Driver Initialized. [    0.224874] clocksource: Switched to clocksource arch_sys_counter [    0.322314] VFS: Disk quotas dquot_6.6.0 [    0.322799] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [    0.323824] pnp: PnP ACPI: disabled [    0.337466] NET: Registered PF_INET protocol family [    0.338224] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [    0.340504] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) [    0.341496] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [    0.342416] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear) [    0.343391] TCP: Hash tables configured (established 16384 bind 16384) [    0.344188] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [    0.344921] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [    0.345846] NET: Registered PF_UNIX/PF_LOCAL protocol family [    0.347034] RPC: Registered named UNIX socket transport module. [    0.347623] RPC: Registered udp transport module. [    0.348087] RPC: Registered tcp transport module. [    0.348549] RPC: Registered tcp NFSv4.1 backchannel transport module. [    0.350234] PCI: CLS 0 bytes, default 64 [    0.350989] Trying to unpack rootfs image as initramfs... [    0.362029] hw perfevents: enabled with armv8_cortex_a55 PMU driver, 7 counters available [    0.363750] kvm [1]: IPA Size Limit: 40 bits [    0.364208] kvm [1]: GICv3: no GICV resource entry [    0.364684] kvm [1]: disabling GICv2 emulation [    0.365184] kvm [1]: GIC system register CPU interface enabled [    0.366006] kvm [1]: vgic interrupt IRQ9 [    0.366697] kvm [1]: VHE mode initialized successfully [    0.370914] Initialise system trusted keyrings [    0.371761] workingset: timestamp_bits=42 max_order=19 bucket_order=0 [    0.383167] squashfs: version 4.0 (2009/01/31) Phillip Lougher [    0.385008] NFS: Registering the id_resolver key type [    0.385554] Key type id_resolver registered [    0.385971] Key type id_legacy registered [    0.386494] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [    0.387161] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [    0.388275] ksmbd: The ksmbd server is experimental, use at your own risk. [    0.388989] ntfs3: Max link count 4000 [    0.389364] ntfs3: Read-only LZX/Xpress compression included [    0.390316] 9p: Installing v9fs 9p2000 file system support [    0.444795] Key type asymmetric registered [    0.445250] Asymmetric key parser 'x509' registered [    0.445868] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244) [    0.446602] io scheduler mq-deadline registered [    0.447052] io scheduler kyber registered [    0.452735] phy phy-fe8a0000.usb2phy.0: Looking up phy-supply from device tree [    0.453539] vcc_5v: could not add device link phy-fe8a0000.usb2phy.0: -ENOENT [    0.456172] phy phy-fe840000.phy.1: Looking up phy-supply from device tree [    0.456953] phy phy-fe840000.phy.1: Looking up phy-supply property in node /phy@fe840000 failed [    0.462563] rockchip-dw-pcie 3c0000000.pcie: Looking up vpcie3v3-supply from device tree [    0.463955] rockchip-dw-pcie 3c0000000.pcie: host bridge /pcie@fe260000 ranges: [    0.464720] rockchip-dw-pcie 3c0000000.pcie: Parsing ranges property... [    0.465542] rockchip-dw-pcie 3c0000000.pcie:       IO 0x0301000000..0x03010fffff -> 0x0001000000 [    0.466443] rockchip-dw-pcie 3c0000000.pcie:      MEM 0x0302000000..0x033fffffff -> 0x0002000000 [    0.467530] rockchip-dw-pcie 3c0000000.pcie: iATU unroll: enabled [    0.468136] rockchip-dw-pcie 3c0000000.pcie: Detected iATU regions: 8 outbound, 8 inbound [    0.627604] Freeing initrd memory: 5064K [    1.577243] rockchip-dw-pcie 3c0000000.pcie: Phy link never came up [    1.578136] rockchip-dw-pcie 3c0000000.pcie: PCI host bridge to bus 0000:00 [    1.578833] pci_bus 0000:00: root bus resource [bus 00-0f] [    1.579383] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0x1000000-0x10fffff]) [    1.580308] pci_bus 0000:00: root bus resource [mem 0x302000000-0x33fffffff] (bus address [0x02000000-0x3fffffff]) [    1.581477] pci_bus 0000:00: scanning bus [    1.581934] pci 0000:00:00.0: [1d87:3566] type 01 class 0x060400 [    1.582568] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref] [    1.583355] pci 0000:00:00.0: supports D1 D2 [    1.583784] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [    1.584357] pci 0000:00:00.0: PME# disabled [    1.589944] pci_bus 0000:00: fixups for bus [    1.590375] pci 0000:00:00.0: scanning [bus 01-ff] behind bridge, pass 0 [    1.591207] pci_bus 0000:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f]) [    1.592276] pci_bus 0000:01: scanning bus [    1.597036] pci_bus 0000:01: fixups for bus [    1.597455] pci_bus 0000:01: bus scan returning with max=01 [    1.598014] pci 0000:00:00.0: scanning [bus 01-ff] behind bridge, pass 1 [    1.598685] pci_bus 0000:00: bus scan returning with max=ff [    1.599259] pci 0000:00:00.0: BAR 6: assigned [mem 0x302000000-0x30200ffff pref] [    1.599996] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [    1.600780] pcieport 0000:00:00.0: assign IRQ: got 49 [    1.605989] pcieport 0000:00:00.0: PME: Signaling with IRQ 50 [    1.606709] pcieport 0000:00:00.0: saving config space at offset 0x0 (reading 0x35661d87) [    1.607520] pcieport 0000:00:00.0: saving config space at offset 0x4 (reading 0x100507) [    1.608309] pcieport 0000:00:00.0: saving config space at offset 0x8 (reading 0x6040001) [    1.609142] pcieport 0000:00:00.0: saving config space at offset 0xc (reading 0x10000) [    1.609925] pcieport 0000:00:00.0: saving config space at offset 0x10 (reading 0x0) [    1.610681] pcieport 0000:00:00.0: saving config space at offset 0x14 (reading 0x0) [    1.611434] pcieport 0000:00:00.0: saving config space at offset 0x18 (reading 0xff0100) [    1.612229] pcieport 0000:00:00.0: saving config space at offset 0x1c (reading 0xf0) [    1.613012] pcieport 0000:00:00.0: saving config space at offset 0x20 (reading 0xfff0) [    1.613793] pcieport 0000:00:00.0: saving config space at offset 0x24 (reading 0x1fff1) [    1.614581] pcieport 0000:00:00.0: saving config space at offset 0x28 (reading 0x0) [    1.615335] pcieport 0000:00:00.0: saving config space at offset 0x2c (reading 0x0) [    1.616087] pcieport 0000:00:00.0: saving config space at offset 0x30 (reading 0x0) [    1.616841] pcieport 0000:00:00.0: saving config space at offset 0x34 (reading 0x40) [    1.617625] pcieport 0000:00:00.0: saving config space at offset 0x38 (reading 0x0) [    1.618382] pcieport 0000:00:00.0: saving config space at offset 0x3c (reading 0x20131) [    1.620559] EINJ: ACPI disabled. [    1.628003] dma-pl330 fe530000.dma-controller: Loaded driver for PL330 DMAC-241330 [    1.628767] dma-pl330 fe530000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [    1.632992] dma-pl330 fe550000.dma-controller: Loaded driver for PL330 DMAC-241330 [    1.633748] dma-pl330 fe550000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [    1.636678] arm-scmi firmware:scmi: Failed. SCMI protocol 22 not active. [    1.642654] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [    1.646853] fe650000.serial: ttyS1 at MMIO 0xfe650000 (irq = 39, base_baud = 1500000) is a 16550A [    1.647970] serial serial0: tty port ttyS1 registered [    1.649910] fe660000.serial: ttyS2 at MMIO 0xfe660000 (irq = 40, base_baud = 1500000) is a 16550A [    1.651089] printk: console [ttyS2] enabled [    1.651089] printk: console [ttyS2] enabled [    1.651878] printk: bootconsole [uart8250] disabled [    1.651878] printk: bootconsole [uart8250] disabled [    1.654256] fe6b0000.serial: ttyS0 at MMIO 0xfe6b0000 (irq = 41, base_baud = 1500000) is a 16550A [    1.658922] rockchip-vop2 fe040000.vop: Adding to iommu group 0 [    1.659491] iommu: Failed to allocate default IOMMU domain of type 4 for group (null) - Falling back to IOMMU_DOMAIN_DMA [    1.659676] rockchip-vop2: probe of fe040000.vop failed with error -2 [    1.666267] cacheinfo: Unable to detect cache hierarchy for CPU 0 [    1.678418] brd: module loaded [    1.687580] loop: module loaded [    1.688638] zram: Added device: zram0 [    1.689289] megasas: 07.719.03.00-rc1 [    1.699787] tun: Universal TUN/TAP device driver, 1.6 [    1.700578] e100: Intel(R) PRO/100 Network Driver [    1.701040] e100: Copyright(c) 1999-2006 Intel Corporation [    1.701624] e1000: Intel(R) PRO/1000 Network Driver [    1.702060] e1000: Copyright (c) 1999-2006 Intel Corporation. [    1.702659] e1000e: Intel(R) PRO/1000 Network Driver [    1.703103] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. [    1.703697] igb: Intel(R) Gigabit Ethernet Network Driver [    1.704180] igb: Copyright (c) 2007-2014 Intel Corporation. [    1.704747] Intel(R) 2.5G Ethernet Linux Driver [    1.705192] Copyright(c) 2018 Intel Corporation. [    1.705674] igbvf: Intel(R) Gigabit Virtual Function Network Driver [    1.706230] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [    1.706810] ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver [    1.707352] ixgbe: Copyright (c) 1999-2016 Intel Corporation. [    1.708192] ixgbevf: Intel(R) 10 Gigabit PCI Express Virtual Function Network Driver [    1.708910] ixgbevf: Copyright (c) 2009 - 2018 Intel Corporation. [    1.709714] i40e: Intel(R) Ethernet Connection XL710 Network Driver [    1.710274] i40e: Copyright (c) 2013 - 2019 Intel Corporation. [    1.711105] ixgb: Intel(R) PRO/10GbE Network Driver [    1.711544] ixgb: Copyright (c) 1999-2008 Intel Corporation. [    1.712137] iavf: Intel(R) Ethernet Adaptive Virtual Function Network Driver [    1.712762] Copyright (c) 2013 - 2018 Intel Corporation. [    1.713523] Intel(R) Ethernet Switch Host Interface Driver [    1.714015] Copyright(c) 2013 - 2019 Intel Corporation. [    1.714777] ice: Intel(R) Ethernet Connection E800 Series Linux Driver [    1.715359] ice: Copyright (c) 2018, Intel Corporation. [    1.717889] usbcore: registered new interface driver rtl8192cu [    1.718943] usbcore: registered new interface driver rtl8xxxu [    1.719726] usbcore: registered new interface driver ax88179_178a [    1.720565] VFIO - User Level meta-driver version: 0.3 [    1.726454] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [    1.727048] ehci-pci: EHCI PCI platform driver [    1.727515] ehci-platform: EHCI generic platform driver [    1.728292] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [    1.728894] ohci-pci: OHCI PCI platform driver [    1.729375] ohci-platform: OHCI generic platform driver [    1.730927] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [    1.731445] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [    1.732321] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010 [    1.733278] xhci-hcd xhci-hcd.0.auto: irq 18, io mem 0xfcc00000 [    1.735113] hub 1-0:1.0: USB hub found [    1.735509] hub 1-0:1.0: 1 port detected [    1.736366] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [    1.736911] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 [    1.737607] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed [    1.738298] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [    1.739889] hub 2-0:1.0: USB hub found [    1.740280] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19) [    1.741382] usbcore: registered new interface driver usb-storage [    1.743753] i2c_dev: i2c /dev entries driver [    1.753014] rtc rtc0: Power loss detected, invalid time [    1.753746] rtc-pcf85063 1-0051: registered as rtc0 [    1.755213] rtc rtc0: Power loss detected, invalid time [    1.755685] rtc-pcf85063 1-0051: hctosys: unable to read the hardware clock [    1.759189] arm-scmi firmware:scmi: Failed. SCMI protocol 21 not active. [    1.761867] rockchip-thermal fe710000.tsadc: Missing tshut mode property, using default (gpio) [    1.762642] rockchip-thermal fe710000.tsadc: Missing tshut-polarity property, using default (low) [    1.766171] cpu cpu0: Looking up cpu-supply from device tree [    1.766964] arm-scmi firmware:scmi: Failed. SCMI protocol 19 not active. [    1.769178] sdhci: Secure Digital Host Controller Interface driver [    1.769732] sdhci: Copyright(c) Pierre Ossman [    1.770563] Synopsys Designware Multimedia Card Interface Driver [    1.771680] sdhci-pltfm: SDHCI platform and OF driver helper [    1.774616] ledtrig-cpu: registered to indicate activity on CPUs [    1.776020] arm-scmi firmware:scmi: Failed. SCMI protocol 17 not active. [    1.776713] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [    1.777880] usbcore: registered new interface driver usbhid [    1.778381] usbhid: USB HID core driver [    1.779101] ashmem: initialized [    1.780702] SPI driver st-accel-spi has no spi_device_id for st,lis302dl-spi [    1.781386] SPI driver st-accel-spi has no spi_device_id for st,lis3lv02dl-accel [    1.782045] SPI driver st-accel-spi has no spi_device_id for st,lis3dh-accel [    1.782668] SPI driver st-accel-spi has no spi_device_id for st,lsm330d-accel [    1.783296] SPI driver st-accel-spi has no spi_device_id for st,lsm330dl-accel [    1.783933] SPI driver st-accel-spi has no spi_device_id for st,lsm330dlc-accel [    1.784577] SPI driver st-accel-spi has no spi_device_id for st,lis331dlh-accel [    1.785245] SPI driver st-accel-spi has no spi_device_id for st,lsm330-accel [    1.785870] SPI driver st-accel-spi has no spi_device_id for st,lsm303agr-accel [    1.786515] SPI driver st-accel-spi has no spi_device_id for st,lis2dh12-accel [    1.787152] SPI driver st-accel-spi has no spi_device_id for st,lng2dm-accel [    1.787772] SPI driver st-accel-spi has no spi_device_id for st,h3lis331dl-accel [    1.788423] SPI driver st-accel-spi has no spi_device_id for st,lis331dl-accel [    1.799089] NET: Registered PF_PACKET protocol family [    1.799788] 9pnet: Installing 9P2000 support [    1.800258] Key type dns_resolver registered [    1.801281] registered taskstats version 1 [    1.801660] Loading compiled-in X.509 certificates [    1.806486] zswap: loaded using pool zstd/zsmalloc [    1.881039] vbus: will resolve supply early: vin [    1.881485] reg-fixed-voltage vbus: Looking up vin-supply from device tree [    1.882115] vbus: supplied by vcc_5v [    1.882446] vcc_5v: could not add device link regulator.5: -ENOENT [    1.883082] vbus: 5000 mV, enabled [    1.883627] reg-fixed-voltage vbus: vbus supplying 5000000uV [    1.884489] vcc5v0_sys: will resolve supply early: vin [    1.884985] reg-fixed-voltage vcc5v0_sys: Looking up vin-supply from device tree [    1.885653] vcc5v0_sys: supplied by vbus [    1.886010] vbus: could not add device link regulator.6: -ENOENT [    1.886642] vcc5v0_sys: 5000 mV, enabled [    1.887181] reg-fixed-voltage vcc5v0_sys: vcc5v0_sys supplying 5000000uV [    1.888039] vcc3v3_sys: will resolve supply early: vin [    1.888502] reg-fixed-voltage vcc3v3_sys: Looking up vin-supply from device tree [    1.889199] vcc3v3_sys: supplied by vcc5v0_sys [    1.889604] vcc5v0_sys: could not add device link regulator.7: -ENOENT [    1.890247] vcc3v3_sys: 3300 mV, enabled [    1.890770] reg-fixed-voltage vcc3v3_sys: vcc3v3_sys supplying 3300000uV [    1.894026] fan53555-regulator 0-001c: FAN53555 Option[12] Rev[15] Detected! [    1.896492] vdd_cpu: will resolve supply early: vin [    1.896978] fan53555-regulator 0-001c: Looking up vin-supply from device tree [    1.897627] vdd_cpu: supplied by vcc5v0_sys [    1.898010] vcc5v0_sys: could not add device link regulator.8: -ENOENT [    1.901574] vdd_cpu: 800 <--> 1150 mV at 1025 mV, enabled [    1.904410] rk808 0-0020: chip id: 0x8090 [    1.936888] random: fast init done [    1.983599] rk808-regulator rk808-regulator: there is no dvs0 gpio [    1.984184] rk808-regulator rk808-regulator: there is no dvs1 gpio [    1.987263] vdd_logic: will resolve supply early: vcc1 [    1.987731] rk808 0-0020: Looking up vcc1-supply from device tree [    1.988295] vdd_logic: supplied by vcc3v3_sys [    1.988694] vcc3v3_sys: could not add device link regulator.9: -ENOENT [    1.993616] vdd_logic: 500 <--> 1350 mV at 900 mV, enabled [    1.997223] vdd_gpu: will resolve supply early: vcc2 [    1.997675] rk808 0-0020: Looking up vcc2-supply from device tree [    1.998231] vdd_gpu: supplied by vcc3v3_sys [    1.998613] vcc3v3_sys: could not add device link regulator.10: -ENOENT [    2.003004] vdd_gpu: 500 <--> 1350 mV at 900 mV, enabled [    2.005244] vcc_ddr: will resolve supply early: vcc3 [    2.005696] rk808 0-0020: Looking up vcc3-supply from device tree [    2.006252] vcc_ddr: supplied by vcc3v3_sys [    2.006633] vcc3v3_sys: could not add device link regulator.11: -ENOENT [    2.010091] vcc_ddr: at 500 mV, enabled [    2.012690] vdd_npu: will resolve supply early: vcc4 [    2.013180] rk808 0-0020: Looking up vcc4-supply from device tree [    2.013738] vdd_npu: supplied by vcc3v3_sys [    2.014120] vcc3v3_sys: could not add device link regulator.12: -ENOENT [    2.018036] vdd_npu: 500 <--> 1350 mV at 900 mV, enabled [    2.020750] vcc_1v8: will resolve supply early: vcc9 [    2.021237] rk808 0-0020: Looking up vcc9-supply from device tree [    2.021795] vcc_1v8: supplied by vcc3v3_sys [    2.022177] vcc3v3_sys: could not add device link regulator.13: -ENOENT [    2.025610] vcc_1v8: 1800 mV, enabled [    2.028536] vdda0v9_image: will resolve supply early: vcc5 [    2.029067] rk808 0-0020: Looking up vcc5-supply from device tree [    2.029626] vdda0v9_image: supplied by vcc3v3_sys [    2.030053] vcc3v3_sys: could not add device link regulator.14: -ENOENT [    2.034036] vdda0v9_image: 900 mV, enabled [    2.036520] vdda_0v9: will resolve supply early: vcc5 [    2.037014] rk808 0-0020: Looking up vcc5-supply from device tree [    2.037572] vdda_0v9: supplied by vcc3v3_sys [    2.037960] vcc3v3_sys: could not add device link regulator.15: -ENOENT [    2.041434] vdda_0v9: 900 mV, enabled [    2.044000] vdda0v9_pmu: will resolve supply early: vcc5 [    2.044482] rk808 0-0020: Looking up vcc5-supply from device tree [    2.045074] vdda0v9_pmu: supplied by vcc3v3_sys [    2.045487] vcc3v3_sys: could not add device link regulator.16: -ENOENT [    2.049441] vdda0v9_pmu: 900 mV, enabled [    2.051576] vccio_acodec: will resolve supply early: vcc6 [    2.052065] rk808 0-0020: Looking up vcc6-supply from device tree [    2.052622] vccio_acodec: supplied by vcc3v3_sys [    2.053080] vcc3v3_sys: could not add device link regulator.17: -ENOENT [    2.056555] vccio_acodec: 3300 mV, enabled [    2.059087] vccio_sd: will resolve supply early: vcc6 [    2.059546] rk808 0-0020: Looking up vcc6-supply from device tree [    2.060100] vccio_sd: supplied by vcc3v3_sys [    2.060490] vcc3v3_sys: could not add device link regulator.18: -ENOENT [    2.064487] vccio_sd: 1800 <--> 3300 mV at 3300 mV, enabled [    2.067278] vcc3v3_pmu: will resolve supply early: vcc6 [    2.067752] rk808 0-0020: Looking up vcc6-supply from device tree [    2.068308] vcc3v3_pmu: supplied by vcc3v3_sys [    2.068711] vcc3v3_sys: could not add device link regulator.19: -ENOENT [    2.072700] vcc3v3_pmu: 3300 mV, enabled [    2.075247] vcca_1v8: will resolve supply early: vcc7 [    2.075705] rk808 0-0020: Looking up vcc7-supply from device tree [    2.076260] vcca_1v8: supplied by vcc3v3_sys [    2.076648] vcc3v3_sys: could not add device link regulator.20: -ENOENT [    2.080154] vcca_1v8: 1800 mV, enabled [    2.082635] vcca1v8_pmu: will resolve supply early: vcc7 [    2.083117] rk808 0-0020: Looking up vcc7-supply from device tree [    2.083672] vcca1v8_pmu: supplied by vcc3v3_sys [    2.084084] vcc3v3_sys: could not add device link regulator.21: -ENOENT [    2.087556] vcca1v8_pmu: 1800 mV, enabled [    2.089682] vcca1v8_image: will resolve supply early: vcc7 [    2.090180] rk808 0-0020: Looking up vcc7-supply from device tree [    2.090736] vcca1v8_image: supplied by vcc3v3_sys [    2.091163] vcc3v3_sys: could not add device link regulator.22: -ENOENT [    2.094640] vcca1v8_image: 1800 mV, enabled [    2.096696] vcc_3v3: will resolve supply early: vcc9 [    2.097185] rk808 0-0020: Looking up vcc9-supply from device tree [    2.097743] vcc_3v3: supplied by vcc3v3_sys [    2.098126] vcc3v3_sys: could not add device link regulator.23: -ENOENT [    2.100589] vcc_3v3: at 3300 mV, enabled [    2.101720] SWITCH_REG2: no parameters, enabled [    2.102299] rk808 0-0020: Looking up vcc8-supply from device tree [    2.102858] SWITCH_REG2: supplied by vcc3v3_sys [    2.109809] input: rk805 pwrkey as /devices/platform/fdd40000.i2c/i2c-0/0-0020/rk805-pwrkey/input/input0 [    2.123006] rk808-rtc rk808-rtc: registered as rtc1 [    2.124546] lp855x 2-002c: Looking up power-supply from device tree [    2.125901] lp855x 2-002c: Looking up enable-supply from device tree [    2.126501] lp855x 2-002c: Looking up enable-supply property in node /i2c@fe5b0000/backlight@2c failed [    2.131960] cpu cpu0: Looking up cpu-supply from device tree [    2.139220] rockchip-iodomain fdc20000.syscon:io-domains: Looking up pmuio1-supply from device tree [    2.139683] dwmmc_rockchip fe2b0000.mmc: IDMAC supports 32-bit address mode. [    2.139836] dwmmc_rockchip fe2c0000.mmc: IDMAC supports 32-bit address mode. [    2.139873] dwmmc_rockchip fe2c0000.mmc: Using internal DMA controller. [    2.139883] dwmmc_rockchip fe2c0000.mmc: Version ID is 270a [    2.139951] dwmmc_rockchip fe2c0000.mmc: DW MMC controller at irq 34,32 bit host data width,256 deep fifo [    2.140107] dwmmc_rockchip fe2c0000.mmc: Looking up vmmc-supply from device tree [    2.140329] sdhci-dwcmshc fe310000.mmc: Looking up vmmc-supply from device tree [    2.140742] dwmmc_rockchip fe2b0000.mmc: Using internal DMA controller. [    2.141454] dwmmc_rockchip fe2c0000.mmc: Looking up vqmmc-supply from device tree [    2.141892] dwmmc_rockchip fe2b0000.mmc: Version ID is 270a [    2.146336] dwmmc_rockchip fe2b0000.mmc: DW MMC controller at irq 33,32 bit host data width,256 deep fifo [    2.147306] dwmmc_rockchip fe2b0000.mmc: Looking up vmmc-supply from device tree [    2.148148] dwmmc_rockchip fe2b0000.mmc: Looking up vqmmc-supply from device tree [    2.149119] mmc_host mmc0: card is polling. [    2.149847] sdhci-dwcmshc fe310000.mmc: Looking up vqmmc-supply from device tree [    2.150351] dwmmc_rockchip fe2c0000.mmc: allocated mmc-pwrseq [    2.151006] mmc_host mmc2: card is non-removable. [    2.151043] rockchip-iodomain fdc20000.syscon:io-domains: Looking up pmuio2-supply from device tree [    2.154737] rockchip-iodomain fdc20000.syscon:io-domains: Looking up vccio1-supply from device tree [    2.159835] rockchip-iodomain fdc20000.syscon:io-domains: Looking up vccio2-supply from device tree [    2.163047] rockchip-iodomain fdc20000.syscon:io-domains: Looking up vccio3-supply from device tree [    2.164418] rockchip-iodomain fdc20000.syscon:io-domains: Looking up vccio4-supply from device tree [    2.165672] mmc_host mmc0: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0) [    2.166585] rockchip-iodomain fdc20000.syscon:io-domains: Looking up vccio5-supply from device tree [    2.167894] rockchip-iodomain fdc20000.syscon:io-domains: Looking up vccio6-supply from device tree [    2.169210] rockchip-iodomain fdc20000.syscon:io-domains: Looking up vccio7-supply from device tree [    2.171614] panfrost fde60000.gpu: clock rate = 594000000 [    2.172114] panfrost fde60000.gpu: bus_clock rate = 500000000 [    2.172655] panfrost fde60000.gpu: Looking up mali-supply from device tree [    2.173660] mmc_host mmc2: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0) [    2.174663] panfrost fde60000.gpu: mali-g52 id 0x7402 major 0x1 minor 0x0 status 0x0 [    2.175347] panfrost fde60000.gpu: features: 00000000,13de77ff, issues: 00000000,00000400 [    2.176064] panfrost fde60000.gpu: Features: L2:0x07110206 Shader:0x00000002 Tiler:0x00000209 Mem:0x1 MMU:0x00002823 AS:0xff JS:0x7 [    2.177134] panfrost fde60000.gpu: shader_present=0x1 l2_present=0x1 [    2.178789] [drm] Initialized panfrost 1.2.0 20180908 for fde60000.gpu on minor 0 [    2.180503] rk_gmac-dwmac fe010000.ethernet: IRQ eth_lpi not found [    2.181279] rk_gmac-dwmac fe010000.ethernet: Looking up phy-supply from device tree [    2.182570] rk_gmac-dwmac fe010000.ethernet: clock input or output? (input). [    2.183205] rk_gmac-dwmac fe010000.ethernet: TX delay(0x30). [    2.183704] rk_gmac-dwmac fe010000.ethernet: RX delay(0x10). [    2.184207] rk_gmac-dwmac fe010000.ethernet: integrated PHY? (no). [    2.184785] rk_gmac-dwmac fe010000.ethernet: clock input from PHY [    2.187279] mmc1: SDHCI controller on fe310000.mmc [fe310000.mmc] using ADMA [    2.190349] rk_gmac-dwmac fe010000.ethernet: init for RGMII [    2.191166] rk_gmac-dwmac fe010000.ethernet: User ID: 0x30, Synopsys ID: 0x51 [    2.191822] rk_gmac-dwmac fe010000.ethernet:         DWMAC4/5 [    2.192288] rk_gmac-dwmac fe010000.ethernet: DMA HW capability register supported [    2.192985] rk_gmac-dwmac fe010000.ethernet: RX Checksum Offload Engine supported [    2.193642] rk_gmac-dwmac fe010000.ethernet: TX Checksum insertion supported [    2.194259] rk_gmac-dwmac fe010000.ethernet: Wake-Up On Lan supported [    2.194880] rk_gmac-dwmac fe010000.ethernet: TSO supported [    2.195375] rk_gmac-dwmac fe010000.ethernet: Enable RX Mitigation via HW Watchdog Timer [    2.196139] rk_gmac-dwmac fe010000.ethernet: Enabled RFS Flow TC (entries=10) [    2.196812] rk_gmac-dwmac fe010000.ethernet: TSO feature enabled [    2.197403] rk_gmac-dwmac fe010000.ethernet: Using 32 bits DMA width [    2.231028] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0) [    2.231979] mmc0: new high speed SDHC card at address 27ea [    2.233388] mmcblk0: mmc0:27ea SE04G 3.64 GiB [    2.240363]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 [    2.299383] mmc_host mmc2: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0) [    2.341757] cfg80211: Loading compiled-in X.509 certificates for regulatory database [    2.362389] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [    2.363123] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [    2.363885] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db [    2.367355] ALSA device list: [    2.367630]   No soundcards found. [    2.368168] dw-apb-uart fe660000.serial: forbid DMA for kernel console [    2.373631] Freeing unused kernel memory: 6016K [    2.388918] usb 1-1: new high-speed USB device number 2 using xhci-hcd [    2.396957] Run /init as init process [    2.397295]   with arguments: [    2.397562]     /init [    2.397770]   with environment: [    2.398050]     HOME=/ [    2.398263]     TERM=linux [    2.447266] Alpine Init 3.6.0-r0 Alpine Init 3.6.0-r0 [    2.448479] Loading boot drivers... * Loading boot drivers: [    2.463803] Loading boot drivers: ok. ok. [    2.469123] Mounting root... * Mounting root: [    2.602729] hub 1-1:1.0: USB hub found [    2.603156] hub 1-1:1.0: 4 ports detected [    2.657066] Error: Driver 'lp855x' is already registered, aborting... [    2.704939] dwmmc_rockchip fe2c0000.mmc: Successfully tuned phase to 238 [    2.709442] mmc2: new ultra high speed SDR104 SDIO card at address 0001 [    3.312526] EXT4-fs (mmcblk0p7): mounted filesystem with writeback data mode. Quota mode: none. [    3.314435] Mounting root: ok.

I also looked for power domains and clocks configuration in case some peripheral stays in standby / is not clocked, but failed to find what could cause my problem (as I just start working on RK356x SoCs, I may have missed something).

From what I saw on patchwork it seems like there is ongoing work on the VOP2 / DSI code in mainline, maybe I can try to rebase on mainline ?
If that's a driver issue, I am willing to give some time to provide a patch and testing to get it to work (but may need some insights from more experienced people on this SoC).

I will continue my tests / debugging and post my findings, but if anybody with more experience on this board has insights / clues / ideas (or even better, a solution  Smile ), that really can help me.
  Reply


Messages In This Thread
Using soquartz's MIPI DSI1 output - by axelm - 05-25-2022, 02:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How force HDMI out in soquartz rahmanshaber 0 2,354 11-15-2023, 03:51 PM
Last Post: rahmanshaber
  SOQuartz Linux Builds stormwyrm 1 3,843 11-13-2023, 02:53 AM
Last Post: diederik
  SOQuartz Blade PXE Boot NCLI 1 3,632 05-05-2023, 09:49 AM
Last Post: CounterPillow
  SOQuartz Getting a working build dl-m10 7 11,300 01-23-2023, 06:38 PM
Last Post: diederik
  Ov5647 camera attached via csi to Quartz64 /Soquartz Randomuser 0 4,365 07-21-2022, 01:08 PM
Last Post: Randomuser
  PCIe not working on custom board (soquartz) dferrg 1 5,801 02-23-2022, 04:31 AM
Last Post: dferrg

Forum Jump:


Users browsing this thread: 1 Guest(s)