Jump to content

NanoPi R5S Armbian Image


Peter Scargill

Recommended Posts

ubuntu focal from vendor:

 

base system:

root@FriendlyELEC:~# ./inxi -F
System:
  Host: FriendlyELEC Kernel: 5.10.66 arch: aarch64 bits: 64 Console: pty pts/0
    Distro: Ubuntu 20.04.1 LTS (Focal Fossa)
Machine:
  Type: ARM System: FriendlyElec NanoPi R5S details: N/A serial: fbaa4320f846b9b1
Battery:
  ID-1: test_battery charge: 100% condition: N/A
CPU:
  Info: quad core model: N/A variant: cortex-a55 bits: 64 type: MCP
  Speed (MHz): avg: 408 min/max: 408/1992 cores: 1: 408 2: 408 3: 408 4: 408
Graphics:
  Device-1: display-subsystem driver: rockchip_drm v: N/A
  Device-2: mali-bifrost driver: mali v: N/A
  Device-3: rk3568-dw-hdmi driver: dwhdmi_rockchip v: N/A
  Display: server: X.org v: 1.20.8 driver: N/A note:  X driver n/a tty: 255x54
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: rk3568-dw-hdmi driver: dwhdmi_rockchip
  Device-2: simple-audio-card driver: asoc_simple_card
  Device-3: simple-audio-card driver: N/A
  Device-4: simple-audio-card driver: asoc_simple_card
  Sound Server-1: ALSA v: k5.10.66 running: yes
Network:
  Device-1: Realtek RTL8125 2.5GbE driver: r8125
  IF: eth1 state: down mac: 52:21:96:d1:s2:59
  Device-2: Realtek RTL8125 2.5GbE driver: r8125
  IF: eth1 state: down mac: 52:21:96:f5:c1:59
  Device-3: rk3568-gmac driver: rk_gmac_dwmac
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: 4e:27:96:d1:c1:59
  Device-4: Realtek 802.11ac NIC type: USB driver: N/A
  IF-ID-1: eth2 state: down mac: d6:66:ff:20:da:50
Drives:
  Local Storage: total: 938.79 GiB used: 0 KiB (0.0%)
  ID-1: /dev/mmcblk2 model: 8GTF4R size: 7.28 GiB
  ID-2: /dev/nvme0n1 vendor: Crucial model: CT1000P2SSD8 size: 931.51 GiB
Partition:
  Message: No partition data found.
Swap:
  Alert: No swap data was found.
Sensors:
  Missing: Required tool sensors not installed. Check --recommends
Info:
  Processes: 135 Uptime: 36m Memory: 1.91 GiB used: 386.6 MiB (19.7%) Init: systemd Shell: Bash
  inxi: 3.3.19

partition:

root@FriendlyELEC:~# parted /dev/mmcblk2  print
Model: MMC 8GTF4R (sd/mmc)
Disk /dev/mmcblk2: 7818MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name      Flags
 1      8389kB  12.6MB  4194kB               uboot
 2      12.6MB  16.8MB  4194kB               misc
 3      16.8MB  21.0MB  4194kB               dtbo
 4      21.0MB  37.7MB  16.8MB               resource
 5      37.7MB  79.7MB  41.9MB               kernel
 6      79.7MB  113MB   33.6MB               boot
 7      113MB   147MB   33.6MB               recovery
 8      147MB   2487MB  2340MB  ext4         rootfs
 9      2487MB  7818MB  5331MB  ext4         userdata

 

dmesg:

Spoiler
[    1.982612] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
[    1.982635] Linux version 5.10.66 (root@jensen) (aarch64-linux-gcc (ctng-1.24.0-345g-FA) 11.1.0, GNU ld (ctng-1.24.0-345g-FA) 2.36.1) #295 SMP Mon Jun 13 15:21:04 CST 2022
[    1.988193] Machine model: FriendlyElec NanoPi R5S
[    2.014526] earlycon: uart8250 at MMIO32 0x00000000fe660000 (options '')
[    2.017606] printk: bootconsole [uart8250] enabled
[    2.019726] Reserved memory: created CMA memory pool at 0x0000000010000000, size 8 MiB
[    2.020467] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    2.056071] Zone ranges:
[    2.056321]   DMA      [mem 0x0000000000200000-0x000000007fffffff]
[    2.056902]   DMA32    empty
[    2.057173]   Normal   empty
[    2.057443] Movable zone start for each node
[    2.057841] Early memory node ranges
[    2.058176]   node   0: [mem 0x0000000000200000-0x00000000083fffff]
[    2.058760]   node   0: [mem 0x0000000009400000-0x000000007fffffff]
[    2.059347] Initmem setup node 0 [mem 0x0000000000200000-0x000000007fffffff]
[    2.060004] On node 0 totalpages: 519680
[    2.060009]   DMA zone: 8184 pages used for memmap
[    2.060012]   DMA zone: 0 pages reserved
[    2.060016]   DMA zone: 519680 pages, LIFO batch:63
[    2.069014] psci: probing for conduit method from DT.
[    2.069496] psci: PSCIv1.1 detected in firmware.
[    2.069926] psci: Using standard PSCI v0.2 function IDs
[    2.070416] psci: Trusted OS migration not required
[    2.070872] psci: SMC Calling Convention v1.2
[    2.071644] percpu: Embedded 32 pages/cpu s90984 r8192 d31896 u131072
[    2.072274] pcpu-alloc: s90984 r8192 d31896 u131072 alloc=32*4096
[    2.072281] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    2.072369] Detected VIPT I-cache on CPU0
[    2.072784] CPU features: detected: GIC system register CPU interface
[    2.073384] CPU features: detected: Virtualization Host Extensions
[    2.073964] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    2.074628] alternatives: patching kernel code
[    2.076607] Built 1 zonelists, mobility grouping on.  Total pages: 511496
[    2.077246] Kernel command line: storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal androidboot.dtbo_idx=0 androidboot.verifiedbootstate=orange earlycon=uart8250,mmio32,0xfe660000 console=ttyFIQ0 coherent_pool=1m rw root=/dev/mmcblk2p8 rootfstype=ext4 data=/dev/mmcblk2p9 consoleblank=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[    2.081047] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    2.081973] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    2.082696] mem auto-init: stack:off, heap alloc:off, heap free:off
[    2.107860] Memory: 1980676K/2078720K available (17534K kernel code, 3234K rwdata, 5916K rodata, 8896K init, 878K bss, 89852K reserved, 8192K cma-reserved)
[    2.109280] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    2.109922] ftrace: allocating 54469 entries in 213 pages
[    2.188810] ftrace: allocated 213 pages with 5 groups
[    2.189614] rcu: Hierarchical RCU implementation.
[    2.190052] rcu: 	RCU event tracing is enabled.
[    2.190470] 	Rude variant of Tasks RCU enabled.
[    2.190886] 	Tracing variant of Tasks RCU enabled.
[    2.191326] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
[    2.194939] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    2.196948] GICv3: GIC: Using split EOI/Deactivate mode
[    2.197441] GICv3: 320 SPIs implemented
[    2.197794] GICv3: 0 Extended SPIs implemented
[    2.198237] GICv3: Distributor has no Range Selector support
[    2.198764] GICv3: 16 PPIs implemented
[    2.199145] GICv3: CPU0: found redistributor 0 region 0:0x00000000fd460000
[    2.199887] ITS [mem 0xfd440000-0xfd45ffff]
[    2.200329] ITS@0x00000000fd440000: allocated 8192 Devices @29a0000 (indirect, esz 8, psz 64K, shr 0)
[    2.201199] ITS@0x00000000fd440000: allocated 32768 Interrupt Collections @29b0000 (flat, esz 2, psz 64K, shr 0)
[    2.202133] ITS: using cache flushing for cmd queue
[    2.202936] GICv3: using LPI property table @0x00000000029c0000
[    2.203575] GIC: using cache flushing for LPI property table
[    2.204099] GICv3: CPU0: using allocated LPI pending table @0x00000000029d0000
[    2.204919] random: get_random_bytes called from start_kernel+0x3f4/0x5e0 with crng_init=0
[    2.230957] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    2.232281] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    2.233274] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    2.234993] Console: colour dummy device 80x25
[    2.235441] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[    2.236385] pid_max: default: 32768 minimum: 301
[    2.236915] LSM: Security Framework initializing
[    2.237403] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    2.238089] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    2.240458] rcu: Hierarchical SRCU implementation.
[    2.241549] Platform MSI: interrupt-controller@fd440000 domain created
[    2.242575] PCI/MSI: /interrupt-controller@fd400000/interrupt-controller@fd440000 domain created
[    2.244103] smp: Bringing up secondary CPUs ...
[    2.245779] Detected VIPT I-cache on CPU1
[    2.245809] GICv3: CPU1: found redistributor 100 region 0:0x00000000fd480000
[    2.245829] GICv3: CPU1: using allocated LPI pending table @0x00000000029e0000
[    2.245882] CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
[    2.247186] Detected VIPT I-cache on CPU2
[    2.247209] GICv3: CPU2: found redistributor 200 region 0:0x00000000fd4a0000
[    2.247226] GICv3: CPU2: using allocated LPI pending table @0x00000000029f0000
[    2.247266] CPU2: Booted secondary processor 0x0000000200 [0x412fd050]
[    2.248530] Detected VIPT I-cache on CPU3
[    2.248550] GICv3: CPU3: found redistributor 300 region 0:0x00000000fd4c0000
[    2.248566] GICv3: CPU3: using allocated LPI pending table @0x0000000002a00000
[    2.248601] CPU3: Booted secondary processor 0x0000000300 [0x412fd050]
[    2.248696] smp: Brought up 1 node, 4 CPUs
[    2.255891] SMP: Total of 4 processors activated.
[    2.256325] CPU features: detected: Privileged Access Never
[    2.256846] CPU features: detected: LSE atomic instructions
[    2.257358] CPU features: detected: User Access Override
[    2.257846] CPU features: detected: 32-bit EL0 Support
[    2.258317] CPU features: detected: Common not Private translations
[    2.258890] CPU features: detected: RAS Extension Support
[    2.259385] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[    2.260173] CPU features: detected: CRC32 instructions
[    2.260652] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[    2.261292] CPU features: detected: RCpc load-acquire (LDAPR)
[    2.286786] CPU: All CPU(s) started at EL2
[    2.288562] devtmpfs: initialized
[    2.309270] Registered cp15_barrier emulation handler
[    2.309274] Trying to unpack rootfs image as initramfs...
[    2.310249] Registered setend emulation handler
[    2.310706] KASLR disabled due to lack of seed
[    2.311317] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    2.312220] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    2.313262] pinctrl core: initialized pinctrl subsystem
[    2.314070] regulator-dummy: no parameters, enabled
[    2.314832] NET: Registered protocol family 16
[    2.336233] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[    2.337378] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    2.338179] audit: initializing netlink subsys (disabled)
[    2.338934] audit: type=2000 audit(0.103:1): state=initialized audit_enabled=0 res=1
[    2.341334] thermal_sys: Registered thermal governor 'fair_share'
[    2.341342] thermal_sys: Registered thermal governor 'step_wise'
[    2.341905] thermal_sys: Registered thermal governor 'user_space'
[    2.343339] cpuidle: using governor menu
[    2.344307] Registered FIQ tty driver
[    2.344933] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    2.345890] ASID allocator initialised with 65536 entries
[    2.348977] printk: console [ramoops-1] enabled
[    2.349619] pstore: Registered ramoops as persistent store backend
[    2.350192] ramoops: using 0xf0000@0x110000, ecc: 0
[    2.390788] rockchip-gpio fdd60000.gpio0: probed /pinctrl/gpio0@fdd60000
[    2.392017] rockchip-gpio fe740000.gpio1: probed /pinctrl/gpio1@fe740000
[    2.393238] rockchip-gpio fe750000.gpio2: probed /pinctrl/gpio2@fe750000
[    2.394386] rockchip-gpio fe760000.gpio3: probed /pinctrl/gpio3@fe760000
[    2.395598] rockchip-gpio fe770000.gpio4: probed /pinctrl/gpio4@fe770000
[    2.396375] rockchip-pinctrl pinctrl: probed pinctrl
[    2.413750] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    2.414381] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    2.414998] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    2.415639] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    2.417938] cryptd: max_cpu_qlen set to 1000
[    2.423730] fiq_debugger fiq_debugger.0: IRQ fiq not found
[    2.424260] fiq_debugger fiq_debugger.0: IRQ wakeup not found
[    2.424795] fiq_debugger_probe: could not install nmi irq handler
[    2.425476] printk: console [ttyFIQ0] enabled
[    2.426268] printk: bootconsole [uart8250] disabled
[    2.426921] Registered fiq debugger ttyFIQ0
[    2.427490] vdd_usbc: 5000 mV, enabled
[    2.427682] reg-fixed-voltage vdd-usbc: vdd_usbc supplying 5000000uV
[    2.427795] reg-fixed-voltage vcc3v3-sys: Looking up vin-supply from device tree
[    2.427806] vcc3v3_sys: supplied by vdd_usbc
[    2.427823] vdd_usbc: could not add device link regulator.2: -ENOENT
[    2.427865] vcc3v3_sys: 3300 mV, enabled
[    2.428004] reg-fixed-voltage vcc3v3-sys: vcc3v3_sys supplying 3300000uV
[    2.428116] reg-fixed-voltage vcc3v3-sysp: Looking up vin-supply from device tree
[    2.428124] vcc3v3_sysp: supplied by vdd_usbc
[    2.428138] vdd_usbc: could not add device link regulator.3: -ENOENT
[    2.428189] vcc3v3_sysp: 3300 mV, enabled
[    2.428328] reg-fixed-voltage vcc3v3-sysp: vcc3v3_sysp supplying 3300000uV
[    2.428436] reg-fixed-voltage vcc5v0-sysp: Looking up vin-supply from device tree
[    2.428445] vcc5v0_sysp: supplied by vcc3v3_sysp
[    2.428459] vcc3v3_sysp: could not add device link regulator.4: -ENOENT
[    2.428506] vcc5v0_sysp: 5000 mV, enabled
[    2.428649] reg-fixed-voltage vcc5v0-sysp: vcc5v0_sysp supplying 5000000uV
[    2.429001] reg-fixed-voltage vcc5v0-host-regulator: Looking up vin-supply from device tree
[    2.429011] vcc5v0_host: supplied by vcc5v0_sysp
[    2.429027] vcc5v0_sysp: could not add device link regulator.5: -ENOENT
[    2.429071] vcc5v0_host: 5000 mV, enabled
[    2.429241] reg-fixed-voltage vcc5v0-host-regulator: vcc5v0_host supplying 5000000uV
[    2.429355] reg-fixed-voltage pcie30-avdd0v9: Looking up vin-supply from device tree
[    2.429364] pcie30_avdd0v9: supplied by vcc3v3_sys
[    2.429378] vcc3v3_sys: could not add device link regulator.6: -ENOENT
[    2.429414] pcie30_avdd0v9: 900 mV, enabled
[    2.429574] reg-fixed-voltage pcie30-avdd0v9: pcie30_avdd0v9 supplying 900000uV
[    2.429684] reg-fixed-voltage pcie30-avdd1v8: Looking up vin-supply from device tree
[    2.429692] pcie30_avdd1v8: supplied by vcc3v3_sys
[    2.429706] vcc3v3_sys: could not add device link regulator.7: -ENOENT
[    2.429743] pcie30_avdd1v8: 1800 mV, enabled
[    2.429887] reg-fixed-voltage pcie30-avdd1v8: pcie30_avdd1v8 supplying 1800000uV
[    2.430012] vcc3v3_pcie: 3300 mV, disabled
[    2.430138] reg-fixed-voltage gpio-regulator: Looking up vin-supply from device tree
[    2.430147] vcc3v3_pcie: supplied by vcc3v3_sysp
[    2.430229] reg-fixed-voltage gpio-regulator: vcc3v3_pcie supplying 3300000uV
[    2.430767] iommu: Default domain type: Translated 
[    2.430938] rockchip-pm-domain fdd90000.power-management:power-controller: Looking up npu-supply from device tree
[    2.430958] rockchip-pm-domain fdd90000.power-management:power-controller: Looking up npu-supply property in node /power-management@fdd90000/power-controller failed
[    2.431000] rk_iommu fde4b000.iommu: version = 2
[    2.431545] rk_iommu fdea0800.iommu: version = 2
[    2.431748] rockchip-pm-domain fdd90000.power-management:power-controller: Looking up vpu-supply from device tree
[    2.431768] rockchip-pm-domain fdd90000.power-management:power-controller: Looking up vpu-supply property in node /power-management@fdd90000/power-controller failed
[    2.431903] rk_iommu fded0480.iommu: version = 2
[    2.432080] rockchip-pm-domain fdd90000.power-management:power-controller: Looking up rga-supply from device tree
[    2.432148] rockchip-pm-domain fdd90000.power-management:power-controller: Looking up rga-supply property in node /power-management@fdd90000/power-controller failed
[    2.432332] rk_iommu fdee0800.iommu: version = 2
[    2.432682] rk_iommu fdef0800.iommu: version = 2
[    2.432986] rk_iommu fdf40f00.iommu: version = 2
[    2.433204] rockchip-pm-domain fdd90000.power-management:power-controller: Looking up rkvenc-supply from device tree
[    2.433225] rockchip-pm-domain fdd90000.power-management:power-controller: Looking up rkvenc-supply property in node /power-management@fdd90000/power-controller failed
[    2.433358] rk_iommu fdf80800.iommu: version = 2
[    2.433535] rockchip-pm-domain fdd90000.power-management:power-controller: Looking up rkvdec-supply from device tree
[    2.433555] rockchip-pm-domain fdd90000.power-management:power-controller: Looking up rkvdec-supply property in node /power-management@fdd90000/power-controller failed
[    2.433654] rk_iommu fe043e00.iommu: version = 2
[    2.434412] SCSI subsystem initialized
[    2.434455] libata version 3.00 loaded.
[    2.434637] usbcore: registered new interface driver usbfs
[    2.434682] usbcore: registered new interface driver hub
[    2.434727] usbcore: registered new device driver usb
[    2.435138] mc: Linux media interface: v0.10
[    2.435171] videodev: Linux video capture interface: v2.00
[    2.435255] pps_core: LinuxPPS API ver. 1 registered
[    2.435265] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    2.435282] PTP clock support registered
[    2.436029] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled.
[    2.436100] arm-scmi firmware:scmi: SCMI Protocol v2.0 'rockchip:' Firmware version 0x0
[    2.438167] Advanced Linux Sound Architecture Driver Initialized.
[    2.438758] Bluetooth: Core ver 2.22
[    2.438847] NET: Registered protocol family 31
[    2.438857] Bluetooth: HCI device and connection manager initialized
[    2.438873] Bluetooth: HCI socket layer initialized
[    2.438884] Bluetooth: L2CAP socket layer initialized
[    2.438906] Bluetooth: SCO socket layer initialized
[    2.438927] NetLabel: Initializing
[    2.438935] NetLabel:  domain hash size = 128
[    2.438941] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    2.438998] NetLabel:  unlabeled traffic allowed by default
[    2.439392] rockchip-cpuinfo cpuinfo: SoC		: 35682000
[    2.439404] rockchip-cpuinfo cpuinfo: Serial		: 494c4d2ff94a5e8f
[    2.440212] clocksource: Switched to clocksource arch_sys_counter
[    2.529369] Freeing initrd memory: 7308K
[    2.989028] VFS: Disk quotas dquot_6.6.0
[    2.989106] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.989229] FS-Cache: Loaded
[    2.996402] NET: Registered protocol family 2
[    2.996570] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    2.997561] tcp_listen_portaddr_hash hash table entries: 1024 (order: 3, 40960 bytes, linear)
[    2.997617] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    2.997759] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
[    2.998139] TCP: Hash tables configured (established 16384 bind 16384)
[    2.998271] UDP hash table entries: 1024 (order: 4, 98304 bytes, linear)
[    2.998363] UDP-Lite hash table entries: 1024 (order: 4, 98304 bytes, linear)
[    2.998590] NET: Registered protocol family 1
[    2.999086] RPC: Registered named UNIX socket transport module.
[    2.999097] RPC: Registered udp transport module.
[    2.999105] RPC: Registered tcp transport module.
[    2.999111] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.999462] PCI: CLS 0 bytes, default 64
[    3.000277] hw perfevents: enabled with armv8_cortex_a55 PMU driver, 7 counters available
[    3.005651] Initialise system trusted keyrings
[    3.005835] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    3.011482] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.011870] FS-Cache: Netfs 'nfs' registered for caching
[    3.012306] NFS: Registering the id_resolver key type
[    3.012336] Key type id_resolver registered
[    3.012344] Key type id_legacy registered
[    3.012424] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.012444] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    3.012630] fuse: init (API version 7.32)
[    3.042683] Key type asymmetric registered
[    3.042713] Asymmetric key parser 'x509' registered
[    3.042761] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 242)
[    3.042885] io scheduler mq-deadline registered
[    3.042901] io scheduler kyber registered
[    3.043013] io scheduler bfq registered
[    3.045251] phy phy-fe8a0000.usb2-phy.0: Looking up phy-supply from device tree
[    3.045275] vcc5v0_host: could not add device link phy-fe8a0000.usb2-phy.0: -ENOENT
[    3.045442] phy phy-fe8a0000.usb2-phy.1: Looking up phy-supply from device tree
[    3.045454] phy phy-fe8a0000.usb2-phy.1: Looking up phy-supply property in node /usb2-phy@fe8a0000/otg-port failed
[    3.045526] phy phy-fe8a0000.usb2-phy.1: Looking up vbus-supply from device tree
[    3.045536] phy phy-fe8a0000.usb2-phy.1: Looking up vbus-supply property in node /usb2-phy@fe8a0000/otg-port failed
[    3.046722] phy phy-fe8b0000.usb2-phy.2: Looking up phy-supply from device tree
[    3.046737] phy phy-fe8b0000.usb2-phy.2: Looking up phy-supply property in node /usb2-phy@fe8b0000/host-port failed
[    3.046832] phy phy-fe8b0000.usb2-phy.3: Looking up phy-supply from device tree
[    3.046844] phy phy-fe8b0000.usb2-phy.3: Looking up phy-supply property in node /usb2-phy@fe8b0000/otg-port failed
[    3.046968] phy phy-fe8b0000.usb2-phy.3: Looking up vbus-supply from device tree
[    3.046979] phy phy-fe8b0000.usb2-phy.3: Looking up vbus-supply property in node /usb2-phy@fe8b0000/otg-port failed
[    3.048964] phy phy-fe820000.phy.4: Looking up phy-supply from device tree
[    3.048980] phy phy-fe820000.phy.4: Looking up phy-supply property in node /phy@fe820000 failed
[    3.049324] phy phy-fe830000.phy.5: Looking up phy-supply from device tree
[    3.049336] phy phy-fe830000.phy.5: Looking up phy-supply property in node /phy@fe830000 failed
[    3.049622] phy phy-fe840000.phy.6: Looking up phy-supply from device tree
[    3.049634] phy phy-fe840000.phy.6: Looking up phy-supply property in node /phy@fe840000 failed
[    3.050938] rockchip-snps-pcie3-phy fe8c0000.phy: failed to find rockchip,pipe_grf regmap
[    3.050989] phy phy-fe8c0000.phy.7: Looking up phy-supply from device tree
[    3.051000] phy phy-fe8c0000.phy.7: Looking up phy-supply property in node /phy@fe8c0000 failed
[    3.053257] rk-pcie 3c0000000.pcie: invalid prsnt-gpios property in node
[    3.053291] rk-pcie 3c0000000.pcie: Looking up vpcie3v3-supply from device tree
[    3.053304] rk-pcie 3c0000000.pcie: Looking up vpcie3v3-supply property in node /pcie@fe260000 failed
[    3.053322] rk-pcie 3c0000000.pcie: no vpcie3v3 regulator found
[    3.053466] rk-pcie 3c0400000.pcie: invalid prsnt-gpios property in node
[    3.053672] rk-pcie 3c0000000.pcie: missing legacy IRQ resource
[    3.053694] rk-pcie 3c0000000.pcie: IRQ msi not found
[    3.053703] rk-pcie 3c0000000.pcie: use outband MSI support
[    3.053712] rk-pcie 3c0000000.pcie: Missing *config* reg space
[    3.053734] rk-pcie 3c0000000.pcie: host bridge /pcie@fe260000 ranges:
[    3.053781] rk-pcie 3c0800000.pcie: invalid prsnt-gpios property in node
[    3.053786] rk-pcie 3c0000000.pcie:      err 0x0300000000..0x03007fffff -> 0x0000000000
[    3.053803] rk-pcie 3c0000000.pcie:       IO 0x0300800000..0x03008fffff -> 0x0000800000
[    3.053822] rk-pcie 3c0000000.pcie:      MEM 0x0300900000..0x033fffffff -> 0x0000900000
[    3.053826] rk-pcie 3c0800000.pcie: Looking up vpcie3v3-supply from device tree
[    3.053863] rk-pcie 3c0000000.pcie: Missing *config* reg space
[    3.053890] rk-pcie 3c0000000.pcie: invalid resource
[    3.054346] iep: Module initialized.
[    3.054416] mpp_service mpp-srv: 10cfe82f09df author: hmz007 2022-05-16 video: rockchip: mpp: fixes rkvdec2_link for rk3568
[    3.054427] mpp_service mpp-srv: probe start
[    3.056132] mpp_vdpu2 fdea0400.vdpu: Adding to iommu group 1
[    3.056320] mpp_vdpu2 fdea0400.vdpu: probe device
[    3.056758] mpp_vdpu2 fdea0400.vdpu: probing finish
[    3.057276] mpp_vepu2 fdee0000.vepu: Adding to iommu group 3
[    3.057462] mpp_vepu2 fdee0000.vepu: probing start
[    3.057883] mpp_vepu2 fdee0000.vepu: probing finish
[    3.058335] mpp-iep2 fdef0000.iep: Adding to iommu group 4
[    3.058474] mpp-iep2 fdef0000.iep: probe device
[    3.058763] mpp-iep2 fdef0000.iep: allocate roi buffer failed
[    3.058932] mpp-iep2 fdef0000.iep: probing finish
[    3.059452] mpp_jpgdec fded0000.jpegd: Adding to iommu group 2
[    3.059580] mpp_jpgdec fded0000.jpegd: probe device
[    3.059988] mpp_jpgdec fded0000.jpegd: probing finish
[    3.060524] mpp_rkvdec2 fdf80200.rkvdec: Adding to iommu group 6
[    3.060732] mpp_rkvdec2 fdf80200.rkvdec: rkvdec, probing start
[    3.060765] mpp_rkvdec2 fdf80200.rkvdec: link mode task capacity 16
[    3.061065] mpp_rkvdec2 fdf80200.rkvdec: shared_niu_a is not found!
[    3.061077] rkvdec2_init:697: No niu aclk reset resource define
[    3.061087] mpp_rkvdec2 fdf80200.rkvdec: shared_niu_h is not found!
[    3.061094] rkvdec2_init:700: No niu hclk reset resource define
[    3.061269] mpp_rkvdec2 fdf80200.rkvdec: sram_start 0x00000000fdcc0000
[    3.061280] mpp_rkvdec2 fdf80200.rkvdec: rcb_iova 0x0000000010000000
[    3.061287] mpp_rkvdec2 fdf80200.rkvdec: sram_size 45056
[    3.061295] mpp_rkvdec2 fdf80200.rkvdec: rcb_size 65536
[    3.061303] mpp_rkvdec2 fdf80200.rkvdec: min_width 512
[    3.061342] mpp_rkvdec2 fdf80200.rkvdec: link mode probe finish
[    3.061406] mpp_rkvdec2 fdf80200.rkvdec: probing finish
[    3.062408] mpp_service mpp-srv: probe success
[    3.067538] dma-pl330 fe530000.dmac: Loaded driver for PL330 DMAC-241330
[    3.067561] dma-pl330 fe530000.dmac: 	DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    3.069473] dma-pl330 fe550000.dmac: Loaded driver for PL330 DMAC-241330
[    3.069489] dma-pl330 fe550000.dmac: 	DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    3.069900] rockchip-pvtm fde00000.pvtm: pvtm@0 probed
[    3.070040] rockchip-pvtm fde80000.pvtm: pvtm@1 probed
[    3.070157] rockchip-pvtm fde90000.pvtm: pvtm@2 probed
[    3.070754] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[    3.071283] rk-pcie 3c0800000.pcie: missing legacy IRQ resource
[    3.071304] rk-pcie 3c0800000.pcie: IRQ msi not found
[    3.071312] rk-pcie 3c0800000.pcie: use outband MSI support
[    3.071321] rk-pcie 3c0800000.pcie: Missing *config* reg space
[    3.071341] rk-pcie 3c0800000.pcie: host bridge /pcie@fe280000 ranges:
[    3.071369] rk-pcie 3c0800000.pcie:      err 0x0380000000..0x03807fffff -> 0x0080000000
[    3.071388] rk-pcie 3c0800000.pcie:       IO 0x0380800000..0x03808fffff -> 0x0080800000
[    3.071406] rk-pcie 3c0800000.pcie:      MEM 0x0380900000..0x03bfffffff -> 0x0080900000
[    3.071443] arm-scmi firmware:scmi: Failed. SCMI protocol 22 not active.
[    3.071449] rk-pcie 3c0800000.pcie: Missing *config* reg space
[    3.071482] rk-pcie 3c0800000.pcie: invalid resource
[    3.071686] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    3.074030] random: fast init done
[    3.074356] rockchip-vop2 fe040000.vop: Adding to iommu group 7
[    3.074535] random: crng init done
[    3.080098] rockchip-vop2 fe040000.vop: [drm:vop2_bind] vp0 assign plane mask: 0x3f, primary plane phy id: 4
[    3.080126] rockchip-vop2 fe040000.vop: [drm:vop2_bind] vp1 assign plane mask: 0x0, primary plane phy id: -1
[    3.080142] rockchip-vop2 fe040000.vop: [drm:vop2_bind] vp2 assign plane mask: 0x0, primary plane phy id: -1
[    3.080631] [drm] unsupported AFBC format[3231564e]
[    3.080872] rockchip-drm display-subsystem: bound fe040000.vop (ops 0xffffffc011220388)
[    3.081163] dwhdmi-rockchip fe0a0000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
[    3.081671] dwhdmi-rockchip fe0a0000.hdmi: registered DesignWare HDMI I2C bus driver
[    3.082241] rockchip-drm display-subsystem: bound fe0a0000.hdmi (ops 0xffffffc0112280b0)
[    3.082719] rockchip-drm display-subsystem: connector[HDMI-A-1] can't found any modes
[    3.082773] rockchip-drm display-subsystem: can't not find any logo display
[    3.082789] rockchip-drm display-subsystem: failed to show kernel logo
[    3.082831] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    3.083596] [drm] Initialized rockchip 3.0.0 20140818 for display-subsystem on minor 0
[    3.083977] no ATF memory for init
[    3.088825] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    3.092472] brd: module loaded
[    3.098219] loop: module loaded
[    3.098513] lkdtm: No crash points registered, enable through debugfs
[    3.099171] no ATF memory for init
[    3.102886] spi-nand spi4.0: unknown raw ID 00000000
[    3.102929] spi-nand: probe of spi4.0 failed with error -524
[    3.103632] libphy: Fixed MDIO Bus: probed
[    3.105109] rk_gmac-dwmac fe2a0000.ethernet: IRQ eth_lpi not found
[    3.105342] rk_gmac-dwmac fe2a0000.ethernet: Looking up phy-supply from device tree
[    3.105363] rk_gmac-dwmac fe2a0000.ethernet: Looking up phy-supply property in node /ethernet@fe2a0000 failed
[    3.105381] rk_gmac-dwmac fe2a0000.ethernet: no regulator found
[    3.105393] rk_gmac-dwmac fe2a0000.ethernet: clock input or output? (output).
[    3.105403] rk_gmac-dwmac fe2a0000.ethernet: TX delay(0x3c).
[    3.105411] rk_gmac-dwmac fe2a0000.ethernet: RX delay(0x2f).
[    3.105425] rk_gmac-dwmac fe2a0000.ethernet: integrated PHY? (no).
[    3.105692] rk_gmac-dwmac fe2a0000.ethernet: init for RGMII
[    3.105923] rk_gmac-dwmac fe2a0000.ethernet: User ID: 0x30, Synopsys ID: 0x51
[    3.105937] rk_gmac-dwmac fe2a0000.ethernet: 	DWMAC4/5
[    3.105947] rk_gmac-dwmac fe2a0000.ethernet: DMA HW capability register supported
[    3.105956] rk_gmac-dwmac fe2a0000.ethernet: RX Checksum Offload Engine supported
[    3.105963] rk_gmac-dwmac fe2a0000.ethernet: TX Checksum insertion supported
[    3.105969] rk_gmac-dwmac fe2a0000.ethernet: Wake-Up On Lan supported
[    3.106033] rk_gmac-dwmac fe2a0000.ethernet: TSO supported
[    3.106043] rk_gmac-dwmac fe2a0000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.106051] rk_gmac-dwmac fe2a0000.ethernet: TSO feature enabled
[    3.106060] rk_gmac-dwmac fe2a0000.ethernet: Using 32 bits DMA width
[    3.156899] rk-pcie 3c0400000.pcie: Looking up vpcie3v3-supply from device tree
[    3.156916] rk-pcie 3c0400000.pcie: Looking up vpcie3v3-supply property in node /pcie@fe270000 failed
[    3.156933] rk-pcie 3c0400000.pcie: no vpcie3v3 regulator found
[    3.169195] rk-pcie 3c0400000.pcie: missing legacy IRQ resource
[    3.169221] rk-pcie 3c0400000.pcie: IRQ msi not found
[    3.169231] rk-pcie 3c0400000.pcie: use outband MSI support
[    3.169239] rk-pcie 3c0400000.pcie: Missing *config* reg space
[    3.169257] rk-pcie 3c0400000.pcie: host bridge /pcie@fe270000 ranges:
[    3.169285] rk-pcie 3c0400000.pcie:      err 0x0340000000..0x03407fffff -> 0x0040000000
[    3.169304] rk-pcie 3c0400000.pcie:       IO 0x0340800000..0x03408fffff -> 0x0040800000
[    3.169322] rk-pcie 3c0400000.pcie:      MEM 0x0340900000..0x037fffffff -> 0x0040900000
[    3.169359] rk-pcie 3c0400000.pcie: Missing *config* reg space
[    3.169390] rk-pcie 3c0400000.pcie: invalid resource
[    3.183586] libphy: stmmac: probed
[    3.192432] PPP generic driver version 2.4.2
[    3.192672] usbcore: registered new interface driver asix
[    3.192734] usbcore: registered new interface driver ax88179_178a
[    3.192771] usbcore: registered new interface driver cdc_ether
[    3.192805] usbcore: registered new interface driver rndis_host
[    3.192843] usbcore: registered new interface driver qmi_wwan
[    3.201745] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.201795] ehci-pci: EHCI PCI platform driver
[    3.201864] ehci-platform: EHCI generic platform driver
[    3.202145] phy phy-fe8b0000.usb2-phy.3: illegal mode
[    3.204406] ehci-platform fd800000.usb: EHCI Host Controller
[    3.204441] ehci-platform fd800000.usb: new USB bus registered, assigned bus number 1
[    3.204558] ehci-platform fd800000.usb: irq 19, io mem 0xfd800000
[    3.216896] ehci-platform fd800000.usb: USB 2.0 started, EHCI 1.00
[    3.217100] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    3.217112] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.217121] usb usb1: Product: EHCI Host Controller
[    3.217128] usb usb1: Manufacturer: Linux 5.10.66 ehci_hcd
[    3.217135] usb usb1: SerialNumber: fd800000.usb
[    3.217599] hub 1-0:1.0: USB hub found
[    3.217657] hub 1-0:1.0: 1 port detected
[    3.220450] ehci-platform fd880000.usb: EHCI Host Controller
[    3.220474] ehci-platform fd880000.usb: new USB bus registered, assigned bus number 2
[    3.220583] ehci-platform fd880000.usb: irq 21, io mem 0xfd880000
[    3.233563] ehci-platform fd880000.usb: USB 2.0 started, EHCI 1.00
[    3.233740] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    3.233752] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.233761] usb usb2: Product: EHCI Host Controller
[    3.233768] usb usb2: Manufacturer: Linux 5.10.66 ehci_hcd
[    3.233775] usb usb2: SerialNumber: fd880000.usb
[    3.234158] hub 2-0:1.0: USB hub found
[    3.234197] hub 2-0:1.0: 1 port detected
[    3.234849] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.234873] ohci-platform: OHCI generic platform driver
[    3.235163] phy phy-fe8b0000.usb2-phy.3: illegal mode
[    3.235176] ohci-platform fd840000.usb: Generic Platform OHCI controller
[    3.235200] ohci-platform fd840000.usb: new USB bus registered, assigned bus number 3
[    3.235299] ohci-platform fd840000.usb: irq 20, io mem 0xfd840000
[    3.278014] rk-pcie 3c0800000.pcie: PCIe Linking... LTSSM is 0x0
[    3.294357] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    3.294377] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.294386] usb usb3: Product: Generic Platform OHCI controller
[    3.294394] usb usb3: Manufacturer: Linux 5.10.66 ohci_hcd
[    3.294402] usb usb3: SerialNumber: fd840000.usb
[    3.294809] hub 3-0:1.0: USB hub found
[    3.294844] hub 3-0:1.0: 1 port detected
[    3.295354] ohci-platform fd8c0000.usb: Generic Platform OHCI controller
[    3.295380] ohci-platform fd8c0000.usb: new USB bus registered, assigned bus number 4
[    3.295501] ohci-platform fd8c0000.usb: irq 22, io mem 0xfd8c0000
[    3.316892] rk-pcie 3c0000000.pcie: PCIe Link up, LTSSM is 0x130011
[    3.317037] rk-pcie 3c0000000.pcie: PCI host bridge to bus 0000:00
[    3.317054] pci_bus 0000:00: root bus resource [bus 00-0f]
[    3.317067] pci_bus 0000:00: root bus resource [??? 0x300000000-0x3007fffff flags 0x0] (bus address [0x00000000-0x007fffff])
[    3.317077] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0x800000-0x8fffff])
[    3.317087] pci_bus 0000:00: root bus resource [mem 0x300900000-0x33fffffff] (bus address [0x00900000-0x3fffffff])
[    3.317127] pci 0000:00:00.0: [1d87:3566] type 01 class 0x060400
[    3.317155] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[    3.317217] pci 0000:00:00.0: supports D1 D2
[    3.317226] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    3.325599] pci_bus 0000:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f])
[    3.325776] pci 0000:01:00.0: [10ec:8125] type 00 class 0x020000
[    3.325849] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    3.325859] pci 0000:01:00.0: reg 0x10: [io  size 0x0100]
[    3.325935] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x0000ffff 64bit]
[    3.325988] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit]
[    3.326417] pci 0000:01:00.0: supports D1 D2
[    3.326427] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    3.341463] pci 0000:00:00.0: BAR 8: assigned [mem 0x300900000-0x3009fffff]
[    3.341511] pci 0000:00:00.0: BAR 6: assigned [mem 0x300a00000-0x300a0ffff pref]
[    3.341525] pci 0000:00:00.0: BAR 7: assigned [io  0x1000-0x1fff]
[    3.341544] pci 0000:01:00.0: BAR 2: assigned [mem 0x300900000-0x30090ffff 64bit]
[    3.341594] pci 0000:01:00.0: BAR 4: assigned [mem 0x300910000-0x300913fff 64bit]
[    3.341638] pci 0000:01:00.0: BAR 0: assigned [io  0x1000-0x10ff]
[    3.341660] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    3.341670] pci 0000:00:00.0:   bridge window [io  0x1000-0x1fff]
[    3.341679] pci 0000:00:00.0:   bridge window [mem 0x300900000-0x3009fffff]
[    3.343952] pcieport 0000:00:00.0: PME: Signaling with IRQ 86
[    3.344150] rk-pcie 3c0000000.pcie: missing "busno" property
[    3.354393] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    3.354414] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.354423] usb usb4: Product: Generic Platform OHCI controller
[    3.354431] usb usb4: Manufacturer: Linux 5.10.66 ohci_hcd
[    3.354438] usb usb4: SerialNumber: fd8c0000.usb
[    3.354879] hub 4-0:1.0: USB hub found
[    3.354919] hub 4-0:1.0: 1 port detected
[    3.356110] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[    3.356141] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 5
[    3.356269] xhci-hcd xhci-hcd.4.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    3.356323] xhci-hcd xhci-hcd.4.auto: irq 84, io mem 0xfd000000
[    3.356606] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    3.356619] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.356627] usb usb5: Product: xHCI Host Controller
[    3.356634] usb usb5: Manufacturer: Linux 5.10.66 xhci-hcd
[    3.356641] usb usb5: SerialNumber: xhci-hcd.4.auto
[    3.357088] hub 5-0:1.0: USB hub found
[    3.357125] hub 5-0:1.0: 1 port detected
[    3.357424] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[    3.357443] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 6
[    3.357460] xhci-hcd xhci-hcd.4.auto: Host supports USB 3.0 SuperSpeed
[    3.357525] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.357635] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[    3.357646] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.357655] usb usb6: Product: xHCI Host Controller
[    3.357662] usb usb6: Manufacturer: Linux 5.10.66 xhci-hcd
[    3.357669] usb usb6: SerialNumber: xhci-hcd.4.auto
[    3.358047] hub 6-0:1.0: USB hub found
[    3.358084] hub 6-0:1.0: 1 port detected
[    3.358554] phy phy-fe8a0000.usb2-phy.1: illegal mode
[    3.358568] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[    3.358589] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 7
[    3.358730] xhci-hcd xhci-hcd.5.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    3.358786] xhci-hcd xhci-hcd.5.auto: irq 83, io mem 0xfcc00000
[    3.359057] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    3.359069] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.359078] usb usb7: Product: xHCI Host Controller
[    3.359085] usb usb7: Manufacturer: Linux 5.10.66 xhci-hcd
[    3.359092] usb usb7: SerialNumber: xhci-hcd.5.auto
[    3.359476] hub 7-0:1.0: USB hub found
[    3.359511] hub 7-0:1.0: 1 port detected
[    3.359789] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[    3.359807] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 8
[    3.359823] xhci-hcd xhci-hcd.5.auto: Host supports USB 3.0 SuperSpeed
[    3.359884] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.359992] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[    3.360003] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.360012] usb usb8: Product: xHCI Host Controller
[    3.360020] usb usb8: Manufacturer: Linux 5.10.66 xhci-hcd
[    3.360027] usb usb8: SerialNumber: xhci-hcd.5.auto
[    3.360409] hub 8-0:1.0: USB hub found
[    3.360442] hub 8-0:1.0: 1 port detected
[    3.360850] usbcore: registered new interface driver cdc_acm
[    3.360859] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    3.360907] usbcore: registered new interface driver cdc_wdm
[    3.361141] usbcore: registered new interface driver uas
[    3.361238] usbcore: registered new interface driver usb-storage
[    3.361331] usbcore: registered new interface driver usbserial_generic
[    3.361356] usbserial: USB Serial support registered for generic
[    3.361400] usbcore: registered new interface driver ch341
[    3.361427] usbserial: USB Serial support registered for ch341-uart
[    3.361472] usbcore: registered new interface driver cp210x
[    3.361496] usbserial: USB Serial support registered for cp210x
[    3.361560] usbcore: registered new interface driver ftdi_sio
[    3.361583] usbserial: USB Serial support registered for FTDI USB Serial Device
[    3.361723] usbcore: registered new interface driver option
[    3.361746] usbserial: USB Serial support registered for GSM modem (1-port)
[    3.361935] usbcore: registered new interface driver pl2303
[    3.361958] usbserial: USB Serial support registered for pl2303
[    3.362014] usbcore: registered new interface driver qcserial
[    3.362041] usbserial: USB Serial support registered for Qualcomm USB modem
[    3.362518] mousedev: PS/2 mouse device common for all mice
[    3.363155] <<-GTP-INFO->> GTP driver installing
[    3.363571] rk-pcie 3c0800000.pcie: PCIe Link up, LTSSM is 0x130011
[    3.363758] rk-pcie 3c0800000.pcie: PCI host bridge to bus 0002:20
[    3.363775] pci_bus 0002:20: root bus resource [bus 20-2f]
[    3.363788] pci_bus 0002:20: root bus resource [??? 0x380000000-0x3807fffff flags 0x0] (bus address [0x80000000-0x807fffff])
[    3.363798] pci_bus 0002:20: root bus resource [io  0x100000-0x1fffff] (bus address [0x80800000-0x808fffff])
[    3.363812] pci_bus 0002:20: root bus resource [mem 0x380900000-0x3bfffffff] (bus address [0x80900000-0xbfffffff])
[    3.363856] pci 0002:20:00.0: [1d87:3566] type 01 class 0x060400
[    3.363876] pci 0002:20:00.0: reg 0x10: [mem 0x00000000-0x3fffffff]
[    3.363890] pci 0002:20:00.0: reg 0x14: [mem 0x00000000-0x3fffffff]
[    3.363902] pci 0002:20:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[    3.363967] pci 0002:20:00.0: supports D1 D2
[    3.363977] pci 0002:20:00.0: PME# supported from D0 D1 D3hot
[    3.364665] i2c /dev entries driver
[    3.372178] pci 0002:20:00.0: Primary bus is hard wired to 0
[    3.372207] pci 0002:20:00.0: bridge configuration invalid ([bus 01-ff]), reconfiguring
[    3.372450] pci 0002:21:00.0: [c0a9:540a] type 00 class 0x010802
[    3.372546] pci 0002:21:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    3.373059] pci 0002:21:00.0: 4.000 Gb/s available PCIe bandwidth, limited by 5.0 GT/s PCIe x1 link at 0002:20:00.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
[    3.373371] fan53555-regulator 0-001c: FAN53555 Option[12] Rev[15] Detected!
[    3.373527] vdd_cpu: override max_uV, 1390000 -> 1387500
[    3.373922] fan53555-regulator 0-001c: Looking up vin-supply from device tree
[    3.373935] vdd_cpu: supplied by vcc3v3_sys
[    3.373952] vcc3v3_sys: could not add device link regulator.9: -ENOENT
[    3.375262] vdd_cpu: 712 <--> 1387 mV at 900 mV, enabled
[    3.377576] rk808 0-0020: chip id: 0x8090
[    3.377626] rk808 0-0020: No cache defaults, reading back from HW
[    3.384240] rk808 0-0020: source: on=0x40, off=0x00
[    3.384344] rk808 0-0020: support dcdc3 fb mode:-22, 1
[    3.384654] rk808 0-0020: support pmic reset mode:0,0
[    3.392458] pci_bus 0002:21: busn_res: [bus 21-2f] end is updated to 21
[    3.392516] pci 0002:20:00.0: BAR 0: no space for [mem size 0x40000000]
[    3.392530] pci 0002:20:00.0: BAR 0: failed to assign [mem size 0x40000000]
[    3.392541] pci 0002:20:00.0: BAR 1: no space for [mem size 0x40000000]
[    3.392550] pci 0002:20:00.0: BAR 1: failed to assign [mem size 0x40000000]
[    3.392561] pci 0002:20:00.0: BAR 8: assigned [mem 0x380900000-0x3809fffff]
[    3.392572] pci 0002:20:00.0: BAR 6: assigned [mem 0x380a00000-0x380a0ffff pref]
[    3.392587] pci 0002:21:00.0: BAR 0: assigned [mem 0x380900000-0x380903fff 64bit]
[    3.392637] pci 0002:20:00.0: PCI bridge to [bus 21]
[    3.392649] pci 0002:20:00.0:   bridge window [mem 0x380900000-0x3809fffff]
[    3.395208] pcieport 0002:20:00.0: PME: Signaling with IRQ 97
[    3.395764] nvme nvme0: pci function 0002:21:00.0
[    3.395830] rk-pcie 3c0800000.pcie: missing "busno" property
[    3.395839] nvme 0002:21:00.0: enabling device (0000 -> 0002)
[    3.395941] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    3.395965] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    3.396154] rk808 0-0020: Looking up vcc1-supply from device tree
[    3.396169] vdd_logic: supplied by vcc3v3_sys
[    3.396186] vcc3v3_sys: could not add device link regulator.10: -ENOENT
[    3.396359] vdd_logic: 500 <--> 1350 mV at 900 mV, enabled
[    3.396735] rk808 0-0020: Looking up vcc2-supply from device tree
[    3.396746] vdd_gpu: supplied by vcc3v3_sys
[    3.396764] vcc3v3_sys: could not add device link regulator.11: -ENOENT
[    3.396916] vdd_gpu: 500 <--> 1350 mV at 900 mV, enabled
[    3.397153] rk808 0-0020: Looking up vcc3-supply from device tree
[    3.397163] vcc_ddr: supplied by vcc3v3_sys
[    3.397177] vcc3v3_sys: could not add device link regulator.12: -ENOENT
[    3.397325] vcc_ddr: at 500 mV, enabled
[    3.397565] rk808 0-0020: Looking up vcc4-supply from device tree
[    3.397575] vdd_npu: supplied by vcc3v3_sys
[    3.397589] vcc3v3_sys: could not add device link regulator.13: -ENOENT
[    3.397737] vdd_npu: 500 <--> 1350 mV at 900 mV, enabled
[    3.398080] rk808 0-0020: Looking up vcc9-supply from device tree
[    3.398090] vcc_1v8: supplied by vcc3v3_sys
[    3.398105] vcc3v3_sys: could not add device link regulator.14: -ENOENT
[    3.398246] vcc_1v8: 1800 mV, enabled
[    3.398470] rk808 0-0020: Looking up vcc5-supply from device tree
[    3.398480] vdda0v9_image: supplied by vcc3v3_sys
[    3.398493] vcc3v3_sys: could not add device link regulator.15: -ENOENT
[    3.399148] vdda0v9_image: 900 mV, enabled
[    3.399472] rk808 0-0020: Looking up vcc5-supply from device tree
[    3.399482] vdda_0v9: supplied by vcc3v3_sys
[    3.399496] vcc3v3_sys: could not add device link regulator.16: -ENOENT
[    3.400149] vdda_0v9: 900 mV, enabled
[    3.400422] rk808 0-0020: Looking up vcc5-supply from device tree
[    3.400431] vdda0v9_pmu: supplied by vcc3v3_sys
[    3.400444] vcc3v3_sys: could not add device link regulator.17: -ENOENT
[    3.401100] vdda0v9_pmu: 900 mV, enabled
[    3.401322] rk808 0-0020: Looking up vcc6-supply from device tree
[    3.401331] vccio_acodec: supplied by vcc3v3_sys
[    3.401345] vcc3v3_sys: could not add device link regulator.18: -ENOENT
[    3.401997] vccio_acodec: 3300 mV, enabled
[    3.402304] rk808 0-0020: Looking up vcc6-supply from device tree
[    3.402314] vccio_sd: supplied by vcc3v3_sys
[    3.402328] vcc3v3_sys: could not add device link regulator.19: -ENOENT
[    3.402995] vccio_sd: 1800 <--> 3300 mV at 3300 mV, enabled
[    3.403203] rk808 0-0020: Looking up vcc6-supply from device tree
[    3.403213] vcc3v3_pmu: supplied by vcc3v3_sys
[    3.403226] vcc3v3_sys: could not add device link regulator.20: -ENOENT
[    3.403896] vcc3v3_pmu: 3300 mV, enabled
[    3.404217] rk808 0-0020: Looking up vcc7-supply from device tree
[    3.404226] vcca_1v8: supplied by vcc3v3_sys
[    3.404240] vcc3v3_sys: could not add device link regulator.21: -ENOENT
[    3.404912] vcca_1v8: 1800 mV, enabled
[    3.405126] rk808 0-0020: Looking up vcc7-supply from device tree
[    3.405135] vcca1v8_pmu: supplied by vcc3v3_sys
[    3.405149] vcc3v3_sys: could not add device link regulator.22: -ENOENT
[    3.405808] vcca1v8_pmu: 1800 mV, enabled
[    3.406032] rk808 0-0020: Looking up vcc7-supply from device tree
[    3.406041] vcca1v8_image: supplied by vcc3v3_sys
[    3.406054] vcc3v3_sys: could not add device link regulator.23: -ENOENT
[    3.406714] vcca1v8_image: 1800 mV, enabled
[    3.407068] rk808 0-0020: Looking up vcc9-supply from device tree
[    3.407078] vcc_3v3: supplied by vcc3v3_sys
[    3.407092] vcc3v3_sys: could not add device link regulator.24: -ENOENT
[    3.407241] vcc_3v3: at 3300 mV, enabled
[    3.407555] rk808 0-0020: Looking up vcc8-supply from device tree
[    3.407565] vcc3v3_sd: supplied by vcc3v3_sys
[    3.407579] vcc3v3_sys: could not add device link regulator.25: -ENOENT
[    3.407726] vcc3v3_sd: at 3300 mV, enabled
[    3.407936] rk817-battery: Failed to locate of_node [id: -1]
[    3.408139] rk817-charger: Failed to locate of_node [id: -1]
[    3.409444] input: rk805 pwrkey as /devices/platform/fdd40000.i2c/i2c-0/0-0020/rk805-pwrkey/input/input0
[    3.411852] rk808-rtc rk808-rtc: registered as rtc0
[    3.412361] rk808-rtc rk808-rtc: setting system clock to 2017-08-04T09:00:04 UTC (1501837204)
[    3.416138] IR NEC protocol handler initialized
[    3.419584] __power_supply_register: Expected proper parent device for 'test_ac'
[    3.419821] __power_supply_register: Expected proper parent device for 'test_battery'
[    3.420243] __power_supply_register: Expected proper parent device for 'test_usb'
[    3.421036] pwm-fan pwm-fan: Looking up fan-supply from device tree
[    3.423183] rockchip-thermal fe710000.tsadc: tsadc is probed successfully!
[    3.424332] device-mapper: uevent: version 1.0.3
[    3.424561] device-mapper: ioctl: 4.44.0-ioctl (2021-02-01) initialised: dm-devel@redhat.com
[    3.425077] cpu cpu0: leakage=42
[    3.425147] cpu cpu0: pvtm = 89540, from nvmem
[    3.425162] cpu cpu0: pvtm-volt-sel=1
[    3.425470] cpu cpu0: Looking up cpu-supply from device tree
[    3.426626] cpu cpu0: avs=0
[    3.426772] cpu cpu0: EM: hertz/watts ratio non-monotonically decreasing: em_perf_state 2 >= em_perf_state1
[    3.427000] cpu cpu0: EM: created perf domain
[    3.427113] cpu cpu0: l=0 h=2147483647 hyst=5000 l_limit=0 h_limit=0 h_table=0
[    3.429746] sdhci: Secure Digital Host Controller Interface driver
[    3.429763] sdhci: Copyright(c) Pierre Ossman
[    3.429769] Synopsys Designware Multimedia Card Interface Driver
[    3.430276] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.431340] dwmmc_rockchip fe2b0000.dwmmc: IDMAC supports 32-bit address mode.
[    3.431384] dwmmc_rockchip fe2b0000.dwmmc: Using internal DMA controller.
[    3.431399] dwmmc_rockchip fe2b0000.dwmmc: Version ID is 270a
[    3.431461] dwmmc_rockchip fe2b0000.dwmmc: DW MMC controller at irq 60,32 bit host data width,256 deep fifo
[    3.431567] dwmmc_rockchip fe2b0000.dwmmc: Looking up vmmc-supply from device tree
[    3.431751] dwmmc_rockchip fe2b0000.dwmmc: Looking up vqmmc-supply from device tree
[    3.431851] sdhci-dwcmshc fe310000.sdhci: Looking up vmmc-supply from device tree
[    3.431867] sdhci-dwcmshc fe310000.sdhci: Looking up vmmc-supply property in node /sdhci@fe310000 failed
[    3.431897] sdhci-dwcmshc fe310000.sdhci: Looking up vqmmc-supply from device tree
[    3.431907] sdhci-dwcmshc fe310000.sdhci: Looking up vqmmc-supply property in node /sdhci@fe310000 failed
[    3.432892] ledtrig-cpu: registered to indicate activity on CPUs
[    3.432933] arm-scmi firmware:scmi: Failed. SCMI protocol 17 not active.
[    3.432998] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    3.433522] hid: raw HID events driver (C) Jiri Kosina
[    3.433598] rk-pcie 3c0400000.pcie: PCIe Link up, LTSSM is 0x130011
[    3.433782] rk-pcie 3c0400000.pcie: PCI host bridge to bus 0001:10
[    3.433800] pci_bus 0001:10: root bus resource [bus 10-1f]
[    3.433812] pci_bus 0001:10: root bus resource [??? 0x340000000-0x3407fffff flags 0x0] (bus address [0x40000000-0x407fffff])
[    3.433823] pci_bus 0001:10: root bus resource [io  0x200000-0x2fffff] (bus address [0x40800000-0x408fffff])
[    3.433832] pci_bus 0001:10: root bus resource [mem 0x340900000-0x37fffffff] (bus address [0x40900000-0x7fffffff])
[    3.433873] pci 0001:10:00.0: [1d87:3566] type 01 class 0x060400
[    3.433900] pci 0001:10:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref]
[    3.433966] pci 0001:10:00.0: supports D1 D2
[    3.433975] pci 0001:10:00.0: PME# supported from D0 D1 D3hot
[    3.434046] usbcore: registered new interface driver usbhid
[    3.434056] usbhid: USB HID core driver
[    3.434757] ashmem: initialized
[    3.442124] rockchip,bus bus-npu: Looking up bus-supply from device tree
[    3.442332] pci 0001:10:00.0: Primary bus is hard wired to 0
[    3.442354] pci 0001:10:00.0: bridge configuration invalid ([bus 01-ff]), reconfiguring
[    3.442536] rockchip,bus bus-npu: Failed to get leakage
[    3.442592] rockchip,bus bus-npu: pvtm = 89540, from nvmem
[    3.442605] rockchip,bus bus-npu: pvtm-volt-sel=1
[    3.442657] pci 0001:11:00.0: [10ec:8125] type 00 class 0x020000
[    3.442720] pci 0001:11:00.0: reg 0x10: [io  0x0000-0x00ff]
[    3.442789] pci 0001:11:00.0: reg 0x18: [mem 0x00000000-0x0000ffff 64bit]
[    3.442827] rockchip,bus bus-npu: avs=0
[    3.442835] pci 0001:11:00.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit]
[    3.443209] pci 0001:11:00.0: supports D1 D2
[    3.443217] pci 0001:11:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    3.443843] mmc_host mmc0: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0)
[    3.445172] rockchip-saradc fe720000.saradc: Looking up vref-supply from device tree
[    3.446343] optee: probing for conduit method.
[    3.446372] optee: revision 3.13 (4167319d)
[    3.446728] optee: initialized driver
[    3.452151] Initializing XFRM netlink socket
[    3.452179] IPsec XFRM device driver
[    3.452487] NET: Registered protocol family 10
[    3.453208] Segment Routing with IPv6
[    3.457239] bpfilter: Loaded bpfilter_umh pid 191
[    3.457753] NET: Registered protocol family 17
[    3.458037] Bluetooth: RFCOMM TTY layer initialized
[    3.458071] Bluetooth: RFCOMM socket layer initialized
[    3.458098] Bluetooth: RFCOMM ver 1.11
[    3.458128] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.458140] Bluetooth: HIDP socket layer initialized
[    3.458186] [BT_RFKILL]: Enter rfkill_rk_init
[    3.458195] [WLAN_RFKILL]: Enter rfkill_wlan_init
[    3.460480] mmc2: SDHCI controller on fe310000.sdhci [fe310000.sdhci] using ADMA
[    3.464399] pci_bus 0001:11: busn_res: [bus 11-1f] end is updated to 11
[    3.464491] pci 0001:10:00.0: BAR 8: assigned [mem 0x340900000-0x3409fffff]
[    3.464505] pci 0001:10:00.0: BAR 6: assigned [mem 0x340a00000-0x340a0ffff pref]
[    3.464515] pci 0001:10:00.0: BAR 7: assigned [io  0x200000-0x200fff]
[    3.464528] pci 0001:11:00.0: BAR 2: assigned [mem 0x340900000-0x34090ffff 64bit]
[    3.464572] pci 0001:11:00.0: BAR 4: assigned [mem 0x340910000-0x340913fff 64bit]
[    3.464611] pci 0001:11:00.0: BAR 0: assigned [io  0x200000-0x2000ff]
[    3.464629] pci 0001:10:00.0: PCI bridge to [bus 11]
[    3.464637] pci 0001:10:00.0:   bridge window [io  0x200000-0x200fff]
[    3.464646] pci 0001:10:00.0:   bridge window [mem 0x340900000-0x3409fffff]
[    3.465005] Key type dns_resolver registered
[    3.466262] registered taskstats version 1
[    3.466286] Loading compiled-in X.509 certificates
[    3.466636] pstore: Using crash dump compression: deflate
[    3.466959] pcieport 0001:10:00.0: PME: Signaling with IRQ 108
[    3.467125] sysfs: cannot create duplicate filename '/devices/platform/3c0400000.pcie/pci0001:10/0001:10:00.0/0001:11:00.0/config'
[    3.467138] CPU: 2 PID: 147 Comm: rk-pcie Not tainted 5.10.66 #295
[    3.467144] Hardware name: FriendlyElec NanoPi R5S (DT)
[    3.467150] Call trace:
[    3.467164]  dump_backtrace+0x0/0x1e0
[    3.467172]  show_stack+0x24/0x30
[    3.467182]  dump_stack_lvl+0xcc/0xf4
[    3.467189]  dump_stack+0x1c/0x5c
[    3.467197]  sysfs_warn_dup+0x70/0x90
[    3.467204]  sysfs_add_file_mode_ns+0x1ac/0x1b0
[    3.467210]  sysfs_create_bin_file+0x80/0xb0
[    3.467220]  pci_create_sysfs_dev_files+0x54/0x260
[    3.467229]  pci_bus_add_device+0x3c/0xc0
[    3.467236]  pci_bus_add_devices+0x48/0xa0
[    3.467242]  pci_bus_add_devices+0x74/0xa0
[    3.467249]  pci_host_probe+0x4c/0xd0
[    3.467257]  dw_pcie_host_init+0x1cc/0x410
[    3.467264]  rk_pcie_really_probe+0xb60/0xea0
[    3.467272]  kthread+0x130/0x140
[    3.467280]  ret_from_fork+0x10/0x30
[    3.467326] rk-pcie 3c0400000.pcie: missing "busno" property
[    3.467537] rga2: Driver loaded successfully ver:3.2.63318
[    3.467839] rga2: Module initialized.
[    3.494035] friendlyelec-board board: Serial		: 494c4d2ff94a5e8f
[    3.494380] rockchip-iodomain fdc20000.syscon:io-domains: Looking up pmuio1-supply from device tree
[    3.494391] rockchip-iodomain fdc20000.syscon:io-domains: Looking up pmuio1-supply property in node /syscon@fdc20000/io-domains failed
[    3.494420] rockchip-iodomain fdc20000.syscon:io-domains: Looking up pmuio2-supply from device tree
[    3.494543] rockchip-iodomain fdc20000.syscon:io-domains: Looking up vccio1-supply from device tree
[    3.494695] rockchip-iodomain fdc20000.syscon:io-domains: Looking up vccio2-supply from device tree
[    3.494705] rockchip-iodomain fdc20000.syscon:io-domains: Looking up vccio2-supply property in node /syscon@fdc20000/io-domains failed
[    3.494725] rockchip-iodomain fdc20000.syscon:io-domains: Looking up vccio3-supply from device tree
[    3.494807] rockchip-iodomain fdc20000.syscon:io-domains: Looking up vccio4-supply from device tree
[    3.494942] rockchip-iodomain fdc20000.syscon:io-domains: Looking up vccio5-supply from device tree
[    3.495061] rockchip-iodomain fdc20000.syscon:io-domains: Looking up vccio6-supply from device tree
[    3.495101] rockchip-iodomain fdc20000.syscon:io-domains: Looking up vccio7-supply from device tree
[    3.495742] mpp_rkvenc fdf40000.rkvenc: Adding to iommu group 5
[    3.495923] mpp_rkvenc fdf40000.rkvenc: probing start
[    3.496172] mpp_rkvenc fdf40000.rkvenc: Looking up venc-supply from device tree
[    3.496316] mpp_rkvenc fdf40000.rkvenc: Failed to get leakage
[    3.496363] mpp_rkvenc fdf40000.rkvenc: pvtm = 89540, from nvmem
[    3.496374] mpp_rkvenc fdf40000.rkvenc: pvtm-volt-sel=1
[    3.496602] mpp_rkvenc fdf40000.rkvenc: avs=0
[    3.496703] mpp_rkvenc fdf40000.rkvenc: failed to find power_model node
[    3.496711] mpp_rkvenc fdf40000.rkvenc: failed to initialize power model
[    3.496718] mpp_rkvenc fdf40000.rkvenc: failed to get dynamic-coefficient
[    3.497150] mpp_rkvenc fdf40000.rkvenc: probing finish
[    3.497927] rockchip-pm-domain fdd90000.power-management:power-controller: Looking up gpu-supply from device tree
[    3.497951] rockchip-pm-domain fdd90000.power-management:power-controller: Looking up gpu-supply property in node /power-management@fdd90000/power-controller failed
[    3.498014] mali fde60000.gpu: Kernel DDK version g11p0-01eac0
[    3.498045] mmc2: new HS200 MMC card at address 0001
[    3.498078] mali fde60000.gpu: Looking up mali-supply from device tree
[    3.498221] mali fde60000.gpu: Looking up mem-supply from device tree
[    3.498236] mali fde60000.gpu: Looking up mem-supply property in node /gpu@fde60000 failed
[    3.498334] mali fde60000.gpu: Looking up mali-supply from device tree
[    3.498360] vdd_gpu: could not add device link fde60000.gpu: -EEXIST
[    3.498364] vdd_gpu: Failed to create debugfs directory
[    3.498482] mali fde60000.gpu: leakage=9
[    3.498522] mali fde60000.gpu: pvtm = 89540, from nvmem
[    3.498533] mali fde60000.gpu: pvtm-volt-sel=1
[    3.498759] mmcblk2: mmc2:0001 8GTF4R 7.28 GiB 
[    3.498987] mmcblk2boot0: mmc2:0001 8GTF4R partition 1 4.00 MiB
[    3.499196] mali fde60000.gpu: avs=0
[    3.499219] W : [File] : drivers/gpu/arm/bifrost/platform/rk/mali_kbase_config_rk.c; [Line] : 132; [Func] : kbase_platform_rk_init(); power-off-delay-ms not available.
[    3.499229] mmcblk2boot1: mmc2:0001 8GTF4R partition 2 4.00 MiB
[    3.499644] mmcblk2rpmb: mmc2:0001 8GTF4R partition 3 512 KiB, chardev (237:0)
[    3.499714] mali fde60000.gpu: GPU identified as 0x2 arch 7.4.0 r1p0 status 0
[    3.499885] mali fde60000.gpu: No priority control manager is configured
[    3.499901] mali fde60000.gpu: No memory group manager is configured
[    3.500802] mali fde60000.gpu: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
[    3.501963] mali fde60000.gpu: Probed as mali0
[    3.502404] mclk_spdif_8ch_frac p_rate(594000000) is low than rate(1188000000)*20, use integer or half-div
[    3.502941]  mmcblk2: p1 p2 p3 p4 p5 p6 p7 p8 p9
[    3.505235] rockchip-pm-domain fdd90000.power-management:power-controller: Looking up vi-supply from device tree
[    3.505265] rockchip-pm-domain fdd90000.power-management:power-controller: Looking up vi-supply property in node /power-management@fdd90000/power-controller failed
[    3.506602] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[    3.507835] RKNPU fde40000.npu: Adding to iommu group 0
[    3.508239] RKNPU fde40000.npu: RKNPU: rknpu iommu is enabled, using iommu mode
[    3.508289] RKNPU fde40000.npu: Looking up rknpu-supply from device tree
[    3.508434] RKNPU fde40000.npu: Looking up mem-supply from device tree
[    3.508446] RKNPU fde40000.npu: Looking up mem-supply property in node /npu@fde40000 failed
[    3.508485] RKNPU fde40000.npu: can't request region for resource [mem 0xfde40000-0xfde4ffff]
[    3.508874] [drm] Initialized rknpu 0.6.4 20211227 for fde40000.npu on minor 1
[    3.509178] RKNPU fde40000.npu: Looking up rknpu-supply from device tree
[    3.509199] vdd_npu: could not add device link fde40000.npu: -EEXIST
[    3.509202] vdd_npu: Failed to create debugfs directory
[    3.509304] RKNPU fde40000.npu: leakage=5
[    3.509341] RKNPU fde40000.npu: pvtm = 89540, from nvmem
[    3.509353] RKNPU fde40000.npu: pvtm-volt-sel=1
[    3.509858] RKNPU fde40000.npu: avs=0
[    3.510002] RKNPU fde40000.npu: l=0 h=2147483647 hyst=5000 l_limit=0 h_limit=0 h_table=0
[    3.510306] RKNPU fde40000.npu: failed to find power_model node
[    3.510317] RKNPU fde40000.npu: RKNPU: failed to initialize power model
[    3.510323] RKNPU fde40000.npu: RKNPU: failed to get dynamic-coefficient
[    3.511604] rockchip-pm rockchip-suspend: not set pwm-regulator-config
[    3.512197] ALSA device list:
[    3.512209]   #0: rockchip,hdmi
[    3.512214]   #1: ROCKCHIP,SPDIF
[    3.590511] vendor storage:20190527 ret = 0
[   11.449934] nvme nvme0: missing or invalid SUBNQN field.
[   11.493024] nvme nvme0: allocated 128 MiB host memory buffer.
[   11.647904] nvme nvme0: 4/0/0 default/read/poll queues
[   11.660817]  nvme0n1: p1
[   11.682867] Freeing unused kernel memory: 8896K
[   11.687290] Run /init as init process
[   11.687353]   with arguments:
[   11.687365]     /init
[   11.687375]   with environment:
[   11.687385]     HOME=/
[   11.687394]     TERM=linux
[   11.687403]     storagemedia=emmc
[   11.687413]     data=/dev/mmcblk2p9
[   11.687423]     cgroup_enable=memory
[   11.687432]     cgroup_memory=1
[   12.193606] cma: cma_alloc: linux,cma: alloc failed, req-size: 256 pages, ret: -12
[   12.389845] EXT4-fs (mmcblk2p8): mounted filesystem with ordered data mode. Opts: (null)
[   12.445271] EXT4-fs (mmcblk2p9): mounted filesystem with ordered data mode. Opts: (null)
[   12.678065] EXT4-fs (mmcblk2p9): mounted filesystem with ordered data mode. Opts: (null)
[   12.688254] overlayfs: "xino" feature enabled using 32 upper inode bits.
[   12.847916] systemd[1]: System time before build time, advancing clock.
[   12.879178] systemd[1]: systemd 245.4-4ubuntu3.3 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
[   12.879906] systemd[1]: Detected architecture arm64.
[   12.884811] systemd[1]: Set hostname to <FriendlyELEC>.
[   12.887369] systemd[1]: Initializing machine ID from random generator.
[   13.144193] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
[   13.170165] systemd[1]: /etc/systemd/system/rc-local.service:11: Support for option SysVStartPriority= has been removed and it is ignored
[   13.196635] systemd[1]: Created slice system-modprobe.slice.
[   13.198316] systemd[1]: Created slice system-serial\x2dgetty.slice.
[   13.199878] systemd[1]: Created slice User and Session Slice.
[   13.200807] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[   13.201350] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   13.202519] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   13.203476] systemd[1]: Reached target Local Encrypted Volumes.
[   13.204174] systemd[1]: Reached target Remote File Systems.
[   13.204723] systemd[1]: Reached target Slices.
[   13.205163] systemd[1]: Reached target Swap.
[   13.206034] systemd[1]: Listening on Syslog Socket.
[   13.206649] systemd[1]: Listening on initctl Compatibility Named Pipe.
[   13.207912] systemd[1]: Listening on Journal Audit Socket.
[   13.208874] systemd[1]: Listening on Journal Socket (/dev/log).
[   13.209838] systemd[1]: Listening on Journal Socket.
[   13.210826] systemd[1]: Listening on udev Control Socket.
[   13.211730] systemd[1]: Listening on udev Kernel Socket.
[   13.216024] systemd[1]: Mounting Huge Pages File System...
[   13.220426] systemd[1]: Mounting POSIX Message Queue File System...
[   13.225376] systemd[1]: Mounting Kernel Debug File System...
[   13.229984] systemd[1]: Mounting Kernel Trace File System...
[   13.236223] systemd[1]: Starting Journal Service...
[   13.241290] systemd[1]: Starting Set the console keyboard layout...
[   13.247001] systemd[1]: Starting Create list of static device nodes for the current kernel...
[   13.248021] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[   13.249639] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[   13.256397] systemd[1]: Starting Load Kernel Modules...
[   13.260944] systemd[1]: Starting Remount Root and Kernel File Systems...
[   13.266221] systemd[1]: Starting udev Coldplug all Devices...
[   13.271067] systemd[1]: Mounted Huge Pages File System.
[   13.272823] systemd[1]: Mounted POSIX Message Queue File System.
[   13.274658] systemd[1]: Mounted Kernel Debug File System.
[   13.276023] systemd[1]: Mounted Kernel Trace File System.
[   13.279613] systemd[1]: Finished Create list of static device nodes for the current kernel.
[   13.284118] systemd[1]: Finished Load Kernel Modules.
[   13.289566] systemd[1]: Mounting FUSE Control File System...
[   13.295039] systemd[1]: Mounting Kernel Configuration File System...
[   13.299936] systemd[1]: Starting Apply Kernel Variables...
[   13.317240] systemd[1]: Finished Remount Root and Kernel File Systems.
[   13.329323] systemd[1]: Mounted FUSE Control File System.
[   13.330879] systemd[1]: Mounted Kernel Configuration File System.
[   13.337164] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[   13.337447] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[   13.341335] systemd[1]: Starting Load/Save Random Seed...
[   13.350349] systemd[1]: Starting Create System Users...
[   13.394713] systemd[1]: Finished Apply Kernel Variables.
[   13.412087] systemd[1]: Finished Load/Save Random Seed.
[   13.449285] systemd[1]: Finished Create System Users.
[   13.452665] systemd[1]: Finished Set the console keyboard layout.
[   13.457004] systemd[1]: Starting Create Static Device Nodes in /dev...
[   13.490174] systemd[1]: Finished Create Static Device Nodes in /dev.
[   13.491120] systemd[1]: Reached target Local File Systems (Pre).
[   13.491466] systemd[1]: Reached target Local File Systems.
[   13.495430] systemd[1]: Starting Set console font and keymap...
[   13.495888] systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped.
[   13.496239] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.
[   13.500503] systemd[1]: Starting udev Kernel Device Manager...
[   13.519233] systemd[1]: Finished Set console font and keymap.
[   13.589899] systemd[1]: Started udev Kernel Device Manager.
[   13.679499] systemd[1]: Started Journal Service.
[   13.709175] systemd-journald[314]: Received client request to flush runtime journal.
[   14.035268] r8125: loading out-of-tree module taints kernel.
[   14.038594] r8125 2.5Gigabit Ethernet driver 9.009.01-NAPI loaded
[   14.038680] r8125 0000:01:00.0: enabling device (0000 -> 0003)
[   14.084157] r8125: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
[   14.086206] r8125  Copyright (C) 2022 Realtek NIC software team <nicfae@realtek.com> 
                This program comes with ABSOLUTELY NO WARRANTY; for details, please see <http://www.gnu.org/licenses/>. 
                This is free software, and you are welcome to redistribute it under certain conditions; see <http://www.gnu.org/licenses/>. 
[   14.086556] r8125 2.5Gigabit Ethernet driver 9.009.01-NAPI loaded
[   14.086666] r8125 0001:11:00.0: enabling device (0000 -> 0003)
[   14.111018] r8125 0001:11:00.0 (unnamed net_device) (uninitialized): Invalid ether addr 00:00:00:00:00:00
[   14.111075] r8125 0001:11:00.0 (unnamed net_device) (uninitialized): Random ether addr da:1b:92:28:2b:51
[   14.111836] r8125: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
[   14.113868] r8125  Copyright (C) 2022 Realtek NIC software team <nicfae@realtek.com> 
                This program comes with ABSOLUTELY NO WARRANTY; for details, please see <http://www.gnu.org/licenses/>. 
                This is free software, and you are welcome to redistribute it under certain conditions; see <http://www.gnu.org/licenses/>. 
[   14.273966] rk817-codec rk817-codec: DMA mask not set
[   14.825715] rtc-hym8563 5-0051: rtc information is invalid
[   14.828194] rtc-hym8563 5-0051: registered as rtc1
[   15.123631] rk_gmac-dwmac fe2a0000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211F Gigabit Ethernet] (irq=82)
[   15.130488] dwmac4: Master AXI performs any burst length
[   15.130514] rk_gmac-dwmac fe2a0000.ethernet eth0: No Safety Features support found
[   15.130534] rk_gmac-dwmac fe2a0000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[   15.130770] rk_gmac-dwmac fe2a0000.ethernet eth0: registered PTP clock
[   15.131104] rk_gmac-dwmac fe2a0000.ethernet eth0: configuring for phy/rgmii link mode
[   15.315702] eth2: 0xffffffc0137b0000, d6:66:ff:19:ad:50, IRQ 99
[   15.374732] eth1: 0xffffffc013790000, 52:21:96:c5:c1:59, IRQ 85
[   17.699755] rk_gmac-dwmac fe2a0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   17.699849] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   35.065815] ttyFIQ ttyFIQ0: tty_port_close_start: tty->count = 1 port count = 2
[   42.980505] usb 7-1: new high-speed USB device number 2 using xhci-hcd
[   43.121426] usb 7-1: New USB device found, idVendor=2357, idProduct=012d, bcdDevice= 2.10
[   43.121455] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   43.121472] usb 7-1: Product: 802.11ac NIC
[   43.121487] usb 7-1: Manufacturer: Realtek
[   43.121501] usb 7-1: SerialNumber: 123456
[   43.138097] cma: cma_alloc: linux,cma: alloc failed, req-size: 256 pages, ret: -12

 

Link to comment
Share on other sites

I have an R5S, how would I create a new board configuration? I noticed that there is currently no bootconfig in the upstream u-boot repository. Would that be an issue?

 

I read through some of the developer documentation, but I can't find a section that explains how to go about adding support for a new board.

I have some familiarity with compilers and the likes, but I have never built a kernel or OS images by myself. I would however love to contribute.

Edited by nicklasfrahm
Link to comment
Share on other sites

22 minutes ago, nicklasfrahm said:

I read through some of the developer documentation, but I can't find a section that explains how to go about adding support for a new board.

Yeah that is one of the sections that are still missing and nobody took the challenge yet to make a write-up. However you can dig through old PRs that added support for a board to get an idea where things got added or adjusted.

Examples:

https://github.com/armbian/build/pull/3628

https://github.com/armbian/build/pull/3770

Link to comment
Share on other sites

On 7/16/2022 at 9:29 AM, nicklasfrahm said:

but I have never built a kernel or OS images by myself

 

On 7/16/2022 at 9:29 AM, nicklasfrahm said:

I would however love to contribute.


Pick something you understand well enough or start learning by reading this forum, documentation, ...
https://forum.armbian.com/staffapplications/

Link to comment
Share on other sites

Just wondering if I could rip the uboot from one of the nanopi r5s BSP images and overwrite that section of the quartz64 armbian images if it might boot?

 

If it is worth a chance, what would the dd command be to rip the uboot off of the BSP image?  what offset and length?

 

oh and I would have to grab the BSP device tree as well

Edited by tekrantz
Link to comment
Share on other sites

11 hours ago, tekrantz said:

could rip the uboot from one of the nanopi r5s BSP images

If you follow that way you could rip kernel package as well. That way the first working images for OPi Zero 2 were made. However Armbian does not want or like to do that since then you could basically directly use vendor provided images.https://docs.armbian.com/User-Guide_FAQ/#why-does-hardware-feature-xy-work-in-old-kernel-but-not-in-more-recent-one

 

At the bottom line it all depends on the development for the SoC or family which in this case is rk35xx. If that grows adding support for different boards that are built around that SoC is easy in comparison but that also depends on having a person that knows how to do that and want to donate their precious time doing so. Both aren't easy to find ;).

 

Link to comment
Share on other sites

I think I can help here as I'm already working on this off and on. The problem I have is I don't own the hardware, so I'm not going to be submitting any thing to Armbian. But so far "as I'm told by the tester" I have the board booting and everything working except the m.2 and eth leds. Those two bits are a WIP and I'm currently waiting for the tester to get back from holiday so he can see if its working now.

 

As for submitting the work to Armbian. I'd be happy to point whom ever to what I've done so far and help where I can.

Link to comment
Share on other sites

Vendor u-boot needs to be purged from the eMMChttps://wiki.friendlyelec.com/wiki/index.php/NanoPi_R5S#The_Boot_order_between_eMMC_and_SD_card

I drop test imgs and kernels here: https://github.com/pyavitz/binary/releases/tag/images

 

What was last reported;

5.19.3-2022-08-22 boots but no m.2, nor proper eth led functions.

5.19.6 I was told it booted, but then upon powering down the device it wouldn't come back. No other info given.

Only change between 5.19.3 and 5.19.6 was a defconfig adjustment.

 

Not tested;

5.19.8-2022-09-10 pin-ctrl added in hopes it brings up the m.2 and a custom led patch for the eth ports.

 

Can open an issue there or find me on IRC / Discord.

Link to comment
Share on other sites

13.09.2022 в 15:16, Cornelius сказал:

...custom led patch for the eth ports.

Maybe it will help with leds if add such a file, for example /etc/udev/rules.d/nanopi-r5s-led.rules:

SUBSYSTEM=="leds", KERNEL=="green:wan", ACTION=="add", ATTR{trigger}="netdev", ATTR{device_name}="eth2", ATTR{link}="1" ATTR{rx}="1" ATTR{tx}="1"
SUBSYSTEM=="leds", KERNEL=="green:lan1", ACTION=="add", ATTR{trigger}="netdev", ATTR{device_name}="eth0", ATTR{link}="1" ATTR{rx}="1" ATTR{tx}="1"
SUBSYSTEM=="leds", KERNEL=="green:lan2", ACTION=="add", ATTR{trigger}="netdev", ATTR{device_name}="eth1", ATTR{link}="1" ATTR{rx}="1" ATTR{tx}="1"

 

Link to comment
Share on other sites

Found that BBR congestion control (TCP_CONG_BBR) is not enabled in kernel (Linux r5s 5.19.11 #3 SMP Mon Sep 26 11:14:54 EDT 2022 aarch64 GNU/Linux), it is possible to enable this feature.

 

root@r5s:~# sysctl net.core.default_qdisc=fq
sysctl: setting key "net.core.default_qdisc": No such file or directory

root@r5s:~# sysctl net.ipv4.tcp_congestion_control=bbr
sysctl: setting key "net.ipv4.tcp_congestion_control": No such file or directory

 

Link to comment
Share on other sites

@Cornelius I used your last image and loaded it to emmc. It starts fine, but I don't know the login and password to use.

To load to emmc, I had to uncompress the xz file. I recompressed with gz (but this step is not necessary). Then I copied the file to a microSD card which contains their eflasher. Then install was fine.

Edited by Dysmas
add name
Link to comment
Share on other sites

Cornelius, thanks!

#4 succeeded only 50%, needs to be tweaked in the kernel NET_SCH_FQ_CODEL and NET_SCH_FQ options...

root@r5s:~# uname -a
Linux r5s 5.19.11 #4 SMP Mon Sep 26 17:57:58 EDT 2022 aarch64 GNU/Linux
root@r5s:~# sysctl net.core.default_qdisc=fq
sysctl: setting key "net.core.default_qdisc": No such file or directory
root@r5s:~# sysctl net.ipv4.tcp_congestion_control=bbr
net.ipv4.tcp_congestion_control = bbr

 

Found problem with creating a bonding interface:

root@r5s:~# modprobe bonding
modprobe: FATAL: Module bonding not found in directory /lib/modules/5.19.11

 

Edited by 9bx154
Link to comment
Share on other sites

Thanks for the login. Everything is working fine until now, thank you.

 

I found only a problem : the order of eth0, eth1, eth2 is strange. In the Linux (Ubuntu 20) given by Friendly Elec, the order is :

eth0 = WAN  (right)

eth1 = LAN1  (middle)

eth2 = LAN2  (left)

 

In the Armbian tested we have :

eth0 = LAN1 (middle)

eth1 = LAN2 (left)

eth2 = WAN (right)

 

this creates some confusion, because the order of ports from right to left (R5S box is designed like that) is eth2, eth0, eth1. 

 

The choice of the constructor was better.

Edited by Dysmas
Link to comment
Share on other sites

OK thanks.

I hope I put the issues in the right place, because I was not sure of the meaning of :

defconfig ->  rockchip64-rk356x_defconfig

Just for information of the reader, two other issues are for keyboard configuration, and start on microSD card.

Edited by Dysmas
Link to comment
Share on other sites

I have another problem which is not a bug, so probably its place is here.

Friendly Elec offers a very useful eflasher utility, with a one click backup. This utility requires that the system starts on the SD card, and the emmc is available. Unfortunately, due to the slightly strange way boot order is handled on this machine, this seems no longer possible.

https://wiki.friendlyelec.com/wiki/index.php/NanoPi_R5S#The_Boot_order_between_eMMC_and_SD_card

As far as I understand, when Armbian is loaded on the eMMC, we are in the situation where the eMMC has an Image with Mainline U-boot. And in this case, whatever is present on the SD card, boot is always done on the eMMC.

Method 1 does not give any result, because the file created is trashed on reboot.

Method 2 (MaskROM) masks the eMMC, which makes impossible the backup of the eMMC, or the loading of a new image, with this utility.

 

If I understand well the table, the only way to overcome this problem would be to make the image recognized as a FriendlyElec image. I have no idea if it is possible and how.

 

 

 

 

Link to comment
Share on other sites

51 минуту назад, Dysmas сказал:

Friendly Elec offers a very useful eflasher utility, with a one click backup.

I am interested to look at this utility (is it a copy of our DDBR utility, which they give out for their development). As part of Armbian, the DDBR utility has been used for a long time, which performs the creation of a full backup (and recovery) of the entire eMMC "as is".

Link to comment
Share on other sites

It is quite similar to what you say.

The images for the R5S are present here:

https://drive.google.com/drive/folders/1l6wnh_eXG-udXZC1C7G0-e4V6PEVdY_L

In the subdirectory 02_SD-to-emmc images, the images contain the eflasher. You have also the code separatly somewhere, I do not remember where.

On a card which has this utility, it is possible to make a backup "as is" of the full emmc. It is also possible to put different images, raw or gz, and they can be loaded to the emmc.
Small defect of this utility : it does not compress the backup.
You will not be able to use it on a different machine without modifying it, I think, because it is designed for the R5S.

Link to comment
Share on other sites

Progress : I found the reason for which method 1 was not working.  The wiki says :

dd if=/dev/zero of=/dev/mmcblk2 bs=8M count=1

because in FriendlyElec images, the eMMC is mmcblk2.

But in Armbian there is no mmcblk2, and the eMMC is mmcblk1.

I corrected the command :

dd if=/dev/zero of=/dev/mmcblk1 bs=8M count=1

 

And then the Nanopi booted on the SD card, with the eMMC available.
And so I could load an image on the eMMC.

 

This makes things more complex, but at least it works.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines