[FIXED] 5.10 kernel compilation issues

Hey,

Trying to get 5.10 custom kernel to boot on 4C, but it’s stuck on eMMC initialisation it seems, works fine with default kernel-4.4.154-111-rockchip-g39b306a41b2d, any ideas ? missing kernel options ?

Alex

U-Boot 2021.01-00871-g8b195f4b71 (Jan 28 2021 - 10:37:41 +0000)

SoC: Rockchip rk3399
Reset cause: RST
Model: Radxa ROCK Pi 4C
DRAM:  3.9 GiB
PMIC:  RK808 
MMC:   mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial
Model: Radxa ROCK Pi 4C
Net:   eth0: ethernet@fe300000
Hit any key to stop autoboot:  2 ... 1 ... 0 
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:4...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
590 bytes read in 19 ms (30.3 KiB/s)
select kernel
1:.kernel-mainline
2:.kernel-4.4.154-111-rockchip-g39b306a41b2d
Enter choice: 1:.kernel-mainline
Retrieving file: /vmlinuz-5.10.12-rk3399-rock-pi-4c-05c76e1a
15687688 bytes read in 2003 ms (7.5 MiB/s)
append: earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 coherent_pool=1m earlyprintk console=ttyS2,1500000n8 rw root=/dev/mmcblk1p5 rootfstype=ext4 init=/sbin/init rootwait
Retrieving file: /rk3399-rock-pi-4c.dtb
55163 bytes read in 24 ms (2.2 MiB/s)
Moving Image from 0x2080000 to 0x2200000, end=3170000
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Loading Device Tree to 00000000f1f0f000, end 00000000f1f1f77a ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.10.12 (gitlab-runner@buster) (aarch64-linux-gnu-gcc (Linaro GCC 7.5-2019.12) 7.5.0, GNU ld (Linaro_Binutils-2019.12) 2.28.2.20170706) #1 SMP PREEMPT Sat Jan 30 15:07:58 UTC 2021
[    0.000000] Machine model: Radxa ROCK Pi 4C
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff1a0000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    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] 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 22 pages/cpu s49192 r8192 d32728 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 999432
[    0.000000] Kernel command line: earlycon=uart8250,mmio32,0xff1a0000 swiotlb=1 coherent_pool=1m earlyprintk console=ttyS2,1500000n8 rw root=/dev/mmcblk1p5 rootfstype=ext4 init=/sbin/init rootwait
[    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] software IO TLB: mapped [mem 0x000000003ffbf000-0x000000003ffff000] (0MB)
[    0.000000] Memory: 3964592K/4061184K available (8510K kernel code, 1688K rwdata, 2868K rodata, 2176K init, 477K bss, 96592K reserved, 0K 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 restricting CPUs from NR_CPUS=256 to nr_cpu_ids=6.
[    0.000000] .Trampoline variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 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 @40080000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x0000000040040000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000040050000
[    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+0x334/0x4e8 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.000025] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.004415] Console: colour dummy device 80x25
[    0.004988] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[    0.006117] pid_max: default: 32768 minimum: 301
[    0.007063] LSM: Security Framework initializing
[    0.007883] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.008767] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.016508] rcu: Hierarchical SRCU implementation.
[    0.019755] Platform MSI: interrupt-controller@fee20000 domain created
[    0.021433] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.024188] smp: Bringing up secondary CPUs ...
[    0.026742] Detected VIPT I-cache on CPU1
[    0.026882] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.026926] GICv3: CPU1: using allocated LPI pending table @0x0000000040060000
[    0.027077] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.029558] Detected VIPT I-cache on CPU2
[    0.029689] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.029730] GICv3: CPU2: using allocated LPI pending table @0x0000000040070000
[    0.029857] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.032261] Detected VIPT I-cache on CPU3
[    0.032389] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.032430] GICv3: CPU3: using allocated LPI pending table @0x0000000040100000
[    0.032556] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.038074] CPU features: detected: Spectre-v2
[    0.038496] CPU features: detected: Spectre-v4
[    0.038770] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.039197] Detected PIPT I-cache on CPU4
[    0.040864] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.041492] GICv3: CPU4: using allocated LPI pending table @0x0000000040110000
[    0.043328] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.056372] Detected PIPT I-cache on CPU5
[    0.058028] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.058608] GICv3: CPU5: using allocated LPI pending table @0x0000000040120000
[    0.060271] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.068497] smp: Brought up 1 node, 6 CPUs
[    0.083571] SMP: Total of 6 processors activated.
[    0.084104] CPU features: detected: 32-bit EL0 Support
[    0.084722] CPU features: detected: CRC32 instructions
[    0.086882] CPU: All CPU(s) started at EL2
[    0.088255] alternatives: patching kernel code
[    0.097463] devtmpfs: initialized
[    0.157956] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.159157] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.160652] pinctrl core: initialized pinctrl subsystem
[    0.165178] NET: Registered protocol family 16
[    0.173368] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    0.174832] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.176390] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.182356] thermal_sys: Registered thermal governor 'fair_share'
[    0.182388] thermal_sys: Registered thermal governor 'step_wise'
[    0.188378] cpuidle: using governor ladder
[    0.192962] cpuidle: using governor menu
[    0.194840] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.198936] ASID allocator initialised with 65536 entries
[    0.436978] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.437849] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.438556] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.439300] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.524267] cryptd: max_cpu_qlen set to 1000
[    0.623450] vcc5v0_sys: supplied by vcc12v_dcin
[    0.629106] vcc3v3_pcie: supplied by vcc5v0_sys
[    0.632305] vcc3v3_sys: supplied by vcc5v0_sys
[    0.635618] vcc_0v9: supplied by vcc3v3_sys
[    0.636520] vcc5v0_host: supplied by vcc5v0_sys
[    0.639846] vcc5v0_typec: supplied by vcc5v0_sys
[    0.646579] iommu: Default domain type: Translated 
[    0.649002] SCSI subsystem initialized
[    0.650274] usbcore: registered new interface driver usbfs
[    0.651084] usbcore: registered new interface driver hub
[    0.651812] usbcore: registered new device driver usb
[    0.652731] mc: Linux media interface: v0.10
[    0.653318] videodev: Linux video capture interface: v2.00
[    0.654239] pps_core: LinuxPPS API ver. 1 registered
[    0.654772] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.655838] PTP clock support registered
[    0.658658] Advanced Linux Sound Architecture Driver Initialized.
[    0.661953] Bluetooth: Core ver 2.22
[    0.662523] NET: Registered protocol family 31
[    0.663004] Bluetooth: HCI device and connection manager initialized
[    0.663724] Bluetooth: HCI socket layer initialized
[    0.664259] Bluetooth: L2CAP socket layer initialized
[    0.664892] Bluetooth: SCO socket layer initialized
[    0.665536] NetLabel: Initializing
[    0.665951] NetLabel:  domain hash size = 128
[    0.666415] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.667376] NetLabel:  unlabeled traffic allowed by default
[    0.673705] clocksource: Switched to clocksource arch_sys_counter
[    0.714839] NET: Registered protocol family 2
[    0.718907] tcp_listen_portaddr_hash hash table entries: 2048 (order: 4, 81920 bytes, linear)
[    0.720226] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.723327] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.727849] TCP: Hash tables configured (established 32768 bind 32768)
[    0.730350] UDP hash table entries: 2048 (order: 5, 196608 bytes, linear)
[    0.731880] UDP-Lite hash table entries: 2048 (order: 5, 196608 bytes, linear)
[    0.734271] NET: Registered protocol family 1
[    0.742643] PCI: CLS 0 bytes, default 64
[    0.759615] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.765838] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.774571] Initialise system trusted keyrings
[    0.777707] workingset: timestamp_bits=62 max_order=20 bucket_order=0
[    0.803507] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.033120] NET: Registered protocol family 38
[    1.033698] Key type asymmetric registered
[    1.034145] Asymmetric key parser 'x509' registered
[    1.034870] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    1.099001] vdd_log: supplied by regulator-dummy
[    1.102069] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[    1.110487] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 46, base_baud = 1500000) is a 16550A
[    1.121610] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 47, base_baud = 1500000) is a 16550A
[    1.123301] printk: console [ttyS2] enabled
[    1.123301] printk: console [ttyS2] enabled
[    1.124239] printk: bootconsole [uart8250] disabled
[    1.124239] printk: bootconsole [uart8250] disabled
[    1.146128] panfrost ff9a0000.gpu: clock rate = 500000000
[    1.147435] panfrost ff9a0000.gpu: [drm:panfrost_devfreq_init] *ERROR* Couldn't set OPP regulators
[    1.150861] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    1.158635] brd: module loaded
[    1.204313] loop: module loaded
[    1.212089] libphy: Fixed MDIO Bus: probed
[    1.212885] usbcore: registered new interface driver rtl8xxxu
[    1.214448] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.215178] ehci-pci: EHCI PCI platform driver
[    1.215862] ehci-platform: EHCI generic platform driver
[    1.220286] ehci-platform fe380000.usb: EHCI Host Controller
[    1.221824] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 1
[    1.223324] ehci-platform fe380000.usb: irq 39, io mem 0xfe380000
[    1.230836] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    1.232647] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    1.233435] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.234178] usb usb1: Product: EHCI Host Controller
[    1.234715] usb usb1: Manufacturer: Linux 5.10.12 ehci_hcd
[    1.235247] usb usb1: SerialNumber: fe380000.usb
[    1.238007] hub 1-0:1.0: USB hub found
[    1.238583] hub 1-0:1.0: 1 port detected
[    1.244421] ehci-platform fe3c0000.usb: EHCI Host Controller
[    1.246074] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 2
[    1.247461] ehci-platform fe3c0000.usb: irq 41, io mem 0xfe3c0000
[    1.254686] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    1.256220] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    1.257067] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.257806] usb usb2: Product: EHCI Host Controller
[    1.258288] usb usb2: Manufacturer: Linux 5.10.12 ehci_hcd
[    1.258869] usb usb2: SerialNumber: fe3c0000.usb
[    1.261342] hub 2-0:1.0: USB hub found
[    1.261952] hub 2-0:1.0: 1 port detected
[    1.265414] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.266258] ohci-platform: OHCI generic platform driver
[    1.268145] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[    1.269798] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 3
[    1.271134] ohci-platform fe3a0000.usb: irq 40, io mem 0xfe3a0000
[    1.328406] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    1.329255] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.329997] usb usb3: Product: Generic Platform OHCI controller
[    1.330618] usb usb3: Manufacturer: Linux 5.10.12 ohci_hcd
[    1.331154] usb usb3: SerialNumber: fe3a0000.usb
[    1.333833] hub 3-0:1.0: USB hub found
[    1.334343] hub 3-0:1.0: 1 port detected
[    1.337677] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    1.339329] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
[    1.340841] ohci-platform fe3e0000.usb: irq 42, io mem 0xfe3e0000
[    1.397344] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    1.398230] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.398970] usb usb4: Product: Generic Platform OHCI controller
[    1.399591] usb usb4: Manufacturer: Linux 5.10.12 ohci_hcd
[    1.400124] usb usb4: SerialNumber: fe3e0000.usb
[    1.402881] hub 4-0:1.0: USB hub found
[    1.403388] hub 4-0:1.0: 1 port detected
[    1.411844] usbcore: registered new interface driver xpad
[    1.414678] i2c /dev entries driver
[    1.443576] rk808 0-001b: chip id: 0x0
[    1.458869] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    1.459914] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    1.462975] vdd_center: supplied by vcc5v0_sys
[    1.465353] vdd_cpu_l: supplied by vcc5v0_sys
[    1.466963] vcc_ddr: supplied by vcc5v0_sys
[    1.469185] vcc_1v8: supplied by vcc5v0_sys
[    1.472393] vcc1v8_codec: supplied by vcc5v0_sys
[    1.475012] vcc1v8_hdmi: supplied by vcc5v0_sys
[    1.477998] vcca_1v8: supplied by vcc5v0_sys
[    1.480817] vcc_sdio: supplied by vcc5v0_sys
[    1.483345] vcca3v0_codec: supplied by vcc5v0_sys
[    1.486271] vcc_1v5: supplied by vcc5v0_sys
[    1.488855] vcc0v9_hdmi: supplied by vcc5v0_sys
[    1.491757] vcc_3v0: supplied by vcc5v0_sys
[    1.492763] vcc_cam: failed to get the current voltage: -EPROBE_DEFER
[    1.493449] vcc_cam: supplied by vcc3v3_sys
[    1.495163] vcc_mipi: failed to get the current voltage: -EPROBE_DEFER
[    1.495928] vcc_mipi: supplied by vcc3v3_sys
[    1.504950] rk808-rtc rk808-rtc: registered as rtc0
[    1.506778] rk808-rtc rk808-rtc: setting system clock to 2021-01-30T00:18:46 UTC (1611965926)
[    1.519481] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[    1.523071] vdd_cpu_b: supplied by vcc5v0_sys
[    1.534859] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[    1.538244] vdd_gpu: supplied by vcc5v0_sys
[    1.551861] dw_wdt ff848000.watchdog: No valid TOPs array specified
[    1.555221] Bluetooth: HCI UART driver ver 2.3
[    1.555738] Bluetooth: HCI UART protocol H4 registered
[    1.556237] Bluetooth: HCI UART protocol ATH3K registered
[    1.557125] usbcore: registered new interface driver bfusb
[    1.565802] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 200000 KHz, changing to: 408000 KHz
[    1.570264] random: fast init done
[    1.571404] cpufreq: cpufreq_online: CPU4: Running at unlisted initial frequency: 12000 KHz, changing to: 408000 KHz
[    1.574395] sdhci: Secure Digital Host Controller Interface driver
[    1.574944] sdhci: Copyright(c) Pierre Ossman
[    1.575336] Synopsys Designware Multimedia Card Interface Driver
[    1.576652] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    1.576741] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    1.577308] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    1.577312] ledtrig-cpu: registered to indicate activity on CPUs
[    1.577338] hid: raw HID events driver (C) Jiri Kosina
[    1.577908] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    1.578505] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    1.579008] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    1.579285] usbcore: registered new interface driver usbhid
[    1.579287] usbhid: USB HID core driver
[    1.579503] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 36,32 bit host data width,256 deep fifo
[    1.580065] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 37,32 bit host data width,256 deep fifo
[    1.580821] rockchip-pinctrl pinctrl: pin gpio3-30 already requested by vcc5v0-host-regulator; cannot claim for ff880000.i2s
[    1.580825] rockchip-pinctrl pinctrl: pin-126 (ff880000.i2s) status -22
[    1.580829] rockchip-pinctrl pinctrl: could not request pin 126 (gpio3-30) from group i2s0-8ch-bus  on device rockchip-pinctrl
[    1.580832] rockchip-i2s ff880000.i2s: Error applying setting, reverse things back
[    1.580841] rockchip-i2s: probe of ff880000.i2s failed with error -22
[    1.581001] rockchip-i2s ff890000.i2s: Could not register PCM
[    1.581164] rockchip-i2s ff8a0000.i2s: Could not register PCM
[    1.581607] u32 classifier
[    1.581609]     input device check on
[    1.581732] Initializing XFRM netlink socket
[    1.581880] NET: Registered protocol family 10
[    1.582307] Segment Routing with IPv6
[    1.582347] NET: Registered protocol family 17
[    1.582354] NET: Registered protocol family 15
[    1.582374] Bridge firewalling registered
[    1.582435] Bluetooth: RFCOMM socket layer initialized
[    1.582446] Bluetooth: RFCOMM ver 1.11
[    1.582451] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    1.582458] Bluetooth: HIDP socket layer initialized
[    1.582460] 8021q: 802.1Q VLAN Support v1.8
[    1.582499] Key type dns_resolver registered
[    1.582681] registered taskstats version 1
[    1.582938] dwmmc_rockchip fe310000.mmc: allocated mmc-pwrseq
[    1.582944] mmc_host mmc0: card is non-removable.
[    1.584505] Loading compiled-in X.509 certificates
[    1.586154] Key type ._fscrypt registered
[    1.587298] Key type .fscrypt registered
[    1.588305] Key type fscrypt-provisioning registered
[    1.589498] Key type encrypted registered
[    1.595717] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    1.595977] dwmmc_rockchip fe320000.mmc: Got CD GPIO
[    1.606986] panfrost ff9a0000.gpu: clock rate = 500000000
[    1.608233] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 status 0x0
[    1.608923] panfrost ff9a0000.gpu: features: 00000000,100e77bf, issues: 00000000,24040400
[    1.609642] panfrost ff9a0000.gpu: Features: L2:0x07120206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
[    1.610678] panfrost ff9a0000.gpu: shader_present=0xf l2_present=0x1
[    1.610898] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    1.611880] [drm] Initialized panfrost 1.1.0 20180908 for ff9a0000.gpu on minor 0
[    1.613071] rockchip-i2s ff890000.i2s: Could not register PCM
[    1.613790] rockchip-i2s ff8a0000.i2s: Could not register PCM
[    1.614545] rockchip-i2s ff890000.i2s: Could not register PCM
[    1.615228] rockchip-i2s ff8a0000.i2s: Could not register PCM
[    1.616428] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[  .[    1.702983] mmc_host mmc0: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
[    1.843604] dwmmc_rockchip fe310000.mmc: Successfully tuned phase to 172
[    1.847220] mmc0: new ultra high speed SDR104 SDIO card at address 0001

Use Armbian. It works.

was missing CONFIG_MMC_SDHCI_OF_ARASAN=y and mmc device ordering changed between 4.4.x and 5.10.x

2 Likes

This is not a helpful response to a specific request for assistance and amounts to spam. If you do not have a relevant answer, you should not respond.

2 Likes

Telling him where to find known working configuration is relevant and very helpful assistance.

That’s not what you said, though, instead making a comment that was primarily dismissive of their request. Pointing them to Armbian’s configuration with a link would have been a constructive, helpful response. I know you’re busy but taking just a little more time produces far better results; Armbian is a great project, so you should really make it shine.

1 Like

People who go this far only need hints - comparing with armbian config is one of the quickest way, but he already solved the problem …

I am sure people with this kind of expertise knows how to use Google. You too. Config URL is not in my clipboard.

Could you link the image? As the current rock pi 4C image is still stuck at 4.4.

Thanks.

https://www.armbian.com/rockpi4/
And read a description