User:Brendlefly62/Radxa ROCK Pi 4C Plus/Getting to Know the Board/See what Debian has under the hood
Prepare the storage media
- The Rock 4c Plus has an eMMC connector, but it doesn't come with an eMMC module. So, use a microSD card.
- Recommendation: 32GB+
- Download the Debian image file to your PC
Install the downloaded image
- Flash the downloaded image file to the SD card with something like
- Win32 Disk Imager, downloadable from Sourceforge
- Balena Etcher (source also available on GitHub), or
- Raspberry Pi Imager, if already using that
- The sites above also have general instructions for those who have not done this before.
Boot; secure the setup; log in via ssh
- Put the micro SD card into the slot on the bottom of the board
- Connect keyboard, mouse, HDMI , power-USB-C, and (optional) Ethernet cables
- Switch-on or plug in the power supply
- Follow on-screen instructions, including connection to wifi, etc.
- Default user credentials (username/password) are radxa/radxa
- Click on the KDE icon in the lower left panel and select applications --> System --> Konsole
- Change your password at the command line
- User radxa is a member of the sudo group and can also change the root password
user $
grep radxa /etc/gshadow
[sudo] password for radxa: sudo:*::radxa ... sudo nano /etc/shadow sudo nano /etc/shadow- su -
root #
passwd
- Now, still on the rock-4c-plus Debian system, set up ssh... and log in from your build-project/cross-compiling machine and save valuable data there
root #
apt install service-ssh
root #
rm /etc/ssh/ssh_host*
root #
mount /dev/sda /mnt/thumb
root #
cp -r /mnt/thumb/etc-ssh/{sshd_config,sshd_config.d,sshd_banner} /etc/ssh/
root #
service ssh start
user $
mkdir /home/<myusername>/.ssh
user $
cp /mnt/thumb/<myusername>-ssh /home/<myusername>/.ssh
user $
chmod 600 /home/<myusername>/.ssh/*
user $
chmod 640 /home/<myusername>/.ssh/*.pub
user $
chmod 640 /home/<myusername>/.ssh/known_hosts
user $
# from remote system: $ ssh <myusername>@rock-4c-plus
user $
# from remote system, <myusername> should also be able to use scp to transfer files
Study System Information
Console information from u-boot was difficult to read because the console connection baud rate was the default u-boot value (1500000). That was too fast for the UART-USB connection hardware employed. A more tolerable rate would be 115200 - more on that later. Meanwhile, here's what was readable.
(u-boot)
(console output)
rockchip-pcie f8000000.pcie rkvdec_init:1230: failed on clk_get clk_hevc_cabac mpp_rkvdec ff660000.rkvdec: shared_video_hevc_cabac is not found! rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed rk817-battery rk817-battery: Failed to find matching dt id rockchip-dmc dmc: could not find power_model node rksfc_base v1.1 2016-01-08 rockchip-usb2phy ff770000.syscon:usb2-phy@e450: IRQ index 0 not found mmc0: delay init for 600 ms to enable UHS mode rockchip-vop ff8f0000.vop: missing rockchip,grf property midgard ff9a0000.gpu: Failed to get gpu_leakage 'dapm' already present! mpp_rkvdec ff660000.rkvdec: rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed rk817-battery rk817-battery: Failed to find matching dt id rk817-charger rk817-charger: Failed to find matching dt id rockchip-dmc dmc: Failed to get ddr_leakage rksfc_base v1.1 2016-01-08 debugfs: File 'Capture' in directory 'dapm' already present! Debian GNU/Linux 11 rock-4c-plus ttyFIQ0 rock-4c-plus login:
The output of dmesg will have valuable information about hardware and associated drivers
root #
dmesg
[ 12.195878] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 12.195940] Linux version 5.10.110-1-rockchip (runner@2597144e02e6) (aarch64-linux-gnu-gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #0a544b8c7 SMP Sun Mar 12 14:04:06 UTC 2023 [ 12.212755] Machine model: Radxa ROCK 4C+ [ 12.213321] efi: UEFI not found. [ 12.218926] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB [ 12.467163] Zone ranges: [ 12.467188] DMA [mem 0x0000000000200000-0x00000000f7ffffff] [ 12.467219] DMA32 empty [ 12.467238] Normal empty [ 12.467256] Movable zone start for each node [ 12.467267] Early memory node ranges [ 12.467283] node 0: [mem 0x0000000000200000-0x00000000f7ffffff] [ 12.467309] Initmem setup node 0 [mem 0x0000000000200000-0x00000000f7ffffff] [ 12.467330] On node 0 totalpages: 1015296 [ 12.467345] DMA zone: 15864 pages used for memmap [ 12.467357] DMA zone: 0 pages reserved [ 12.467372] DMA zone: 1015296 pages, LIFO batch:63 [ 12.534474] cma: Reserved 16 MiB at 0x00000000f6400000 [ 12.534623] psci: probing for conduit method from DT. [ 12.534649] psci: PSCIv1.0 detected in firmware. [ 12.534660] psci: Using standard PSCI v0.2 function IDs [ 12.534677] psci: MIGRATE_INFO_TYPE not supported. [ 12.534691] psci: SMC Calling Convention v1.0 [ 12.535715] percpu: Embedded 32 pages/cpu s93224 r8192 d29656 u131072 [ 12.535804] pcpu-alloc: s93224 r8192 d29656 u131072 alloc=32*4096 [ 12.535825] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [ 12.536139] Detected VIPT I-cache on CPU0 [ 12.536275] CPU features: detected: ARM erratum 845719 [ 12.536292] CPU features: detected: GIC system register CPU interface [ 12.536576] Built 1 zonelists, mobility grouping on. Total pages: 999432 [ 12.536603] Kernel command line: root=UUID=8087ba46-93d3-4f58-a640-231fd0aa806c loglevel=4 console=tty0 console=ttyAML0,115200n8 console=ttyS2,1500000n8 console=ttyFIQ0,1500000n8 coherent_pool=2M irqchip.gicv3_pseudo_nmi=0 quiet splash plymouth.ignore-serial-consoles [ 12.539511] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 12.540330] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 12.540352] mem auto-init: stack:off, heap alloc:off, heap free:off [ 12.698617] Memory: 3923588K/4061184K available (13568K kernel code, 3096K rwdata, 4792K rodata, 5696K init, 579K bss, 121212K reserved, 16384K cma-reserved) [ 12.699042] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1 [ 12.699140] ftrace: allocating 52552 entries in 206 pages [ 12.961674] ftrace: allocated 206 pages with 5 groups [ 12.962463] rcu: Hierarchical RCU implementation. [ 12.962478] rcu: RCU event tracing is enabled. [ 12.962494] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6. [ 12.962507] Rude variant of Tasks RCU enabled. [ 12.962517] Tracing variant of Tasks RCU enabled. [ 12.962533] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies. [ 12.962547] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6 [ 12.977242] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 12.981840] GICv3: GIC: Using split EOI/Deactivate mode [ 12.981863] GICv3: 256 SPIs implemented [ 12.981876] GICv3: 0 Extended SPIs implemented [ 12.981973] GICv3: Distributor has no Range Selector support [ 12.982028] GICv3: 16 PPIs implemented [ 12.983225] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000 [ 12.983690] ITS [mem 0xfee20000-0xfee3ffff] [ 12.984242] ITS@0x00000000fee20000: allocated 65536 Devices @600000 (flat, esz 8, psz 64K, shr 0) [ 12.984292] ITS: using cache flushing for cmd queue [ 12.985016] GICv3: using LPI property table @0x00000000005c0000 [ 12.985428] GIC: using cache flushing for LPI property table [ 12.985469] GICv3: CPU0: using allocated LPI pending table @0x00000000005d0000 [ 12.985554] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] } [ 12.985854] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] } [ 12.987405] random: get_random_bytes called from start_kernel+0x3e0/0x5d8 with crng_init=0 [ 13.269395] rockchip_clk_register_frac_branch: could not find dclk_vop0_frac as parent of dclk_vop0, rate changes may not work [ 13.285367] rockchip_clk_register_frac_branch: could not find dclk_vop1_frac as parent of dclk_vop1, rate changes may not work [ 13.448223] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 13.448243] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 13.448259] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 13.449750] Console: colour dummy device 80x25 [ 13.449814] printk: console [tty0] enabled [ 13.449857] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000) [ 13.449875] pid_max: default: 32768 minimum: 301 [ 13.450048] LSM: Security Framework initializing [ 13.450150] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 13.450175] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 13.453023] rcu: Hierarchical SRCU implementation. [ 13.454046] Platform MSI: interrupt-controller@fee20000 domain created [ 13.454694] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created [ 13.454986] EFI services will not be available. [ 13.455509] smp: Bringing up secondary CPUs ... [ 13.456430] Detected VIPT I-cache on CPU1 [ 13.456496] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000 [ 13.456531] GICv3: CPU1: using allocated LPI pending table @0x00000000005e0000 [ 13.456605] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 13.457809] Detected VIPT I-cache on CPU2 [ 13.457874] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000 [ 13.457909] GICv3: CPU2: using allocated LPI pending table @0x00000000005f0000 [ 13.457982] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 13.459171] Detected VIPT I-cache on CPU3 [ 13.459235] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000 [ 13.459270] GICv3: CPU3: using allocated LPI pending table @0x0000000000680000 [ 13.459343] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 13.460555] CPU features: detected: Spectre-v2 [ 13.460562] CPU features: detected: Spectre-v4 [ 13.460566] CPU features: detected: ARM errata 1165522, 1319367, or 1530923 [ 13.460572] CPU features: detected: Spectre-BHB [ 13.460578] Detected PIPT I-cache on CPU4 [ 13.460612] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000 [ 13.460634] GICv3: CPU4: using allocated LPI pending table @0x0000000000690000 [ 13.460675] CPU4: Booted secondary processor 0x0000000100 [0x410fd082] [ 13.461674] Detected PIPT I-cache on CPU5 [ 13.461711] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000 [ 13.461735] GICv3: CPU5: using allocated LPI pending table @0x00000000006a0000 [ 13.461778] CPU5: Booted secondary processor 0x0000000101 [0x410fd082] [ 13.461933] smp: Brought up 1 node, 6 CPUs [ 13.461961] SMP: Total of 6 processors activated. [ 13.461971] CPU features: detected: 32-bit EL0 Support [ 13.461979] CPU features: detected: CRC32 instructions [ 13.461988] CPU features: detected: 32-bit EL1 Support [ 13.462090] CPU: All CPU(s) started at EL2 [ 13.462139] alternatives: patching kernel code [ 13.465239] devtmpfs: initialized [ 13.479814] Registered cp15_barrier emulation handler [ 13.479832] Registered setend emulation handler [ 13.480026] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns [ 13.480045] futex hash table entries: 2048 (order: 5, 131072 bytes, linear) [ 13.481170] pinctrl core: initialized pinctrl subsystem [ 13.481435] regulator-dummy: no parameters, enabled [ 13.481789] DMI not present or invalid. [ 13.482251] NET: Registered protocol family 16 [ 13.484895] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations [ 13.485545] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 13.485624] audit: initializing netlink subsys (disabled) [ 13.485879] audit: type=2000 audit(0.036:1): state=initialized audit_enabled=0 res=1 [ 13.487237] thermal_sys: Registered thermal governor 'fair_share' [ 13.487244] thermal_sys: Registered thermal governor 'step_wise' [ 13.487250] thermal_sys: Registered thermal governor 'user_space' [ 13.487256] thermal_sys: Registered thermal governor 'power_allocator' [ 13.487683] thermal thermal_zone1: power_allocator: sustainable_power will be estimated [ 13.487740] cpuidle: using governor menu [ 13.487763] Registered FIQ tty driver [ 13.488114] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 13.488323] ASID allocator initialised with 65536 entries [ 13.489970] ramoops ramoops: failed to locate DT /reserved-memory resource [ 13.490003] ramoops: probe of ramoops failed with error -22 [ 13.512271] platform ff770000.syscon:phy@f780: Fixing up cyclic dependency with fe330000.sdhci [ 13.528366] rockchip-gpio ff720000.gpio0: probed /pinctrl/gpio0@ff720000 [ 13.529047] rockchip-gpio ff730000.gpio1: probed /pinctrl/gpio1@ff730000 [ 13.529652] rockchip-gpio ff780000.gpio2: probed /pinctrl/gpio2@ff780000 [ 13.530257] rockchip-gpio ff788000.gpio3: probed /pinctrl/gpio3@ff788000 [ 13.530808] rockchip-gpio ff790000.gpio4: probed /pinctrl/gpio4@ff790000 [ 13.530918] rockchip-pinctrl pinctrl: probed pinctrl [ 13.546713] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 13.546724] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 13.546731] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 13.546738] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 13.552680] fiq_debugger fiq_debugger.0: IRQ fiq not found [ 13.552705] fiq_debugger fiq_debugger.0: IRQ wakeup not found [ 13.552722] fiq_debugger_probe: could not install nmi irq handler [ 13.552909] printk: console [ttyFIQ0] enabled [ 13.553093] Registered fiq debugger ttyFIQ0 [ 13.553552] vcc5v0_sys: 5000 mV, enabled [ 13.553739] reg-fixed-voltage vcc5v0-sys: vcc5v0_sys supplying 5000000uV [ 13.554061] reg-fixed-voltage vbus-typec: Looking up vin-supply from device tree [ 13.554074] vbus_typec: supplied by vcc5v0_sys [ 13.554086] vcc5v0_sys: could not add device link regulator.2: -ENOENT [ 13.554130] vbus_typec: at 5000 mV, enabled [ 13.554295] reg-fixed-voltage vbus-typec: vbus_typec supplying 0uV [ 13.554453] vcc_phy: no parameters, enabled [ 13.554625] reg-fixed-voltage vcc-phy-regulator: vcc_phy supplying 0uV [ 13.554838] reg-fixed-voltage vcc3v3-pcie-regulator: Looking up vin-supply from device tree [ 13.554850] vcc3v3_pcie: supplied by vcc5v0_sys [ 13.554860] vcc5v0_sys: could not add device link regulator.4: -ENOENT [ 13.554902] vcc3v3_pcie: at 5000 mV, enabled [ 13.555071] reg-fixed-voltage vcc3v3-pcie-regulator: vcc3v3_pcie supplying 0uV [ 13.555204] reg-fixed-voltage vcc3v3-dp: Looking up vin-supply from device tree [ 13.555216] vcc3v3_dp: supplied by vcc5v0_sys [ 13.555225] vcc5v0_sys: could not add device link regulator.5: -ENOENT [ 13.555264] vcc3v3_dp: 3300 mV, enabled [ 13.555419] reg-fixed-voltage vcc3v3-dp: vcc3v3_dp supplying 3300000uV [ 13.556024] iommu: Default domain type: Translated [ 13.556231] rk_iommu ff650800.iommu: version = 1 [ 13.556658] rockchip-pm-domain ff310000.power-management:power-controller: Looking up vcodec-supply from device tree [ 13.556709] rockchip-pm-domain ff310000.power-management:power-controller: Looking up vcodec-supply property in node /power-management@ff310000/power-controller failed [ 13.556864] rk_iommu ff660480.iommu: version = 1 [ 13.557087] rockchip-pm-domain ff310000.power-management:power-controller: Looking up vdu-supply from device tree [ 13.557132] rockchip-pm-domain ff310000.power-management:power-controller: Looking up vdu-supply property in node /power-management@ff310000/power-controller failed [ 13.557272] rk_iommu ff670800.iommu: version = 1 [ 13.557476] rockchip-pm-domain ff310000.power-management:power-controller: Looking up iep-supply from device tree [ 13.557520] rockchip-pm-domain ff310000.power-management:power-controller: Looking up iep-supply property in node /power-management@ff310000/power-controller failed [ 13.557703] rk_iommu ff8f3f00.iommu: version = 1 [ 13.558027] rk_iommu ff903f00.iommu: version = 1 [ 13.558327] rk_iommu ff914000.iommu: version = 1 [ 13.558538] rockchip-pm-domain ff310000.power-management:power-controller: Looking up isp0-supply from device tree [ 13.558584] rockchip-pm-domain ff310000.power-management:power-controller: Looking up isp0-supply property in node /power-management@ff310000/power-controller failed [ 13.558723] rk_iommu ff924000.iommu: version = 1 [ 13.558951] rockchip-pm-domain ff310000.power-management:power-controller: Looking up isp1-supply from device tree [ 13.558995] rockchip-pm-domain ff310000.power-management:power-controller: Looking up isp1-supply property in node /power-management@ff310000/power-controller failed [ 13.559553] SCSI subsystem initialized [ 13.559589] libata version 3.00 loaded. [ 13.559770] usbcore: registered new interface driver usbfs [ 13.559807] usbcore: registered new interface driver hub [ 13.559849] usbcore: registered new device driver usb [ 13.559941] mc: Linux media interface: v0.10 [ 13.559967] videodev: Linux video capture interface: v2.00 [ 13.560032] pps_core: LinuxPPS API ver. 1 registered [ 13.560038] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 13.560053] PTP clock support registered [ 13.563661] clocksource: Switched to clocksource arch_sys_counter [ 14.587821] VFS: Disk quotas dquot_6.6.0 [ 14.587889] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 14.597060] NET: Registered protocol family 2 [ 14.597379] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 14.600133] tcp_listen_portaddr_hash hash table entries: 2048 (order: 4, 81920 bytes, linear) [ 14.600261] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 14.600558] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear) [ 14.601206] TCP: Hash tables configured (established 32768 bind 32768) [ 14.601642] MPTCP token hash table entries: 4096 (order: 5, 196608 bytes, linear) [ 14.601803] UDP hash table entries: 2048 (order: 5, 196608 bytes, linear) [ 14.601983] UDP-Lite hash table entries: 2048 (order: 5, 196608 bytes, linear) [ 14.602308] NET: Registered protocol family 1 [ 14.602952] RPC: Registered named UNIX socket transport module. [ 14.602959] RPC: Registered udp transport module. [ 14.602964] RPC: Registered tcp transport module. [ 14.602970] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 14.603952] PCI: CLS 0 bytes, default 64 [ 14.604532] Trying to unpack rootfs image as initramfs... [ 15.329906] Freeing initrd memory: 14324K [ 15.331190] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available [ 15.331599] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available [ 15.332326] kvm [1]: IPA Size Limit: 40 bits [ 15.333236] kvm [1]: vgic-v2@fff20000 [ 15.333244] kvm [1]: GIC system register CPU interface enabled [ 15.333482] kvm [1]: vgic interrupt IRQ18 [ 15.333778] kvm [1]: Hyp mode initialized successfully [ 15.338230] Initialise system trusted keyrings [ 15.338384] workingset: timestamp_bits=46 max_order=20 bucket_order=0 [ 15.345330] NFS: Registering the id_resolver key type [ 15.345362] Key type id_resolver registered [ 15.345368] Key type id_legacy registered [ 15.345454] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 15.345462] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 15.346435] NET: Registered protocol family 38 [ 15.346446] Key type asymmetric registered [ 15.346453] Asymmetric key parser 'x509' registered [ 15.346488] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 242) [ 15.346658] io scheduler mq-deadline registered [ 15.346671] io scheduler kyber registered [ 15.348102] phy phy-ff770000.syscon:phy@f780.0: Looking up phy-supply from device tree [ 15.348123] phy phy-ff770000.syscon:phy@f780.0: Looking up phy-supply property in node /syscon@ff770000/phy@f780 failed [ 15.349448] rockchip-usb2phy ff770000.syscon:usb2-phy@e450: IRQ index 0 not found [ 15.349674] phy phy-ff770000.syscon:usb2-phy@e450.1: Looking up phy-supply from device tree [ 15.349694] rockchip-usb2phy ff770000.syscon:usb2-phy@e450: failed to create phy [ 15.349894] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: IRQ index 0 not found [ 15.350048] phy phy-ff770000.syscon:usb2-phy@e460.1: Looking up phy-supply from device tree [ 15.350065] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: failed to create phy [ 15.351721] phy phy-ff770000.syscon:pcie-phy.1: Looking up phy-supply from device tree [ 15.351739] phy phy-ff770000.syscon:pcie-phy.1: Looking up phy-supply property in node /syscon@ff770000/pcie-phy failed [ 15.351824] phy phy-ff770000.syscon:pcie-phy.2: Looking up phy-supply from device tree [ 15.351839] phy phy-ff770000.syscon:pcie-phy.2: Looking up phy-supply property in node /syscon@ff770000/pcie-phy failed [ 15.351911] phy phy-ff770000.syscon:pcie-phy.3: Looking up phy-supply from device tree [ 15.351926] phy phy-ff770000.syscon:pcie-phy.3: Looking up phy-supply property in node /syscon@ff770000/pcie-phy failed [ 15.352002] phy phy-ff770000.syscon:pcie-phy.4: Looking up phy-supply from device tree [ 15.352016] phy phy-ff770000.syscon:pcie-phy.4: Looking up phy-supply property in node /syscon@ff770000/pcie-phy failed [ 15.353435] phy phy-ff800000.phy.5: Looking up phy-supply from device tree [ 15.353451] phy phy-ff800000.phy.5: Looking up phy-supply property in node /phy@ff800000/dp-port failed [ 15.353552] phy phy-ff800000.phy.6: Looking up phy-supply from device tree [ 15.353566] phy phy-ff800000.phy.6: Looking up phy-supply property in node /phy@ff800000/usb3-port failed [ 15.353720] rockchip-pm-domain ff310000.power-management:power-controller: Looking up tcpd1-supply from device tree [ 15.353770] rockchip-pm-domain ff310000.power-management:power-controller: Looking up tcpd1-supply property in node /power-management@ff310000/power-controller failed [ 15.355570] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges: [ 15.355605] rockchip-pcie f8000000.pcie: MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000 [ 15.355621] rockchip-pcie f8000000.pcie: IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000 [ 15.356164] rockchip-pcie f8000000.pcie: Looking up vpcie12v-supply from device tree [ 15.356180] rockchip-pcie f8000000.pcie: Looking up vpcie12v-supply property in node /pcie@f8000000 failed [ 15.356196] rockchip-pcie f8000000.pcie: no vpcie12v regulator found [ 15.356203] rockchip-pcie f8000000.pcie: Looking up vpcie3v3-supply from device tree [ 15.356217] rockchip-pcie f8000000.pcie: Looking up vpcie3v3-supply property in node /pcie@f8000000 failed [ 15.356227] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found [ 15.356235] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply from device tree [ 15.356248] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply property in node /pcie@f8000000 failed [ 15.356259] rockchip-pcie f8000000.pcie: supply vpcie1v8 not found, using dummy regulator [ 15.356380] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply from device tree [ 15.356394] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply property in node /pcie@f8000000 failed [ 15.356405] rockchip-pcie f8000000.pcie: supply vpcie0v9 not found, using dummy regulator [ 15.907031] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout! [ 15.907071] rockchip-pcie f8000000.pcie: deferred probe failed [ 15.907721] rockchip-pcie: probe of f8000000.pcie failed with error -110 [ 15.908722] mpp_service mpp-srv: 0a544b8c7 author: Ken Wang 2023-03-12 arm64: dts: rock 4: keep the wifi wakeup pin high level during suspend [ 15.908729] mpp_service mpp-srv: probe start [ 15.909448] mpp_rkvdec ff660000.rkvdec: Adding to iommu group 1 [ 15.909701] mpp_rkvdec ff660000.rkvdec: probing start [ 15.910044] rkvdec_init:1230: failed on clk_get clk_hevc_cabac [ 15.910140] mpp_rkvdec ff660000.rkvdec: shared_video_hevc_cabac is not found! [ 15.910155] rkvdec_init:1261: No hevc cabac reset resource define [ 15.910532] mpp_rkvdec ff660000.rkvdec: probing finish [ 15.912353] mpp_vdpu2 ff650400.vdpu: Adding to iommu group 0 [ 15.912642] mpp_vdpu2 ff650400.vdpu: probe device [ 15.913010] mpp_vdpu2 ff650400.vdpu: reset_group->rw_sem_on=0 [ 15.913031] mpp_vdpu2 ff650400.vdpu: reset_group->rw_sem_on=0 [ 15.913322] mpp_vdpu2 ff650400.vdpu: probing finish [ 15.913885] mpp_vepu2 ff650000.vepu: Adding to iommu group 0 [ 15.913974] mpp_vepu2 ff650000.vepu: probing start [ 15.914241] mpp_vepu2 ff650000.vepu: reset_group->rw_sem_on=0 [ 15.914251] mpp_vepu2 ff650000.vepu: reset_group->rw_sem_on=0 [ 15.914479] mpp_vepu2 ff650000.vepu: probing finish [ 15.916169] mpp_service mpp-srv: probe success [ 15.919595] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 15.919605] dma-pl330 ff6d0000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12 [ 15.920992] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 15.921002] dma-pl330 ff6e0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16 [ 15.921505] rockchip-pvtm ff320000.syscon:pmu-pvtm: pvtm@4 probed [ 15.921790] rockchip-pvtm ff770000.syscon:pvtm: pvtm@0 probed [ 15.921827] rockchip-pvtm ff770000.syscon:pvtm: pvtm@1 probed [ 15.921857] rockchip-pvtm ff770000.syscon:pvtm: pvtm@2 probed [ 15.921886] rockchip-pvtm ff770000.syscon:pvtm: pvtm@3 probed [ 15.922561] rockchip-system-monitor rockchip-system-monitor: system monitor probe [ 15.923302] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled [ 15.924127] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 45, base_baud = 1500000) is a 16550A [ 15.924291] serial serial0: tty port ttyS0 registered [ 15.926492] rockchip-vop ff8f0000.vop: Adding to iommu group 3 [ 15.926905] rockchip-vop ff900000.vop: Adding to iommu group 4 [ 15.935057] no ATF memory for init [ 15.939330] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 15.940141] brd: module loaded [ 15.947079] loop: module loaded [ 15.947530] zram: Added device: zram0 [ 15.947801] lkdtm: No crash points registered, enable through debugfs [ 15.948491] no ATF memory for init [ 15.952600] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found [ 15.952610] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found [ 15.952729] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock [ 15.952753] rk_gmac-dwmac fe300000.ethernet: Looking up phy-supply from device tree [ 15.952923] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input). [ 15.952932] rk_gmac-dwmac fe300000.ethernet: TX delay(0x2a). [ 15.952941] rk_gmac-dwmac fe300000.ethernet: RX delay(0x21). [ 15.952956] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no). [ 15.953010] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed [ 15.953049] rk_gmac-dwmac fe300000.ethernet: clock input from PHY [ 15.953282] rk_gmac-dwmac fe300000.ethernet: init for RGMII [ 15.953492] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35 [ 15.953503] rk_gmac-dwmac fe300000.ethernet: DWMAC1000 [ 15.953510] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported [ 15.953517] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported [ 15.953524] rk_gmac-dwmac fe300000.ethernet: COE Type 2 [ 15.953530] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported [ 15.953536] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported [ 15.953596] rk_gmac-dwmac fe300000.ethernet: Normal descriptors [ 15.953603] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled [ 15.953609] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 16.116977] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL) [ 16.117008] mdio_bus stmmac-0:01: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:01, irq=POLL) [ 16.119117] usbcore: registered new interface driver rndis_wlan [ 16.119157] usbcore: registered new interface driver cdc_ether [ 16.119187] usbcore: registered new interface driver rndis_host [ 16.122727] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 16.122758] ehci-pci: EHCI PCI platform driver [ 16.122808] ehci-platform: EHCI generic platform driver [ 16.123079] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 16.123094] ohci-platform: OHCI generic platform driver [ 16.124296] usbcore: registered new interface driver usbtouchscreen [ 16.124885] i2c /dev entries driver [ 16.127365] rk808 0-0020: chip id: 0x8090 [ 16.127413] rk808 0-0020: No cache defaults, reading back from HW [ 16.133508] rk808 0-0020: source: on=0x40, off=0x00 [ 16.133520] rk808 0-0020: support dcdc3 fb mode:-22, 1 [ 16.133529] rk808 0-0020: support pmic reset mode:0,0 [ 16.137819] rk808-regulator rk808-regulator: there is no dvs0 gpio [ 16.137845] rk808-regulator rk808-regulator: there is no dvs1 gpio [ 16.137924] rk808 0-0020: Looking up vcc1-supply from device tree [ 16.137940] vdd_log: supplied by vcc5v0_sys [ 16.137951] vcc5v0_sys: could not add device link regulator.6: -ENOENT [ 16.138145] vdd_log: 750 <--> 1350 mV at 900 mV, enabled [ 16.138449] rk808 0-0020: Looking up vcc2-supply from device tree [ 16.138461] vdd_cpu_l: supplied by vcc5v0_sys [ 16.138475] vcc5v0_sys: could not add device link regulator.7: -ENOENT [ 16.138658] vdd_cpu_l: 750 <--> 1350 mV at 900 mV, enabled [ 16.138932] rk808 0-0020: Looking up vcc3-supply from device tree [ 16.138944] vcc_ddr: supplied by vcc5v0_sys [ 16.138953] vcc5v0_sys: could not add device link regulator.8: -ENOENT [ 16.139116] vcc_ddr: at 500 mV, enabled [ 16.139396] rk808 0-0020: Looking up vcc4-supply from device tree [ 16.139408] vcc3v3_sys: supplied by vcc5v0_sys [ 16.139417] vcc5v0_sys: could not add device link regulator.9: -ENOENT [ 16.139582] vcc3v3_sys: 3300 mV, enabled [ 16.139853] rk808 0-0020: Looking up vcc9-supply from device tree [ 16.139865] vcc_buck5: supplied by vcc5v0_sys [ 16.139874] vcc5v0_sys: could not add device link regulator.10: -ENOENT [ 16.140034] vcc_buck5: 3300 mV, enabled [ 16.140281] rk808 0-0020: Looking up vcc5-supply from device tree [ 16.140297] vcca_0v9: supplied by vcc_buck5 [ 16.140306] vcc_buck5: could not add device link regulator.11: -ENOENT [ 16.141026] vcca_0v9: 900 mV, enabled [ 16.141274] rk808 0-0020: Looking up vcc5-supply from device tree [ 16.141290] vcc_1v8: supplied by vcc_buck5 [ 16.141299] vcc_buck5: could not add device link regulator.12: -ENOENT [ 16.141978] vcc_1v8: 1800 mV, enabled [ 16.142238] rk808 0-0020: Looking up vcc5-supply from device tree [ 16.142254] vcc0v9_soc: supplied by vcc_buck5 [ 16.142263] vcc_buck5: could not add device link regulator.13: -ENOENT [ 16.142941] vcc0v9_soc: 900 mV, enabled [ 16.143206] vcca_1v8: Bringing 1800000uV into 1850000-1850000uV [ 16.143334] vcca_1v8: ramp_delay not set [ 16.143347] rk808 0-0020: Looking up vcc6-supply from device tree [ 16.143364] vcca_1v8: supplied by vcc_buck5 [ 16.143373] vcc_buck5: could not add device link regulator.14: -ENOENT [ 16.144050] vcca_1v8: 1850 mV, enabled [ 16.144315] rk808 0-0020: Looking up vcc6-supply from device tree [ 16.144331] vcc_mipi: supplied by vcc_buck5 [ 16.144340] vcc_buck5: could not add device link regulator.15: -ENOENT [ 16.145017] vcc_mipi: 3000 mV, enabled [ 16.145273] rk808 0-0020: Looking up vcc6-supply from device tree [ 16.145289] vcc_1v5: supplied by vcc_buck5 [ 16.145298] vcc_buck5: could not add device link regulator.16: -ENOENT [ 16.145989] vcc_1v5: 1500 mV, enabled [ 16.146249] rk808 0-0020: Looking up vcc7-supply from device tree [ 16.146261] vcc_3v0: supplied by vcc5v0_sys [ 16.146271] vcc5v0_sys: could not add device link regulator.17: -ENOENT [ 16.146946] vcc_3v0: 3000 mV, enabled [ 16.147248] rk808 0-0020: Looking up vcc7-supply from device tree [ 16.147260] vccio_sd: supplied by vcc5v0_sys [ 16.147273] vcc5v0_sys: could not add device link regulator.18: -ENOENT [ 16.147954] vccio_sd: 1800 <--> 3300 mV at 3300 mV, enabled [ 16.148230] rk808 0-0020: Looking up vcc7-supply from device tree [ 16.148241] vcc_cam: supplied by vcc5v0_sys [ 16.148251] vcc5v0_sys: could not add device link regulator.19: -ENOENT [ 16.148927] vcc_cam: 3300 mV, enabled [ 16.149192] vcc5v0_usb2.0: failed to get the current voltage: -EPROBE_DEFER [ 16.149229] rk808 0-0020: Looking up vcc9-supply from device tree [ 16.149240] vcc5v0_usb2.0: supplied by vcc5v0_sys [ 16.149250] vcc5v0_sys: could not add device link regulator.20: -ENOENT [ 16.149302] vcc5v0_usb2.0: 5000 mV, disabled [ 16.149543] lcd_3v3: failed to get the current voltage: -EPROBE_DEFER [ 16.149561] rk808 0-0020: Looking up vcc8-supply from device tree [ 16.149575] lcd_3v3: supplied by vcc3v3_sys [ 16.149584] vcc3v3_sys: could not add device link regulator.21: -ENOENT [ 16.149746] lcd_3v3: 3300 mV, enabled [ 16.149984] rk817-battery: Failed to locate of_node [id: -1] [ 16.150104] rk817-battery rk817-battery: Failed to find matching dt id [ 16.150221] rk817-charger: Failed to locate of_node [id: -1] [ 16.150348] rk817-charger rk817-charger: Failed to find matching dt id [ 16.151662] input: rk805 pwrkey as /devices/platform/ff3c0000.i2c/i2c-0/0-0020/rk805-pwrkey/input/input0 [ 16.154276] rk808-rtc rk808-rtc: registered as rtc0 [ 16.154813] rk808-rtc rk808-rtc: setting system clock to 2017-08-04T09:00:17 UTC (1501837217) [ 16.156928] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected! [ 16.157594] fan53555-regulator 0-0040: Looking up vin-supply from device tree [ 16.157611] vdd_cpu_b: supplied by vcc5v0_sys [ 16.157624] vcc5v0_sys: could not add device link regulator.22: -ENOENT [ 16.158751] vdd_cpu_b: 712 <--> 1500 mV at 1000 mV, enabled [ 16.160296] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected! [ 16.161224] fan53555-regulator 0-0041: Looking up vin-supply from device tree [ 16.161238] vdd_gpu: supplied by vcc5v0_sys [ 16.161248] vcc5v0_sys: could not add device link regulator.23: -ENOENT [ 16.162507] vdd_gpu: 712 <--> 1500 mV at 1000 mV, enabled [ 16.167008] usbcore: registered new interface driver uvcvideo [ 16.167015] USB Video Class driver (1.1.1) [ 16.169305] rockchip-thermal ff260000.tsadc: tsadc is probed successfully! [ 16.170049] dw_wdt ff848000.watchdog: No valid TOPs array specified [ 16.170777] cpu cpu0: Failed to get cpu_leakage [ 16.170846] cpu cpu4: Failed to get cpu_leakage [ 16.171130] cpu cpu0: Looking up cpu-supply from device tree [ 16.171719] cpu cpu0: avs=0 [ 16.171764] cpu cpu4: Looking up cpu-supply from device tree [ 16.172523] cpu cpu4: avs=0 [ 16.172642] cpu cpu0: EM: OPP:408000 is inefficient [ 16.172750] cpu cpu0: EM: created perf domain [ 16.172797] cpu cpu0: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0 [ 16.173147] cpu cpu4: EM: OPP:600000 is inefficient [ 16.173154] cpu cpu4: EM: OPP:408000 is inefficient [ 16.173318] cpu cpu4: EM: created perf domain [ 16.173957] cpu cpu4: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0 [ 16.178108] sdhci: Secure Digital Host Controller Interface driver [ 16.178115] sdhci: Copyright(c) Pierre Ossman [ 16.178121] Synopsys Designware Multimedia Card Interface Driver [ 16.179390] sdhci-pltfm: SDHCI platform and OF driver helper [ 16.180704] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode. [ 16.180784] dwmmc_rockchip fe310000.mmc: Using internal DMA controller. [ 16.180814] dwmmc_rockchip fe310000.mmc: Version ID is 270a [ 16.180956] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 36,32 bit host data width,256 deep fifo [ 16.181234] dwmmc_rockchip fe310000.mmc: Looking up vmmc-supply from device tree [ 16.181285] dwmmc_rockchip fe310000.mmc: Looking up vmmc-supply property in node /mmc@fe310000 failed [ 16.181365] dwmmc_rockchip fe310000.mmc: Looking up vqmmc-supply from device tree [ 16.181404] dwmmc_rockchip fe310000.mmc: Looking up vqmmc-supply property in node /mmc@fe310000 failed [ 16.181495] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode. [ 16.181517] dwmmc_rockchip fe320000.mmc: Using internal DMA controller. [ 16.181531] dwmmc_rockchip fe320000.mmc: Version ID is 270a [ 16.181569] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 37,32 bit host data width,256 deep fifo [ 16.181618] dwmmc_rockchip fe320000.mmc: Looking up vmmc-supply from device tree [ 16.181742] dwmmc_rockchip fe320000.mmc: Looking up vqmmc-supply from device tree [ 16.181924] dwmmc_rockchip fe310000.mmc: allocated mmc-pwrseq [ 16.181951] mmc_host mmc2: card is non-removable. [ 16.182720] ledtrig-cpu: registered to indicate activity on CPUs [ 16.183501] cryptodev: driver 1.12 loaded. [ 16.183541] hid: raw HID events driver (C) Jiri Kosina [ 16.183715] usbcore: registered new interface driver usbhid [ 16.183718] usbhid: USB HID core driver [ 16.184005] sdhci-arasan fe330000.sdhci: Looking up vmmc-supply from device tree [ 16.184044] sdhci-arasan fe330000.sdhci: Looking up vmmc-supply property in node /sdhci@fe330000 failed [ 16.184102] sdhci-arasan fe330000.sdhci: Looking up vqmmc-supply from device tree [ 16.184131] sdhci-arasan fe330000.sdhci: Looking up vqmmc-supply property in node /sdhci@fe330000 failed [ 16.184365] rockchip-dmc dmc: Looking up center-supply from device tree [ 16.184453] rockchip-dmc dmc: Looking up center-supply from device tree [ 16.184467] vdd_log: could not add device link dmc: -EEXIST [ 16.184471] vdd_log: Failed to create debugfs directory [ 16.184491] rockchip-dmc dmc: Failed to get ddr_leakage [ 16.184714] rockchip-dmc dmc: avs=0 [ 16.184878] rockchip-dmc dmc: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0 [ 16.184909] rockchip-dmc dmc: could not find power_model node [ 16.186853] rockchip-saradc ff100000.saradc: Looking up vref-supply from device tree [ 16.188615] rksfc_base v1.1 2016-01-08 [ 16.189510] Initializing XFRM netlink socket [ 16.189531] NET: Registered protocol family 17 [ 16.189951] [BT_RFKILL]: Enter rfkill_rk_init [ 16.189958] [WLAN_RFKILL]: Enter rfkill_wlan_init [ 16.190433] Key type dns_resolver registered [ 16.191740] flash vendor_init_thread! [ 16.191761] flash vendor storage:20170308 ret = -1 [ 16.192905] registered taskstats version 1 [ 16.192919] Loading compiled-in X.509 certificates [ 16.193837] rga: rga2_irq, irq = 55, match scheduler [ 16.194061] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 16.194281] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 16.195130] rga: rga2 hardware loaded successfully, hw_version:3.2.18218. [ 16.195169] rockchip-pm-domain ff310000.power-management:power-controller: Looking up rga-supply from device tree [ 16.195223] rockchip-pm-domain ff310000.power-management:power-controller: Looking up rga-supply property in node /power-management@ff310000/power-controller failed [ 16.195287] rga: rga2 probe successfully [ 16.195611] rga2_mmu: IOMMU binding successfully, default mapping core[0x4] [ 16.195842] rga: Module initialized. v1.2.20 [ 16.209888] mmc1: SDHCI controller on fe330000.sdhci [fe330000.sdhci] using ADMA [ 16.218992] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges: [ 16.219057] rockchip-pcie f8000000.pcie: MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000 [ 16.219087] rockchip-pcie f8000000.pcie: IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000 [ 16.220044] rockchip-pcie f8000000.pcie: Looking up vpcie12v-supply from device tree [ 16.220075] rockchip-pcie f8000000.pcie: Looking up vpcie12v-supply property in node /pcie@f8000000 failed [ 16.220132] rockchip-pcie f8000000.pcie: no vpcie12v regulator found [ 16.220147] rockchip-pcie f8000000.pcie: Looking up vpcie3v3-supply from device tree [ 16.220173] rockchip-pcie f8000000.pcie: Looking up vpcie3v3-supply property in node /pcie@f8000000 failed [ 16.220204] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found [ 16.220219] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply from device tree [ 16.220244] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply property in node /pcie@f8000000 failed [ 16.220275] rockchip-pcie f8000000.pcie: supply vpcie1v8 not found, using dummy regulator [ 16.220556] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply from device tree [ 16.220585] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply property in node /pcie@f8000000 failed [ 16.220619] rockchip-pcie f8000000.pcie: supply vpcie0v9 not found, using dummy regulator [ 16.237671] random: fast init done [ 16.245694] mmc2: queuing unknown CIS tuple 0x80 (2 bytes) [ 16.247761] mmc2: queuing unknown CIS tuple 0x80 (3 bytes) [ 16.249922] mmc2: queuing unknown CIS tuple 0x80 (3 bytes) [ 16.253161] mmc2: queuing unknown CIS tuple 0x80 (7 bytes) [ 16.254371] mmc2: queuing unknown CIS tuple 0x81 (1 bytes) [ 16.317074] mmc_host mmc2: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0) [ 16.456927] dwmmc_rockchip fe310000.mmc: Successfully tuned phase to 155 [ 16.462387] mmc2: new ultra high speed SDR104 SDIO card at address 0001 [ 16.525008] rockchip-pm-domain ff310000.power-management:power-controller: Looking up sdioaudio-supply from device tree [ 16.525078] rockchip-pm-domain ff310000.power-management:power-controller: Looking up sdioaudio-supply property in node /power-management@ff310000/power-controller failed [ 16.747119] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout! [ 16.747187] rockchip-pcie f8000000.pcie: deferred probe failed [ 16.748202] rockchip-pcie: probe of f8000000.pcie failed with error -110 [ 16.751301] reg-fixed-voltage vbus-host: Looking up vin-supply from device tree [ 16.751421] vbus_host: supplied by vcc5v0_usb2.0 [ 16.751438] vcc5v0_usb2.0: could not add device link regulator.24: -ENOENT [ 16.751791] vbus_host: at 5000 mV, enabled [ 16.752202] reg-fixed-voltage vbus-host: vbus_host supplying 0uV [ 16.754072] rockchip-iodomain ff320000.syscon:io-domains: Looking up pmu1830-supply from device tree [ 16.754332] rockchip-iodomain ff320000.syscon:io-domains: pmu1830(3000000 uV) supplied by vcc_3v0 [ 16.754540] rockchip-iodomain ff770000.syscon:io-domains: Looking up bt656-supply from device tree [ 16.754751] rockchip-iodomain ff770000.syscon:io-domains: bt656(3000000 uV) supplied by vcc_3v0 [ 16.754767] rockchip-iodomain ff770000.syscon:io-domains: Looking up audio-supply from device tree [ 16.754945] rockchip-iodomain ff770000.syscon:io-domains: audio(1850000 uV) supplied by vcca_1v8 [ 16.754960] rockchip-iodomain ff770000.syscon:io-domains: Looking up sdmmc-supply from device tree [ 16.755148] rockchip-iodomain ff770000.syscon:io-domains: sdmmc(3300000 uV) supplied by vccio_sd [ 16.755163] rockchip-iodomain ff770000.syscon:io-domains: Looking up gpio1830-supply from device tree [ 16.755263] rockchip-iodomain ff770000.syscon:io-domains: gpio1830(3000000 uV) supplied by vcc_3v0 [ 16.755516] rockchip-usb2phy ff770000.syscon:usb2-phy@e450: IRQ index 0 not found [ 16.755822] phy phy-ff770000.syscon:usb2-phy@e450.7: Looking up phy-supply from device tree [ 16.755859] vbus_host: could not add device link phy-ff770000.syscon:usb2-phy@e450.7: -ENOENT [ 16.756732] phy phy-ff770000.syscon:usb2-phy@e450.8: Looking up phy-supply from device tree [ 16.756759] phy phy-ff770000.syscon:usb2-phy@e450.8: Looking up phy-supply property in node /syscon@ff770000/usb2-phy@e450/otg-port failed [ 16.757173] phy phy-ff770000.syscon:usb2-phy@e450.8: Looking up vbus-supply from device tree [ 16.757197] phy phy-ff770000.syscon:usb2-phy@e450.8: Looking up vbus-supply property in node /syscon@ff770000/usb2-phy@e450/otg-port failed [ 16.759608] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: IRQ index 0 not found [ 16.759910] phy phy-ff770000.syscon:usb2-phy@e460.9: Looking up phy-supply from device tree [ 16.759958] vbus_host: could not add device link phy-ff770000.syscon:usb2-phy@e460.9: -ENOENT [ 16.760773] phy phy-ff770000.syscon:usb2-phy@e460.10: Looking up phy-supply from device tree [ 16.760802] phy phy-ff770000.syscon:usb2-phy@e460.10: Looking up phy-supply property in node /syscon@ff770000/usb2-phy@e460/otg-port failed [ 16.760976] phy phy-ff770000.syscon:usb2-phy@e460.10: Looking up vbus-supply from device tree [ 16.760999] phy phy-ff770000.syscon:usb2-phy@e460.10: Looking up vbus-supply property in node /syscon@ff770000/usb2-phy@e460/otg-port failed [ 16.769432] phy phy-ff770000.syscon:usb2-phy@e460.10: illegal mode [ 16.769451] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 16.769483] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1 [ 16.769674] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010 [ 16.769756] xhci-hcd xhci-hcd.1.auto: irq 77, io mem 0xfe900000 [ 16.770255] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 16.770267] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 16.770277] usb usb1: Product: xHCI Host Controller [ 16.770286] usb usb1: Manufacturer: Linux 5.10.110-1-rockchip xhci-hcd [ 16.770295] usb usb1: SerialNumber: xhci-hcd.1.auto [ 16.771034] hub 1-0:1.0: USB hub found [ 16.771087] hub 1-0:1.0: 1 port detected [ 16.771567] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 16.771588] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2 [ 16.771610] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed [ 16.771713] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 16.771914] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 [ 16.771925] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 16.771934] usb usb2: Product: xHCI Host Controller [ 16.771943] usb usb2: Manufacturer: Linux 5.10.110-1-rockchip xhci-hcd [ 16.771952] usb usb2: SerialNumber: xhci-hcd.1.auto [ 16.772567] hub 2-0:1.0: USB hub found [ 16.772614] hub 2-0:1.0: 1 port detected [ 16.776071] ehci-platform fe380000.usb: EHCI Host Controller [ 16.776100] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 3 [ 16.776273] ehci-platform fe380000.usb: irq 39, io mem 0xfe380000 [ 16.787186] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00 [ 16.787666] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 16.787682] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 16.787695] usb usb3: Product: EHCI Host Controller [ 16.787708] usb usb3: Manufacturer: Linux 5.10.110-1-rockchip ehci_hcd [ 16.787720] usb usb3: SerialNumber: fe380000.usb [ 16.788918] hub 3-0:1.0: USB hub found [ 16.788992] hub 3-0:1.0: 1 port detected [ 16.792961] ehci-platform fe3c0000.usb: EHCI Host Controller [ 16.793004] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 4 [ 16.793220] ehci-platform fe3c0000.usb: irq 41, io mem 0xfe3c0000 [ 16.803917] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00 [ 16.804600] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 16.804624] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 16.804643] usb usb4: Product: EHCI Host Controller [ 16.804661] usb usb4: Manufacturer: Linux 5.10.110-1-rockchip ehci_hcd [ 16.804679] usb usb4: SerialNumber: fe3c0000.usb [ 16.805958] hub 4-0:1.0: USB hub found [ 16.806069] hub 4-0:1.0: 1 port detected [ 16.808608] ohci-platform fe3a0000.usb: Generic Platform OHCI controller [ 16.808662] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 5 [ 16.808952] ohci-platform fe3a0000.usb: irq 40, io mem 0xfe3a0000 [ 16.812930] mmc0: delay init for 600 ms to enable UHS mode [ 16.836153] vccio_sd: ramp_delay not set [ 16.862593] mmc_host mmc0: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0) [ 16.868449] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10 [ 16.868479] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 16.868498] usb usb5: Product: Generic Platform OHCI controller [ 16.868517] usb usb5: Manufacturer: Linux 5.10.110-1-rockchip ohci_hcd [ 16.868535] usb usb5: SerialNumber: fe3a0000.usb [ 16.869949] hub 5-0:1.0: USB hub found [ 16.870047] hub 5-0:1.0: 1 port detected [ 16.872466] ohci-platform fe3e0000.usb: Generic Platform OHCI controller [ 16.872519] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 6 [ 16.872856] ohci-platform fe3e0000.usb: irq 42, io mem 0xfe3e0000 [ 16.932185] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10 [ 16.932215] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 16.932235] usb usb6: Product: Generic Platform OHCI controller [ 16.932253] usb usb6: Manufacturer: Linux 5.10.110-1-rockchip ohci_hcd [ 16.932271] usb usb6: SerialNumber: fe3e0000.usb [ 16.933900] hub 6-0:1.0: USB hub found [ 16.934009] hub 6-0:1.0: 1 port detected [ 16.942274] rockchip-pm-domain ff310000.power-management:power-controller: Looking up tcpd0-supply from device tree [ 16.942382] rockchip-pm-domain ff310000.power-management:power-controller: Looking up tcpd0-supply property in node /power-management@ff310000/power-controller failed [ 16.942509] rockchip-pm-domain ff310000.power-management:power-controller: Looking up gpu-supply from device tree [ 16.942595] rockchip-pm-domain ff310000.power-management:power-controller: Looking up gpu-supply property in node /power-management@ff310000/power-controller failed [ 16.945183] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 16.971801] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 16.982034] Freeing unused kernel memory: 5696K [ 16.982217] rockchip-pm-domain ff310000.power-management:power-controller: Looking up edp-supply from device tree [ 16.982294] rockchip-pm-domain ff310000.power-management:power-controller: Looking up edp-supply property in node /power-management@ff310000/power-controller failed [ 16.982553] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 16.982566] cfg80211: failed to load regulatory.db [ 17.000700] Run /init as init process [ 17.000723] with arguments: [ 17.000736] /init [ 17.000749] splash [ 17.000761] with environment: [ 17.000774] HOME=/ [ 17.000786] TERM=linux [ 17.132334] dwmmc_rockchip fe320000.mmc: Successfully tuned phase to 212 [ 17.132359] mmc0: new ultra high speed SDR104 SDHC card at address 0001 [ 17.133342] mmcblk0: mmc0:0001 EB1QT 29.8 GiB [ 17.142415] mmcblk0: p1 p2 [ 17.233786] usb 6-1: new low-speed USB device number 2 using ohci-platform [ 17.297376] usb 5-1: new low-speed USB device number 2 using ohci-platform [ 17.462478] usb 6-1: New USB device found, idVendor=045e, idProduct=0750, bcdDevice= 1.10 [ 17.462495] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 17.462505] usb 6-1: Product: Wired Keyboard 600 [ 17.462512] usb 6-1: Manufacturer: Microsoft [ 17.484264] input: Microsoft Wired Keyboard 600 as /devices/platform/fe3e0000.usb/usb6/6-1/6-1:1.0/0003:045E:0750.0001/input/input1 [ 17.523404] usb 5-1: New USB device found, idVendor=046d, idProduct=c018, bcdDevice=43.00 [ 17.523433] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 17.523452] usb 5-1: Product: Logitech USB Optical Mouse [ 17.523469] usb 5-1: Manufacturer: Logitech [ 17.532354] input: Logitech Logitech USB Optical Mouse as /devices/platform/fe3a0000.usb/usb5/5-1/5-1:1.0/0003:046D:C018.0002/input/input2 [ 17.541714] hid-generic 0003:045E:0750.0001: input,hidraw0: USB HID v1.11 Keyboard [Microsoft Wired Keyboard 600] on usb-fe3e0000.usb-1/input0 [ 17.551864] input: Microsoft Wired Keyboard 600 Consumer Control as /devices/platform/fe3e0000.usb/usb6/6-1/6-1:1.1/0003:045E:0750.0003/input/input3 [ 17.598025] hid-generic 0003:046D:C018.0002: input,hidraw1: USB HID v1.11 Mouse [Logitech Logitech USB Optical Mouse] on usb-fe3a0000.usb-1/input0 [ 17.654838] input: Microsoft Wired Keyboard 600 System Control as /devices/platform/fe3e0000.usb/usb6/6-1/6-1:1.1/0003:045E:0750.0003/input/input4 [ 17.656144] hid-generic 0003:045E:0750.0003: input,hidraw2: USB HID v1.11 Device [Microsoft Wired Keyboard 600] on usb-fe3e0000.usb-1/input1 [ 19.287072] vendor storage:20190527 ret = -1 [ 20.199009] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 20.847393] systemd[1]: System time before build time, advancing clock. [ 20.928487] NET: Registered protocol family 10 [ 20.930475] Segment Routing with IPv6 [ 20.974924] systemd[1]: systemd 247.3-7+deb11u1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified) [ 20.976202] systemd[1]: Detected architecture arm64. [ 20.978336] systemd[1]: Set hostname to <rock-4c-plus>. [ 21.402732] systemd[1]: /lib/systemd/system/plymouth-start.service:16: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed. [ 21.539604] systemd[1]: Queued start job for default target Graphical Interface. [ 21.542073] random: systemd: uninitialized urandom read (16 bytes read) [ 21.545643] systemd[1]: Created slice system-getty.slice. [ 21.546072] random: systemd: uninitialized urandom read (16 bytes read) [ 21.547704] systemd[1]: Created slice system-modprobe.slice. [ 21.547823] random: systemd: uninitialized urandom read (16 bytes read) [ 21.549465] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 21.550811] systemd[1]: Created slice User and Session Slice. [ 21.551239] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 21.552144] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 21.552510] systemd[1]: Reached target User and Group Name Lookups. [ 21.552630] systemd[1]: Reached target Remote File Systems. [ 21.552721] systemd[1]: Reached target Slices. [ 21.552842] systemd[1]: Reached target Swap. [ 21.553620] systemd[1]: Listening on fsck to fsckd communication Socket. [ 21.554784] systemd[1]: Listening on initctl Compatibility Named Pipe. [ 21.556304] systemd[1]: Listening on Journal Audit Socket. [ 21.557467] systemd[1]: Listening on Journal Socket (/dev/log). [ 21.558665] systemd[1]: Listening on Journal Socket. [ 21.559416] systemd[1]: Listening on udev Control Socket. [ 21.559948] systemd[1]: Listening on udev Kernel Socket. [ 21.564028] systemd[1]: Mounting Huge Pages File System... [ 21.568087] systemd[1]: Mounting POSIX Message Queue File System... [ 21.571406] systemd[1]: Mounting Kernel Debug File System... [ 21.574639] systemd[1]: Mounting Kernel Trace File System... [ 21.579280] systemd[1]: Starting Create list of static device nodes for the current kernel... [ 21.582449] systemd[1]: Starting Load Kernel Module configfs... [ 21.585576] systemd[1]: Starting Load Kernel Module drm... [ 21.588829] systemd[1]: Starting Load Kernel Module fuse... [ 21.593254] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped. [ 21.593478] systemd[1]: Condition check resulted in File System Check on Root Device being skipped. [ 21.598604] systemd[1]: Starting Journal Service... [ 21.605504] systemd[1]: Starting Load Kernel Modules... [ 21.606636] fuse: init (API version 7.32) [ 21.609592] systemd[1]: Starting Remount Root and Kernel File Systems... [ 21.613258] systemd[1]: Starting Coldplug All udev Devices... [ 21.620473] systemd[1]: Finished Create list of static device nodes for the current kernel. [ 21.621810] systemd[1]: modprobe@configfs.service: Succeeded. [ 21.622442] systemd[1]: Finished Load Kernel Module configfs. [ 21.623281] systemd[1]: modprobe@drm.service: Succeeded. [ 21.624102] systemd[1]: Finished Load Kernel Module drm. [ 21.627735] systemd[1]: Mounted Huge Pages File System. [ 21.628656] systemd[1]: Mounted Kernel Debug File System. [ 21.629901] systemd[1]: modprobe@fuse.service: Succeeded. [ 21.631067] systemd[1]: Finished Load Kernel Module fuse. [ 21.634162] systemd[1]: Mounted POSIX Message Queue File System. [ 21.634677] systemd[1]: Mounted Kernel Trace File System. [ 21.638072] systemd[1]: Mounting FUSE Control File System... [ 21.641741] systemd[1]: Mounting Kernel Configuration File System... [ 21.650293] systemd[1]: Mounted FUSE Control File System. [ 21.653351] systemd[1]: Mounted Kernel Configuration File System. [ 21.658859] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [ 21.663271] systemd[1]: Finished Remount Root and Kernel File Systems. [ 21.667365] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped. [ 21.667518] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped. [ 21.670578] systemd[1]: Starting Load/Save Random Seed... [ 21.672951] extcon-pd-virtual virtual-pd: probe start [ 21.673332] extcon-pd-virtual virtual-pd: Looking up dp-pwr-supply from device tree [ 21.674404] systemd[1]: Starting Create System Users... [ 21.674865] extcon-pd-virtual virtual-pd: probe success [ 21.676725] phy phy-ff7c0000.phy.11: Looking up phy-supply from device tree [ 21.676762] phy phy-ff7c0000.phy.11: Looking up phy-supply property in node /phy@ff7c0000/dp-port failed [ 21.677161] phy phy-ff7c0000.phy.12: Looking up phy-supply from device tree [ 21.677186] phy phy-ff7c0000.phy.12: Looking up phy-supply property in node /phy@ff7c0000/usb3-port failed [ 21.683219] systemd[1]: Finished Load Kernel Modules. [ 21.683564] phy phy-ff770000.syscon:usb2-phy@e450.8: illegal mode [ 21.683581] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [ 21.683616] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 7 [ 21.683872] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010 [ 21.683997] xhci-hcd xhci-hcd.2.auto: irq 76, io mem 0xfe800000 [ 21.684576] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 21.684589] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 21.684598] usb usb7: Product: xHCI Host Controller [ 21.684606] usb usb7: Manufacturer: Linux 5.10.110-1-rockchip xhci-hcd [ 21.684614] usb usb7: SerialNumber: xhci-hcd.2.auto [ 21.685678] hub 7-0:1.0: USB hub found [ 21.685732] hub 7-0:1.0: 1 port detected [ 21.686248] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [ 21.686274] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 8 [ 21.686300] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed [ 21.686407] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM. [ 21.686588] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 [ 21.686598] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 21.686607] usb usb8: Product: xHCI Host Controller [ 21.686614] usb usb8: Manufacturer: Linux 5.10.110-1-rockchip xhci-hcd [ 21.686622] usb usb8: SerialNumber: xhci-hcd.2.auto [ 21.686935] systemd[1]: Starting Apply Kernel Variables... [ 21.689273] hub 8-0:1.0: USB hub found [ 21.689325] hub 8-0:1.0: 1 port detected [ 21.692326] rockchip-vop ff8f0000.vop: missing rockchip,grf property [ 21.692818] rockchip-drm display-subsystem: bound ff8f0000.vop (ops 0xffff800010e580a0) [ 21.692932] rockchip-vop ff900000.vop: missing rockchip,grf property [ 21.693080] [drm] unsupported AFBC format[3231564e] [ 21.693432] rockchip-drm display-subsystem: bound ff900000.vop (ops 0xffff800010e580a0) [ 21.693846] rockchip-drm display-subsystem: bound fec00000.dp (ops 0xffff800010e63fd8) [ 21.695257] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY) [ 21.696573] dwhdmi-rockchip ff940000.hdmi: registered DesignWare HDMI I2C bus driver [ 21.705738] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Not connected. Disabling cdn [ 21.707321] rockchip-drm display-subsystem: bound ff940000.hdmi (ops 0xffff800010e64308) [ 21.708214] rockchip-drm display-subsystem: failed to parse loader memory [ 21.729892] systemd[1]: Finished Create System Users. [ 21.737447] systemd[1]: Starting Create Static Device Nodes in /dev... [ 21.741679] systemd[1]: Finished Apply Kernel Variables. [ 21.805071] systemd[1]: Finished Create Static Device Nodes in /dev. [ 21.806287] systemd[1]: Reached target Local File Systems (Pre). [ 21.808087] systemd[1]: Set up automount config.automount. [ 21.808300] systemd[1]: Reached target Local File Systems. [ 21.813499] systemd[1]: Starting Tell Plymouth To Write Out Runtime Data... [ 21.822904] systemd[1]: Starting Rule-based Manager for Device Events and Files... [ 21.836099] systemd[1]: Received SIGRTMIN+20 from PID 227 (plymouthd). [ 21.841729] systemd[1]: Finished Tell Plymouth To Write Out Runtime Data. [ 21.862372] systemd[1]: Started Journal Service. [ 21.903367] systemd-journald[301]: Received client request to flush runtime journal. [ 21.934044] systemd-journald[301]: File /var/log/journal/76ae5e8fa23a1aeb22b3e80162efbd4c/system.journal corrupted or uncleanly shut down, renaming and replacing. [ 22.185874] Console: switching to colour frame buffer device 320x90 [ 22.204032] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device [ 22.224556] [drm] Initialized rockchip 3.0.0 20140818 for display-subsystem on minor 0 [ 22.401933] at24 0-0050: Looking up vcc-supply from device tree [ 22.401970] at24 0-0050: Looking up vcc-supply property in node /i2c@ff3c0000/at24c04@50 failed [ 22.402027] at24 0-0050: supply vcc not found, using dummy regulator [ 22.408030] at24 0-0050: 512 byte 24c04 EEPROM, writable, 8 bytes/write [ 22.427370] midgard ff9a0000.gpu: Looking up mali-supply from device tree [ 22.427736] midgard ff9a0000.gpu: Failed to get gpu_leakage [ 22.428182] midgard ff9a0000.gpu: avs=0 [ 22.429094] midgard ff9a0000.gpu: GPU identified as 0x0860 r2p0 status 0 [ 22.429265] midgard ff9a0000.gpu: Protected mode not available [ 22.435688] midgard ff9a0000.gpu: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0 [ 22.435808] midgard ff9a0000.gpu: Using configured power model mali-simple-power-model, and fallback mali-simple-power-model [ 22.436085] I : [File] : drivers/gpu/arm/midgard/backend/gpu/mali_kbase_devfreq.c; [Line] : 417; [Func] : midgard_kbase_devfreq_init(); success initing power_model_simple. [ 22.449413] midgard ff9a0000.gpu: Probed as mali0 [ 22.468440] pwm-fan pwm-fan: Looking up fan-supply from device tree [ 22.468472] pwm-fan pwm-fan: Looking up fan-supply property in node /pwm-fan failed [ 22.486016] rk817-codec rk817-codec: DMA mask not set [ 22.493884] debugfs: File 'Capture' in directory 'dapm' already present! [ 22.511616] input: rockchip-hdmi1 rockchip-hdmi1 as /devices/platform/dp0-sound/sound/card0/input5 [ 22.513234] input: headset-keys as /devices/platform/rk809-sound/input/input6 [ 22.517203] rk817-codec rk817-codec: rk817_probe: chip_name:0x80, chip_ver:0x94 [ 22.524723] rk-multicodecs rk809-sound: Don't need to map headset detect gpio to irq [ 22.534599] Bluetooth: Core ver 2.22 [ 22.534691] NET: Registered protocol family 31 [ 22.534699] Bluetooth: HCI device and connection manager initialized [ 22.534726] Bluetooth: HCI socket layer initialized [ 22.534739] Bluetooth: L2CAP socket layer initialized [ 22.534766] Bluetooth: SCO socket layer initialized [ 22.541329] input: rockchip-hdmi0 rockchip-hdmi0 as /devices/platform/hdmi-sound/sound/card2/input7 [ 22.581838] brcmfmac: brcmf_fw_alloc_request: using cypress/cyfmac43455-sdio for chip BCM4345/6 [ 22.583209] random: crng init done [ 22.583223] random: 7 urandom warning(s) missed due to ratelimiting [ 22.644691] brcmfmac: brcmf_fw_request_firmware: no board-specific nvram available (ret=-2), device will use cypress/cyfmac43455-sdio.txt [ 22.715323] Bluetooth: HCI UART driver ver 2.3 [ 22.715343] Bluetooth: HCI UART protocol H4 registered [ 22.715349] Bluetooth: HCI UART protocol ATH3K registered [ 22.715800] Bluetooth: HCI UART protocol Intel registered [ 22.716269] Bluetooth: HCI UART protocol Broadcom registered [ 22.716437] Bluetooth: HCI UART protocol QCA registered [ 22.716701] hci_uart_bcm serial0-0: Looking up vbat-supply from device tree [ 22.716873] hci_uart_bcm serial0-0: Looking up vddio-supply from device tree [ 22.756477] brcmfmac: brcmf_fw_alloc_request: using cypress/cyfmac43455-sdio for chip BCM4345/6 [ 22.761590] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Sep 4 2022 21:48:18 version 7.45.251 (16ca9cf CY) FWID 01-774406d9 [ 22.837646] dw-apb-uart ff180000.serial: failed to request DMA, use interrupt mode [ 23.079180] Bluetooth: hci0: BCM: chip id 107 [ 23.079627] Bluetooth: hci0: BCM: features 0x2f [ 23.082075] Bluetooth: hci0: BCM4345C0 [ 23.082093] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000 [ 23.094849] Bluetooth: hci0: BCM4345C0 'brcm/BCM4345C0.hcd' Patch [ 24.068254] Bluetooth: hci0: BCM4345C0 UART 37.4 MHz wlbga_ref_iLNA_iTR_eLG 0162 [ 24.068288] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000 [ 24.082097] zram0: detected capacity change from 0 to 1073741824 [ 24.167906] FAT-fs (mmcblk0p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! [ 24.177147] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [ 24.181329] Adding 1048572k swap on /dev/zram0. Priority:100 extents:1 across:1048572k SS [ 24.398567] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 24.398583] Bluetooth: BNEP filters: protocol multicast [ 24.398608] Bluetooth: BNEP socket layer initialized [ 24.841670] ttyFIQ ttyFIQ0: tty_port_close_start: tty->count = 1 port count = 2 [ 24.987440] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:00] driver [Generic PHY] (irq=POLL) [ 25.002437] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found [ 25.002465] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW [ 25.003271] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode [ 26.317318] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] Connected, not enabled. Enabling cdn [ 29.051466] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 29.051539] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 29.443654] rockchip-vop ff8f0000.vop: [drm:vop_crtc_atomic_enable] Update mode to 2560x1440p60, type: 10 [ 29.757783] rockchip-pm-domain ff310000.power-management:power-controller: Looking up vopl-supply from device tree [ 29.757823] rockchip-pm-domain ff310000.power-management:power-controller: Looking up vopl-supply property in node /power-management@ff310000/power-controller failed [ 29.757933] rockchip-vop ff8f0000.vop: [drm:vop_crtc_atomic_enable] Update mode to 2560x1440p60, type: 10 [ 30.420160] dwhdmi-rockchip ff940000.hdmi: Rate 0 missing; compute N dynamically [ 30.613050] Bluetooth: RFCOMM TTY layer initialized [ 30.613068] Bluetooth: RFCOMM socket layer initialized [ 30.613093] Bluetooth: RFCOMM ver 1.11 [ 52.700144] dwhdmi-rockchip ff940000.hdmi: Rate 0 missing; compute N dynamically [ 86.788652] rockchip-vop ff8f0000.vop: [drm:vop_crtc_atomic_enable] Update mode to 2560x1440p60, type: 10 [ 87.406308] rockchip-vop ff8f0000.vop: [drm:vop_crtc_atomic_enable] Update mode to 2560x1440p60, type: 10 [ 1884.818799] usb 1-1: new high-speed USB device number 2 using xhci-hcd [ 1885.051490] usb 1-1: New USB device found, idVendor=058f, idProduct=6387, bcdDevice= 1.07 [ 1885.051523] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1885.051543] usb 1-1: Product: Mass Storage [ 1885.051561] usb 1-1: Manufacturer: Generic [ 1885.051578] usb 1-1: SerialNumber: F230ABD6 [ 1885.161821] usb-storage 1-1:1.0: USB Mass Storage device detected [ 1885.170361] scsi host0: usb-storage 1-1:1.0 [ 1885.171050] usbcore: registered new interface driver usb-storage [ 1885.176756] usbcore: registered new interface driver uas [ 1886.194871] scsi 0:0:0:0: Direct-Access Generic Flash Disk 8.07 PQ: 0 ANSI: 4 [ 1886.197733] sd 0:0:0:0: [sda] 4096000 512-byte logical blocks: (2.10 GB/1.95 GiB) [ 1886.198513] sd 0:0:0:0: [sda] Write Protect is off [ 1886.198525] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00 [ 1886.199293] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 1886.474544] sda: sda1 [ 1886.479279] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 1947.906799] FAT-fs (sda1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! [ 1947.913492] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. [ 2348.487811] ------------[ cut here ]------------ [ 2348.487824] refcount_t: underflow; use-after-free. [ 2348.487865] WARNING: CPU: 5 PID: 763 at lib/refcount.c:28 refcount_warn_saturate+0xe4/0x140 [ 2348.487869] Modules linked in: uas usb_storage rfcomm bnep vfat fat zstd zstd_compress hci_uart btqca btbcm brcmfmac btintel brcmutil snd_soc_rockchip_multicodecs snd_soc_rockchip_i2s bluetooth snd_soc_rockchip_spdif snd_soc_rk817 snd_soc_hdmi_codec pwm_fan snd_soc_rockchip_hdmi snd_soc_core ecdh_generic ecc midgard_kbase snd_pcm_dmaengine at24 snd_pcm snd_timer snd dw_hdmi_i2s_audio soundcore extcon_pd_virtual ledtrig_timer ledtrig_pattern ledtrig_heartbeat ledtrig_default_on fuse ip_tables x_tables ipv6 [ 2348.487977] CPU: 5 PID: 763 Comm: Xorg Not tainted 5.10.110-1-rockchip #0a544b8c7 [ 2348.487980] Hardware name: Radxa ROCK 4C+ (DT) [ 2348.487986] pstate: 60000005 (nZCv daif -PAN -UAO -TCO BTYPE=--) [ 2348.487991] pc : refcount_warn_saturate+0xe4/0x140 [ 2348.487995] lr : refcount_warn_saturate+0xe4/0x140 [ 2348.487997] sp : ffff8000145cbab0 [ 2348.488001] x29: ffff8000145cbab0 x28: 0000000000400000 [ 2348.488008] x27: 00000000000002ae x26: 000000000000065a [ 2348.488015] x25: ffff0000f569b800 x24: 0000000000000040 [ 2348.488021] x23: 0000000000000040 x22: 00000000fffffe00 [ 2348.488029] x21: ffff00000788c080 x20: ffff000085816128 [ 2348.488035] x19: ffff000085816118 x18: ffff0000018fa388 [ 2348.488041] x17: 0000000000000000 x16: 0000000000000000 [ 2348.488047] x15: ffff0000f569bb08 x14: 0000000000000000 [ 2348.488054] x13: 0000000000000000 x12: 0000000000000000 [ 2348.488060] x11: 0000000000000000 x10: 0000000000000000 [ 2348.488067] x9 : ffff8000100e1c6c x8 : 72657466612d6573 [ 2348.488073] x7 : 75203b776f6c6672 x6 : ffff800011ab287f [ 2348.488080] x5 : ffff0000f7796948 x4 : 0000000000000000 [ 2348.488086] x3 : 0000000000000027 x2 : 0000000000000000 [ 2348.488092] x1 : 0000000000000000 x0 : ffff000004ba9e80 [ 2348.488099] Call trace: [ 2348.488105] refcount_warn_saturate+0xe4/0x140 [ 2348.488112] kref_put.isra.0+0x50/0x54 [ 2348.488116] drm_mode_object_put+0x50/0x60 [ 2348.488121] drm_mode_cursor_universal+0x194/0x22c [ 2348.488125] drm_mode_cursor_common+0x120/0x200 [ 2348.488129] drm_mode_cursor2_ioctl+0x1c/0x28 [ 2348.488135] drm_ioctl_kernel+0xb0/0x104 [ 2348.488138] drm_ioctl+0x2fc/0x348 [ 2348.488145] vfs_ioctl+0x34/0x54 [ 2348.488150] __arm64_sys_ioctl+0x84/0xb8 [ 2348.488156] el0_svc_common.constprop.0+0x13c/0x1ec [ 2348.488160] do_el0_svc+0x8c/0x98 [ 2348.488167] el0_svc+0x20/0x30 [ 2348.488171] el0_sync_handler+0x144/0x1f0 [ 2348.488176] el0_sync+0x1a0/0x1c0 [ 2348.488179] PC: 0xffff8000104f8acc: [ 2348.488182] 88cc d65f03c0 52800020 17fffffa d503233f a9be7bfd 910003fd a90153f3 aa0003f4 {hundreds of lines of trace data...} [ 2348.496549] bc90 00000024 00000000 10e4a3d8 ffff8000 00000024 00000000 000000bb 00000000 [ 2348.496569] ---[ end trace cc1f27723a23d3fd ]--- [ 2683.391107] hrtimer: interrupt took 666436 ns [ 2849.483190] rockchip-vop ff8f0000.vop: [drm:vop_crtc_atomic_enable] Update mode to 2560x1440p60, type: 10 ... [ 3250.727704] dwhdmi-rockchip ff940000.hdmi: Rate 0 missing; compute N dynamically [ 3296.536691] rockchip-vop ff8f0000.vop: [drm:vop_crtc_atomic_enable] Update mode to 2560x1440p60, type: 10 ... [10753.288541] rockchip-vop ff8f0000.vop: [drm:vop_crtc_atomic_enable] Update mode to 2560x1440p60, type: 1
details
Kernel command line: root=UUID=8087ba46-93d3-4f58-a640-231fd0aa806c loglevel=4 console=tty0 console=ttyAML0,115200n8 console=ttyS2,1500000n8 console=ttyFIQ0,1500000n8 coherent_pool=2M irqchip.gicv3_pseudo_nmi=0 quiet splash plymouth.ignore-serial-consoles
Identified drivers include (in order of appearance): rockchip-gpio, rk_iommu, rockchip-pm-domain, libata, usbcore, mc, videodev, pps_core, kvm, phy, rockchip-usb2phy, rockchip-pcie, mpp-srv, mpp_rkvdec, mpp_vdpu2, mpp_vepu2, dma-pl330,rockchip-pvtm, rockchip-system-monitor, serial, rockchip-vop, brd, loop, zram, lkdtm, rk_gmac-dwmac, mdio_bus, ehci_hcd, ohci_hcd, ohci-platform, i2c, rk808, rk817-battery, rk805 pwrkey, rk808-rtc, fan53555-regulator, rockchip-thermal, dw_wdt, sdhci, sdhci-pltfm, dwmmc_rockchip, mmc_host, ledtrig-cpu, cryptodev, hid, usbhid, sdhci-arasan, rockchip-dmc, rockchip-saradc, rksfc_base, BT_RFKILL, WLAN_RFKILL, rga, rga2_irq, rga2_mmu, mmc_host, xhci-hcd, hub, ehci-platform, usb, cfg80211, input, EXT4-fs, IPv6, fuse, extcon-pd-virtual, virtual-pd, rockchip-drm, drm, dwhdmi-rockchip, cdn-dp, at24, midgard, pwm-fan, rk817-codec, rk-multicodecs, rk809-sound, brcmfmac, hci_uart_bcm, dw-apb-uart, FAT-fs, usb-storage, scsi, hrtimer, bluetoothd
Identified drivers (in alphabetical order): bluetoothd, BT_RFKILL EXT4-fs FAT-fs IPv6 WLAN_RFKILL at24 brcmfmac brd cdn-dp cfg80211 cryptodev dma-pl330 drm dw-apb-uart dw_wdt dwhdmi-rockchip dwmmc_rockchip ehci-platform ehci_hcd extcon-pd-virtual fan53555-regulator fuse hci_uart_bcm hid hrtimer hub i2c input kvm ledtrig-cpu libata lkdtm loop mc mdio_bus midgard mmc_host mpp-srv mpp_rkvdec mpp_vdpu2 mpp_vepu2 ohci-platform ohci_hcd phy pps_core pwm-fan pwrkey rga rga2_irq rga2_mmu rk-multicodecs rk805 rk808 rk808-rtc rk809-sound rk817-battery rk817-codec rk_gmac-dwmac rk_iommu rksfc_base rockchip-dmc rockchip-drm rockchip-gpio rockchip-pcie rockchip-pm-domain rockchip-pvtm rockchip-saradc rockchip-system-monitor rockchip-thermal rockchip-usb2phy rockchip-vop scsi sdhci sdhci-arasan sdhci-pltfm serial usb usb-storage usbcore usbhid videodev virtual-pd xhci-hcd zram
Modules linked in: uas usb_storage rfcomm bnep vfat fat zstd zstd_compress hci_uart btqca btbcm brcmfmac btintel brcmutil snd_soc_rockchip_multicodecs snd_soc_rockchip_i2s bluetooth snd_soc_rockchip_spdif snd_soc_rk817 snd_soc_hdmi_codec pwm_fan snd_soc_rockchip_hdmi snd_soc_core ecdh_generic ecc midgard_kbase snd_pcm_dmaengine at24 snd_pcm snd_timer snd dw_hdmi_i2s_audio soundcore extcon_pd_virtual ledtrig_timer ledtrig_pattern ledtrig_heartbeat ledtrig_default_on fuse ip_tables x_tables ipv6
Also noted - compiled-in X.509 certificates; cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
brcmfmac: brcmf_fw_alloc_request: using cypress/cyfmac43455-sdio for chip BCM4345/6 brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Sep 4 2022 21:48:18 version 7.45.251 (16ca9cf CY) FWID 01-774406d9
Various other system-information related commands will also reveal valuable information about how this system's designers have engineered the kernel, etc.
root #
lscpu
Architecture: aarch64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 6 On-line CPU(s) list: 0-5 Thread(s) per core: 1 Core(s) per socket: 3 Socket(s): 2 Vendor ID: ARM Model: 4 Model name: Cortex-A53 Stepping: r0p4 CPU max MHz: 1512.0000 CPU min MHz: 408.0000 BogoMIPS: 48.00 ... Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid...
root #
apt-get install lshw
root #
lshw
rock-4c-plus description: Computer product: Radxa ROCK 4C+ serial: 2c6b1eece62750b7 width: 64 bits capabilities: smp cp15_barrier setend swp tagged_addr_disabled *-core description: Motherboard physical id: 0 *-cpu:0 ... *-cpu:7 DISABLED description: CPU product: idle-states physical id: 7 bus info: cpu@7 *-memory description: System memory physical id: 8 size: 3867MiB *-usbhost:0 product: xHCI Host Controller vendor: Linux 5.10.110-1-rockchip xhci-hcd physical id: 1 bus info: usb@1 logical name: usb1 version: 5.10 capabilities: usb-2.00 configuration: driver=hub slots=1 speed=480Mbit/s *-usb description: Mass storage device product: Mass Storage vendor: Generic physical id: 1 bus info: usb@1:1 logical name: scsi0 version: 1.07 serial: F230ABD6 capabilities: usb-2.00 scsi scsi-host configuration: driver=usb-storage maxpower=200mA speed=480Mbit/s *-usbhost:1 product: xHCI Host Controller vendor: Linux 5.10.110-1-rockchip xhci-hcd physical id: 2 bus info: usb@2 logical name: usb2 version: 5.10 capabilities: usb-3.00 configuration: driver=hub slots=1 speed=5000Mbit/s *-usbhost:2 product: EHCI Host Controller vendor: Linux 5.10.110-1-rockchip ehci_hcd physical id: 3 bus info: usb@3 logical name: usb3 version: 5.10 capabilities: usb-2.00 configuration: driver=hub slots=1 speed=480Mbit/s *-usbhost:3 product: EHCI Host Controller ... *-usbhost:4 product: Generic Platform OHCI controller vendor: Linux 5.10.110-1-rockchip ohci_hcd physical id: 5 bus info: usb@5 logical name: usb5 version: 5.10 capabilities: usb-1.10 configuration: driver=hub slots=1 speed=12Mbit/s *-usb description: Mouse product: Logitech USB Optical Mouse vendor: Logitech physical id: 1 bus info: usb@5:1 version: 43.00 capabilities: usb-2.00 configuration: driver=usbhid maxpower=100mA speed=2Mbit/s *-usbhost:5 product: Generic Platform OHCI controller vendor: Linux 5.10.110-1-rockchip ohci_hcd physical id: 6 bus info: usb@6 logical name: usb6 version: 5.10 capabilities: usb-1.10 configuration: driver=hub slots=1 speed=12Mbit/s *-usb description: Keyboard product: Wired Keyboard 600 vendor: Microsoft physical id: 1 bus info: usb@6:1 version: 1.10 capabilities: usb-1.10 configuration: driver=usbhid maxpower=100mA speed=2Mbit/s *-usbhost:6 product: xHCI Host Controller vendor: Linux 5.10.110-1-rockchip xhci-hcd ... *-usbhost:7 product: xHCI Host Controller vendor: Linux 5.10.110-1-rockchip xhci-hcd physical id: 8 bus info: usb@8 logical name: usb8 version: 5.10 capabilities: usb-3.00 configuration: driver=hub slots=1 speed=5000Mbit/s *-network:0 description: Ethernet interface physical id: 9 logical name: eth0 serial: 96:97:a2:d6:55:b0 size: 1Gbit/s capacity: 1Gbit/s capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=st_gmac driverversion=Jan_2016 duplex=full ip=192.168.62.135 link=yes multicast=yes port=MII speed=1Gbit/s *-network:1 description: Wireless interface physical id: a logical name: wlan0 serial: 96:7a:2f:4d:64:3a capabilities: ethernet physical wireless configuration: broadcast=yes driver=brcmfmac driverversion=7.45.251 firmware=01-774406d9 multicast=yes wireless=IEEE 802.11
root #
apt-get install hwinfo
root #
hwinfo
(extract) ----- sysfs driver list (id 0x6020d7cd2bff32f2) ----- gpio_stub_drv: /devices/platform/ff3c0000.i2c/i2c-0/0-0020/rk805-pinctrl/gpiochip5 dma-pl330: /devices/platform/bus/ff6e0000.dma-controller dma-pl330: /devices/platform/bus/ff6d0000.dma-controller rockchip-nocp: /devices/platform/ffa87400.nocp-vio0-msch0 rockchip-nocp: /devices/platform/ffa8f400.nocp-vio0-msch1 rockchip-nocp: /devices/platform/ffa87000.nocp-video-msch0 rockchip-nocp: /devices/platform/ffa8e800.nocp-hp-msch1 rockchip-nocp: /devices/platform/ffa86400.nocp-gpu-msch0 rockchip-nocp: /devices/platform/ffa8e400.nocp-gpu-msch1 rockchip-nocp: /devices/platform/ffa86800.nocp-hp-msch0 rockchip-nocp: /devices/platform/ffa8ec00.nocp-lp-msch1 rockchip-nocp: /devices/platform/ffa86000.nocp-cci-msch0 rockchip-nocp: /devices/platform/ffa8f000.nocp-video-msch1 rockchip-nocp: /devices/platform/ffa8e000.nocp-cci-msch1 rockchip-nocp: /devices/platform/ffa87800.nocp-vio1-msch0 rockchip-nocp: /devices/platform/ffa8f800.nocp-vio1-msch1 rockchip-nocp: /devices/platform/ffa86c00.nocp-lp-msch0 mpp_vdpu2: /devices/platform/ff650400.vdpu rockchip-i2s: /devices/platform/ff890000.i2s rockchip-i2s: /devices/platform/ff8a0000.i2s rockchip-i2s: /devices/platform/ff880000.i2s rockchip-i2s: module {{=}} snd_soc_rockchip_i2s leds-gpio: /devices/platform/gpio-leds rockchip-pinctrl: /devices/platform/pinctrl reg-dummy: /devices/platform/reg-dummy mpp_rkvdec: /devices/platform/ff660000.rkvdec rk-hdmi-sound: /devices/platform/dp0-sound rk-hdmi-sound: /devices/platform/hdmi-sound rk-hdmi-sound: module {{=}} snd_soc_rockchip_hdmi rockchip-pm: /devices/platform/rockchip-suspend dw_wdt: /devices/platform/ff848000.watchdog rk805-pinctrl: /devices/platform/ff3c0000.i2c/i2c-0/0-0020/rk805-pinctrl rockchip-iodomain: /devices/platform/ff320000.syscon/ff320000.syscon:io-domains rockchip-iodomain: /devices/platform/ff770000.syscon/ff770000.syscon:io-domains rockchip-vop: /devices/platform/ff8f0000.vop rockchip-vop: /devices/platform/ff900000.vop dwmmc_rockchip: /devices/platform/fe320000.mmc dwmmc_rockchip: /devices/platform/fe310000.mmc soc-audio: module {{=}} snd_soc_core dwc3-of-simple: /devices/platform/usb@fe900000 dwc3-of-simple: /devices/platform/usb@fe800000 ohci-platform: /devices/platform/fe3e0000.usb ohci-platform: /devices/platform/fe3a0000.usb dw-hdmi-i2s-audio: /devices/platform/ff940000.hdmi/dw-hdmi-i2s-audio.4.auto dw-hdmi-i2s-audio: module {{=}} dw_hdmi_i2s_audio rk817-codec: /devices/platform/ff3c0000.i2c/i2c-0/0-0020/rk817-codec rk817-codec: module {{=}} snd_soc_rk817 syscon-reboot-mode: /devices/platform/ff320000.syscon/ff320000.syscon:reboot-mode rockchip-efuse: /devices/platform/ff690000.efuse hci_bcm: module {{=}} hci_uart snd-soc-dummy: /devices/platform/snd-soc-dummy snd-soc-dummy: module {{=}} snd_soc_core dw-apb-uart: /devices/platform/ff180000.serial dw-hdmi-cec: /devices/platform/ff940000.hdmi/dw-hdmi-cec.5.auto ehci-platform: /devices/platform/fe3c0000.usb ehci-platform: /devices/platform/fe380000.usb reg-fixed-voltage: /devices/platform/vcc5v0-sys reg-fixed-voltage: /devices/platform/vcc-phy-regulator reg-fixed-voltage: /devices/platform/vbus-typec reg-fixed-voltage: /devices/platform/vcc3v3-pcie-regulator reg-fixed-voltage: /devices/platform/vbus-host reg-fixed-voltage: /devices/platform/vcc3v3-dp rockchip-emmc-phy: /devices/platform/ff770000.syscon/ff770000.syscon:phy@f780 rockchip-drm: /devices/platform/display-subsystem rockchip-pwm: /devices/platform/ff420030.pwm rk805-pwrkey: /devices/platform/ff3c0000.i2c/i2c-0/0-0020/rk805-pwrkey psci-cpuidle-domain: /devices/platform/psci dwhdmi-rockchip: /devices/platform/ff940000.hdmi rga2: /devices/platform/ff680000.rga hci_intel: module {{=}} hci_uart rk3x-i2c: /devices/platform/ff3c0000.i2c rockchip-dmc: /devices/platform/dmc rk-multicodecs: /devices/platform/rk809-sound rk-multicodecs: module {{=}} snd_soc_rockchip_multicodecs rk_iommu: /devices/platform/ff8f3f00.iommu rk_iommu: /devices/platform/ff924000.iommu rk_iommu: /devices/platform/ff903f00.iommu rk_iommu: /devices/platform/ff660480.iommu rk_iommu: /devices/platform/ff670800.iommu rk_iommu: /devices/platform/ff914000.iommu rk_iommu: /devices/platform/ff650800.iommu pwm-fan: /devices/platform/pwm-fan pwm-fan: module {{=}} pwm_fan rk-fiq-debugger: /devices/platform/fiq-debugger mpp_service: /devices/platform/mpp-srv psci-cpuidle: /devices/platform/psci-cpuidle alarmtimer: /devices/platform/ff3c0000.i2c/i2c-0/0-0020/rk808-rtc/rtc/rtc0/alarmtimer.0.auto rk808-regulator: /devices/platform/ff3c0000.i2c/i2c-0/0-0020/rk808-regulator mpp_vepu2: /devices/platform/ff650000.vepu fiq_debugger: /devices/platform/fiq_debugger.0 cdn-dp: /devices/platform/fec00000.dp armv8-pmu: /devices/platform/pmu_a72 armv8-pmu: /devices/platform/pmu_a53 rockchip-saradc: /devices/platform/ff100000.saradc rk_gmac-dwmac: /devices/platform/fe300000.ethernet midgard: module {{=}} midgard_kbase midgard: /devices/platform/ff9a0000.gpu hdmi-audio-codec: /devices/platform/fec00000.dp/hdmi-audio-codec.3.auto hdmi-audio-codec: /devices/platform/ff940000.hdmi/hdmi-audio-codec.7.auto hdmi-audio-codec: module {{=}} snd_soc_hdmi_codec rockchip-usb2phy: /devices/platform/ff770000.syscon/ff770000.syscon:usb2-phy@e460 rockchip-usb2phy: /devices/platform/ff770000.syscon/ff770000.syscon:usb2-phy@e450 dw-hdmi-hdcp: /devices/platform/ff940000.hdmi/dw-hdmi-hdcp.6.auto rk808-rtc: /devices/platform/ff3c0000.i2c/i2c-0/0-0020/rk808-rtc rk808-clkout: /devices/platform/ff3c0000.i2c/i2c-0/0-0020/rk808-clkout extcon-pd-virtual: /devices/platform/virtual-pd extcon-pd-virtual: module {{=}} extcon_pd_virtual rockchip-pcie-phy: /devices/platform/ff770000.syscon/ff770000.syscon:pcie-phy rockchip-typec-phy: /devices/platform/ff800000.phy rockchip-typec-phy: /devices/platform/ff7c0000.phy sdhci-arasan: /devices/platform/fe330000.sdhci rockchip-pm-domain: /devices/platform/ff310000.power-management/ff310000.power-management:power-controller serial8250: /devices/platform/serial8250 cpufreq-dt: /devices/platform/cpufreq-dt rockchip-gpio: /devices/platform/pinctrl/ff780000.gpio2 rockchip-gpio: /devices/platform/pinctrl/ff788000.gpio3 rockchip-gpio: /devices/platform/pinctrl/ff790000.gpio4 rockchip-gpio: /devices/platform/pinctrl/ff730000.gpio1 rockchip-gpio: /devices/platform/pinctrl/ff720000.gpio0 rockchip-spdif: /devices/platform/ff870000.spdif rockchip-spdif: module {{=}} snd_soc_rockchip_spdif xhci-hcd: /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.2.auto xhci-hcd: /devices/platform/usb@fe900000/fe900000.usb/xhci-hcd.1.auto dwc3: /devices/platform/usb@fe800000/fe800000.usb dwc3: /devices/platform/usb@fe900000/fe900000.usb pwrseq_simple: /devices/platform/sdio-pwrseq rockchip-pvtm: /devices/platform/ff320000.syscon/ff320000.syscon:pmu-pvtm rockchip-pvtm: /devices/platform/ff770000.syscon/ff770000.syscon:pvtm rockchip-thermal: /devices/platform/ff260000.tsadc rockchip-system-monitor: /devices/platform/rockchip-system-monitor ahci: module {{=}} ahci nvme: module {{=}} nvme mmcblk: /devices/platform/fe320000.mmc/mmc_host/mmc0/mmc0:0001 sd: /devices/platform/usb@fe900000/fe900000.usb/xhci-hcd.1.auto/usb1/1-1/1-1:1.0/host0/target0:0:0/0:0:0:0 Generic PHY: /devices/platform/fe300000.ethernet/mdio_bus/stmmac-0/stmmac-0:00 hid-generic: /devices/platform/fe3e0000.usb/usb6/6-1/6-1:1.0/0003:045E:0750.0001 hid-generic: /devices/platform/fe3a0000.usb/usb5/5-1/5-1:1.0/0003:046D:C018.0002 hid-generic: /devices/platform/fe3e0000.usb/usb6/6-1/6-1:1.1/0003:045E:0750.0003 rndis_wlan: module {{=}} rndis_wlan usbtouchscreen: module {{=}} usbtouchscreen usbhid: /devices/platform/fe3a0000.usb/usb5/5-1/5-1:1.0 usbhid: /devices/platform/fe3e0000.usb/usb6/6-1/6-1:1.0 usbhid: /devices/platform/fe3e0000.usb/usb6/6-1/6-1:1.1 usbhid: module {{=}} usbhid usb-storage: module {{=}} usb_storage usb-storage: /devices/platform/usb@fe900000/fe900000.usb/xhci-hcd.1.auto/usb1/1-1/1-1:1.0 uvcvideo: module {{=}} uvcvideo usb: /devices/platform/fe3a0000.usb/usb5 usb: /devices/platform/fe380000.usb/usb3 usb: /devices/platform/usb@fe900000/fe900000.usb/xhci-hcd.1.auto/usb1 usb: /devices/platform/fe3a0000.usb/usb5/5-1 usb: /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.2.auto/usb8 usb: /devices/platform/fe3e0000.usb/usb6 usb: /devices/platform/usb@fe900000/fe900000.usb/xhci-hcd.1.auto/usb1/1-1 usb: /devices/platform/fe3c0000.usb/usb4 usb: /devices/platform/usb@fe900000/fe900000.usb/xhci-hcd.1.auto/usb2 usb: /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.2.auto/usb7 usb: /devices/platform/fe3e0000.usb/usb6/6-1 hub: /devices/platform/fe3e0000.usb/usb6/6-0:1.0 hub: /devices/platform/fe380000.usb/usb3/3-0:1.0 hub: /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.2.auto/usb7/7-0:1.0 hub: /devices/platform/fe3c0000.usb/usb4/4-0:1.0 hub: /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.2.auto/usb8/8-0:1.0 hub: /devices/platform/usb@fe900000/fe900000.usb/xhci-hcd.1.auto/usb1/1-0:1.0 hub: /devices/platform/fe3a0000.usb/usb5/5-0:1.0 hub: module {{=}} usbcore hub: /devices/platform/usb@fe900000/fe900000.usb/xhci-hcd.1.auto/usb2/2-0:1.0 uas: module {{=}} uas usbfs: module {{=}} usbcore brcmfmac: /devices/platform/fe310000.mmc/mmc_host/mmc2/mmc2:0001/mmc2:0001:2 brcmfmac: /devices/platform/fe310000.mmc/mmc_host/mmc2/mmc2:0001/mmc2:0001:1 brcmfmac: module {{=}} brcmfmac hci_uart_bcm: /devices/platform/ff180000.serial/serial0/serial0-0 hci_uart_bcm: module {{=}} hci_uart hci_uart_qca: module {{=}} hci_uart dummy: /devices/platform/ff3c0000.i2c/i2c-0/0-0051 at24: /devices/platform/ff3c0000.i2c/i2c-0/0-0050 at24: module {{=}} at24 rk808: /devices/platform/ff3c0000.i2c/i2c-0/0-0020 fan53555-regulator: /devices/platform/ff3c0000.i2c/i2c-0/0-0040 fan53555-regulator: /devices/platform/ff3c0000.i2c/i2c-0/0-0041 -----[ done ----- sysfs driver list ]------------------------------...
root #
hwinfo; hwinfo > hwinfo.txt # save this for reference
(extract) -----[ ----- /proc/modules ]------------------------------ ----- /proc/modules ----- dm_mod 106496 0 - Live 0xffff80000909f000 uas 20480 0 - Live 0xffff800008f70000 usb_storage 61440 2 uas, Live 0xffff80000908f000 rfcomm 57344 16 - Live 0xffff800009080000 bnep 20480 2 - Live 0xffff800008f6a000 vfat 20480 2 - Live 0xffff80000907a000 fat 65536 1 vfat, Live 0xffff800008f59000 zstd 16384 6 - Live 0xffff800008f4b000 zstd_compress 167936 1 zstd, Live 0xffff800009050000 hci_uart 69632 0 - Live 0xffff800008f33000 btqca 16384 1 hci_uart, Live 0xffff800008f2e000 btbcm 16384 1 hci_uart, Live 0xffff800008f20000 brcmfmac 233472 0 - Live 0xffff800009016000 btintel 20480 1 hci_uart, Live 0xffff800008f15000 brcmutil 16384 1 brcmfmac, Live 0xffff800008f10000 snd_soc_rockchip_multicodecs 20480 2 - Live 0xffff800008f06000 snd_soc_rockchip_i2s 16384 4 - Live 0xffff800008f54000 bluetooth 471040 43 rfcomm,bnep,hci_uart,btqca,btbcm,btintel, Live 0xffff800008fa2000 snd_soc_rockchip_spdif 16384 2 - Live 0xffff800008e75000 snd_soc_rk817 20480 1 - Live 0xffff800008e6f000 snd_soc_hdmi_codec 20480 2 - Live 0xffff800008e69000 pwm_fan 16384 0 - Live 0xffff800008e64000 snd_soc_rockchip_hdmi 16384 8 - Live 0xffff800008e43000 snd_soc_core 172032 6 snd_soc_rockchip_multicodecs,snd_soc_rockchip_i2s,snd_soc_hdmi_codec,snd_soc_rockchip_spdif,snd_soc_rk817,snd_soc_rockchip_hdmi, Live 0xffff800008f77000 ecdh_generic 16384 2 bluetooth, Live 0xffff800008e3e000 ecc 24576 1 ecdh_generic, Live 0xffff800008f27000 midgard_kbase 552960 5 - Live 0xffff800008e7e000 snd_pcm_dmaengine 16384 1 snd_soc_core, Live 0xffff800008e39000 at24 20480 0 - Live 0xffff800008e22000 snd_pcm 94208 4 snd_soc_rockchip_spdif,snd_soc_hdmi_codec,snd_soc_core,snd_pcm_dmaengine, Live 0xffff800008e4c000 snd_timer 28672 1 snd_pcm, Live 0xffff800008e2c000 snd 61440 24 snd_soc_hdmi_codec,snd_soc_core,snd_pcm,snd_timer, Live 0xffff800008e12000 dw_hdmi_i2s_audio 16384 0 - Live 0xffff800008e0a000 soundcore 16384 1 snd, Live 0xffff800008e05000 extcon_pd_virtual 16384 0 - Live 0xffff800008e00000 ledtrig_timer 16384 0 - Live 0xffff800008df8000 ledtrig_pattern 16384 0 - Live 0xffff800008df0000 ledtrig_heartbeat 16384 0 - Live 0xffff800008de1000 ledtrig_default_on 16384 0 - Live 0xffff800008dd1000 fuse 106496 3 - Live 0xffff800008db6000 ip_tables 24576 0 - Live 0xffff800008de9000 x_tables 28672 1 ip_tables, Live 0xffff800008dd9000 ipv6 413696 42 [permanent], Live 0xffff800008d50000 -----[ done ----- /proc/modules ]------------------------------...
root #
grep -i driver hwinfo.txt
type = "usb", modalias = "of:NusbT(null)Cgeneric-ohci", driver = "ohci-platform" type = "i2s", modalias = "of:Ni2sT(null)Crockchip,rk3399-i2sCrockchip,rk3066-i2s", driver = "rockchip-i2s" type = "virtual-pd", modalias = "of:Nvirtual-pdT(null)Clinux,extcon-pd-virtual", driver = "extcon-pd-virtual" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "iommu", modalias = "of:NiommuT(null)Crockchip,iommu", driver = "rk_iommu" type = "", modalias = "platform:alarmtimer", driver = "alarmtimer" type = "", modalias = "platform:reg-dummy", driver = "reg-dummy" type = "rktimer", modalias = "of:NrktimerT(null)Crockchip,rk3399-timer", driver = "" type = "pinctrl", modalias = "of:NpinctrlT(null)Crockchip,rk3399-pinctrl", driver = "rockchip-pinctrl" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "pwm", modalias = "of:NpwmT(null)Crockchip,rk3399-pwmCrockchip,rk3288-pwm", driver = "rockchip-pwm" type = "efuse", modalias = "of:NefuseT(null)Crockchip,rk3399-efuse", driver = "rockchip-efuse" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "phy", modalias = "of:NphyT(null)Crockchip,rk3399-typec-phy", driver = "rockchip-typec-phy" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "pinctrl_rk8xx", modalias = "of:Npinctrl_rk8xxT(null)", driver = "rk805-pinctrl" type = "vop", modalias = "of:NvopT(null)Crockchip,rk3399-vop-lit", driver = "rockchip-vop" type = "dmc", modalias = "of:NdmcT(null)Crockchip,rk3399-dmc", driver = "rockchip-dmc" type = "pcie-phy", modalias = "of:Npcie-phyT(null)Crockchip,rk3399-pcie-phy", driver = "rockchip-pcie-phy" type = "power-controller", modalias = "of:Npower-controllerT(null)Crockchip,rk3399-power-controller", driver = "rockchip-pm-domain" type = "nocp-vio0-msch0", modalias = "of:Nnocp-vio0-msch0T(null)Crockchip,rk3399-nocp", driver = "rockchip-nocp" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "dp0-sound", modalias = "of:Ndp0-soundT(null)Crockchip,hdmi", driver = "rk-hdmi-sound" type = "", modalias = "platform:fiq_debugger", driver = "fiq_debugger" type = "codec", modalias = "of:NcodecT(null)Crockchip,rk809-codecCrockchip,rk817-codec", driver = "rk817-codec" type = "gpio2", modalias = "of:Ngpio2T(null)Crockchip,gpio-bank", driver = "rockchip-gpio" type = "", modalias = "platform:hdmi-audio-codec", driver = "hdmi-audio-codec" type = "i2s", modalias = "of:Ni2sT(null)Crockchip,rk3399-i2sCrockchip,rk3066-i2s", driver = "rockchip-i2s" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "hdmi-sound", modalias = "of:Nhdmi-soundT(null)Crockchip,hdmi", driver = "rk-hdmi-sound" type = "vop", modalias = "of:NvopT(null)Crockchip,rk3399-vop-big", driver = "rockchip-vop" type = "sdhci", modalias = "of:NsdhciT(null)Crockchip,rk3399-sdhci-5.1Carasan,sdhci-5.1", driver = "sdhci-arasan" type = "display-subsystem", modalias = "of:Ndisplay-subsystemT(null)Crockchip,display-subsystem", driver = "rockchip-drm" type = "nocp-vio0-msch1", modalias = "of:Nnocp-vio0-msch1T(null)Crockchip,rk3399-nocp", driver = "rockchip-nocp" type = "nocp-video-msch0", modalias = "of:Nnocp-video-msch0T(null)Crockchip,rk3399-nocp", driver = "rockchip-nocp" type = "", modalias = "platform:dw-hdmi-i2s-audio", driver = "dw-hdmi-i2s-audio" type = "gpio-leds", modalias = "of:Ngpio-ledsT(null)Cgpio-leds", driver = "leds-gpio" type = "", modalias = "platform:snd-soc-dummy", driver = "snd-soc-dummy" type = "nocp-hp-msch1", modalias = "of:Nnocp-hp-msch1T(null)Crockchip,rk3399-nocp", driver = "rockchip-nocp" type = "syscon", modalias = "of:NsysconT(null)Crockchip,rk3399-grfCsysconCsimple-mfd", driver = "" type = "", modalias = "platform:dw-hdmi-cec", driver = "dw-hdmi-cec" type = "phy", modalias = "of:NphyT(null)Crockchip,rk3399-typec-phy", driver = "rockchip-typec-phy" type = "pmu_a72", modalias = "of:Npmu_a72T(null)Carm,cortex-a72-pmu", driver = "armv8-pmu" type = "vcc5v0-sys", modalias = "of:Nvcc5v0-sysT(null)Cregulator-fixed", driver = "reg-fixed-voltage" type = "", modalias = "platform:Fixed MDIO bus", driver = "" type = "syscon", modalias = "of:NsysconT(null)Crockchip,rk3399-pmugrfCsysconCsimple-mfd", driver = "" type = "", modalias = "platform:mtd_vendor_storage", driver = "" type = "iommu", modalias = "of:NiommuT(null)Crockchip,iommu", driver = "rk_iommu" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "rga", modalias = "of:NrgaT(null)Crockchip,rga2", driver = "rga2" type = "pcie", modalias = "of:NpcieTpciCrockchip,rk3399-pcie", driver = "" type = "mmc", modalias = "of:NmmcT(null)Crockchip,rk3399-dw-mshcCrockchip,rk3288-dw-mshc", driver = "dwmmc_rockchip" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "psci", modalias = "of:NpsciT(null)Carm,psci-1.0", driver = "psci-cpuidle-domain" type = "", modalias = "platform:dmabuf", driver = "" type = "nocp-gpu-msch0", modalias = "of:Nnocp-gpu-msch0T(null)Crockchip,rk3399-nocp", driver = "rockchip-nocp" type = "gpio3", modalias = "of:Ngpio3T(null)Crockchip,gpio-bank", driver = "rockchip-gpio" type = "vepu", modalias = "of:NvepuT(null)Crockchip,vpu-encoder-v2", driver = "mpp_vepu2" type = "", modalias = "platform:rk805-pwrkey", driver = "rk805-pwrkey" type = "i2s", modalias = "of:Ni2sT(null)Crockchip,rk3399-i2sCrockchip,rk3066-i2s", driver = "rockchip-i2s" type = "ethernet", modalias = "of:NethernetT(null)Crockchip,rk3399-gmac", driver = "rk_gmac-dwmac" type = "ddr_timing", modalias = "of:Nddr_timingT(null)Crockchip,ddr-timing", driver = "" type = "", modalias = "platform:rk817-battery", driver = "" type = "nocp-gpu-msch1", modalias = "of:Nnocp-gpu-msch1T(null)Crockchip,rk3399-nocp", driver = "rockchip-nocp" type = "iommu", modalias = "of:NiommuT(null)Crockchip,iommu", driver = "rk_iommu" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "dp", modalias = "of:NdpT(null)Crockchip,rk3399-cdn-dp", driver = "cdn-dp" type = "video-codec", modalias = "of:Nvideo-codecT(null)Crockchip,rk3399-vpu", driver = "" type = "gpio4", modalias = "of:Ngpio4T(null)Crockchip,gpio-bank", driver = "rockchip-gpio" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "usb", modalias = "of:NusbT(null)Crockchip,rk3399-dwc3", driver = "dwc3-of-simple" type = "usb", modalias = "of:NusbT(null)Csnps,dwc3", driver = "dwc3" type = "io-domains", modalias = "of:Nio-domainsT(null)Crockchip,rk3399-pmu-io-voltage-domain", driver = "rockchip-iodomain" type = "iommu", modalias = "of:NiommuT(null)Crockchip,iommu", driver = "rk_iommu" type = "", modalias = "platform:rk817-charger", driver = "" type = "vcc-phy-regulator", modalias = "of:Nvcc-phy-regulatorT(null)Cregulator-fixed", driver = "reg-fixed-voltage" type = "hdmi", modalias = "of:NhdmiT(null)Crockchip,rk3399-dw-hdmi", driver = "dwhdmi-rockchip" type = "power-management", modalias = "of:Npower-managementT(null)Crockchip,rk3399-pmuCsysconCsimple-mfd", driver = "" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "mpp-srv", modalias = "of:Nmpp-srvT(null)Crockchip,mpp-service", driver = "mpp_service" type = "", modalias = "platform:hdmi-audio-codec", driver = "hdmi-audio-codec" type = "vbus-typec", modalias = "of:Nvbus-typecT(null)Cregulator-fixed", driver = "reg-fixed-voltage" type = "timer", modalias = "of:NtimerT(null)Carm,armv8-timer", driver = "" type = "rockchip-suspend", modalias = "of:Nrockchip-suspendT(null)Crockchip,pm-rk3399", driver = "rockchip-pm" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "usb2-phy", modalias = "of:Nusb2-phyT(null)Crockchip,rk3399-usb2phy", driver = "rockchip-usb2phy" type = "sdio-pwrseq", modalias = "of:Nsdio-pwrseqT(null)Cmmc-pwrseq-simple", driver = "pwrseq_simple" type = "saradc", modalias = "of:NsaradcT(null)Crockchip,rk3399-saradc", driver = "rockchip-saradc" type = "i2c", modalias = "of:Ni2cT(null)Crockchip,rk3399-i2c", driver = "rk3x-i2c" type = "bus", modalias = "of:NbusT(null)Csimple-bus", driver = "" type = "nocp-hp-msch0", modalias = "of:Nnocp-hp-msch0T(null)Crockchip,rk3399-nocp", driver = "rockchip-nocp" type = "usb2-phy", modalias = "of:Nusb2-phyT(null)Crockchip,rk3399-usb2phy", driver = "rockchip-usb2phy" type = "nocp-lp-msch1", modalias = "of:Nnocp-lp-msch1T(null)Crockchip,rk3399-nocp", driver = "rockchip-nocp" type = "serial", modalias = "of:NserialT(null)Crockchip,rk3399-uartCsnps,dw-apb-uart", driver = "dw-apb-uart" type = "pwm-fan", modalias = "of:Npwm-fanT(null)Cpwm-fan", driver = "pwm-fan" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "vcc3v3-pcie-regulator", modalias = "of:Nvcc3v3-pcie-regulatorT(null)Cregulator-fixed", driver = "reg-fixed-voltage" type = "", modalias = "platform:psci-cpuidle", driver = "psci-cpuidle" type = "", modalias = "platform:regulatory", driver = "" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "", modalias = "platform:rk808-regulator", driver = "rk808-regulator" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "usb", modalias = "of:NusbT(null)Crockchip,rk3399-dwc3", driver = "dwc3-of-simple" type = "watchdog", modalias = "of:NwatchdogT(null)Csnps,dw-wdt", driver = "dw_wdt" type = "reboot-mode", modalias = "of:Nreboot-modeT(null)Csyscon-reboot-mode", driver = "syscon-reboot-mode" type = "rk809-sound", modalias = "of:Nrk809-soundT(null)Crockchip,multicodecs-card", driver = "rk-multicodecs" type = "io-domains", modalias = "of:Nio-domainsT(null)Crockchip,rk3399-io-voltage-domain", driver = "rockchip-iodomain" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "phy", modalias = "of:NphyT(null)Crockchip,rk3399-emmc-phy", driver = "rockchip-emmc-phy" type = "vbus-host", modalias = "of:Nvbus-hostT(null)Cregulator-fixed", driver = "reg-fixed-voltage" type = "spdif", modalias = "of:NspdifT(null)Crockchip,rk3399-spdif", driver = "rockchip-spdif" type = "usb", modalias = "of:NusbT(null)Cgeneric-ohci", driver = "ohci-platform" type = "", modalias = "platform:dw-hdmi-hdcp", driver = "dw-hdmi-hdcp" type = "usb", modalias = "of:NusbT(null)Csnps,dwc3", driver = "dwc3" type = "nocp-cci-msch0", modalias = "of:Nnocp-cci-msch0T(null)Crockchip,rk3399-nocp", driver = "rockchip-nocp" type = "", modalias = "platform:xhci-hcd", driver = "xhci-hcd" type = "", modalias = "platform:rk808-rtc", driver = "rk808-rtc" type = "gpio1", modalias = "of:Ngpio1T(null)Crockchip,gpio-bank", driver = "rockchip-gpio" type = "", modalias = "platform:rk808-clkout", driver = "rk808-clkout" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "nocp-video-msch1", modalias = "of:Nnocp-video-msch1T(null)Crockchip,rk3399-nocp", driver = "rockchip-nocp" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "iommu", modalias = "of:NiommuT(null)Crockchip,iommu", driver = "rk_iommu" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "nocp-cci-msch1", modalias = "of:Nnocp-cci-msch1T(null)Crockchip,rk3399-nocp", driver = "rockchip-nocp" type = "fiq-debugger", modalias = "of:Nfiq-debuggerT(null)Crockchip,fiq-debugger", driver = "rk-fiq-debugger" type = "mmc", modalias = "of:NmmcT(null)Crockchip,rk3399-dw-mshcCrockchip,rk3288-dw-mshc", driver = "dwmmc_rockchip" type = "tsadc", modalias = "of:NtsadcT(null)Crockchip,rk3399-tsadc", driver = "rockchip-thermal" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "nocp-vio1-msch0", modalias = "of:Nnocp-vio1-msch0T(null)Crockchip,rk3399-nocp", driver = "rockchip-nocp" type = "", modalias = "platform:serial8250", driver = "serial8250" type = "pmu_a53", modalias = "of:Npmu_a53T(null)Carm,cortex-a53-pmu", driver = "armv8-pmu" type = "", modalias = "platform:cpufreq-dt", driver = "cpufreq-dt" type = "usb", modalias = "of:NusbT(null)Cgeneric-ehci", driver = "ehci-platform" type = "ramoops", modalias = "of:NramoopsT(null)Cramoops", driver = "" type = "gpio0", modalias = "of:Ngpio0T(null)Crockchip,gpio-bank", driver = "rockchip-gpio" type = "", modalias = "platform:xhci-hcd", driver = "xhci-hcd" type = "vdpu", modalias = "of:NvdpuT(null)Crockchip,vpu-decoder-v2", driver = "mpp_vdpu2" type = "nocp-vio1-msch1", modalias = "of:Nnocp-vio1-msch1T(null)Crockchip,rk3399-nocp", driver = "rockchip-nocp" type = "rkvdec", modalias = "of:NrkvdecT(null)Crockchip,rkv-decoder-rk3399", driver = "mpp_rkvdec" type = "pmu-pvtm", modalias = "of:Npmu-pvtmT(null)Crockchip,rk3399-pmu-pvtm", driver = "rockchip-pvtm" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "pvtm", modalias = "of:NpvtmT(null)Crockchip,rk3399-pvtm", driver = "rockchip-pvtm" type = "nocp-lp-msch0", modalias = "of:Nnocp-lp-msch0T(null)Crockchip,rk3399-nocp", driver = "rockchip-nocp" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "usb", modalias = "of:NusbT(null)Cgeneric-ehci", driver = "ehci-platform" type = "iommu", modalias = "of:NiommuT(null)Crockchip,iommu", driver = "rk_iommu" type = "vcc3v3-dp", modalias = "of:Nvcc3v3-dpT(null)Cregulator-fixed", driver = "reg-fixed-voltage" type = "iep", modalias = "of:NiepT(null)Crockchip,iep", driver = "" type = "qos", modalias = "of:NqosT(null)Csyscon", driver = "" type = "rockchip-system-monitor", modalias = "of:Nrockchip-system-monitorT(null)Crockchip,system-monitor", driver = "rockchip-system-monitor" type = "gpu", modalias = "of:NgpuT(null)Carm,malit860Carm,malit86xCarm,malit8xxCarm,mali-midgardCrockchip,rk3399-maliCarm,mali-t860", driver = "midgard" type = "iommu", modalias = "of:NiommuT(null)Crockchip,iommu", driver = "rk_iommu" driver = "(null)" driver = "mmcblk" driver = "brcmfmac" driver = "(null)" driver = "brcmfmac" >> pcmcia.1: sysfs drivers ----- /proc/tty/driver/serial ----- ----- /proc/tty/driver/serial end ----- >> block.2: sysfs drivers block device: bus = mmc, bus_id = mmc0:0001 driver = mmcblk block device: bus = scsi, bus_id = 0:0:0:0 driver = sd >> usb.1: sysfs drivers input device: bus = sound, bus_id = card2 driver = (null) input device: bus = sound, bus_id = card0 driver = (null) input device: bus = hid, bus_id = 0003:045E:0750.0003 driver = hid-generic input device: bus = hid, bus_id = 0003:045E:0750.0001 driver = hid-generic input device: bus = platform, bus_id = rk809-sound driver = rk-multicodecs input device: bus = hid, bus_id = 0003:045E:0750.0003 driver = hid-generic input device: bus = hid, bus_id = 0003:046D:C018.0002 driver = hid-generic input device: bus = platform, bus_id = rk805-pwrkey driver = rk805-pwrkey net driver: name = brcmfmac, path = /bus/sdio/drivers/brcmfmac net driver: name = rk_gmac-dwmac, path = /bus/platform/drivers/rk_gmac-dwmac E: DRIVER=dma-pl330 E: DRIVER=dma-pl330 E: DRIVER=cpufreq-dt E: DRIVER=rockchip-drm E: DRIVER=rockchip-dmc E: DRIVER=rk-hdmi-sound E: DRIVER=rk_gmac-dwmac E: DRIVER=Generic PHY E: DRIVER=dwmmc_rockchip E: DRIVER=brcmfmac E: ID_NET_DRIVER=brcmfmac E: DRIVER=brcmfmac E: DRIVER=dwmmc_rockchip E: DRIVER=mmcblk E: DRIVER=sdhci-arasan E: DRIVER=ehci-platform E: DRIVER=usb E: DRIVER=hub E: DRIVER=ohci-platform E: DRIVER=usb E: DRIVER=hub E: DRIVER=usb E: DRIVER=usbhid E: DRIVER=hid-generic E: ID_USB_DRIVER=usbhid E: ID_USB_DRIVER=usbhid E: DRIVER=ehci-platform E: DRIVER=usb E: DRIVER=hub E: DRIVER=ohci-platform E: DRIVER=usb E: DRIVER=hub E: DRIVER=usb E: DRIVER=usbhid E: DRIVER=hid-generic E: ID_USB_DRIVER=usbhid E: ID_USB_DRIVER=usbhid E: DRIVER=usbhid E: DRIVER=hid-generic E: ID_USB_DRIVER=usbhid E: ID_USB_DRIVER=usbhid E: ID_USB_DRIVER=usbhid E: ID_USB_DRIVER=usbhid E: DRIVER=cdn-dp E: DRIVER=hdmi-audio-codec E: DRIVER=rockchip-saradc E: DRIVER=dw-apb-uart E: DRIVER=hci_uart_bcm E: DRIVER=rockchip-thermal E: DRIVER=rockchip-pm-domain E: DRIVER=rockchip-iodomain E: DRIVER=rockchip-pvtm E: DRIVER=syscon-reboot-mode E: DRIVER=rk3x-i2c E: DRIVER=rk808 E: DRIVER=rk805-pinctrl E: DRIVER=gpio_stub_drv E: DRIVER=rk805-pwrkey E: DRIVER=rk808-clkout E: DRIVER=rk808-regulator E: DRIVER=rk808-rtc E: DRIVER=alarmtimer E: DRIVER=rk817-codec E: DRIVER=fan53555-regulator E: DRIVER=fan53555-regulator E: DRIVER=at24 E: DRIVER=dummy E: DRIVER=rockchip-pwm E: DRIVER=mpp_vepu2 E: DRIVER=mpp_vdpu2 E: DRIVER=rk_iommu E: DRIVER=mpp_rkvdec E: DRIVER=rk_iommu E: DRIVER=rk_iommu E: DRIVER=rga2 E: DRIVER=rockchip-efuse E: DRIVER=rockchip-iodomain E: DRIVER=rockchip-pcie-phy E: DRIVER=rockchip-emmc-phy E: DRIVER=rockchip-pvtm E: DRIVER=rockchip-usb2phy E: DRIVER=rockchip-usb2phy E: DRIVER=rockchip-typec-phy E: DRIVER=rockchip-typec-phy E: DRIVER=dw_wdt E: DRIVER=rockchip-spdif E: DRIVER=rockchip-i2s E: DRIVER=rockchip-i2s E: DRIVER=rockchip-i2s E: DRIVER=rockchip-vop E: DRIVER=rk_iommu E: DRIVER=rockchip-vop E: DRIVER=rk_iommu E: DRIVER=rk_iommu E: DRIVER=rk_iommu E: DRIVER=dwhdmi-rockchip E: DRIVER=dw-hdmi-cec E: DRIVER=dw-hdmi-hdcp E: DRIVER=dw-hdmi-i2s-audio E: DRIVER=hdmi-audio-codec E: DRIVER=midgard E: DRIVER=rockchip-nocp E: DRIVER=rockchip-nocp E: DRIVER=rockchip-nocp E: DRIVER=rockchip-nocp E: DRIVER=rockchip-nocp E: DRIVER=rockchip-nocp E: DRIVER=rockchip-nocp E: DRIVER=rockchip-nocp E: DRIVER=rockchip-nocp E: DRIVER=rockchip-nocp E: DRIVER=rockchip-nocp E: DRIVER=rockchip-nocp E: DRIVER=rockchip-nocp E: DRIVER=rockchip-nocp E: DRIVER=rk-fiq-debugger E: DRIVER=fiq_debugger E: DRIVER=leds-gpio E: DRIVER=rk-hdmi-sound E: DRIVER=mpp_service E: DRIVER=rockchip-pinctrl E: DRIVER=rockchip-gpio E: DRIVER=rockchip-gpio E: DRIVER=rockchip-gpio E: DRIVER=rockchip-gpio E: DRIVER=rockchip-gpio E: DRIVER=armv8-pmu E: DRIVER=armv8-pmu E: DRIVER=psci-cpuidle-domain E: DRIVER=psci-cpuidle E: DRIVER=pwm-fan E: DRIVER=reg-dummy E: DRIVER=rk-multicodecs E: DRIVER=rockchip-pm E: DRIVER=rockchip-system-monitor E: DRIVER=pwrseq_simple E: DRIVER=serial8250 E: DRIVER=snd-soc-dummy E: DRIVER=dwc3-of-simple E: DRIVER=dwc3 E: DRIVER=xhci-hcd E: DRIVER=usb E: DRIVER=hub E: DRIVER=usb E: DRIVER=hub E: DRIVER=dwc3-of-simple E: DRIVER=dwc3 E: DRIVER=xhci-hcd E: DRIVER=usb E: DRIVER=hub E: DRIVER=usb E: DRIVER=usb-storage E: DRIVER=sd E: ID_USB_DRIVER=usb-storage E: ID_USB_DRIVER=usb-storage E: DRIVER=usb E: DRIVER=hub E: DRIVER=reg-fixed-voltage E: DRIVER=reg-fixed-voltage E: DRIVER=reg-fixed-voltage E: DRIVER=reg-fixed-voltage E: DRIVER=reg-fixed-voltage E: DRIVER=reg-fixed-voltage E: DRIVER=extcon-pd-virtual Driver: "ohci-platform" Driver Info #0: Driver Status: uhci-hcd is not active Driver Activation Cmd: "modprobe uhci-hcd" Driver: "rk_gmac-dwmac" Driver: "dwc3-of-simple" Driver Info #0: Driver Status: uhci-hcd is not active Driver Activation Cmd: "modprobe uhci-hcd" Driver: "dwc3" Driver Info #0: Driver Status: uhci-hcd is not active Driver Activation Cmd: "modprobe uhci-hcd" Driver: "dwc3-of-simple" Driver Info #0: Driver Status: uhci-hcd is not active Driver Activation Cmd: "modprobe uhci-hcd" Driver: "ohci-platform" Driver Info #0: Driver Status: uhci-hcd is not active Driver Activation Cmd: "modprobe uhci-hcd" Driver: "dwc3" Driver Info #0: Driver Status: uhci-hcd is not active Driver Activation Cmd: "modprobe uhci-hcd" Driver: "xhci-hcd" Driver: "brcmfmac" Driver Modules: "brcmfmac" Driver: "ehci-platform" Driver Info #0: Driver Status: ehci-hcd is not active Driver Activation Cmd: "modprobe ehci-hcd" Driver: "xhci-hcd" Driver: "ehci-platform" Driver Info #0: Driver Status: ehci-hcd is not active Driver Activation Cmd: "modprobe ehci-hcd" Driver: "mmcblk" Driver: "brcmfmac" Driver Modules: "brcmfmac" Driver Info #0: Driver Status: bcmdhd is not active Driver Activation Cmd: "modprobe bcmdhd" Driver Info #1: Driver Status: brcmfmac is active Driver Activation Cmd: "modprobe brcmfmac" Driver Info #0: Driver Status: brcmfmac is active Driver Activation Cmd: "modprobe brcmfmac" Driver: "brcmfmac" Driver Modules: "brcmfmac" Driver Info #0: Driver Status: bcmdhd is not active Driver Activation Cmd: "modprobe bcmdhd" Driver Info #1: Driver Status: brcmfmac is active Driver Activation Cmd: "modprobe brcmfmac" Driver: "dwmmc_rockchip", "mmcblk" Driver: "usb-storage", "sd" Driver Modules: "usb_storage" Driver Info #0: Driver Status: uas is active Driver Activation Cmd: "modprobe uas" Driver Info #1: Driver Status: usb_storage is active Driver Activation Cmd: "modprobe usb_storage" Driver: "usbhid" Driver Modules: "usbhid" Driver Info #0: Driver: "hub" Driver Modules: "usbcore" Driver: "hub" Driver Modules: "usbcore" Driver: "usbhid" Driver Modules: "usbhid" Driver Info #0: Driver: "hub" Driver Modules: "usbcore" Driver: "hub" Driver Modules: "usbcore" Driver: "hub" Driver Modules: "usbcore" Driver: "hub" Driver Modules: "usbcore" Driver: "usbhid" Driver Modules: "usbhid" Driver: "hub" Driver Modules: "usbcore" Driver: "hub" Driver Modules: "usbcore" Driver: "brcmfmac" Driver Modules: "brcmfmac" Driver: "rk_gmac-dwmac"...
Consolidated Sorted Driver List:
BT_RFKILL EXT4-fs FAT-fs Generic Generic PHY IPv6 WLAN_RFKILL ahci alarmtimer armv8-pmu at24 bcmdhd brcmfmac brd cdn-dp cfg80211 cpufreq-dt cryptodev dma-pl330 drm dummy dw-apb-uart dw-hdmi-cec dw-hdmi-hdcp dw-hdmi-i2s-audio dw_wdt dwc3 dwc3-of-simple dwhdmi-rockchip dwmmc_rockchip ehci-hcd ehci-platform ehci_hcd extcon-pd-virtual fan53555-regulator fiq_debugger fuse gpio_stub_drv hci_bcm hci_intel hci_uart_bcm hci_uart_qca hdmi-audio-codec hid hid-generic hrtimer hub i2c input kvm leds-gpio ledtrig-cpu libata lkdtm loop mc mdio_bus midgard mmc_host mmcblk mpp-srv mpp_rkvdec mpp_service mpp_vdpu2 mpp_vepu2 nvme ohci-platform ohci_hcd phy pps_core psci-cpuidle psci-cpuidle-domain pwm-fan pwrkey pwrseq_simple reg-dummy reg-fixed-voltage rga rga2 rga2_irq rga2_mmu rk-fiq-debugger rk-hdmi-sound rk-multicodecs rk3x-i2c rk805 rk805-pinctrl rk805-pwrkey rk808 rk808-clkout rk808-regulator rk808-rtc rk809-sound rk817-battery rk817-codec rk_gmac-dwmac rk_iommu rksfc_base rndis_wlan rockchip-dmc rockchip-drm rockchip-efuse rockchip-emmc-phy rockchip-gpio rockchip-i2s rockchip-iodomain rockchip-nocp rockchip-pcie rockchip-pcie-phy rockchip-pinctrl rockchip-pm rockchip-pm-domain rockchip-pvtm rockchip-pwm rockchip-saradc rockchip-spdif rockchip-system-monitor rockchip-thermal rockchip-typec-phy rockchip-usb2phy rockchip-vop scsi sd sdhci sdhci-arasan sdhci-pltfm serial serial8250 snd-soc-dummy soc-audio syscon-reboot-mode uas uhci-hcd usb usb-storage usb_storage usbcore usbfs usbhid usbtouchscreen uvcvideo videodev virtual-pd xhci-hcd
zramConsolidated Sorted Modules List:
at24 bcmdhd bluetooth bnep brcmfmac brcmutil btbcm btintel btqca dm_mod dw_hdmi_i2s_audio ecc ecdh_generic ehci-hcd extcon_pd_virtual fat fuse hci_uart ip_tables ipv6 ledtrig_default_on ledtrig_heartbeat ledtrig_pattern ledtrig_timer midgard_kbase pwm_fan rfcomm snd snd_pcm snd_pcm_dmaengine snd_soc_core snd_soc_hdmi_codec snd_soc_rk817 snd_soc_rockchip_hdmi snd_soc_rockchip_i2s snd_soc_rockchip_multicodecs snd_soc_rockchip_spdif snd_timer soundcore uas uhci-hcd usb_storage usbcore usbhid vfat x_tables zstd
zstd_compressFollowing the tip above, identify and make a copy of firmware files used for brcmfmac wifi
root #
ls -al /usr/lib/firmware/brcm/brcmfmac434*
-rw-r--r-- 1 root root 951 Jul 25 2021 /usr/lib/firmware/brcm/brcmfmac43430a0-sdio.jumper-ezpad-mini3.txt -rw-r--r-- 1 root root 875 Jul 25 2021 /usr/lib/firmware/brcm/brcmfmac43430-sdio.AP6212.txt lrwxrwxrwx 1 root root 31 Jul 25 2021 /usr/lib/firmware/brcm/brcmfmac43430-sdio.bin -> ../cypress/cyfmac43430-sdio.bin lrwxrwxrwx 1 root root 36 Jul 25 2021 /usr/lib/firmware/brcm/brcmfmac43430-sdio.clm_blob -> ../cypress/cyfmac43430-sdio.clm_blob -rw-r--r-- 1 root root 928 Jul 25 2021 /usr/lib/firmware/brcm/brcmfmac43430-sdio.Hampoo-D2D3_Vi8A1.txt -rw-r--r-- 1 root root 831 Jul 25 2021 /usr/lib/firmware/brcm/brcmfmac43430-sdio.MUR1DX.txt -rw-r--r-- 1 root root 874 Jul 25 2021 /usr/lib/firmware/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt lrwxrwxrwx 1 root root 29 Jul 25 2021 /usr/lib/firmware/brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-plus.txt -> brcmfmac43430-sdio.AP6212.txt lrwxrwxrwx 1 root root 29 Jul 25 2021 /usr/lib/firmware/brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-ultra.txt -> brcmfmac43430-sdio.AP6212.txt lrwxrwxrwx 1 root root 29 Jul 25 2021 /usr/lib/firmware/brcm/brcmfmac43430-sdio.sinovoip,bpi-m2-zero.txt -> brcmfmac43430-sdio.AP6212.txt lrwxrwxrwx 1 root root 29 Jul 25 2021 /usr/lib/firmware/brcm/brcmfmac43430-sdio.sinovoip,bpi-m3.txt -> brcmfmac43430-sdio.AP6212.txt -rw-r--r-- 1 root root 902 Aug 29 08:46 /usr/lib/firmware/brcm/brcmfmac43430-sdio.txt lrwxrwxrwx 1 root root 31 Jul 25 2021 /usr/lib/firmware/brcm/brcmfmac43455-sdio.bin -> ../cypress/cyfmac43455-sdio.bin lrwxrwxrwx 1 root root 36 Jul 25 2021 /usr/lib/firmware/brcm/brcmfmac43455-sdio.clm_blob -> ../cypress/cyfmac43455-sdio.clm_blob lrwxrwxrwx 1 root root 49 Jul 25 2021 /usr/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,3-model-a-plus.txt -> brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt -rw-r--r-- 1 root root 1884 Jul 25 2021 /usr/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt -rw-r--r-- 1 root root 1883 Jul 25 2021 /usr/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt lrwxrwxrwx 1 root root 31 Aug 29 08:46 /usr/lib/firmware/brcm/brcmfmac43455-sdio.txt -> ../cypress/cyfmac43455-sdio.txt -rw-r--r-- 1 root root 585884 Aug 29 08:46 /usr/lib/firmware/brcm/brcmfmac43456-sdio.bin -rw-r--r-- 1 root root 7163 Aug 29 08:46 /usr/lib/firmware/brcm/brcmfmac43456-sdio.clm_blob
-rw-r--r-- 1 root root 2099 Aug 29 08:46 /usr/lib/firmware/brcm/brcmfmac43456-sdio.txtIf the device at /mnt/thumb is a vfat fs, it won't support symlinks, so save the information with which to reconstruct them, if they are needed
Save the contents of the /boot directory
root #
mkdir /mnt/thumb/Debian
root #
cp /boot /mnt/thumb/Debian/boot
root #
# includes kernel, config, initrd, DT overlay directory (dtbo), user-configuratuib (extlinux/extlinux.conf)
root #
mkdir /mnt/thumb/Debian/lib
root #
ls -al /usr/lib/firmware/brcm/brcmfmac434* > /mnt/thumb/Debian/lib/brcmfmac434-driver-and-link-list
root #
mkdir /mnt/thumb/Debian/lib/{brcm,cypress}
root #
find /usr/lib/firmware/brcm/ -type f -iname brcmfmac434* -exec cp '{}' /mnt/thumb/Debian/lib/brcm/ \;
root #
cp -av /usr/lib/firmware/cypress/cyfmac434* /mnt/thumb/Debian/lib/cypress/
Examine the contents of the Debian initrd image
root #
cd /home/<user>/<project_directory>/DebianInfo/
root #
modprobe nbd max_part=8; qemu-nbd --connect /dev/nbd0 -n ./images/rock-4c-plus_debian_bullseye_kde_b55.img -raw
root #
blkid | grep nbd
root #
mount /dev/nbd0p1 /mnt/image_p1
root #
ls -al /mnt/image_p1
total 6 drwxr-xr-x 2 root root 512 Dec 31 1969 . drwxr-xr-x 19 root root 4096 Oct 3 09:15 .. -rwxr-xr-x 1 root root 802 Mar 12 2023 before.txt -rwxr-xr-x 1 root root 274 Mar 12 2023 config.txt
root #
mount /dev/nbd0p2 /mnt/image_p2
root #
ls -al /mnt/image_p2
drwxr-xr-x 19 root root 4096 Mar 12 2023 . drwxr-xr-x 19 root root 4096 Oct 3 09:15 .. lrwxrwxrwx 1 root root 7 Mar 12 2023 bin -> usr/bin drwxr-xr-x 5 root root 4096 Mar 12 2023 boot drwxr-xr-x 2 root root 4096 Mar 12 2023 config drwxr-xr-x 4 root root 4096 Mar 12 2023 dev drwxr-xr-x 93 root root 4096 Mar 12 2023 etc drwxr-xr-x 2 root root 4096 Dec 9 2022 home lrwxrwxrwx 1 root root 7 Mar 12 2023 lib -> usr/lib drwx------ 2 root root 16384 Mar 12 2023 lost+found drwxr-xr-x 2 root root 4096 Mar 12 2023 media drwxr-xr-x 2 root root 4096 Mar 12 2023 mnt drwxr-xr-x 2 root root 4096 Mar 12 2023 opt drwxr-xr-x 2 root root 4096 Dec 9 2022 proc drwx------ 3 root root 4096 Mar 12 2023 root drwxr-xr-x 4 root root 4096 Mar 12 2023 run lrwxrwxrwx 1 root root 8 Mar 12 2023 sbin -> usr/sbin drwxr-xr-x 2 root root 4096 Mar 12 2023 srv drwxr-xr-x 2 root root 4096 Dec 9 2022 sys drwxrwxrwt 2 root root 4096 Mar 12 2023 tmp drwxr-xr-x 11 root root 4096 Mar 12 2023 usr drwxr-xr-x 11 root root 4096 Mar 12 2023 var
root #
binwalk -eM /mnt/image_p2/boot/initrd.img-5.10.110-1-rockchip
root #
cd _initrd.img-5.10.110-1-rockchip.extracted/_mkinitramfs-MAIN_QXejgU.extracted/cpio-root
root #
ls -al ; tree -L 3 # (drop the "-L 3" for more output; explore - this is the content of the initrd/initramfs file system
|-- bin -> usr/bin |-- conf | |-- arch.conf | |-- conf.d | `-- initramfs.conf |-- etc | |-- default | | `-- keyboard | |-- fonts | | |-- conf.d | | `-- fonts.conf | |-- fstab | |-- ld.so.cache | |-- ld.so.conf | |-- ld.so.conf.d | | |-- 00-aarch64-mali.conf | | |-- aarch64-linux-gnu.conf | | `-- libc.conf | |-- modprobe.d | | |-- bcmdhd.conf | | `-- panfrost.conf | |-- mtab -> /dev/null | |-- nsswitch.conf | |-- os-release | |-- passwd | |-- plymouth | | `-- plymouthd.conf | `-- udev | `-- udev.conf |-- init |-- lib -> usr/lib |-- run |-- sbin -> usr/sbin |-- scripts | |-- functions | |-- init-bottom | | |-- ORDER | | |-- plymouth | | `-- udev | |-- init-premount | | |-- ORDER | | `-- plymouth | |-- init-top | | |-- ORDER | | |-- all_generic_ide | | |-- blacklist | | |-- keymap | | `-- udev | |-- local | |-- local-bottom | | |-- ORDER | | |-- growroot | | `-- ntfs_3g | |-- local-premount | | |-- ORDER | | |-- ntfs_3g | | `-- resume | |-- nfs | `-- panic | |-- ORDER | `-- plymouth |-- usr | |-- bin | | |-- awk -> mawk | | |-- cat | | |-- chroot | | |-- cpio | | |-- dd | | |-- dmesg | | |-- false | | |-- fstype | | |-- gunzip | | |-- halt | | |-- ipconfig | | |-- kill | | |-- kmod | | |-- ln | | |-- losetup | | |-- ls | | |-- mawk | | |-- minips | | |-- mkdir | | |-- mkfifo | | |-- mknod | | |-- mount | | |-- mv | | |-- nfsmount | | |-- ntfs-3g | | |-- nuke | | |-- pivot_root | | |-- plymouth | | |-- poweroff | | |-- readlink | | |-- reboot | | |-- resume | | |-- rm | | |-- run-init | | |-- sed | | |-- sh | | |-- sleep | | |-- sync | | |-- true | | |-- udevadm | | |-- umount | | `-- uname | |-- lib | | |-- aarch64-linux-gnu | | |-- firmware | | |-- klibc-876od2HhyJXkFFEf80Yg7Ir4gDY.so | | |-- ld-linux-aarch64.so.1 -> aarch64-linux-gnu/ld-2.31.so | | |-- modprobe.d | | |-- modules | | |-- systemd | | `-- udev | |-- local | | `-- share | |-- sbin | | |-- blkid | | |-- dmsetup | | |-- e2fsck | | |-- fsck | | |-- fsck.ext4 -> e2fsck | | |-- growpart | | |-- logsave | | |-- modprobe -> /dev/null | | |-- mount.fuse3 | | |-- mount.ntfs -> /dev/null | | |-- mount.ntfs-3g -> /dev/null | | |-- plymouthd | | |-- rmmod -> /dev/null | | |-- sfdisk | | `-- udevadm | `-- share | |-- fonts | `-- plymouth `-- var `-- cache `-- fontconfig 40 directories, 99 files
Examine the contents of the Armbian initrd image
Author's note: save this --for examining the Armbian image
root #
cd /home/<user>/<project_directory>/ArmbianInfo/
root #
qemu-nbd --connect /dev/nbd0 -n ./images/Armbian_23.08.0-trunk_Rockpi-4cplus_jammy_current_6.1.55_minimal.img -raw
root #
blkid | grep nbd
root #
mount /dev/nbd0p1 /mnt/image_p1
root #
cd /_initrd.img-6.1.55-current-rockchip64.extracted/_mkinitramfs-MAIN_bspplr.extracted/cpio-root/
root #
# explore (e.g. ls -al ; tree) - this is the initrd/initramfs file system
(Backup) The author used Balena Etcher to flash a Debian image to SD card, and then, after customizing the setup, used Win32 Disk Imager to copy the installed system back to a .img file on the PC, for safekeeping.
Turn this into a Gentoo system?
Inspection of the installed Debian system revealed that the bootloader firmware files, (sometimes visible in /boot) are evidently not present in user-accessible partitions on this system. The author made one attempt at replacing content of the root filesystem with Gentoo stage3, etc., and editing /boot/extlinux/extlinux.conf to point at the gentoo-built kernel and dtb file -- without success.