batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
2.02k stars 521 forks source link

[rockpro64] HDMI audio distortion when using external storage #6950

Open n-i-x opened 2 years ago

n-i-x commented 2 years ago

When switching from internal storage to external storage (for /userdata not booting), HDMI audio becomes very distorted. The sound is as if the audio volume is at 1000% no matter what the volume level is. It's nearly a full hissing sound.

I've tried USB3 and USB2 drives and I've tried multiple drives. As soon as the external USB drive is removed and the system is rebooted, the audio is fine.

Full dmesg:

Disk format: ext4
Temperature: 48°C
Architecture: rockpro64
Model: Pine64 RockPro64 v2.1
System: Linux 5.15.57
Available memory: 3079/3874 MB
Cpu number: 6
Cpu frequency: 1416/1800 MHz
OS version: 35-dev-6e4120751e 2022/08/17 11:15

[root@BATOCERA /userdata/system]# dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.57 (batocera@1ff85f82d7a4) (aarch64-buildroot-linux-gnu-gcc.br_real (Buildroot 2019.11-16530-g66fcd5c7e7) 11.3.0, GNU ld (GNU Binutils) 2.37) #1 SMP PREEMPT Wed Aug 17 11:09:23 Europe 2022
[    0.000000] Machine model: Pine64 RockPro64 v2.1
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xf77d8c00-0xf77dafff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000200000-0x00000000f7ffffff]
[    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-0x00000000f7ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[    0.000000] cma: Reserved 64 MiB at 0x00000000edc00000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 19 pages/cpu s37528 r8192 d32104 u77824
[    0.000000] pcpu-alloc: s37528 r8192 d32104 u77824 alloc=19*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: GIC system register CPU interface
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 999432
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: initrd=/boot/initrd.gz label=BATOCERA rootwait quiet loglevel=0 console=tty3 console=ttyS2,1500000n8
[    0.000000] Unknown kernel command line parameters "label=BATOCERA", will be passed to user space.
[    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:off, heap free:off
[    0.000000] Memory: 3898944K/4061184K available (10496K kernel code, 1130K rwdata, 3096K rodata, 2048K init, 592K bss, 96704K reserved, 65536K 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]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
[    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] Root IRQ handler: gic_handle_irq
[    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 @480000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x0000000000440000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000000450000
[    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] rcu:     Offload RCU callbacks from CPUs: (none).
[    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.001214] Console: colour dummy device 80x25
[    0.001269] printk: console [tty3] enabled
[    0.001389] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[    0.001410] pid_max: default: 32768 minimum: 301
[    0.001602] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001643] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.004092] rcu: Hierarchical SRCU implementation.
[    0.004888] Platform MSI: interrupt-controller@fee20000 domain created
[    0.005361] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.006100] smp: Bringing up secondary CPUs ...
[    0.006881] Detected VIPT I-cache on CPU1
[    0.006931] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.006953] GICv3: CPU1: using allocated LPI pending table @0x0000000000460000
[    0.007016] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.007857] Detected VIPT I-cache on CPU2
[    0.007895] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.007912] GICv3: CPU2: using allocated LPI pending table @0x0000000000470000
[    0.007954] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.008697] Detected VIPT I-cache on CPU3
[    0.008731] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.008748] GICv3: CPU3: using allocated LPI pending table @0x0000000000500000
[    0.008786] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.009521] CPU features: detected: Spectre-v2
[    0.009538] CPU features: detected: Spectre-BHB
[    0.009550] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.009556] Detected PIPT I-cache on CPU4
[    0.009590] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.009608] GICv3: CPU4: using allocated LPI pending table @0x0000000000510000
[    0.009652] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.010425] Detected PIPT I-cache on CPU5
[    0.010456] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.010472] GICv3: CPU5: using allocated LPI pending table @0x0000000000520000
[    0.010505] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.010623] smp: Brought up 1 node, 6 CPUs
[    0.010652] SMP: Total of 6 processors activated.
[    0.010660] CPU features: detected: 32-bit EL0 Support
[    0.010668] CPU features: detected: CRC32 instructions
[    0.026221] CPU: All CPU(s) started at EL2
[    0.026275] alternatives: patching kernel code
[    0.028651] devtmpfs: initialized
[    0.038616] Registered cp15_barrier emulation handler
[    0.038640] Registered setend emulation handler
[    0.038818] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.038843] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.040448] pinctrl core: initialized pinctrl subsystem
[    0.041625] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.043903] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.044231] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.044574] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.045580] thermal_sys: Registered thermal governor 'step_wise'
[    0.046080] cpuidle: using governor menu
[    0.046184] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.046366] ASID allocator initialised with 65536 entries
[    0.066061] platform ff770000.syscon:phy@f780: Fixing up cyclic dependency with fe330000.mmc
[    0.071460] platform ff940000.hdmi: Fixing up cyclic dependency with ff900000.vop
[    0.078869] rockchip-gpio ff720000.gpio0: probed /pinctrl/gpio0@ff720000
[    0.079479] rockchip-gpio ff730000.gpio1: probed /pinctrl/gpio1@ff730000
[    0.080129] rockchip-gpio ff780000.gpio2: probed /pinctrl/gpio2@ff780000
[    0.080776] rockchip-gpio ff788000.gpio3: probed /pinctrl/gpio3@ff788000
[    0.081311] rockchip-gpio ff790000.gpio4: probed /pinctrl/gpio4@ff790000
[    0.095291] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.095308] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.095316] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.095325] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.098506] vcc3v3_pcie: supplied by vcc12v_dcin
[    0.098760] vcc5v0_sys: supplied by vcc12v_dcin
[    0.098980] vcc5v0_usb: supplied by vcc12v_dcin
[    0.099291] iommu: Default domain type: Translated
[    0.099299] iommu: DMA domain TLB invalidation policy: strict mode
[    0.101564] vgaarb: loaded
[    0.101897] SCSI subsystem initialized
[    0.102072] usbcore: registered new interface driver usbfs
[    0.102110] usbcore: registered new interface driver hub
[    0.102148] usbcore: registered new device driver usb
[    0.102633] mc: Linux media interface: v0.10
[    0.102659] videodev: Linux video capture interface: v2.00
[    0.102701] pps_core: LinuxPPS API ver. 1 registered
[    0.102707] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.102722] PTP clock support registered
[    0.102766] EDAC MC: Ver: 3.0.0
[    0.103733] Advanced Linux Sound Architecture Driver Initialized.
[    0.104554] clocksource: Switched to clocksource arch_sys_counter
[    0.104691] VFS: Disk quotas dquot_6.6.0
[    0.104749] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.104840] FS-Cache: Loaded
[    0.112592] NET: Registered PF_INET protocol family
[    0.112928] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.115791] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.115920] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.115939] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.116291] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.116956] TCP: Hash tables configured (established 32768 bind 32768)
[    0.117088] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.117228] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.117471] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.118027] RPC: Registered named UNIX socket transport module.
[    0.118037] RPC: Registered udp transport module.
[    0.118043] RPC: Registered tcp transport module.
[    0.118048] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.118057] PCI: CLS 0 bytes, default 64
[    0.118352] Trying to unpack rootfs image as initramfs...
[    0.125329] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.125688] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.127278] Initialise system trusted keyrings
[    0.127479] workingset: timestamp_bits=58 max_order=20 bucket_order=0
[    0.131564] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.131714] FS-Cache: Netfs 'nfs' registered for caching
[    0.132152] NFS: Registering the id_resolver key type
[    0.132193] Key type id_resolver registered
[    0.132200] Key type id_legacy registered
[    0.132269] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.132276] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.167833] Freeing initrd memory: 660K
[    0.196088] Key type asymmetric registered
[    0.196098] Asymmetric key parser 'x509' registered
[    0.196161] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    0.196245] io scheduler bfq registered
[    0.199225] rockchip-usb2phy ff770000.syscon:usb2phy@e450: failed to create phy
[    0.200436] rockchip-usb2phy ff770000.syscon:usb2phy@e460: failed to create phy
[    0.204774] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.204789] dma-pl330 ff6d0000.dma-controller:       DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    0.205890] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.205902] dma-pl330 ff6e0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    0.206924] vdd_log: supplied by regulator-dummy
[    0.207335] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[    0.209411] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 42, base_baud = 1500000) is a 16550A
[    0.209557] serial serial0: tty port ttyS0 registered
[    0.210366] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 43, base_baud = 1500000) is a 16550A
[    0.210612] printk: console [ttyS2] enabled
[    0.212841] rockchip-vop ff8f0000.vop: Adding to iommu group 2
[    0.213466] rockchip-vop ff900000.vop: Adding to iommu group 3
[    0.218563] rockchip-drm display-subsystem: bound ff8f0000.vop (ops 0xffff800008ad31f0)
[    0.218645] [drm] unsupported AFBC format[3231564e]
[    0.220254] rockchip-drm display-subsystem: bound ff900000.vop (ops 0xffff800008ad31f0)
[    0.221398] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.224689] loop: module loaded
[    0.227959] VFIO - User Level meta-driver version: 0.3
[    0.230853] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.230865] ehci-pci: EHCI PCI platform driver
[    0.230902] ehci-platform: EHCI generic platform driver
[    0.231144] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.231150] ohci-pci: OHCI PCI platform driver
[    0.231181] ohci-platform: OHCI generic platform driver
[    0.231937] usbcore: registered new interface driver cdc_acm
[    0.231945] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    0.231984] usbcore: registered new interface driver usb-storage
[    0.232622] i2c_dev: i2c /dev entries driver
[    0.233337] i2c 1-0011: Fixing up cyclic dependency with ff890000.i2s
[    0.236569] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[    0.237239] vdd_cpu_b: supplied by vcc5v0_sys
[    0.239363] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[    0.240036] vdd_gpu: supplied by vcc5v0_sys
[    0.243702] rockchip-rga ff680000.rga: HW Version: 0x03.02
[    0.243900] rockchip-rga ff680000.rga: Registered rockchip-rga as /dev/video0
[    0.247058] dw_wdt ff848000.watchdog: No valid TOPs array specified
[    0.249193] sdhci: Secure Digital Host Controller Interface driver
[    0.249202] sdhci: Copyright(c) Pierre Ossman
[    0.249232] Synopsys Designware Multimedia Card Interface Driver
[    0.249932] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.250438] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    0.250468] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    0.250486] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    0.250535] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 32,32 bit host data width,256 deep fifo
[    0.252296] mmc2: CQHCI version 5.10
[    0.254619] ledtrig-cpu: registered to indicate activity on CPUs
[    0.255344] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    0.255638] hid: raw HID events driver (C) Jiri Kosina
[    0.257074] usbcore: registered new interface driver usbhid
[    0.257086] usbhid: USB HID core driver
[    0.259184] NET: Registered PF_PACKET protocol family
[    0.259668] Key type dns_resolver registered
[    0.260046] registered taskstats version 1
[    0.260063] Loading compiled-in X.509 certificates
[    0.261447] vcc3v3_sys: supplied by vcc5v0_sys
[    0.261964] vcc5v0_host: supplied by vcc5v0_usb
[    0.262292] vcc5v0_typec: supplied by vcc5v0_usb
[    0.271720] rockchip-drm display-subsystem: bound ff8f0000.vop (ops 0xffff800008ad31f0)
[    0.273435] rockchip-drm display-subsystem: bound ff900000.vop (ops 0xffff800008ad31f0)
[    0.273622] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
[    0.275344] rockchip-drm display-subsystem: bound ff940000.hdmi (ops 0xffff800008ad6eb0)
[    0.277615] mmc2: SDHCI controller on fe330000.mmc [fe330000.mmc] using ADMA
[    0.977073] Console: switching to colour frame buffer device 480x135
[    1.095564] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device
[    1.096268] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[    1.096654] panfrost ff9a0000.gpu: clock rate = 500000000
[    1.097813] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 status 0x0
[    1.097838] panfrost ff9a0000.gpu: features: 00000000,100e77bf, issues: 00000000,24040400
[    1.097852] panfrost ff9a0000.gpu: Features: L2:0x07120206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
[    1.097868] panfrost ff9a0000.gpu: shader_present=0xf l2_present=0x1
[    1.102197] [drm] Initialized panfrost 1.2.0 20180908 for ff9a0000.gpu on minor 1
[    1.104738] ehci-platform fe380000.usb: EHCI Host Controller
[    1.104768] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 1
[    1.104890] ehci-platform fe380000.usb: irq 35, io mem 0xfe380000
[    1.118200] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    1.118405] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    1.118422] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.118433] usb usb1: Product: EHCI Host Controller
[    1.118442] usb usb1: Manufacturer: Linux 5.15.57 ehci_hcd
[    1.118450] usb usb1: SerialNumber: fe380000.usb
[    1.119370] hub 1-0:1.0: USB hub found
[    1.119412] hub 1-0:1.0: 1 port detected
[    1.122238] ehci-platform fe3c0000.usb: EHCI Host Controller
[    1.122267] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 2
[    1.122389] ehci-platform fe3c0000.usb: irq 37, io mem 0xfe3c0000
[    1.134767] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    1.134961] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    1.134977] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.134987] usb usb2: Product: EHCI Host Controller
[    1.134996] usb usb2: Manufacturer: Linux 5.15.57 ehci_hcd
[    1.135004] usb usb2: SerialNumber: fe3c0000.usb
[    1.135915] hub 2-0:1.0: USB hub found
[    1.135957] hub 2-0:1.0: 1 port detected
[    1.136672] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[    1.136694] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 3
[    1.136780] ohci-platform fe3a0000.usb: irq 36, io mem 0xfe3a0000
[    1.195596] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15
[    1.195621] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.195633] usb usb3: Product: Generic Platform OHCI controller
[    1.195642] usb usb3: Manufacturer: Linux 5.15.57 ohci_hcd
[    1.195650] usb usb3: SerialNumber: fe3a0000.usb
[    1.196567] hub 3-0:1.0: USB hub found
[    1.196609] hub 3-0:1.0: 1 port detected
[    1.197323] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    1.197346] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
[    1.197428] ohci-platform fe3e0000.usb: irq 38, io mem 0xfe3e0000
[    1.255681] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15
[    1.255706] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.255717] usb usb4: Product: Generic Platform OHCI controller
[    1.255727] usb usb4: Manufacturer: Linux 5.15.57 ohci_hcd
[    1.255735] usb usb4: SerialNumber: fe3e0000.usb
[    1.256914] hub 4-0:1.0: USB hub found
[    1.256956] hub 4-0:1.0: 1 port detected
[    1.258822] rk808 0-001b: chip id: 0x0
[    1.265011] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    1.265047] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    1.265630] vdd_center: supplied by vcc5v0_sys
[    1.266241] vdd_cpu_l: supplied by vcc5v0_sys
[    1.266422] vcc_ddr: supplied by vcc5v0_sys
[    1.266856] vcc_1v8: supplied by vcc5v0_sys
[    1.267315] vcc1v8_dvp: supplied by vcc5v0_sys
[    1.268219] vcc3v0_touch: supplied by vcc5v0_sys
[    1.269196] vcca_1v8: supplied by vcc5v0_sys
[    1.270819] vcc_sdio: supplied by vcc5v0_sys
[    1.272490] vcca3v0_codec: supplied by vcc5v0_sys
[    1.274713] vcc_1v5: supplied by vcc5v0_sys
[    1.276399] vcca1v8_codec: supplied by vcc5v0_sys
[    1.278613] vcc_3v0: supplied by vcc5v0_sys
[    1.279452] vcc3v3_s3: supplied by vcc3v3_sys
[    1.279634] vcc3v3_s0: supplied by vcc3v3_sys
[    1.290865] rk808-rtc rk808-rtc: registered as rtc0
[    1.292855] rk808-rtc rk808-rtc: setting system clock to 2013-01-18T08:57:24 UTC (1358499444)
[    1.294500] cpu cpu0: EM: created perf domain
[    1.295538] cpu cpu4: EM: created perf domain
[    1.297837] vcc1v8_s3: supplied by vcc_1v8
[    1.298159] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    1.298189] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    1.298198] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    1.298238] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 32,32 bit host data width,256 deep fifo
[    1.298250] vcc3v0_sd: supplied by vcc3v3_sys
[    1.298488] dwmmc_rockchip fe310000.mmc: allocated mmc-pwrseq
[    1.298498] mmc_host mmc0: card is non-removable.
[    1.300246] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    1.300260] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    1.300351] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    1.300469] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[    1.300481] rk_gmac-dwmac fe300000.ethernet: TX delay(0x23).
[    1.300492] rk_gmac-dwmac fe300000.ethernet: RX delay(0x1e).
[    1.300504] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[    1.300557] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[    1.300566] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[    1.305584] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[    1.305997] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    1.306013] rk_gmac-dwmac fe300000.ethernet:         DWMAC1000
[    1.306022] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
[    1.306029] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
[    1.306036] rk_gmac-dwmac fe300000.ethernet: COE Type 2
[    1.306044] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[    1.306051] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
[    1.306115] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
[    1.306124] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
[    1.306131] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.311861] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    1.368244] mmc_host mmc0: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)
[    1.391327] RTL8211F Gigabit Ethernet stmmac-0:00: attached PHY driver (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    1.391366] RTL8211F Gigabit Ethernet stmmac-0:01: attached PHY driver (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[    1.396044] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    1.396105] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    1.396129] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    1.396230] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 33,32 bit host data width,256 deep fifo
[    1.396923] dwmmc_rockchip fe320000.mmc: Got CD GPIO
[    1.398552] WCN: marlin_init entry!
[    1.399756] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    1.402501] ALSA device list:
[    1.402521]   No soundcards found.
[    1.402835] dw-apb-uart ff1a0000.serial: forbid DMA for kernel console
[    1.408499] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    1.423758] Freeing unused kernel memory: 2048K
[    1.424754] mmc_host mmc0: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0)
[    1.441597] Run /init as init process
[    1.441617]   with arguments:
[    1.441627]     /init
[    1.441637]   with environment:
[    1.441646]     HOME=/
[    1.441654]     TERM=linux
[    1.441662]     label=BATOCERA
[    1.453124] LABEL=BATOCERA: Can't open blockdev
[    1.459727] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    1.459814] mmc1: new high speed SDHC card at address 0001
[    1.460601] mmcblk1: mmc1:0001 SD32G 28.8 GiB
[    1.461846]  mmcblk1: p1 p2
[    1.488042] mmc_host mmc0: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
[    1.548027] usb 4-1: new low-speed USB device number 2 using ohci-platform
[    1.678114] usb 3-1: new full-speed USB device number 2 using ohci-platform
[    1.771888] usb 4-1: New USB device found, idVendor=0810, idProduct=e501, bcdDevice= 1.06
[    1.771935] usb 4-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[    1.771956] usb 4-1: Product: usb gamepad
[    1.780594] input: usb gamepad            as /devices/platform/fe3e0000.usb/usb4/4-1/4-1:1.0/0003:0810:E501.0001/input/input1
[    1.781504] hid-generic 0003:0810:E501.0001: input,hidraw0: USB HID v1.10 Joystick [usb gamepad           ] on usb-fe3e0000.usb-1/input0
[    1.904315] usb 3-1: New USB device found, idVendor=2357, idProduct=0604, bcdDevice= 2.00
[    1.904360] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.904381] usb 3-1: Product: TP-Link UB500 Adapter
[    1.904397] usb 3-1: Manufacturer:
[    1.904412] usb 3-1: SerialNumber: E848B8C82000
[    2.708956] loop0: detected capacity change from 0 to 2788680
[    2.728114] /dev/loop0: Can't open blockdev
[    3.283614] random: dbus-uuidgen: uninitialized urandom read (12 bytes read)
[    3.283725] random: dbus-uuidgen: uninitialized urandom read (8 bytes read)
[    3.335031] random: dbus-daemon: uninitialized urandom read (12 bytes read)
[    3.886546] udevd[261]: starting version 3.2.11
[    3.953376] udevd[276]: starting eudev-3.2.11
[    4.179082] spi-nor spi0.0: gd25q128 (16384 Kbytes)
[    4.196307] OF: graph: no port node found in /i2c@ff3d0000/typec-portc@22
[    4.202164] rockchip_vdec: module is from the staging directory, the quality is unknown, you have been warned.
[    4.203101] rkvdec ff660000.video-codec: Adding to iommu group 1
[    4.213074] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[    4.213112] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 5
[    4.213312] xhci-hcd xhci-hcd.3.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    4.213379] xhci-hcd xhci-hcd.3.auto: irq 75, io mem 0xfe800000
[    4.214104] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    4.214132] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.214139] usb usb5: Product: xHCI Host Controller
[    4.214145] usb usb5: Manufacturer: Linux 5.15.57 xhci-hcd
[    4.214150] usb usb5: SerialNumber: xhci-hcd.3.auto
[    4.215896] hub 5-0:1.0: USB hub found
[    4.215937] hub 5-0:1.0: 1 port detected
[    4.216115] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[    4.216127] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 6
[    4.216136] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0 SuperSpeed
[    4.216167] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.216216] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[    4.216221] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.216225] usb usb6: Product: xHCI Host Controller
[    4.216229] usb usb6: Manufacturer: Linux 5.15.57 xhci-hcd
[    4.216232] usb usb6: SerialNumber: xhci-hcd.3.auto
[    4.216482] hub 6-0:1.0: USB hub found
[    4.216501] hub 6-0:1.0: 1 port detected
[    4.222092] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[    4.222128] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 7
[    4.222264] xhci-hcd xhci-hcd.4.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    4.222325] xhci-hcd xhci-hcd.4.auto: irq 76, io mem 0xfe900000
[    4.222558] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    4.222577] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.222584] usb usb7: Product: xHCI Host Controller
[    4.222589] usb usb7: Manufacturer: Linux 5.15.57 xhci-hcd
[    4.222596] usb usb7: SerialNumber: xhci-hcd.4.auto
[    4.223345] hub 7-0:1.0: USB hub found
[    4.223422] hub 7-0:1.0: 1 port detected
[    4.223721] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[    4.223742] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 8
[    4.223759] xhci-hcd xhci-hcd.4.auto: Host supports USB 3.0 SuperSpeed
[    4.223839] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.223896] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[    4.223901] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.223905] usb usb8: Product: xHCI Host Controller
[    4.223908] usb usb8: Manufacturer: Linux 5.15.57 xhci-hcd
[    4.223911] usb usb8: SerialNumber: xhci-hcd.4.auto
[    4.224216] hub 8-0:1.0: USB hub found
[    4.224235] hub 8-0:1.0: 1 port detected
[    4.224874] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[    4.224903] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[    4.224912] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[    4.225572] rockchip-pcie f8000000.pcie: supply vpcie1v8 not found, using dummy regulator
[    4.225623] rockchip-pcie f8000000.pcie: supply vpcie0v9 not found, using dummy regulator
[    4.253350] hantro_vpu: module is from the staging directory, the quality is unknown, you have been warned.
[    4.254506] hantro-vpu ff650000.video-codec: Adding to iommu group 0
[    4.254991] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-enc as /dev/video2
[    4.255065] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-dec as /dev/video3
[    4.305781] 4 fixed-partitions partitions found on MTD device spi0.0
[    4.305828] Creating 4 MTD partitions on "spi0.0":
[    4.305843] 0x000000000000-0x000000060000 : "u-boot-spl"
[    4.310131] 0x000000060000-0x0000003f8000 : "u-boot"
[    4.312523] 0x0000003f8000-0x000000400000 : "u-boot-env"
[    4.314321] 0x000000400000-0x000001000000 : "user"
[    4.320783] es8316 1-0011: Failed to get IRQ 0: -22
[    4.350978] cryptd: max_cpu_qlen set to 1000
[    4.396800] Bluetooth: Core ver 2.22
[    4.396881] NET: Registered PF_BLUETOOTH protocol family
[    4.396887] Bluetooth: HCI device and connection manager initialized
[    4.396906] Bluetooth: HCI socket layer initialized
[    4.396914] Bluetooth: L2CAP socket layer initialized
[    4.396921] Bluetooth: SCO socket layer initialized
[    4.462884] usbcore: registered new interface driver btusb
[    4.466241] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000b lmp_ver=0a lmp_subver=8761
[    4.468197] Bluetooth: hci0: RTL: rom_version status=0 version=1
[    4.468212] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_fw.bin
[    4.472163] Bluetooth: HCI UART driver ver 2.3
[    4.472187] Bluetooth: HCI UART protocol H4 registered
[    4.472267] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    4.472613] Bluetooth: HCI UART protocol Broadcom registered
[    4.472656] Bluetooth: HCI UART protocol QCA registered
[    4.472662] Bluetooth: HCI UART protocol AG6XX registered
[    4.472693] Bluetooth: HCI UART protocol Marvell registered
[    4.481602] Bluetooth: hci0: RTL: loading rtl_bt/rtl8761bu_config.bin
[    4.482576] Bluetooth: hci0: RTL: cfg_sz 6, total sz 27814
[    4.591535] dw-apb-uart ff180000.serial: failed to request DMA
[    4.735446] Bluetooth: hci0: RTL: fw version 0x09a98a6b
[    4.777979] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[    4.778048] rockchip-pcie: probe of f8000000.pcie failed with error -110
[    5.231401] usb 8-1: new SuperSpeed USB device number 2 using xhci-hcd
[    5.252425] usb 8-1: New USB device found, idVendor=090c, idProduct=1000, bcdDevice=11.00
[    5.252454] usb 8-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.252461] usb 8-1: Product: Flash Drive FIT
[    5.252468] usb 8-1: Manufacturer: Samsung
[    5.252473] usb 8-1: SerialNumber: 0346922050005308
[    5.253540] usb-storage 8-1:1.0: USB Mass Storage device detected
[    5.254113] usb-storage 8-1:1.0: Quirks match for vid 090c pid 1000: 400
[    5.254261] scsi host0: usb-storage 8-1:1.0
[    6.636322] random: pactl: uninitialized urandom read (4 bytes read)
[    6.683272] scsi 0:0:0:0: Direct-Access     Samsung  Flash Drive FIT  1100 PQ: 0 ANSI: 6
[    6.690818] sd 0:0:0:0: [sda] 501253132 512-byte logical blocks: (257 GB/239 GiB)
[    6.691344] sd 0:0:0:0: [sda] Write Protect is off
[    6.691366] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[    6.691579] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    6.700584]  sda: sda1
[    6.701966] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    6.792232] random: pactl: uninitialized urandom read (4 bytes read)
[    6.881447] Bluetooth: hci1: command 0x0c03 tx timeout
[    6.910607] random: pactl: uninitialized urandom read (4 bytes read)
[    7.752616] random: pactl: uninitialized urandom read (4 bytes read)
[    7.871783] random: pactl: uninitialized urandom read (4 bytes read)
[    7.991562] random: pactl: uninitialized urandom read (4 bytes read)
[    8.137883] random: crng init done
[    8.137890] random: 16 urandom warning(s) missed due to ratelimiting
[    8.379522] hdmi-audio-codec hdmi-audio-codec.5.auto: Only one simultaneous stream supported!
[    8.379540] hdmi-audio-codec hdmi-audio-codec.5.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -22
[    8.379554]  ff8a0000.i2s-i2s-hifi: soc_pcm_open() failed (-22)
[    8.762562] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    8.790790] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    8.824293] WCN: start_marlin [MARLIN_WIFI]
[    8.824334] Unable to handle kernel NULL pointer dereference at virtual address 00000000000001d0
[    8.824344] Mem abort info:
[    8.824348]   ESR = 0x96000006
[    8.824353]   EC = 0x25: DABT (current EL), IL = 32 bits
[    8.824361]   SET = 0, FnV = 0
[    8.824366]   EA = 0, S1PTW = 0
[    8.824371]   FSC = 0x06: level 2 translation fault
[    8.824377] Data abort info:
[    8.824381]   ISV = 0, ISS = 0x00000006
[    8.824385]   CM = 0, WnR = 0
[    8.824392] user pgtable: 4k pages, 48-bit VAs, pgdp=000000000a716000
[    8.824401] [00000000000001d0] pgd=080000000a2f4003, p4d=080000000a2f4003, pud=080000000a2f7003, pmd=0000000000000000
[    8.824428] Internal error: Oops: 96000006 [#1] PREEMPT SMP
[    8.824437] Modules linked in: sprdwl_ng(+) cfg80211 sprdbt_tty sd_mod hci_uart btusb btqca btrtl snd_soc_hdmi_codec btbcm btintel bluetooth aes_ce_blk crypto_simd cryptd aes_ce_cipher ghash_ce gf128mul sha2_ce snd_soc_audio_graph_card snd_soc_spdif_tx snd_soc_es8316 snd_soc_rockchip_i2s sha256_arm64 snd_soc_rockchip_pcm snd_soc_simple_card sha1_ce snd_soc_simple_card_utils dw_hdmi_cec dw_hdmi_i2s_audio snd_soc_core joydev ecdh_generic ecc pwm_fan hantro_vpu(C) snd_pcm_dmaengine snd_pcm phy_rockchip_pcie phy_rockchip_typec rockchip_vdec(C) fusb302 spi_rockchip snd_timer videobuf2_vmalloc v4l2_h264 tcpm pcie_rockchip_host
[    8.824648] CPU: 2 PID: 785 Comm: modprobe Tainted: G         C        5.15.57 #1
[    8.824660] Hardware name: Pine64 RockPro64 v2.1 (DT)
[    8.824667] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    8.824680] pc : get_loopcheck_status+0x14/0x20
[    8.824703] lr : start_marlin+0x84/0xe8
[    8.824715] sp : ffff80000bacb7b0
[    8.824721] x29: ffff80000bacb7b0 x28: ffff800008a5d1f8 x27: 0000000000000100
[    8.824739] x26: ffff800000d8f000 x25: 0000000000000000 x24: 0000000000000000
[    8.824756] x23: ffff8000090217b0 x22: 0000000000000053 x21: ffff800008af3990
[    8.824774] x20: ffff800008af3d50 x19: 0000000000000002 x18: fffffffffffe8508
[    8.824792] x17: 6674616c703d4d45 x16: 5453595342555300 x15: 0000000000000030
[    8.824809] x14: 0000000000000001 x13: ffff800008f7c6a8 x12: 00000000000005f7
[    8.824826] x11: 00000000000001fd x10: ffff800008f7c6a8 x9 : ffff800008f7c6a8
[    8.824844] x8 : 00000000ffffefff x7 : ffff800008fd46a8 x6 : ffff800008fd46a8
[    8.824861] x5 : 0000000000000000 x4 : ffff0000f77788b8 x3 : 0000000000000000
[    8.824879] x2 : 0000000000000000 x1 : ffff000004cf9b80 x0 : 0000000000000000
[    8.824896] Call trace:
[    8.824902]  get_loopcheck_status+0x14/0x20
[    8.824915]  sprdwl_probe+0x20/0x380 [sprdwl_ng]
[    8.825019]  platform_probe+0x68/0xe0
[    8.825031]  really_probe+0xbc/0x460
[    8.825045]  __driver_probe_device+0x114/0x190
[    8.825057]  driver_probe_device+0x40/0x100
[    8.825069]  __device_attach_driver+0x98/0x130
[    8.825082]  bus_for_each_drv+0x78/0xd0
[    8.825093]  __device_attach+0xa8/0x1f0
[    8.825105]  device_initial_probe+0x14/0x20
[    8.825117]  bus_probe_device+0x9c/0xb0
[    8.825128]  device_add+0x3a8/0x8b0
[    8.825138]  platform_device_add+0x118/0x280
[    8.825148]  unisoc_wlan_init+0x4c/0x1000 [sprdwl_ng]
[    8.825228]  do_one_initcall+0x50/0x1b0
[    8.825241]  do_init_module+0x44/0x240
[    8.825253]  load_module+0x2158/0x28c0
[    8.825262]  __do_sys_finit_module+0xa8/0x120
[    8.825272]  __arm64_sys_finit_module+0x24/0x30
[    8.825281]  invoke_syscall+0x48/0x120
[    8.825294]  el0_svc_common.constprop.0+0x44/0x100
[    8.825305]  do_el0_svc+0x28/0x90
[    8.825316]  el0_svc+0x30/0x100
[    8.825331]  el0t_64_sync_handler+0xa4/0x130
[    8.825340]  el0t_64_sync+0x1a0/0x1a4
[    8.825356] Code: 900051e0 d503233f d50323bf f946d400 (b941d000)
[    8.825367] ---[ end trace 809cc555ecd678da ]---
[    9.221159] NET: Registered PF_INET6 protocol family
[    9.223078] Segment Routing with IPv6
[    9.223111] In-situ OAM (IOAM) with IPv6
[    9.328024] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[    9.330294] rk_gmac-dwmac fe300000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[    9.337947] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found
[    9.337983] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW
[    9.338536] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode
[   12.349883] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[   12.486649] squashfs: Unknown parameter 'iocharset'
[   12.664846] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[   13.439770] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   13.439865] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   13.625392] rd 0-5: Disabling EAS, schedutil is mandatory
[   14.771339] Bluetooth: hci1: BCM: Reset failed (-110)
[   30.495611] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   30.495651] Bluetooth: BNEP socket layer initialized
[   30.524023] NET: Registered PF_ALG protocol family
[   30.592364] Bluetooth: RFCOMM socket layer initialized
[   30.592400] Bluetooth: RFCOMM ver 1.11
dmanlfc commented 2 years ago

@n-i-x i know it's a pain, but can you replicate this using another distribution supported by the SBC or not? I suspect this is either a hardware fault of a device-tree issue - thanks.

@Ntemis - thoughts. Have you got this device to try & replicate?

n-i-x commented 2 years ago

When using RCade, I can use external storage just fine without the sound issues. I’ve only seen this issue in Batocera when selecting the external device as ROM storage. It’s beyond bizarre and happens with any external drive I’ve tried.

dmanlfc commented 2 years ago

can you try this dtb file (from link below) in your /boot folder replacing the existing one?

https://drive.google.com/drive/folders/1xAufIjhQv9i2fR9K3B6PwCwLxxZbTb00?usp=sharing

please test again.

Ntemis commented 2 years ago

WCN: start_marlin [MARLIN_WIFI] <- he touch a NULL pointer there

n-i-x commented 2 years ago

WCN: start_marlin [MARLIN_WIFI] <- he touch a NULL pointer there

The Rockpro64 doesn’t have Wi-Fi built-in so that’s interesting. I’ll try the updated dtb in a bit and report back.

n-i-x commented 2 years ago

The new DTB does the same thing