Buildroot.rockchip support is up

The buildroot.rockchip repo now supports the rock 5b.

To set it up, follow the readme.

Currently no ethernet appears in the linux kernel - not sure why ?

Here is the output from the board on console :

DDR Version V1.07 20220412
LPDDR4X, 2112MHz
channel[0] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
channel[1] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
channel[2] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
channel[3] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
change to F1: 528MHz
change to F2: 1068MHz
change to F3: 1560MHz
change to F0: 2112MHz
out
U-Boot SPL board init
U-Boot SPL 2017.09 (Jul 11 2022 - 14:40:03)
Trying to boot from MMC2
spl: partition error
Trying fit image at 0x4000 sector
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256(5ae6932916...) + OK
## Checking uboot 0x00200000 ... sha256(7a0496d9b0...) + OK
## Checking fdt 0x00309e78 ... sha256(f054bfeb69...) + OK
## Checking atf-2 0x000f0000 ... sha256(c00c7fd75b...) + OK
## Checking atf-3 0xff100000 ... sha256(71c3a5841b...) + OK
## Checking atf-4 0xff001000 ... sha256(2301cf73be...) + OK
Jumping to U-Boot(0x00200000) via ARM Trusted Firmware(0x00040000)
Total: 600.638 ms

INFO:    Preloader serial: 2
NOTICE:  BL31: v2.3():v2.3-384-g45c8fcb44:derrick.huang
NOTICE:  BL31: Built : 15:14:04, Jun 18 2022
INFO:    ext 32k is not valid
INFO:    GICv3 without legacy support detected.
INFO:    ARM GICv3 driver initialized in EL3
INFO:    system boots from cpu-hwid-0
INFO:    idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001
INFO:    dfs DDR fsp_params[0].freq_mhz= 2112MHz
INFO:    dfs DDR fsp_params[1].freq_mhz= 528MHz
INFO:    dfs DDR fsp_params[2].freq_mhz= 1068MHz
INFO:    dfs DDR fsp_params[3].freq_mhz= 1560MHz
INFO:    BL31: Initialising Exception Handling Framework
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2017.09 (Jul 11 2022 - 14:40:03 +1000)

Model: Radxa ROCK 5B
PreSerial: 2, raw, 0xfeb50000
DRAM:  7.7 GiB
Sysmem: init
Relocation Offset: edb6d000
Relocation fdt: eb9f9b38 - eb9fecc0
CR: M/C/I
Using default environment

no mmc device at slot 1
mmc@fe2c0000: 1 (SD), mmc@fe2e0000: 0
Bootdev(atags): mmc 1
MMC1: Legacy, 52Mhz
PartType: EFI
DM: v2
No misc partition
boot mode: None
No resource partition
No resource partition
No resource partition
Failed to load DTB, ret=-19
No find valid DTB, ret=-22
Failed to get kernel dtb, ret=-22
Model: Radxa ROCK 5B
CLK: (sync kernel. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A)
  b0pll 24000 KHz
  b1pll 24000 KHz
  lpll 24000 KHz
  v0pll 24000 KHz
  aupll 24000 KHz
  cpll 1500000 KHz
  gpll 1188000 KHz
  npll 24000 KHz
  ppll 1100000 KHz
  aclk_center_root 702000 KHz
  pclk_center_root 100000 KHz
  hclk_center_root 396000 KHz
  aclk_center_low_root 500000 KHz
  aclk_top_root 750000 KHz
  pclk_top_root 100000 KHz
  aclk_low_top_root 396000 KHz
No misc partition
Net:   No ethernet found.
Hit key to stop autoboot('CTRL+C'):  0 
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot.scr
reading /boot.scr
1113 bytes read in 3 ms (362.3 KiB/s)
## Executing script at 00500000
loading boot vars
reading vars.txt
61 bytes read in 2 ms (29.3 KiB/s)
setting boot args
reading rockchip/rk3588-rock-5b.dtb
251372 bytes read in 24 ms (10 MiB/s)
reading Image
29143552 bytes read in 2330 ms (11.9 MiB/s)
loading overlay rk3588-uart2-m0
reading rockchip/overlays/rk3588-uart2-m0.dtbo
311 bytes read in 4 ms (75.2 KiB/s)
Applying kernel provided DT overlay rk3588-uart2-m0.dtbo
booting linux ...
Fdt Ramdisk skip relocation
No misc partition
## Flattened Device Tree blob at 0x0a100000
   Booting using the fdt blob at 0x0a100000
   reserving fdt memory region: addr=a100000 size=a3000
  'reserved-memory' cma: addr=10000000 size=10000000
   Using Device Tree in place at 000000000a100000, end 000000000a1a5fff
Adding bank: 0x00200000 - 0xf0000000 (size: 0xefe00000)
Adding bank: 0x100000000 - 0x200000000 (size: 0x100000000)
Total: 3044.683 ms

Starting kernel ...

[    3.062976] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
[    3.062997] Linux version 5.10.66 (flatmax@dev) (aarch64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2022.05) 10.3.0, GNU ld (GNU Binutils) 2.37) #1 SMP Mon Jul 11 14:35:11 AEST 2022
[    3.073685] Machine model: Radxa ROCK 5B
[    3.073750] efi: UEFI not found.
[    3.077387] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB
[    3.077407] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-cubic-lut@00000000': base 0x0000000000000000, size 0 MiB
[    3.077464] Reserved memory: created CMA memory pool at 0x0000000010000000, size 256 MiB
[    3.077471] OF: reserved mem: initialized node cma, compatible id shared-dma-pool
[    3.220262] Zone ranges:
[    3.220274]   DMA      [mem 0x0000000000200000-0x00000000ffffffff]
[    3.220285]   DMA32    empty
[    3.220293]   Normal   [mem 0x0000000100000000-0x00000001ffffffff]
[    3.220302] Movable zone start for each node
[    3.220307] Early memory node ranges
[    3.220314]   node   0: [mem 0x0000000000200000-0x00000000efffffff]
[    3.220323]   node   0: [mem 0x0000000100000000-0x00000001ffffffff]
[    3.220333] Initmem setup node 0 [mem 0x0000000000200000-0x00000001ffffffff]
[    3.262857] psci: probing for conduit method from DT.
[    3.262871] psci: PSCIv1.1 detected in firmware.
[    3.262877] psci: Using standard PSCI v0.2 function IDs
[    3.262884] psci: MIGRATE_INFO_TYPE not supported.
[    3.262892] psci: SMC Calling Convention v1.2
[    3.263268] percpu: Embedded 30 pages/cpu s84648 r8192 d30040 u122880
[    3.263489] Detected VIPT I-cache on CPU0
[    3.263536] CPU features: detected: GIC system register CPU interface
[    3.263543] CPU features: detected: Virtualization Host Extensions
[    3.263555] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    3.263567] alternatives: patching kernel code
[    3.263839] Built 1 zonelists, mobility grouping on.  Total pages: 1999368
[    3.263848] Kernel command line: root=/dev/mmcblk2p2 earlyprintk console=ttyS2,1500000n8 rw rootwait
[    3.264756] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[    3.265135] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    3.265144] mem auto-init: stack:off, heap alloc:off, heap free:off
[    3.271122] software IO TLB: mapped [mem 0x00000000ec000000-0x00000000f0000000] (64MB)
[    3.345419] Memory: 7609828K/8124416K available (13824K kernel code, 3052K rwdata, 5524K rodata, 5952K init, 510K bss, 252444K reserved, 262144K cma-reserved)
[    3.345568] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    3.345605] ftrace: allocating 53949 entries in 211 pages
[    3.430485] ftrace: allocated 211 pages with 5 groups
[    3.430769] rcu: Hierarchical RCU implementation.
[    3.430779] rcu: 	RCU event tracing is enabled.
[    3.430786] 	Rude variant of Tasks RCU enabled.
[    3.430793] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
[    3.435448] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    3.438342] GICv3: GIC: Using split EOI/Deactivate mode
[    3.438351] GICv3: 480 SPIs implemented
[    3.438357] GICv3: 0 Extended SPIs implemented
[    3.438389] GICv3: Distributor has no Range Selector support
[    3.438400] GICv3: 16 PPIs implemented
[    3.438447] GICv3: CPU0: found redistributor 0 region 0:0x00000000fe680000
[    3.438575] ITS [mem 0xfe640000-0xfe65ffff]
[    3.438628] ITS@0x00000000fe640000: allocated 8192 Devices @1001d0000 (indirect, esz 8, psz 64K, shr 0)
[    3.438656] ITS@0x00000000fe640000: allocated 32768 Interrupt Collections @1001e0000 (flat, esz 2, psz 64K, shr 0)
[    3.438667] ITS: using cache flushing for cmd queue
[    3.438706] ITS [mem 0xfe660000-0xfe67ffff]
[    3.438752] ITS@0x00000000fe660000: allocated 8192 Devices @100200000 (indirect, esz 8, psz 64K, shr 0)
[    3.438778] ITS@0x00000000fe660000: allocated 32768 Interrupt Collections @100210000 (flat, esz 2, psz 64K, shr 0)
[    3.438788] ITS: using cache flushing for cmd queue
[    3.439031] GICv3: using LPI property table @0x0000000100220000
[    3.439150] GIC: using cache flushing for LPI property table
[    3.439161] GICv3: CPU0: using allocated LPI pending table @0x0000000100230000
[    3.439323] random: get_random_bytes called from start_kernel+0x3dc/0x5d0 with crng_init=0
[    3.561972] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    3.561986] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    3.561998] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    3.563400] Console: colour dummy device 80x25
[    3.563432] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[    3.563446] pid_max: default: 32768 minimum: 301
[    3.563596] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    3.563618] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    3.565349] rcu: Hierarchical SRCU implementation.
[    3.566111] Platform MSI: msi-controller@fe640000 domain created
[    3.566133] Platform MSI: msi-controller@fe660000 domain created
[    3.566516] PCI/MSI: /interrupt-controller@fe600000/msi-controller@fe640000 domain created
[    3.566540] PCI/MSI: /interrupt-controller@fe600000/msi-controller@fe660000 domain created
[    3.566758] EFI services will not be available.
[    3.567084] smp: Bringing up secondary CPUs ...
[    3.567615] Detected VIPT I-cache on CPU1
[    3.567649] GICv3: CPU1: found redistributor 100 region 0:0x00000000fe6a0000
[    3.567668] GICv3: CPU1: using allocated LPI pending table @0x0000000100240000
[    3.567710] CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
[    3.568299] Detected VIPT I-cache on CPU2
[    3.568327] GICv3: CPU2: found redistributor 200 region 0:0x00000000fe6c0000
[    3.568343] GICv3: CPU2: using allocated LPI pending table @0x0000000100250000
[    3.568382] CPU2: Booted secondary processor 0x0000000200 [0x412fd050]
[    3.568948] Detected VIPT I-cache on CPU3
[    3.568974] GICv3: CPU3: found redistributor 300 region 0:0x00000000fe6e0000
[    3.568990] GICv3: CPU3: using allocated LPI pending table @0x0000000100260000
[    3.569026] CPU3: Booted secondary processor 0x0000000300 [0x412fd050]
[    3.569592] CPU features: detected: Spectre-v4
[    3.569596] Detected PIPT I-cache on CPU4
[    3.569610] GICv3: CPU4: found redistributor 400 region 0:0x00000000fe700000
[    3.569619] GICv3: CPU4: using allocated LPI pending table @0x0000000100270000
[    3.569641] CPU4: Booted secondary processor 0x0000000400 [0x414fd0b0]
[    3.570151] Detected PIPT I-cache on CPU5
[    3.570166] GICv3: CPU5: found redistributor 500 region 0:0x00000000fe720000
[    3.570175] GICv3: CPU5: using allocated LPI pending table @0x0000000100280000
[    3.570198] CPU5: Booted secondary processor 0x0000000500 [0x414fd0b0]
[    3.570738] Detected PIPT I-cache on CPU6
[    3.570753] GICv3: CPU6: found redistributor 600 region 0:0x00000000fe740000
[    3.570762] GICv3: CPU6: using allocated LPI pending table @0x0000000100290000
[    3.570784] CPU6: Booted secondary processor 0x0000000600 [0x414fd0b0]
[    3.571301] Detected PIPT I-cache on CPU7
[    3.571316] GICv3: CPU7: found redistributor 700 region 0:0x00000000fe760000
[    3.571324] GICv3: CPU7: using allocated LPI pending table @0x00000001002a0000
[    3.571347] CPU7: Booted secondary processor 0x0000000700 [0x414fd0b0]
[    3.571412] smp: Brought up 1 node, 8 CPUs
[    3.571482] SMP: Total of 8 processors activated.
[    3.571489] CPU features: detected: Privileged Access Never
[    3.571495] CPU features: detected: User Access Override
[    3.571501] CPU features: detected: 32-bit EL0 Support
[    3.571507] CPU features: detected: Common not Private translations
[    3.571513] CPU features: detected: RAS Extension Support
[    3.571519] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[    3.571525] CPU features: detected: CRC32 instructions
[    3.571531] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[    3.571538] CPU features: detected: RCpc load-acquire (LDAPR)
[    3.571610] CPU: All CPU(s) started at EL2
[    3.573459] devtmpfs: initialized
[    3.586637] Registered cp15_barrier emulation handler
[    3.586645] Registered setend emulation handler
[    3.586721] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    3.586728] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    3.589410] pinctrl core: initialized pinctrl subsystem
[    3.589672] DMI not present or invalid.
[    3.589787] NET: Registered protocol family 16
[    3.590578] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    3.590672] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    3.591239] thermal_sys: Registered thermal governor 'fair_share'
[    3.591242] thermal_sys: Registered thermal governor 'step_wise'
[    3.591245] thermal_sys: Registered thermal governor 'user_space'
[    3.591248] thermal_sys: Registered thermal governor 'power_allocator'
[    3.591381] thermal thermal_zone1: power_allocator: sustainable_power will be estimated
[    3.591413] thermal thermal_zone2: power_allocator: sustainable_power will be estimated
[    3.591444] thermal thermal_zone3: power_allocator: sustainable_power will be estimated
[    3.591472] thermal thermal_zone4: power_allocator: sustainable_power will be estimated
[    3.591501] thermal thermal_zone5: power_allocator: sustainable_power will be estimated
[    3.591529] thermal thermal_zone6: power_allocator: sustainable_power will be estimated
[    3.591550] cpuidle: using governor menu
[    3.591560] Registered FIQ tty driver
[    3.591667] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    3.591779] ASID allocator initialised with 65536 entries
[    3.593281] printk: console [ramoops-1] enabled
[    3.593285] pstore: Registered ramoops as persistent store backend
[    3.593289] ramoops: using 0xf0000@0x110000, ecc: 0
[    3.636390] rockchip-gpio fd8a0000.gpio: probed /pinctrl/gpio@fd8a0000
[    3.636602] rockchip-gpio fec20000.gpio: probed /pinctrl/gpio@fec20000
[    3.636800] rockchip-gpio fec30000.gpio: probed /pinctrl/gpio@fec30000
[    3.637034] rockchip-gpio fec40000.gpio: probed /pinctrl/gpio@fec40000
[    3.637252] rockchip-gpio fec50000.gpio: probed /pinctrl/gpio@fec50000
[    3.637296] rockchip-pinctrl pinctrl: probed pinctrl
[    3.649714] uart2 is enabled, please disable it
[    3.649728] rk-fiq-debugger: probe of fiq-debugger failed with error -22
[    3.650015] vcc5v0_sys: supplied by vcc12v_dcin
[    3.650348] vcc_1v1_nldo_s3: supplied by vcc5v0_sys
[    3.650509] vcc5v0_host: supplied by vcc5v0_sys
[    3.650677] vcc3v3_pcie2x1l0: supplied by vcc5v0_sys
[    3.650800] vcc3v3_pcie30: supplied by vcc5v0_sys
[    3.651053] iommu: Default domain type: Translated 
[    3.651125] rk_iommu fdab9000.iommu: version = 2
[    3.651508] rk_iommu fdb60f00.iommu: version = 2
[    3.651697] rk_iommu fdb70f00.iommu: version = 2
[    3.651853] rk_iommu fdb90480.iommu: version = 2
[    3.652026] rk_iommu fdba0800.iommu: version = 2
[    3.652203] rk_iommu fdba4800.iommu: version = 2
[    3.652378] rk_iommu fdba8800.iommu: version = 2
[    3.652550] rk_iommu fdbac800.iommu: version = 2
[    3.652724] rk_iommu fdbb0800.iommu: version = 2
[    3.652915] rk_iommu fdbdf000.iommu: version = 2
[    3.653170] rk_iommu fdbef000.iommu: version = 2
[    3.653441] rk_iommu fdc38700.iommu: version = 2
[    3.653575] rk_iommu fdd97e00.iommu: version = 2
[    3.653858] SCSI subsystem initialized
[    3.653933] usbcore: registered new interface driver usbfs
[    3.653948] usbcore: registered new interface driver hub
[    3.653963] usbcore: registered new device driver usb
[    3.653995] mc: Linux media interface: v0.10
[    3.654007] videodev: Linux video capture interface: v2.00
[    3.654031] pps_core: LinuxPPS API ver. 1 registered
[    3.654034] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    3.654040] PTP clock support registered
[    3.654273] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled.
[    3.654303] arm-scmi firmware:scmi: SCMI Protocol v2.0 'rockchip:' Firmware version 0x0
[    3.655346] Advanced Linux Sound Architecture Driver Initialized.
[    3.656821] rockchip-cpuinfo cpuinfo: SoC		: 35880000
[    3.656827] rockchip-cpuinfo cpuinfo: Serial		: bc7e8fd390a4f9b7
[    3.657100] clocksource: Switched to clocksource arch_sys_counter
[    4.016163] VFS: Disk quotas dquot_6.6.0
[    4.016195] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    4.020903] NET: Registered protocol family 2
[    4.021006] IP idents hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    4.022790] tcp_listen_portaddr_hash hash table entries: 4096 (order: 5, 163840 bytes, linear)
[    4.022878] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    4.023192] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
[    4.023907] TCP: Hash tables configured (established 65536 bind 65536)
[    4.023959] UDP hash table entries: 4096 (order: 6, 393216 bytes, linear)
[    4.024104] UDP-Lite hash table entries: 4096 (order: 6, 393216 bytes, linear)
[    4.024301] NET: Registered protocol family 1
[    4.024599] RPC: Registered named UNIX socket transport module.
[    4.024605] RPC: Registered udp transport module.
[    4.024608] RPC: Registered tcp transport module.
[    4.024611] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    4.025017] PCI: CLS 0 bytes, default 64
[    4.025875] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    4.028343] Initialise system trusted keyrings
[    4.028435] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[    4.030878] NFS: Registering the id_resolver key type
[    4.030891] Key type id_resolver registered
[    4.030894] Key type id_legacy registered
[    4.030926] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    4.030931] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    4.030944] ntfs: driver 2.1.32 [Flags: R/W].
[    4.031351] NET: Registered protocol family 38
[    4.031358] Key type asymmetric registered
[    4.031362] Asymmetric key parser 'x509' registered
[    4.031376] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 242)
[    4.031380] io scheduler mq-deadline registered
[    4.031386] io scheduler kyber registered
[    4.038786] rockchip-hdptx-phy-hdmi fed60000.hdmiphy: hdptx phy init success
[    4.038967] rockchip-hdptx-phy-hdmi fed70000.hdmiphy: hdptx phy init success
[    4.041284] rk-pcie fe150000.pcie: invalid prsnt-gpios property in node
[    4.041359] rk-pcie fe170000.pcie: invalid prsnt-gpios property in node
[    4.041460] mpp_service mpp-srv: 
[    4.041466] mpp_service mpp-srv: probe start
[    4.043105] mpp_vepu2 jpege-ccu: probing start
[    4.043111] mpp_vepu2 jpege-ccu: probing finish
[    4.043227] mpp_vepu2 fdba0000.jpege-core: Adding to iommu group 4
[    4.043429] mpp_vepu2 fdba0000.jpege-core: probing start
[    4.043558] mpp_vepu2 fdba0000.jpege-core: attach ccu success
[    4.043674] mpp_vepu2 fdba0000.jpege-core: probing finish
[    4.043780] mpp_vepu2 fdba4000.jpege-core: Adding to iommu group 5
[    4.043917] mpp_vepu2 fdba4000.jpege-core: probing start
[    4.044016] mpp_vepu2 fdba4000.jpege-core: attach ccu success
[    4.044133] mpp_vepu2 fdba4000.jpege-core: probing finish
[    4.044220] mpp_vepu2 fdba8000.jpege-core: Adding to iommu group 6
[    4.044353] mpp_vepu2 fdba8000.jpege-core: probing start
[    4.044445] mpp_vepu2 fdba8000.jpege-core: attach ccu success
[    4.044558] mpp_vepu2 fdba8000.jpege-core: probing finish
[    4.044656] mpp_vepu2 fdbac000.jpege-core: Adding to iommu group 7
[    4.044802] mpp_vepu2 fdbac000.jpege-core: probing start
[    4.044896] mpp_vepu2 fdbac000.jpege-core: attach ccu success
[    4.045005] mpp_vepu2 fdbac000.jpege-core: probing finish
[    4.045251] mpp-iep2 fdbb0000.iep: Adding to iommu group 8
[    4.045378] mpp-iep2 fdbb0000.iep: probe device
[    4.045488] mpp-iep2 fdbb0000.iep: allocate roi buffer failed
[    4.045578] mpp-iep2 fdbb0000.iep: probing finish
[    4.045767] mpp_jpgdec fdb90000.jpegd: Adding to iommu group 3
[    4.045957] mpp_jpgdec fdb90000.jpegd: probe device
[    4.046168] mpp_jpgdec fdb90000.jpegd: probing finish
[    4.046381] mpp_rkvdec2 fdc38100.rkvdec-core: Adding to iommu group 11
[    4.046628] mpp_rkvdec2 fdc38100.rkvdec-core: rkvdec-core, probing start
[    4.046755] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_a is not found!
[    4.046760] rkvdec2_init:697: No niu aclk reset resource define
[    4.046765] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_h is not found!
[    4.046769] rkvdec2_init:700: No niu hclk reset resource define
[    4.046818] mpp_rkvdec2 fdc38100.rkvdec-core: attach ccu failed
[    4.046822] mpp_rkvdec2 fdc38100.rkvdec-core: probing finish
[    4.046982] mpp_rkvenc2 rkvenc-ccu: probing start
[    4.046990] mpp_rkvenc2 rkvenc-ccu: probing finish
[    4.047110] mpp_rkvenc2 fdbd0000.rkvenc-core: Adding to iommu group 9
[    4.047282] mpp_rkvenc2 fdbd0000.rkvenc-core: probing start
[    4.047298] mpp_rkvenc2 fdbd0000.rkvenc-core: link mode task capacity 8
[    4.047441] mpp_rkvenc2 fdbd0000.rkvenc-core: attach ccu as core 0
[    4.047563] mpp_rkvenc2 fdbd0000.rkvenc-core: probing finish
[    4.047629] mpp_rkvenc2 fdbe0000.rkvenc-core: Adding to iommu group 10
[    4.047851] mpp_rkvenc2 fdbe0000.rkvenc-core: probing start
[    4.047869] mpp_rkvenc2 fdbe0000.rkvenc-core: link mode task capacity 8
[    4.048024] mpp_rkvenc2 fdbe0000.rkvenc-core: attach ccu as core 1
[    4.048131] mpp_rkvenc2 fdbe0000.rkvenc-core: probing finish
[    4.048393] mpp_av1dec: Adding child /av1d@fdc70000
[    4.048593] mpp_av1dec: register device av1d-master
[    4.048788] mpp_av1dec av1d-master: probing start
[    4.048846] mpp_iommu_probe:405: failed to get device node
[    4.048850] mpp_av1dec av1d-master: failed to attach iommu
[    4.049002] mpp_av1dec av1d-master: probing finish
[    4.049035] mpp_service mpp-srv: probe success
[    4.056329] dma-pl330 fea10000.dma-controller: Loaded driver for PL330 DMAC-241330
[    4.056338] dma-pl330 fea10000.dma-controller: 	DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    4.057195] dma-pl330 fea30000.dma-controller: Loaded driver for PL330 DMAC-241330
[    4.057203] dma-pl330 fea30000.dma-controller: 	DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    4.057822] rk-pcie fe150000.pcie: missing legacy IRQ resource
[    4.057848] rk-pcie fe150000.pcie: IRQ msi not found
[    4.057859] rk-pcie fe150000.pcie: use outband MSI support
[    4.057870] rk-pcie fe150000.pcie: Missing *config* reg space
[    4.057898] rk-pcie fe150000.pcie: host bridge /pcie@fe150000 ranges:
[    4.057932] rk-pcie fe150000.pcie:      err 0x00f0000000..0x00f00fffff -> 0x00f0000000
[    4.057957] rk-pcie fe150000.pcie:       IO 0x00f0100000..0x00f01fffff -> 0x00f0100000
[    4.057983] rk-pcie fe150000.pcie:      MEM 0x00f0200000..0x00f0ffffff -> 0x00f0200000
[    4.058002] rk-pcie fe150000.pcie:      MEM 0x0900000000..0x093fffffff -> 0x0900000000
[    4.058025] dma-pl330 fed10000.dma-controller: Loaded driver for PL330 DMAC-241330
[    4.058033] dma-pl330 fed10000.dma-controller: 	DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    4.058048] rk-pcie fe150000.pcie: Missing *config* reg space
[    4.058088] rk-pcie fe150000.pcie: invalid resource
[    4.058435] rockchip-pvtm fda40000.pvtm: pvtm@0 probed
[    4.058494] rockchip-pvtm fda50000.pvtm: pvtm@1 probed
[    4.058551] rockchip-pvtm fda60000.pvtm: pvtm@2 probed
[    4.058603] rockchip-pvtm fdaf0000.pvtm: pvtm@3 probed
[    4.058650] rockchip-pvtm fdb30000.pvtm: pvtm@4 probed
3 Likes
[    4.059148] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[    4.059848] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    4.060236] feb50000.serial: ttyS2 at MMIO 0xfeb50000 (irq = 75, base_baud = 1500000) is a 16550A
[    4.100771] rk-pcie fe170000.pcie: missing legacy IRQ resource
[    4.100951] printk: console [ttyS2] enabled
[    4.101676] rk-pcie fe170000.pcie: IRQ msi not found
[    4.103418] random: fast init done
[    4.103528] rk-pcie fe170000.pcie: use outband MSI support
[    4.104059] rockchip-vop2 fdd90000.vop: Adding to iommu group 12
[    4.104239] random: crng init done
[    4.104794] rk-pcie fe170000.pcie: Missing *config* reg space
[    4.110025] rockchip-vop2 fdd90000.vop: [drm:vop2_bind] vp0 assign plane mask: 0x5, primary plane phy id: 2
[    4.110096] rk-pcie fe170000.pcie: host bridge /pcie@fe170000 ranges:
[    4.110439] rockchip-vop2 fdd90000.vop: [drm:vop2_bind] vp1 assign plane mask: 0xa, primary plane phy id: 3
[    4.110457] rockchip-vop2 fdd90000.vop: [drm:vop2_bind] vp2 assign plane mask: 0x140, primary plane phy id: 8
[    4.111085] rk-pcie fe170000.pcie:      err 0x00f2000000..0x00f20fffff -> 0x00f2000000
[    4.111692] rockchip-vop2 fdd90000.vop: [drm:vop2_bind] vp3 assign plane mask: 0x280, primary plane phy id: 9
[    4.112273] rk-pcie fe170000.pcie:       IO 0x00f2100000..0x00f21fffff -> 0x00f2100000
[    4.112609] rockchip-drm display-subsystem: failed to get hdmi0_phy_pll: -2
[    4.113239] rk-pcie fe170000.pcie:      MEM 0x00f2200000..0x00f2ffffff -> 0x00f2200000
[    4.113852] rockchip-drm display-subsystem: failed to get hdmi1_phy_pll: -2
[    4.114054] [drm] failed to init overlay plane Cluster0-win1
[    4.114439] rk-pcie fe170000.pcie:      MEM 0x0980000000..0x09bfffffff -> 0x0980000000
[    4.114803] [drm] failed to init overlay plane Cluster1-win1
[    4.115422] rk-pcie fe170000.pcie: Missing *config* reg space
[    4.116042] [drm] failed to init overlay plane Cluster2-win1
[    4.116624] rk-pcie fe170000.pcie: invalid resource
[    4.116960] [drm] failed to init overlay plane Cluster3-win1
[    4.241290] rockchip-drm display-subsystem: bound fdd90000.vop (ops 0xffffffc010e82dc0)
[    4.242764] dwhdmi-rockchip fde80000.hdmi: registered ddc I2C bus driver
[    4.243523] rockchip-drm display-subsystem: bound fde80000.hdmi (ops 0xffffffc010e8ab20)
[    4.244923] dwhdmi-rockchip fdea0000.hdmi: registered ddc I2C bus driver
[    4.245660] rockchip-drm display-subsystem: bound fdea0000.hdmi (ops 0xffffffc010e8ab20)
[    4.246880] rockchip-drm display-subsystem: failed to parse loader memory
[    4.247538] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    4.248238] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    4.248890] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    4.249918] [drm] Initialized rockchip 3.0.0 20140818 for display-subsystem on minor 0
[    4.256726] brd: module loaded
[    4.259896] loop: module loaded
[    4.260342] zram: Added device: zram0
[    4.260819] lkdtm: No crash points registered, enable through debugfs
[    4.261535] system_heap: orders[0] = 6
[    4.261864] system_heap: orders[1] = 4
[    4.262191] system_heap: orders[2] = 0
[    4.264414] rockchip-spi feb20000.spi: no high_speed pinctrl state
[    4.264921] rk-pcie fe150000.pcie: PCIe Linking... LTSSM is 0x0
[    4.266357] rk806 spi2.0: chip id: RK806,ver:0x2, 0x0
[    4.266939] rk806 spi2.0: ON: 0x40 OFF:0x0
[    4.269435] vdd_gpu_s0: supplied by vcc5v0_sys
[    4.270906] vdd_cpu_lit_s0: supplied by vcc5v0_sys
[    4.271982] vdd_log_s0: supplied by vcc5v0_sys
[    4.273062] vdd_vdenc_s0: supplied by vcc5v0_sys
[    4.274266] vdd_ddr_s0: supplied by vcc5v0_sys
[    4.275090] vdd2_ddr_s3: supplied by vcc5v0_sys
[    4.276115] vdd_2v0_pldo_s3: supplied by vcc5v0_sys
[    4.277116] vcc_3v3_s3: supplied by vcc5v0_sys
[    4.278061] vddq_ddr_s0: supplied by vcc5v0_sys
[    4.279087] vcc_1v8_s3: supplied by vcc5v0_sys
[    4.280112] vdd_0v75_s3: supplied by vcc_1v1_nldo_s3
[    4.281210] vdd_ddr_pll_s0: supplied by vcc_1v1_nldo_s3
[    4.282228] avdd_0v75_s0: supplied by vcc_1v1_nldo_s3
[    4.283232] vdd_0v85_s0: supplied by vcc_1v1_nldo_s3
[    4.284240] vdd_0v75_s0: supplied by vcc_1v1_nldo_s3
[    4.285269] avcc_1v8_s0: supplied by vdd_2v0_pldo_s3
[    4.286351] vcc_1v8_s0: supplied by vdd_2v0_pldo_s3
[    4.287384] avdd_1v2_s0: supplied by vdd_2v0_pldo_s3
[    4.288508] vcc_3v3_s0: supplied by vcc5v0_sys
[    4.289419] vccio_sd_s0: supplied by vcc5v0_sys
[    4.290358] pldo6_s3: supplied by vcc5v0_sys
[    4.291237] rk806 spi2.0: no sleep-setting state
[    4.291644] rk806 spi2.0: no reset-setting pinctrl state
[    4.292109] rk806 spi2.0: no dvs-setting pinctrl state
[    4.293802] rk-pcie fe150000.pcie: PCIe Linking... LTSSM is 0x0
[    4.295155] libphy: Fixed MDIO Bus: probed
[    4.296432] usbcore: registered new interface driver rndis_wlan
[    4.296964] usbcore: registered new interface driver asix
[    4.297464] usbcore: registered new interface driver cdc_ether
[    4.297983] usbcore: registered new interface driver rndis_host
[    4.298517] usbcore: registered new interface driver cdc_ncm
[    4.312556] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.313132] ehci-pci: EHCI PCI platform driver
[    4.313543] ehci-platform: EHCI generic platform driver
[    4.316410] ehci-platform fc800000.usb: EHCI Host Controller
[    4.316913] ehci-platform fc800000.usb: new USB bus registered, assigned bus number 1
[    4.317660] ehci-platform fc800000.usb: irq 19, io mem 0xfc800000
[    4.320489] rk-pcie fe150000.pcie: PCIe Linking... LTSSM is 0x0
[    4.324925] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3
[    4.330443] ehci-platform fc800000.usb: USB 2.0 started, EHCI 1.00
[    4.331069] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    4.331790] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.332420] usb usb1: Product: EHCI Host Controller
[    4.332846] usb usb1: Manufacturer: Linux 5.10.66 ehci_hcd
[    4.333325] usb usb1: SerialNumber: fc800000.usb
[    4.333941] hub 1-0:1.0: USB hub found
[    4.334281] hub 1-0:1.0: 1 port detected
[    4.337143] ehci-platform fc880000.usb: EHCI Host Controller
[    4.337645] ehci-platform fc880000.usb: new USB bus registered, assigned bus number 2
[    4.338373] ehci-platform fc880000.usb: irq 21, io mem 0xfc880000
[    4.347132] rk-pcie fe150000.pcie: PCIe Linking... LTSSM is 0x0
[    4.350444] ehci-platform fc880000.usb: USB 2.0 started, EHCI 1.00
[    4.350465] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3
[    4.351065] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    4.352220] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.352849] usb usb2: Product: EHCI Host Controller
[    4.353276] usb usb2: Manufacturer: Linux 5.10.66 ehci_hcd
[    4.353755] usb usb2: SerialNumber: fc880000.usb
[    4.354340] hub 2-0:1.0: USB hub found
[    4.354679] hub 2-0:1.0: 1 port detected
[    4.355331] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.355876] ohci-platform: OHCI generic platform driver
[    4.356468] ohci-platform fc840000.usb: Generic Platform OHCI controller
[    4.357058] ohci-platform fc840000.usb: new USB bus registered, assigned bus number 3
[    4.357796] ohci-platform fc840000.usb: irq 20, io mem 0xfc840000
[    4.373798] rk-pcie fe150000.pcie: PCIe Linking... LTSSM is 0x0
[    4.377132] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3
[    4.400469] rk-pcie fe150000.pcie: PCIe Linking... LTSSM is 0x0
[    4.403797] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3
[    4.417855] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    4.418576] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.419205] usb usb3: Product: Generic Platform OHCI controller
[    4.419722] usb usb3: Manufacturer: Linux 5.10.66 ohci_hcd
[    4.420200] usb usb3: SerialNumber: fc840000.usb
[    4.420787] hub 3-0:1.0: USB hub found
[    4.421128] hub 3-0:1.0: 1 port detected
[    4.421719] ohci-platform fc8c0000.usb: Generic Platform OHCI controller
[    4.422310] ohci-platform fc8c0000.usb: new USB bus registered, assigned bus number 4
[    4.423037] ohci-platform fc8c0000.usb: irq 22, io mem 0xfc8c0000
[    4.481181] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    4.481902] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.482531] usb usb4: Product: Generic Platform OHCI controller
[    4.483047] usb usb4: Manufacturer: Linux 5.10.66 ohci_hcd
[    4.483526] usb usb4: SerialNumber: fc8c0000.usb
[    4.484118] hub 4-0:1.0: USB hub found
[    4.484459] hub 4-0:1.0: 1 port detected
[    4.485308] xhci-hcd xhci-hcd.9.auto: xHCI Host Controller
[    4.485794] xhci-hcd xhci-hcd.9.auto: new USB bus registered, assigned bus number 5
[    4.486530] xhci-hcd xhci-hcd.9.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    4.487377] xhci-hcd xhci-hcd.9.auto: irq 117, io mem 0xfcd00000
[    4.488025] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    4.488745] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.489375] usb usb5: Product: xHCI Host Controller
[    4.489801] usb usb5: Manufacturer: Linux 5.10.66 xhci-hcd
[    4.490280] usb usb5: SerialNumber: xhci-hcd.9.auto
[    4.490890] hub 5-0:1.0: USB hub found
[    4.491232] hub 5-0:1.0: 1 port detected
[    4.491701] xhci-hcd xhci-hcd.9.auto: xHCI Host Controller
[    4.492185] xhci-hcd xhci-hcd.9.auto: new USB bus registered, assigned bus number 6
[    4.492855] xhci-hcd xhci-hcd.9.auto: Host supports USB 3.0 SuperSpeed
[    4.493448] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.494213] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[    4.494934] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.495564] usb usb6: Product: xHCI Host Controller
[    4.495991] usb usb6: Manufacturer: Linux 5.10.66 xhci-hcd
[    4.496470] usb usb6: SerialNumber: xhci-hcd.9.auto
[    4.497072] hub 6-0:1.0: USB hub found
[    4.497421] hub 6-0:1.0: 1 port detected
[    4.497968] phy phy-fd5d4000.syscon:usb2-phy@4000.3: illegal mode
[    4.498503] xhci-hcd xhci-hcd.10.auto: xHCI Host Controller
[    4.498994] xhci-hcd xhci-hcd.10.auto: new USB bus registered, assigned bus number 7
[    4.499748] xhci-hcd xhci-hcd.10.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    4.500598] xhci-hcd xhci-hcd.10.auto: irq 118, io mem 0xfc400000
[    4.501258] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    4.501978] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.502608] usb usb7: Product: xHCI Host Controller
[    4.503034] usb usb7: Manufacturer: Linux 5.10.66 xhci-hcd
[    4.503513] usb usb7: SerialNumber: xhci-hcd.10.auto
[    4.504124] hub 7-0:1.0: USB hub found
[    4.504463] hub 7-0:1.0: 1 port detected
[    4.504929] xhci-hcd xhci-hcd.10.auto: xHCI Host Controller
[    4.505420] xhci-hcd xhci-hcd.10.auto: new USB bus registered, assigned bus number 8
[    4.506097] xhci-hcd xhci-hcd.10.auto: Host supports USB 3.0 SuperSpeed
[    4.506706] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.507461] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[    4.508181] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.508810] usb usb8: Product: xHCI Host Controller
[    4.509237] usb usb8: Manufacturer: Linux 5.10.66 xhci-hcd
[    4.509716] usb usb8: SerialNumber: xhci-hcd.10.auto
[    4.510317] hub 8-0:1.0: USB hub found
[    4.510664] hub 8-0:1.0: 1 port detected
[    4.511190] usbcore: registered new interface driver cdc_acm
[    4.511684] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    4.512472] usbcore: registered new interface driver uas
[    4.512993] usbcore: registered new interface driver usb-storage
[    4.513910] usbcore: registered new interface driver usbtouchscreen
[    4.515559] input: rk805 pwrkey as /devices/platform/feb20000.spi/spi_master/spi2/spi2.0/rk805-pwrkey.7.auto/input/input0
[    4.516738] i2c /dev entries driver
[    4.520572] vdd_cpu_big0_s0: supplied by vcc5v0_sys
[    4.529546] vdd_cpu_big1_s0: supplied by vcc5v0_sys
[    4.538962] vdd_npu_s0: supplied by vcc5v0_sys
[    4.558583] rtc-hym8563 6-0051: rtc information is valid
[    4.564319] rtc-hym8563 6-0051: registered as rtc0
[    4.565741] rtc-hym8563 6-0051: setting system clock to 2021-01-01T12:27:43 UTC (1609504063)
[    4.571135] rk_hdmirx fdee0000.hdmirx-controller: No reserved memory for HDMIRX, use default CMA
[    4.571921] rk_hdmirx fdee0000.hdmirx-controller: hdmirx_probe: cpu_aff:0x400, Bound_cpu:4, wdt_cfg_bound_cpu:5
[    4.573282] rk_hdmirx fdee0000.hdmirx-controller: hdmirx_audio_interrupts_setup: 0
[    4.574772] rk_hdmirx fdee0000.hdmirx-controller: rk_hdmirx_hdcp_register success
[    4.575443] rk_hdmirx fdee0000.hdmirx-controller: fdee0000.hdmirx-controller driver probe ok!
[    4.576277] usbcore: registered new interface driver uvcvideo
[    4.576778] USB Video Class driver (1.1.1)
[    4.578202] rockchip-thermal fec00000.tsadc: Missing rockchip,grf property
[    4.579304] rockchip-thermal fec00000.tsadc: tsadc is probed successfully!
[    4.580467] cpu cpu0: leakage=13
[    4.582245] cpu cpu0: pvtm=1501
[    4.582612] cpu cpu0: pvtm-volt-sel=4
[    4.583430] cpu cpu4: leakage=10
[    4.583800] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    4.590226] cpu cpu4: pvtm=1761
[    4.594444] cpu cpu4: pvtm-volt-sel=6
[    4.596002] cpu cpu6: leakage=10
[    4.602801] cpu cpu6: pvtm=1762
[    4.607032] cpu cpu6: pvtm-volt-sel=6
[    4.608947] cpu cpu0: avs=0
[    4.609850] cpu cpu4: avs=0
[    4.610762] cpu cpu6: avs=0
[    4.611231] cpu cpu0: EM: created perf domain
[    4.611661] cpu cpu0: l=10000 h=85000 hyst=5000 l_limit=0 h_limit=1608000000 h_table=0
[    4.613114] cpu cpu4: EM: created perf domain
[    4.613539] cpu cpu4: l=10000 h=85000 hyst=5000 l_limit=0 h_limit=2208000000 h_table=0
[    4.622803] cpu cpu6: EM: created perf domain
[    4.623686] cpu cpu6: l=10000 h=85000 hyst=5000 l_limit=0 h_limit=2208000000 h_table=0
[    4.638292] sdhci: Secure Digital Host Controller Interface driver
[    4.638832] sdhci: Copyright(c) Pierre Ossman
[    4.639213] Synopsys Designware Multimedia Card Interface Driver
[    4.640020] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.641102] dwmmc_rockchip fe2c0000.mmc: IDMAC supports 32-bit address mode.
[    4.641776] dwmmc_rockchip fe2c0000.mmc: Using internal DMA controller.
[    4.642374] dwmmc_rockchip fe2c0000.mmc: Version ID is 270a
[    4.642911] dwmmc_rockchip fe2c0000.mmc: DW MMC controller at irq 64,32 bit host data width,256 deep fifo
[    4.644802] ledtrig-cpu: registered to indicate activity on CPUs
[    4.645369] arm-scmi firmware:scmi: Failed. SCMI protocol 17 not active.
[    4.645980] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    4.646946] cryptodev: driver 1.12 loaded.
[    4.647341] hid: raw HID events driver (C) Jiri Kosina
[    4.647880] usbcore: registered new interface driver usbhid
[    4.648366] usbhid: USB HID core driver
[    4.650910] optee: probing for conduit method.
[    4.651304] optee: api uid mismatch
[    4.651614] optee: probe of firmware:optee failed with error -22
[    4.652428] usbcore: registered new interface driver snd-usb-audio
[    4.657600] input: rockchip-hdmi0 rockchip-hdmi0 as /devices/platform/hdmi0-sound/sound/card0/input1
[    4.659263] input: rockchip-hdmi1 rockchip-hdmi1 as /devices/platform/hdmi1-sound/sound/card1/input2
[    4.660587] Initializing XFRM netlink socket
[    4.660968] NET: Registered protocol family 17
[    4.661378] [BT_RFKILL]: Enter rfkill_rk_init
[    4.661758] [WLAN_RFKILL]: Enter rfkill_wlan_init
[    4.662337] Key type dns_resolver registered
[    4.663215] registered taskstats version 1
[    4.663575] Loading compiled-in X.509 certificates
[    4.664102] pstore: Using crash dump compression: deflate
[    4.664615] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    4.664689] rga3_core0 fdb60000.rga: Adding to iommu group 1
[    4.666039] rga: rga3_core0_irq, irq = 30, match scheduler
[    4.666656] rga: rga3_core0 driver loaded successfully ver:3.0.76831
[    4.667231] rga: rga3_core0 probe successfully
[    4.667786] rga3_core1 fdb70000.rga: Adding to iommu group 2
[    4.668381] rga: rga3_core1_irq, irq = 31, match scheduler
[    4.669030] rga: rga3_core1 driver loaded successfully ver:3.0.76831
[    4.669590] rga: rga3_core1 probe successfully
[    4.670147] rga: rga2_irq, irq = 32, match scheduler
[    4.670756] rga: rga2 driver loaded successfully ver:3.2.63318
[    4.671267] rga: rga2 probe successfully
[    4.671762] rga: Module initialized. v1.2.14
[    4.673849] mmc0: SDHCI controller on fe2e0000.mmc [fe2e0000.mmc] using ADMA
[    4.694012] mali fb000000.gpu: Kernel DDK version g12p0-01eac0
[    4.694082] vcc3v3_pcie2x1l2: supplied by vcc_3v3_s3
[    4.697674] mali fb000000.gpu: leakage=20
[    4.697947] mpp_rkvdec2 fdc38100.rkvdec-core: rkvdec-core, probing start
[    4.698842] mpp_rkvdec2 fdc38100.rkvdec-core: Unbalanced pm_runtime_enable!
[    4.699674] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_a is not found!
[    4.700112] mali fb000000.gpu: pvtm=878
[    4.700264] rkvdec2_init:697: No niu aclk reset resource define
[    4.701158] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_h is not found!
[    4.701751] rkvdec2_init:700: No niu hclk reset resource define
[    4.702376] mpp_rkvdec2 fdc38100.rkvdec-core: attach ccu failed
[    4.702922] mpp_rkvdec2 fdc38100.rkvdec-core: probing finish
[    4.703053] mali fb000000.gpu: pvtm-volt-sel=3
[    4.704245] mali fb000000.gpu: avs=0
[    4.705330] W : [File] : drivers/gpu/arm/bifrost/platform/rk/mali_kbase_config_rk.c; [Line] : 136; [Func] : kbase_platform_rk_init(); power-off-delay-ms not available.
[    4.709127] mali fb000000.gpu: GPU hardware issue table may need updating:
[    4.709127] r0p0 status 5 is unknown; treating as r0p0 status 0
[    4.710247] mali fb000000.gpu: GPU identified as 0x7 arch 10.8.6 r0p0 status 0
[    4.710983] mali fb000000.gpu: No priority control manager is configured
[    4.711569] mali fb000000.gpu: No memory group manager is configured
[    4.712134] mali fb000000.gpu: Protected memory allocator not available
[    4.713585] mali fb000000.gpu: Couldn't find power_model DT node matching 'arm,mali-simple-power-model'
[    4.714417] mali fb000000.gpu: Error -22, no DT entry: mali-simple-power-model.static-coefficient = 1*[0]
[    4.715451] mali fb000000.gpu: Error -22, no DT entry: mali-simple-power-model.dynamic-coefficient = 1*[0]
[    4.716451] mali fb000000.gpu: Error -22, no DT entry: mali-simple-power-model.ts = 4*[0]
[    4.717347] mali fb000000.gpu: Error -22, no DT entry: mali-simple-power-model.thermal-zone = ''
[    4.720369] mali fb000000.gpu: Using configured power model mali-lodx-power-model, and fallback mali-simple-power-model
[    4.721477] mali fb000000.gpu: l=10000 h=85000 hyst=5000 l_limit=0 h_limit=800000000 h_table=0
[    4.722929] mali fb000000.gpu: Probed as mali0
[    4.730426] mmc_host mmc2: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
[    4.732426] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11
[    4.733147] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    4.733789] usb 1-1: Product: USB 2.0 Hub
[    4.734918] hub 1-1:1.0: USB hub found
[    4.735414] hub 1-1:1.0: 4 ports detected
[    4.754426] dwmmc_rockchip fe2c0000.mmc: Successfully tuned phase to 145
[    4.755077] mmc2: new ultra high speed SDR104 SDHC card at address 59b4
[    4.756660] mmcblk2: mmc2:59b4 5WCGO 14.9 GiB 
[    4.764391] GPT:Primary header thinks Alt. header is not at the end of the disk.
[    4.765075] GPT:774183 != 31291391
[    4.765381] GPT:Alternate GPT header not at the end of the disk.
[    4.765912] GPT:774183 != 31291391
[    4.766216] GPT: Use GNU Parted to correct GPT errors.
[    4.766708]  mmcblk2: p1 p2
[    4.844627] debugfs: File 'Left Hp mixer' in directory 'dapm' already present!
[    4.845304] debugfs: File 'Right Hp mixer' in directory 'dapm' already present!
[    4.846035] debugfs: File 'HPCP L' in directory 'dapm' already present!
[    4.846645] debugfs: File 'HPCP R' in directory 'dapm' already present!
[    4.847338] debugfs: File 'HPVOL L' in directory 'dapm' already present!
[    4.847957] debugfs: File 'HPVOL R' in directory 'dapm' already present!
[    4.856664] rk-pcie fe190000.pcie: invalid prsnt-gpios property in node
[    4.860938] rockchip_headset rk-headset: Can not read property hook_gpio
[    4.861594] rockchip_headset rk-headset: headset have hook adc mode
[    4.862403] input: rk-headset as /devices/platform/rk-headset/input/input3
[    4.862459] rk-pcie fe190000.pcie: missing legacy IRQ resource
[    4.863545] rk-pcie fe190000.pcie: IRQ msi not found
[    4.864027] rk-pcie fe190000.pcie: use outband MSI support
[    4.864440] RKNPU fdab0000.npu: Adding to iommu group 0
[    4.864522] rk-pcie fe190000.pcie: Missing *config* reg space
[    4.865149] RKNPU fdab0000.npu: RKNPU: rknpu iommu is enabled, using iommu mode
[    4.865532] rk-pcie fe190000.pcie: host bridge /pcie@fe190000 ranges:
[    4.866713] rk-pcie fe190000.pcie:      err 0x00f4000000..0x00f40fffff -> 0x00f4000000
[    4.867452] rk-pcie fe190000.pcie:       IO 0x00f4100000..0x00f41fffff -> 0x00f4100000
[    4.868169] rk-pcie fe190000.pcie:      MEM 0x00f4200000..0x00f4ffffff -> 0x00f4200000
[    4.868876] rk-pcie fe190000.pcie:      MEM 0x0a00000000..0x0a3fffffff -> 0x0a00000000
[    4.869620] rk-pcie fe190000.pcie: Missing *config* reg space
[    4.870167] rk-pcie fe190000.pcie: invalid resource
[    4.878106] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdab0000-0xfdabffff]
[    4.878872] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdac0000-0xfdacffff]
[    4.879627] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdad0000-0xfdadffff]
[    4.881359] [drm] Initialized rknpu 0.7.2 20220428 for fdab0000.npu on minor 1
[    4.895159] RKNPU fdab0000.npu: leakage=11
[    4.903554] RKNPU fdab0000.npu: pvtm=887
[    4.908966] RKNPU fdab0000.npu: pvtm-volt-sel=4
[    4.910851] RKNPU fdab0000.npu: avs=0
[    4.911485] RKNPU fdab0000.npu: l=10000 h=85000 hyst=5000 l_limit=0 h_limit=800000000 h_table=0
[    4.921815] RKNPU fdab0000.npu: failed to find power_model node
[    4.922355] RKNPU fdab0000.npu: RKNPU: failed to initialize power model
[    4.922945] RKNPU fdab0000.npu: RKNPU: failed to get dynamic-coefficient
[    4.925472] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    4.928568] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    4.930011] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    4.930807] cfg80211: failed to load regulatory.db
[    4.933450] I : [File] : drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux.c; [Line] : 405; [Func] : mali_module_init(); svn_rev_string_from_arm of this mali_ko is '', rk_ko_ver is '5', built at '14:36:44', on 'Jul 11 2022'.
[    4.935679] Mali: 
[    4.935683] Mali device driver loaded
[    4.936192] ALSA device list:
[    4.936457]   #0: rockchip-hdmi0
[    4.936743]   #1: rockchip-hdmi1
[    4.937030]   #2: rockchip-es8316
[    4.937363]   #3: rockchip,hdmiin
[    4.937804] dw-apb-uart feb50000.serial: forbid DMA for kernel console
[    4.952512] EXT4-fs (mmcblk2p2): mounted filesystem with ordered data mode. Opts: (null)
[    4.953248] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    4.954997] devtmpfs: mounted
[    4.958282] Freeing unused kernel memory: 5952K
[    4.987466] Run /sbin/init as init process
[    5.030027] EXT4-fs (mmcblk2p2): re-mounted. Opts: (null)
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Saving random seed: OK
Starting network: [    5.134033] rk-pcie fe190000.pcie: PCIe Link up, LTSSM is 0x130011
[    5.134898] rk-pcie fe190000.pcie: PCI host bridge to bus 0004:40
[    5.135443] pci_bus 0004:40: root bus resource [bus 40-4f]
[    5.135930] pci_bus 0004:40: root bus resource [??? 0xf4000000-0xf40fffff flags 0x0]
[    5.136611] pci_bus 0004:40: root bus resource [io  0x200000-0x2fffff] (bus address [0xf4100000-0xf41fffff])
[    5.137510] pci_bus 0004:40: root bus resource [mem 0xf4200000-0xf4ffffff]
[    5.138117] pci_bus 0004:40: root bus resource [mem 0xa00000000-0xa3fffffff pref]
[    5.138808] pci 0004:40:00.0: [1d87:3588] type 01 class 0x060400
[    5.139355] pci 0004:40:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[    5.140003] pci 0004:40:00.0: supports D1 D2
[    5.140382] pci 0004:40:00.0: PME# supported from D0 D1 D3hot
[    5.153530] pci 0004:40:00.0: Primary bus is hard wired to 0
[    5.154080] pci 0004:40:00.0: bridge configuration invalid ([bus 01-ff]), reconfiguring
[    5.155090] pci 0004:41:00.0: [10ec:8125] type 00 class 0x020000
[    5.155679] pci 0004:41:00.0: reg 0x10: [io  0x0000-0x00ff]
[    5.156238] pci 0004:41:00.0: reg 0x18: [mem 0x00000000-0x0000ffff 64bit]
[    5.156712] NET: Registered protocol family 10
[    5.156877] pci 0004:41:00.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit]
[    5.158178] Segment Routing with IPv6
[    5.158249] pci 0004:41:00.0: supports D1 D2
[    5.158884] pci 0004:41:00.0: PME# supported from D0 D1 D2 D3hot D3cold
Waiting for interface eth0 to appear[    5.174949] pci_bus 0004:41: busn_res: [bus 41-4f] end is updated to 41
[    5.175556] pci 0004:40:00.0: BAR 8: assigned [mem 0xf4200000-0xf42fffff]
[    5.176153] pci 0004:40:00.0: BAR 6: assigned [mem 0xf4300000-0xf430ffff pref]
[    5.176785] pci 0004:40:00.0: BAR 7: assigned [io  0x200000-0x200fff]
[    5.177389] pci 0004:41:00.0: BAR 2: assigned [mem 0xf4200000-0xf420ffff 64bit]
[    5.178060] pci 0004:41:00.0: BAR 4: assigned [mem 0xf4210000-0xf4213fff 64bit]
[    5.178726] pci 0004:41:00.0: BAR 0: assigned [io  0x200000-0x2000ff]
[    5.179298] pci 0004:40:00.0: PCI bridge to [bus 41]
[    5.179734] pci 0004:40:00.0:   bridge window [io  0x200000-0x200fff]
[    5.180299] pci 0004:40:00.0:   bridge window [mem 0xf4200000-0xf42fffff]
[    5.182792] pcieport 0004:40:00.0: PME: Signaling with IRQ 132
.[    6.611806] rk_hdmirx fdee0000.hdmirx-controller: hdmirx_cancel_cpu_limit_freq freq qos nod add
[    6.940697] rk-pcie fe150000.pcie: PCIe Link Fail
[    6.941155] rk-pcie fe150000.pcie: failed to initialize host
[    7.000612] rk-pcie fe170000.pcie: PCIe Link Fail
[    7.001048] rk-pcie fe170000.pcie: failed to initialize host
.[    7.754150] vendor storage:20190527 ret = -1
............. timeout!
run-parts: /etc/network/if-pre-up.d/wait_iface: exit status 1
FAIL
Starting ntpd: OK
ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 
Starting sshd: OK

Welcome to the rock5b board

rock5b login: root
# ifconfig -a
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:202 errors:0 dropped:0 overruns:0 frame:0
          TX packets:202 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:15778 (15.4 KiB)  TX bytes:15778 (15.4 KiB)

# [   35.614246] vcc3v3_pcie2x1l0: disabling
[   35.614629] vcc3v3_pcie30: disabling

Can you please provide the output of the following?

dmesg | grep 'cpu cpu' | egrep 'pvtm|hyst'
# dmesg | grep 'cpu cpu' | egrep 'pvtm|hyst'
[    4.582245] cpu cpu0: pvtm=1501
[    4.582612] cpu cpu0: pvtm-volt-sel=4
[    4.590226] cpu cpu4: pvtm=1761
[    4.594444] cpu cpu4: pvtm-volt-sel=6
[    4.602801] cpu cpu6: pvtm=1762
[    4.607032] cpu cpu6: pvtm-volt-sel=6
[    4.611661] cpu cpu0: l=10000 h=85000 hyst=5000 l_limit=0 h_limit=1608000000 h_table=0
[    4.613539] cpu cpu4: l=10000 h=85000 hyst=5000 l_limit=0 h_limit=2208000000 h_table=0
[    4.623686] cpu cpu6: l=10000 h=85000 hyst=5000 l_limit=0 h_limit=2208000000 h_table=0
1 Like