MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.8k stars 494 forks source link

NanoPi R5S/R6S | Writable clk DebugFS enabled #6136

Closed thinkpanzer closed 1 year ago

thinkpanzer commented 1 year ago

Creating a bug report/issue

Required Information

Additional Information (if applicable)

Steps to reproduce

  1. The R6S image appears to be using the FriendlyElec kernel
  2. The kernel config is not secure

Expected behaviour

Actual behaviour

Extra details

thinkpanzer commented 1 year ago

See also https://lkml.org/lkml/2022/1/24/3382

Joulinar commented 1 year ago

Just to avoid any misunderstanding, we don't do any kernel development. It should be mainline kernel. I guess @MichaIng could explain in detail which kernel is used exactly.

MichaIng commented 1 year ago

It is indeed FriendlyELECs kernel. There is currently no alternative since mainline kernel support is not there and also Armbian has no proper build/kernel support for them (both R5S and R6S) yet.

Don't ask me why FriendlyELEC has this enabled in their official kernel builds. I'll check with their sources and open a PR to disable it.

MichaIng commented 1 year ago

Interesting, here the commit: https://github.com/friendlyarm/kernel-rockchip/commit/861a024589b3f42ca93877bf74f8a67f59c66ca8

This doesn't introduce security or safety issues for Android since debugfs itself is already considered unsafe and mounting it isn't allowed on user devices.

So this is an Android-only change while this is not feasible for Linux. Since FriendlyELEC user the same branch for Android and Linux, there may be other such Android commits merged into the Linux kernel which shouldn't be there. I'll open an issue, since not sure how to resolve best. Actually splitting branches and reverting ALL commits merged from AOSP/Android repos would be best.

MichaIng commented 1 year ago

Even more interesting, this commit along with all those merges from Android is coming from Rockchip's Linux branch, so FriendlyELEC is not responsible, but Rockchip: https://github.com/rockchip-linux/kernel/blob/develop-5.10/drivers/clk/clk.c#L3110

MichaIng commented 1 year ago

Okay, I informed now both, FriendlyELEC and the Rockchip kernel developer. I'm confused that this made it's way into official end user images since a long time already and no-one recognised or complained until our users see the hard to overlook warning emitted by the kernel 🤔.

Further links for background:

MichaIng commented 1 year ago

What you can do is this:

find /sys/kernel/debug/clk -perm 644 -exec chmod a-w {} +
# or
chmod a-w /sys/kernel/debug/clk/*/clk_{rate,prepare_enable}

It is two files in all clk sub directories which are writable by the root user clk_prepare_enable and clk_rate. This removes the write bit. But the root user can re-add it so it is not really a solution but at best prevents against accidents. This needs to be changed in kernel sources, to that the UNIX permissions have no effect but you get

-bash: echo: write error: Permission denied

whatever permissions are set when trying to change the value.

thinkpanzer commented 1 year ago

Thanks for all the updates. I find it somewhat surprising that Rockchip asserts that this kernel config is required for Android; I'm moderately confident it isn't.

My broader concern is what other poor security choices did they make in their kernel config that don't trigger stern warnings.

@MichaIng do you have any idea when we'll see mainline RK3588(S) support?

MichaIng commented 1 year ago

The commit may be even just pulled in from the Android branch, where, as the commit text states, it has no negative impact for end user systems since the debugfs cannot be mounted anyway, at least not without rooting the phone first, I guess.

So the central problem really is that Linux and Android branches have been merged into one.

My broader concern is what other poor security choices did they make in their kernel config that don't trigger stern warnings.

Dito, although I do not worry so much about security (I think it is rare that Android and mainline Linux diverge in this regards), but stability and performance. I can imagine that the Android kernel has optimisations and switches set to best serve the Android OS and the common setup of it on Android mobile phones. Even that SBCs use the same CPU architecture, I can imagine that on a regular Linux distro, those changes have a negative impact on kernel features, performance and stability.

However, all speculation so far. I am not even sure how the device clock rate can have a security impact. Probably has something to do with the way hardware random generators work to generate entropy used for cryptographic tasks 🤔. Or I'm on the wrong track 😄.

I hope Rockchip and FriendlyELEC answer soon to get some clarification and a fix for the writable clk_rate at a minimum.

MichaIng commented 1 year ago

Rockchip answered that they are looking into splitting Linux and Android kernel trees with next release. But that means probably next Linux LTS which is not applied by vendors for their current SBCs. FriendlyELEC will most likely stay at Linux 5.10 for NanoPi 5 and 6 series, so they'd need to patch it their end.

thinkpanzer commented 1 year ago

Well, that doesn't sound great at all.

Did Rockchip give you any indication about whether they were putting the effort into mainline 3588(S) support? Seems to me that mainline would then be the sustainable path fwd vs relying on vendor-patched kernels.

MichaIng commented 1 year ago

Did Rockchip give you any indication about whether they were putting the effort into mainline 3588(S) support?

While I totally agree with you, I gave up hoping for this. To me it looks like Rockchip does not aim to support mainline kernel. They create an own branch, vendors use it, and mainline kernel support is done by volunteers or probably also paid kernel developers, but unrelated to Rockchip or any vendor.

For the good of all, the only correct thing would be to not have an own kernel repository at all, respectively only as feature branch, contributing and syncing everything with mainline kernel directly. Then we wouldn't need to wait for 2-3 years until we finally have an acceptable kernel and images for SBCs with new Rockchip SoCs. Same is true for most other vendors and chip manufacturers as well. I think Allwinner is the only one which seems to care a bit about mainline kernel support?

... same with the bootloader/U-Boot of course. This is all Rockchip or vendor branch first, often not working great (Quartz64 Rockchip U-Boot hat problems booting from several SD cards), mainline U-Boot needed a year longer or more.

MichaIng commented 1 year ago

FYI: https://github.com/friendlyarm/kernel-rockchip/pull/6

thinkpanzer commented 1 year ago

Yeah, ideally no custom kernel repo or u-boot branches; I'd like to use this hardware for multiple purposes and with different OSes and u-boot is in a number of respects even more important.

Thanks for being so responsive and filling some gaps in my understanding.

MichaIng commented 1 year ago

Yeah, ideally no custom kernel repo or u-boot branches

No chance to achieve this with FriendlyELEC, but as soon as others implemented support into mainline kernel, we'll switch of course 🙂.

MichaIng commented 1 year ago

Good new, PR has been merged 🙂. There are new FriendlyELEC Debian images available as well, built today, but the OneDrive download links are down and I cannot manage to download something from Baidu without installing some downloader tool or what.

thinkpanzer commented 1 year ago

Thanks for the update.

They definitely changed the download links. The one that's working for me at the moment is https://1drv.ms/u/s!AkNn1aO7NlsfvljhexlJNkGU2VtO

Does the PR give you any indication whether they made any other kernel config changes that would be security-relevant?

MichaIng commented 1 year ago

Thanks, that works now. Wasn't it actually Google Drive before?

MichaIng commented 1 year ago

Kernel build is from January 13th, so we need to wait.

What is this?

rpi

Raspberry Pi bootloader files, even the RPi 4 and pre-4 variants, further split into regular, cut-down, extended and debug variants. This cannot work anywhere else than on Raspberry Pi, and of course those images use U-Boot, so why the hack are these files there?

Next to it:

grub

Some GRUB files with a config pointing to Linux images which do not exist. Not sure what was experimented with, but that all this stuff is just left (alone with a large number of other useless files spread across the image) on the end user image is... well... good that we purge and re-create the whole rootfs from scratch 😄.

thinkpanzer commented 1 year ago

Yes, it was Google Drive before. No idea why they changed it to OneDrive.

I am increasingly concerned about Rockchip/FriendlyElec release engineering, and whether even taking their kernel directly is such a good idea 🫤

MichaIng commented 1 year ago

I am increasingly concerned about Rockchip/FriendlyElec release engineering

Note that this is common, I saw similar and worse with most other SBC manufacturers. Only Raspberry Pi as own real quality images, Hardkernel the second best, I'd say.

For R5S there is one alternative: https://github.com/pyavitz/binary/releases/tag/images For R6S sadly none I'm aware of.

thinkpanzer commented 1 year ago

Looks like RK3588/3588S support is coming in mainline 6.3: https://lore.kernel.org/lkml/4f42519a-d087-416a-b7d6-aa9f63d2c395@app.fastmail.com/

MichaIng commented 1 year ago

Hopefully NanoPi R6S support in particular as well (device tree at least). Same with U-Boot.

Jensen567 commented 1 year ago

Anyone have a current link or mirror for the R5S downloads that works? OneDrive links are still down, and I'm not about to install the Baidu software for the Mainland China links.

thinkpanzer commented 1 year ago

The OneDrive files for R6S disappeared in the last 24 hours as well.

MichaIng commented 1 year ago

Works here:

Jensen567 commented 1 year ago

You are correct, seems they have fixed it for now. I did manage to find an HTTP server as well but it is very slow.

skyuplam commented 1 year ago

Not only affect NanoPi R5S/R6S, I have also found the same issue with my Rock Pi 5B.

MichaIng commented 1 year ago

Interesting. It is based on the same Rockchip kernel sources, but I'd have though that Armbian patched this out. Looks like we should open the same PR on Radxa's kernel branch, so Armbian and everyone else, using it, benefits as well.

MichaIng commented 1 year ago
skyuplam commented 1 year ago

According to GinKage (from Radxa' discord server), the flag is disabled via patch in BSP https://github.com/radxa-repo/bsp/blob/main/linux/rockchip/0100-vendor/0008-Revert-ANDROID-clk-Enable-writable-debugfs-files.patch

MichaIng commented 1 year ago

Which is good, but does not help other developers which do not know about these patches, like obviously Armbian. And they may even use a deprecated branch, if using 5.10.y-rock5 explicitly instead of the default.

skyuplam commented 1 year ago

Yes, I know and what is the way to move forward for DietPi to support Rock Pi 5b?

MichaIng commented 1 year ago

DietPi does support ROCK 5B? If you mean the issue with insufficient boot partition size, very different topic, so let's keep it over there.

MichaIng commented 1 year ago

Fixed with: https://github.com/MichaIng/DietPi/commit/738678c The kernel upgrade is enforced during next DietPi update, as this seems to be a sufficient serious reason. But it is a little risky, as the kernel itself on partition 5 needs to be upgraded as well, otherwise the new kernel modules cannot be loaded with the old kernel. All partitions from 1 to 7 are now re-flashed from a minimal FriendlyELEC base image, which includes SPL, U-Boot, kernel, device tree etc, so everything which is or may be relevant. If someone manually adjusted the U-Boot environment (I'm not even sure where it is located), that will be overwritten, but I think its better this way than skipping it and risking failing boot if the old env does not work with the new bootloader for some reason.

I tried to implement it as failsafe as possible, assuring that base image and modules did successfully download, extract and that the base image as well as the system have the expected 8th partition, before starting with modules package install and flashing the partitions over.

MichaIng commented 1 year ago

@skyuplam The issue is still present on ROCK 5 with latest Armbian kernel?

Otherwise we can add the patch from https://github.com/radxa-repo/bsp/blob/main/linux/rockchip/0100-vendor/0008-Revert-ANDROID-clk-Enable-writable-debugfs-files.patch to https://github.com/armbian/build/tree/main/patch/kernel/rockchip-rk3588-legacy

MichaIng commented 1 year ago

Nice side-effect of the R5S/R6S kernel upgrade: The console resolution does not fit the screen. On R6S I do not get 1080p console with 1080p screen resolution, on R5S even 1440p both. Not sure where the difference comes from, but it doesn't really matter for the text console.

skyuplam commented 1 year ago

@MichaIng, yes, the DebugFS is turned on with Armbian_23.02.2_Rock-5b_bullseye_legacy_5.10.110_minimal.img

Logfile attached. Click to expand! ``` [ 6.230289] Booting Linux on physical CPU 0x0000000000 [0x412fd050] [ 6.230315] Linux version 5.10.110-rockchip-rk3588 (root@5280a832a398) (aarch64-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0, GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #23.02.2 SMP Fri Feb 17 23:59:20 UTC 2023 [ 6.241502] Machine model: Radxa ROCK 5B [ 6.241662] efi: UEFI not found. [ 6.245488] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB [ 6.245505] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-cubic-lut@00000000': base 0x0000000000000000, size 0 MiB [ 6.245593] Reserved memory: created CMA memory pool at 0x0000000010000000, size 256 MiB [ 6.245597] OF: reserved mem: initialized node cma, compatible id shared-dma-pool [ 6.503630] Zone ranges: [ 6.503637] DMA [mem 0x0000000000200000-0x00000000ffffffff] [ 6.503647] DMA32 empty [ 6.503653] Normal [mem 0x0000000100000000-0x00000003ffefffff] [ 6.503660] Movable zone start for each node [ 6.503663] Early memory node ranges [ 6.503669] node 0: [mem 0x0000000000200000-0x00000000efffffff] [ 6.503677] node 0: [mem 0x0000000100000000-0x00000003fbffffff] [ 6.503686] node 0: [mem 0x00000003fc500000-0x00000003ffefffff] [ 6.503692] Initmem setup node 0 [mem 0x0000000000200000-0x00000003ffefffff] [ 6.503698] On node 0 totalpages: 4126720 [ 6.503704] DMA zone: 15352 pages used for memmap [ 6.503707] DMA zone: 0 pages reserved [ 6.503712] DMA zone: 982528 pages, LIFO batch:63 [ 6.503717] Normal zone: 49148 pages used for memmap [ 6.503721] Normal zone: 3144192 pages, LIFO batch:63 [ 6.586389] On node 0, zone Normal: 256 pages in unavailable ranges [ 6.586556] psci: probing for conduit method from DT. [ 6.586567] psci: PSCIv1.1 detected in firmware. [ 6.586571] psci: Using standard PSCI v0.2 function IDs [ 6.586577] psci: MIGRATE_INFO_TYPE not supported. [ 6.586582] psci: SMC Calling Convention v1.2 [ 6.586990] percpu: Embedded 32 pages/cpu s93416 r8192 d29464 u131072 [ 6.587043] pcpu-alloc: s93416 r8192 d29464 u131072 alloc=32*4096 [ 6.587050] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7 [ 6.587212] Detected VIPT I-cache on CPU0 [ 6.587258] CPU features: detected: GIC system register CPU interface [ 6.587263] CPU features: detected: Virtualization Host Extensions [ 6.587273] CPU features: detected: ARM errata 1165522, 1319367, or 1530923 [ 6.587285] alternatives: patching kernel code [ 6.587637] Built 1 zonelists, mobility grouping on. Total pages: 4062220 [ 6.587647] Kernel command line: root=UUID=f8aa49f6-90b1-4f96-bb4b-a490410f4e86 rootwait rootfstype=ext4 splash=verbose console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=1 ubootpart=91ec68a1-cfa7-954f-a09b-8fe50ae18f21 usb-storage.quirks= net.ifnames=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 [ 6.589553] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear) [ 6.590282] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear) [ 6.590289] mem auto-init: stack:off, heap alloc:off, heap free:off [ 6.596218] software IO TLB: mapped [mem 0x00000000ec000000-0x00000000f0000000] (64MB) [ 6.783832] Memory: 15814304K/16506880K available (16576K kernel code, 3432K rwdata, 6320K rodata, 6912K init, 625K bss, 430432K reserved, 262144K cma-reserved) [ 6.783971] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1 [ 6.784006] ftrace: allocating 63645 entries in 249 pages [ 6.881148] ftrace: allocated 249 pages with 6 groups [ 6.881438] rcu: Hierarchical RCU implementation. [ 6.881443] rcu: RCU event tracing is enabled. [ 6.881448] Rude variant of Tasks RCU enabled. [ 6.881451] Tracing variant of Tasks RCU enabled. [ 6.881458] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies. [ 6.886673] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 6.889563] GICv3: GIC: Using split EOI/Deactivate mode [ 6.889569] GICv3: 480 SPIs implemented [ 6.889573] GICv3: 0 Extended SPIs implemented [ 6.889607] GICv3: Distributor has no Range Selector support [ 6.889617] GICv3: 16 PPIs implemented [ 6.889662] GICv3: CPU0: found redistributor 0 region 0:0x00000000fe680000 [ 6.889787] ITS [mem 0xfe640000-0xfe65ffff] [ 6.889838] ITS@0x00000000fe640000: allocated 8192 Devices @1001e0000 (indirect, esz 8, psz 64K, shr 0) [ 6.889863] ITS@0x00000000fe640000: allocated 32768 Interrupt Collections @1001f0000 (flat, esz 2, psz 64K, shr 0) [ 6.889871] ITS: using cache flushing for cmd queue [ 6.889910] ITS [mem 0xfe660000-0xfe67ffff] [ 6.889952] ITS@0x00000000fe660000: allocated 8192 Devices @100210000 (indirect, esz 8, psz 64K, shr 0) [ 6.889976] ITS@0x00000000fe660000: allocated 32768 Interrupt Collections @100220000 (flat, esz 2, psz 64K, shr 0) [ 6.889984] ITS: using cache flushing for cmd queue [ 6.890230] GICv3: using LPI property table @0x0000000100230000 [ 6.890345] GIC: using cache flushing for LPI property table [ 6.890354] GICv3: CPU0: using allocated LPI pending table @0x0000000100240000 [ 6.890528] random: get_random_bytes called from start_kernel+0x3e4/0x5d8 with crng_init=0 [ 7.011971] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 7.011982] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 7.011991] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 7.013344] Console: colour dummy device 80x25 [ 7.013384] printk: console [tty1] enabled [ 7.013412] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000) [ 7.013423] pid_max: default: 32768 minimum: 301 [ 7.013531] LSM: Security Framework initializing [ 7.013615] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 7.013647] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 7.015571] rcu: Hierarchical SRCU implementation. [ 7.016422] Platform MSI: msi-controller@fe640000 domain created [ 7.016441] Platform MSI: msi-controller@fe660000 domain created [ 7.016826] PCI/MSI: /interrupt-controller@fe600000/msi-controller@fe640000 domain created [ 7.016849] PCI/MSI: /interrupt-controller@fe600000/msi-controller@fe660000 domain created [ 7.017058] EFI services will not be available. [ 7.017398] smp: Bringing up secondary CPUs ... [ 7.017987] Detected VIPT I-cache on CPU1 [ 7.018019] GICv3: CPU1: found redistributor 100 region 0:0x00000000fe6a0000 [ 7.018036] GICv3: CPU1: using allocated LPI pending table @0x0000000100250000 [ 7.018079] CPU1: Booted secondary processor 0x0000000100 [0x412fd050] [ 7.018783] Detected VIPT I-cache on CPU2 [ 7.018809] GICv3: CPU2: found redistributor 200 region 0:0x00000000fe6c0000 [ 7.018824] GICv3: CPU2: using allocated LPI pending table @0x0000000100260000 [ 7.018863] CPU2: Booted secondary processor 0x0000000200 [0x412fd050] [ 7.019495] Detected VIPT I-cache on CPU3 [ 7.019518] GICv3: CPU3: found redistributor 300 region 0:0x00000000fe6e0000 [ 7.019533] GICv3: CPU3: using allocated LPI pending table @0x0000000100270000 [ 7.019569] CPU3: Booted secondary processor 0x0000000300 [0x412fd050] [ 7.020177] CPU features: detected: Spectre-v4 [ 7.020181] CPU features: detected: Spectre-BHB [ 7.020183] Detected PIPT I-cache on CPU4 [ 7.020196] GICv3: CPU4: found redistributor 400 region 0:0x00000000fe700000 [ 7.020205] GICv3: CPU4: using allocated LPI pending table @0x0000000100280000 [ 7.020228] CPU4: Booted secondary processor 0x0000000400 [0x414fd0b0] [ 7.020800] Detected PIPT I-cache on CPU5 [ 7.020814] GICv3: CPU5: found redistributor 500 region 0:0x00000000fe720000 [ 7.020823] GICv3: CPU5: using allocated LPI pending table @0x0000000100290000 [ 7.020847] CPU5: Booted secondary processor 0x0000000500 [0x414fd0b0] [ 7.021432] Detected PIPT I-cache on CPU6 [ 7.021446] GICv3: CPU6: found redistributor 600 region 0:0x00000000fe740000 [ 7.021454] GICv3: CPU6: using allocated LPI pending table @0x00000001002a0000 [ 7.021478] CPU6: Booted secondary processor 0x0000000600 [0x414fd0b0] [ 7.022069] Detected PIPT I-cache on CPU7 [ 7.022083] GICv3: CPU7: found redistributor 700 region 0:0x00000000fe760000 [ 7.022092] GICv3: CPU7: using allocated LPI pending table @0x00000001002b0000 [ 7.022115] CPU7: Booted secondary processor 0x0000000700 [0x414fd0b0] [ 7.022185] smp: Brought up 1 node, 8 CPUs [ 7.022203] SMP: Total of 8 processors activated. [ 7.022208] CPU features: detected: Privileged Access Never [ 7.022212] CPU features: detected: User Access Override [ 7.022217] CPU features: detected: 32-bit EL0 Support [ 7.022221] CPU features: detected: Common not Private translations [ 7.022225] CPU features: detected: RAS Extension Support [ 7.022229] CPU features: detected: Data cache clean to the PoU not required for I/D coherence [ 7.022233] CPU features: detected: CRC32 instructions [ 7.022237] CPU features: detected: Speculative Store Bypassing Safe (SSBS) [ 7.022243] CPU features: detected: RCpc load-acquire (LDAPR) [ 7.022320] CPU: All CPU(s) started at EL2 [ 7.027578] devtmpfs: initialized [ 7.041981] Registered cp15_barrier emulation handler [ 7.041989] Registered setend emulation handler [ 7.041993] KASLR disabled due to lack of seed [ 7.042069] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns [ 7.042075] futex hash table entries: 2048 (order: 5, 131072 bytes, linear) [ 7.044878] pinctrl core: initialized pinctrl subsystem [ 7.044994] regulator-dummy: no parameters, enabled [ 7.045130] DMI not present or invalid. [ 7.045253] NET: Registered protocol family 16 [ 7.046186] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations [ 7.046336] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 7.046361] audit: initializing netlink subsys (disabled) [ 7.046491] audit: type=2000 audit(0.033:1): state=initialized audit_enabled=0 res=1 [ 7.046998] thermal_sys: Registered thermal governor 'fair_share' [ 7.047000] thermal_sys: Registered thermal governor 'step_wise' [ 7.047003] thermal_sys: Registered thermal governor 'user_space' [ 7.047005] thermal_sys: Registered thermal governor 'power_allocator' [ 7.047140] thermal thermal_zone1: power_allocator: sustainable_power will be estimated [ 7.047170] thermal thermal_zone2: power_allocator: sustainable_power will be estimated [ 7.047200] thermal thermal_zone3: power_allocator: sustainable_power will be estimated [ 7.047229] thermal thermal_zone4: power_allocator: sustainable_power will be estimated [ 7.047259] thermal thermal_zone5: power_allocator: sustainable_power will be estimated [ 7.047288] thermal thermal_zone6: power_allocator: sustainable_power will be estimated [ 7.047311] cpuidle: using governor menu [ 7.047322] Registered FIQ tty driver [ 7.047540] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 7.047665] ASID allocator initialised with 65536 entries [ 7.049024] ramoops: dmesg-0 0x20000@0x0000000000110000 [ 7.049037] ramoops: console 0x80000@0x0000000000130000 [ 7.049045] ramoops: pmsg 0x50000@0x00000000001b0000 [ 7.049091] printk: console [ramoops-1] enabled [ 7.049093] pstore: Registered ramoops as persistent store backend [ 7.049096] ramoops: using 0xf0000@0x110000, ecc: 0 [ 7.095511] rockchip-gpio fd8a0000.gpio: probed /pinctrl/gpio@fd8a0000 [ 7.095737] rockchip-gpio fec20000.gpio: probed /pinctrl/gpio@fec20000 [ 7.095942] rockchip-gpio fec30000.gpio: probed /pinctrl/gpio@fec30000 [ 7.096186] rockchip-gpio fec40000.gpio: probed /pinctrl/gpio@fec40000 [ 7.096407] rockchip-gpio fec50000.gpio: probed /pinctrl/gpio@fec50000 [ 7.096458] rockchip-pinctrl pinctrl: probed pinctrl [ 7.107905] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 7.107909] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 7.107912] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 7.107914] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 7.168578] raid6: neonx8 gen() 5967 MB/s [ 7.225329] raid6: neonx8 xor() 4595 MB/s [ 7.282081] raid6: neonx4 gen() 5973 MB/s [ 7.338833] raid6: neonx4 xor() 4854 MB/s [ 7.395587] raid6: neonx2 gen() 5615 MB/s [ 7.452338] raid6: neonx2 xor() 4313 MB/s [ 7.509093] raid6: neonx1 gen() 4754 MB/s [ 7.565842] raid6: neonx1 xor() 3414 MB/s [ 7.622604] raid6: int64x8 gen() 1487 MB/s [ 7.679353] raid6: int64x8 xor() 983 MB/s [ 7.736104] raid6: int64x4 gen() 1915 MB/s [ 7.792855] raid6: int64x4 xor() 1062 MB/s [ 7.849600] raid6: int64x2 gen() 2649 MB/s [ 7.906355] raid6: int64x2 xor() 1444 MB/s [ 7.963111] raid6: int64x1 gen() 2181 MB/s [ 8.019858] raid6: int64x1 xor() 1070 MB/s [ 8.019860] raid6: using algorithm neonx4 gen() 5973 MB/s [ 8.019861] raid6: .... xor() 4854 MB/s, rmw enabled [ 8.019863] raid6: using neon recovery algorithm [ 8.020436] fiq_debugger fiq_debugger.0: IRQ fiq not found [ 8.020441] fiq_debugger fiq_debugger.0: IRQ wakeup not found [ 8.020445] fiq_debugger_probe: could not install nmi irq handler [ 8.020525] printk: console [ttyFIQ0] enabled [ 8.020619] Registered fiq debugger ttyFIQ0 [ 8.020840] vcc12v_dcin: 12000 mV, enabled [ 8.020916] reg-fixed-voltage vcc12v-dcin: vcc12v_dcin supplying 12000000uV [ 8.020961] reg-fixed-voltage vcc5v0-sys: Looking up vin-supply from device tree [ 8.021025] vcc5v0_sys: supplied by vcc12v_dcin [ 8.021029] vcc12v_dcin: could not add device link regulator.2: -ENOENT [ 8.021045] vcc5v0_sys: 5000 mV, enabled [ 8.021111] reg-fixed-voltage vcc5v0-sys: vcc5v0_sys supplying 5000000uV [ 8.021170] wifi_disable: no parameters, enabled [ 8.021227] reg-fixed-voltage wifi-diable-gpio-regulator: wifi_disable supplying 0uV [ 8.021274] bt_wake: no parameters, enabled [ 8.021338] reg-fixed-voltage bt-wake-gpio-regulator: bt_wake supplying 0uV [ 8.021382] reg-fixed-voltage vcc-1v1-nldo-s3: Looking up vin-supply from device tree [ 8.021386] vcc_1v1_nldo_s3: supplied by vcc5v0_sys [ 8.021389] vcc5v0_sys: could not add device link regulator.5: -ENOENT [ 8.021403] vcc_1v1_nldo_s3: 1100 mV, enabled [ 8.021458] reg-fixed-voltage vcc-1v1-nldo-s3: vcc_1v1_nldo_s3 supplying 1100000uV [ 8.021556] reg-fixed-voltage vcc5v0-host-regulator: Looking up vin-supply from device tree [ 8.021559] vcc5v0_host: supplied by vcc5v0_sys [ 8.021563] vcc5v0_sys: could not add device link regulator.6: -ENOENT [ 8.021577] vcc5v0_host: 5000 mV, enabled [ 8.021638] reg-fixed-voltage vcc5v0-host-regulator: vcc5v0_host supplying 5000000uV [ 8.021689] reg-fixed-voltage vcc3v3-pcie2x1l0: Looking up vin-supply from device tree [ 8.021692] vcc3v3_pcie2x1l0: supplied by vcc5v0_sys [ 8.021695] vcc5v0_sys: could not add device link regulator.7: -ENOENT [ 8.079505] vcc3v3_pcie2x1l0: 3300 mV, enabled [ 8.079575] reg-fixed-voltage vcc3v3-pcie2x1l0: vcc3v3_pcie2x1l0 supplying 3300000uV [ 8.079624] vcc3v3_pcie30: 3300 mV, disabled [ 8.079668] reg-fixed-voltage vcc3v3-pcie30: Looking up vin-supply from device tree [ 8.079671] vcc3v3_pcie30: supplied by vcc5v0_sys [ 8.079697] reg-fixed-voltage vcc3v3-pcie30: vcc3v3_pcie30 supplying 3300000uV [ 8.079991] iommu: Default domain type: Translated [ 8.080056] rk_iommu fdab9000.iommu: version = 2 [ 8.080358] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up vdpu-supply from device tree [ 8.080375] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up vdpu-supply property in node /power-management@fd8d8000/power-controller failed [ 8.080429] rk_iommu fdb50800.iommu: version = 2 [ 8.080629] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up rga30-supply from device tree [ 8.080644] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up rga30-supply property in node /power-management@fd8d8000/power-controller failed [ 8.080669] rk_iommu fdb60f00.iommu: version = 2 [ 8.080810] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up rga31-supply from device tree [ 8.080826] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up rga31-supply property in node /power-management@fd8d8000/power-controller failed [ 8.080854] rk_iommu fdb70f00.iommu: version = 2 [ 8.081011] rk_iommu fdb90480.iommu: version = 2 [ 8.081189] rk_iommu fdba0800.iommu: version = 2 [ 8.081365] rk_iommu fdba4800.iommu: version = 2 [ 8.081545] rk_iommu fdba8800.iommu: version = 2 [ 8.081723] rk_iommu fdbac800.iommu: version = 2 [ 8.081898] rk_iommu fdbb0800.iommu: version = 2 [ 8.082027] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up venc0-supply from device tree [ 8.082043] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up venc0-supply property in node /power-management@fd8d8000/power-controller failed [ 8.082087] rk_iommu fdbdf000.iommu: version = 2 [ 8.082183] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up vcodec-supply from device tree [ 8.082198] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up vcodec-supply property in node /power-management@fd8d8000/power-controller failed [ 8.082293] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up venc1-supply from device tree [ 8.082308] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up venc1-supply property in node /power-management@fd8d8000/power-controller failed [ 8.082358] rk_iommu fdbef000.iommu: version = 2 [ 8.082562] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up rkvdec0-supply from device tree [ 8.082577] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up rkvdec0-supply property in node /power-management@fd8d8000/power-controller failed [ 8.082631] rk_iommu fdc38700.iommu: version = 2 [ 8.082850] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up rkvdec1-supply from device tree [ 8.082865] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up rkvdec1-supply property in node /power-management@fd8d8000/power-controller failed [ 8.082919] rk_iommu fdc48700.iommu: version = 2 [ 8.083058] rk_iommu fdd97e00.iommu: version = 2 [ 8.083365] SCSI subsystem initialized [ 8.083378] libata version 3.00 loaded. [ 8.083447] usbcore: registered new interface driver usbfs [ 8.083462] usbcore: registered new interface driver hub [ 8.083476] usbcore: registered new device driver usb [ 8.083510] mc: Linux media interface: v0.10 [ 8.083521] videodev: Linux video capture interface: v2.00 [ 8.083544] pps_core: LinuxPPS API ver. 1 registered [ 8.083546] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 8.083551] PTP clock support registered [ 8.083802] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled. [ 8.083833] arm-scmi firmware:scmi: SCMI Protocol v2.0 'rockchip:' Firmware version 0x0 [ 8.084770] Advanced Linux Sound Architecture Driver Initialized. [ 8.085006] Bluetooth: Core ver 2.22 [ 8.085020] NET: Registered protocol family 31 [ 8.085023] Bluetooth: HCI device and connection manager initialized [ 8.085026] Bluetooth: HCI socket layer initialized [ 8.085030] Bluetooth: L2CAP socket layer initialized [ 8.085036] Bluetooth: SCO socket layer initialized [ 8.085047] NetLabel: Initializing [ 8.085049] NetLabel: domain hash size = 128 [ 8.085050] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 8.085075] NetLabel: unlabeled traffic allowed by default [ 8.086371] rockchip-cpuinfo cpuinfo: SoC : 35880000 [ 8.086375] rockchip-cpuinfo cpuinfo: Serial : 8efce3e06ef204d7 [ 8.086759] clocksource: Switched to clocksource arch_sys_counter [ 8.451933] VFS: Disk quotas dquot_6.6.0 [ 8.451958] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 8.456789] NET: Registered protocol family 2 [ 8.456950] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 8.460449] tcp_listen_portaddr_hash hash table entries: 8192 (order: 6, 327680 bytes, linear) [ 8.460600] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 8.461210] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear) [ 8.461959] TCP: Hash tables configured (established 131072 bind 65536) [ 8.462098] MPTCP token hash table entries: 16384 (order: 7, 786432 bytes, linear) [ 8.462284] UDP hash table entries: 8192 (order: 7, 786432 bytes, linear) [ 8.462565] UDP-Lite hash table entries: 8192 (order: 7, 786432 bytes, linear) [ 8.462888] NET: Registered protocol family 1 [ 8.463186] RPC: Registered named UNIX socket transport module. [ 8.463188] RPC: Registered udp transport module. [ 8.463190] RPC: Registered tcp transport module. [ 8.463192] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 8.463579] PCI: CLS 0 bytes, default 64 [ 8.463821] Trying to unpack rootfs image as initramfs... [ 8.767517] Freeing initrd memory: 12992K [ 8.768314] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available [ 8.768830] kvm [1]: IPA Size Limit: 40 bits [ 8.768841] kvm [1]: GICv3: no GICV resource entry [ 8.768844] kvm [1]: disabling GICv2 emulation [ 8.768846] kvm [1]: GIC system register CPU interface enabled [ 8.768979] kvm [1]: vgic interrupt IRQ9 [ 8.769140] kvm [1]: VHE mode initialized successfully [ 8.771682] Initialise system trusted keyrings [ 8.771772] workingset: timestamp_bits=46 max_order=22 bucket_order=0 [ 8.774486] NFS: Registering the id_resolver key type [ 8.774494] Key type id_resolver registered [ 8.774496] Key type id_legacy registered [ 8.774528] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 8.774531] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 8.774543] ntfs: driver 2.1.32 [Flags: R/W]. [ 8.793586] NET: Registered protocol family 38 [ 8.793590] xor: measuring software checksum speed [ 8.795042] 8regs : 6796 MB/sec [ 8.796125] 32regs : 9096 MB/sec [ 8.797060] arm64_neon : 10886 MB/sec [ 8.797062] xor: using function: arm64_neon (10886 MB/sec) [ 8.797066] Key type asymmetric registered [ 8.797068] Asymmetric key parser 'x509' registered [ 8.797083] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 242) [ 8.797196] io scheduler mq-deadline registered [ 8.797200] io scheduler kyber registered [ 8.798428] phy phy-fd5d0000.syscon:usb2-phy@0.0: Looking up phy-supply from device tree [ 8.798437] phy phy-fd5d0000.syscon:usb2-phy@0.0: Looking up phy-supply property in node /syscon@fd5d0000/usb2-phy@0/otg-port failed [ 8.798482] phy phy-fd5d0000.syscon:usb2-phy@0.0: Looking up vbus-supply from device tree [ 8.798487] phy phy-fd5d0000.syscon:usb2-phy@0.0: Looking up vbus-supply property in node /syscon@fd5d0000/usb2-phy@0/otg-port failed [ 8.799666] phy phy-fd5d8000.syscon:usb2-phy@8000.1: Looking up phy-supply from device tree [ 8.799673] phy phy-fd5d8000.syscon:usb2-phy@8000.1: Looking up phy-supply property in node /syscon@fd5d8000/usb2-phy@8000/host-port failed [ 8.800791] phy phy-fd5dc000.syscon:usb2-phy@c000.2: Looking up phy-supply from device tree [ 8.800798] phy phy-fd5dc000.syscon:usb2-phy@c000.2: Looking up phy-supply property in node /syscon@fd5dc000/usb2-phy@c000/host-port failed [ 8.801940] phy phy-fd5d4000.syscon:usb2-phy@4000.3: Looking up phy-supply from device tree [ 8.801947] phy phy-fd5d4000.syscon:usb2-phy@4000.3: Looking up phy-supply property in node /syscon@fd5d4000/usb2-phy@4000/otg-port failed [ 8.801982] phy phy-fd5d4000.syscon:usb2-phy@4000.3: Looking up vbus-supply from device tree [ 8.801989] phy phy-fd5d4000.syscon:usb2-phy@4000.3: Looking up vbus-supply property in node /syscon@fd5d4000/usb2-phy@4000/otg-port failed [ 8.803590] phy phy-fee00000.phy.4: Looking up phy-supply from device tree [ 8.803596] phy phy-fee00000.phy.4: Looking up phy-supply property in node /phy@fee00000 failed [ 8.803720] phy phy-fee20000.phy.5: Looking up phy-supply from device tree [ 8.803725] phy phy-fee20000.phy.5: Looking up phy-supply property in node /phy@fee20000 failed [ 8.803904] phy phy-fee10000.phy.6: Looking up phy-supply from device tree [ 8.803909] phy phy-fee10000.phy.6: Looking up phy-supply property in node /phy@fee10000 failed [ 8.804488] phy phy-fed60000.hdmiphy.7: Looking up phy-supply from device tree [ 8.804493] phy phy-fed60000.hdmiphy.7: Looking up phy-supply property in node /hdmiphy@fed60000 failed [ 8.805158] rockchip-hdptx-phy-hdmi fed60000.hdmiphy: hdptx phy init success [ 8.805317] phy phy-fed70000.hdmiphy.8: Looking up phy-supply from device tree [ 8.805323] phy phy-fed70000.hdmiphy.8: Looking up phy-supply property in node /hdmiphy@fed70000 failed [ 8.805951] rockchip-hdptx-phy-hdmi fed70000.hdmiphy: hdptx phy init success [ 8.806206] phy phy-fee80000.phy.9: Looking up phy-supply from device tree [ 8.806212] phy phy-fee80000.phy.9: Looking up phy-supply property in node /phy@fee80000 failed [ 8.806848] phy phy-fed80000.phy.10: Looking up phy-supply from device tree [ 8.806854] phy phy-fed80000.phy.10: Looking up phy-supply property in node /phy@fed80000/dp-port failed [ 8.806883] phy phy-fed80000.phy.11: Looking up phy-supply from device tree [ 8.806888] phy phy-fed80000.phy.11: Looking up phy-supply property in node /phy@fed80000/u3-port failed [ 8.807121] phy phy-fed90000.phy.12: Looking up phy-supply from device tree [ 8.807127] phy phy-fed90000.phy.12: Looking up phy-supply property in node /phy@fed90000/u3-port failed [ 8.808178] rk-pcie fe150000.pcie: invalid prsnt-gpios property in node [ 8.808188] rk-pcie fe150000.pcie: Looking up vpcie3v3-supply from device tree [ 8.808252] rk-pcie fe170000.pcie: invalid prsnt-gpios property in node [ 8.808257] rk-pcie fe170000.pcie: Looking up vpcie3v3-supply from device tree [ 8.808419] iep: Module initialized. [ 8.808448] mpp_service mpp-srv: bb1f05b87 author: Yandong Lin 2022-10-21 video: rockchip: mpp: add calc hw real times per task [ 8.808450] mpp_service mpp-srv: probe start [ 8.809995] mpp_vdpu2 fdb50400.vdpu: Adding to iommu group 1 [ 8.810216] mpp_vdpu2 fdb50400.vdpu: probe device [ 8.810316] mpp_vdpu2 fdb50400.vdpu: reset_group->rw_sem_on=0 [ 8.810322] mpp_vdpu2 fdb50400.vdpu: reset_group->rw_sem_on=0 [ 8.810441] mpp_vdpu2 fdb50400.vdpu: probing finish [ 8.810621] mpp_vepu2 jpege-ccu: probing start [ 8.810624] mpp_vepu2 jpege-ccu: probing finish [ 8.810709] mpp_vepu2 fdb50000.vepu: Adding to iommu group 1 [ 8.810788] mpp_vepu2 fdb50000.vepu: probing start [ 8.810868] mpp_vepu2 fdb50000.vepu: reset_group->rw_sem_on=0 [ 8.810872] mpp_vepu2 fdb50000.vepu: reset_group->rw_sem_on=0 [ 8.811000] mpp_vepu2 fdb50000.vepu: probing finish [ 8.811103] mpp_vepu2 fdba0000.jpege-core: Adding to iommu group 5 [ 8.811241] mpp_vepu2 fdba0000.jpege-core: probing start [ 8.811334] mpp_vepu2 fdba0000.jpege-core: attach ccu success [ 8.811448] mpp_vepu2 fdba0000.jpege-core: probing finish [ 8.811542] mpp_vepu2 fdba4000.jpege-core: Adding to iommu group 6 [ 8.811676] mpp_vepu2 fdba4000.jpege-core: probing start [ 8.811765] mpp_vepu2 fdba4000.jpege-core: attach ccu success [ 8.811881] mpp_vepu2 fdba4000.jpege-core: probing finish [ 8.811976] mpp_vepu2 fdba8000.jpege-core: Adding to iommu group 7 [ 8.812106] mpp_vepu2 fdba8000.jpege-core: probing start [ 8.812198] mpp_vepu2 fdba8000.jpege-core: attach ccu success [ 8.812310] mpp_vepu2 fdba8000.jpege-core: probing finish [ 8.812404] mpp_vepu2 fdbac000.jpege-core: Adding to iommu group 8 [ 8.812535] mpp_vepu2 fdbac000.jpege-core: probing start [ 8.812626] mpp_vepu2 fdbac000.jpege-core: attach ccu success [ 8.812753] mpp_vepu2 fdbac000.jpege-core: probing finish [ 8.812994] mpp-iep2 fdbb0000.iep: Adding to iommu group 9 [ 8.813127] mpp-iep2 fdbb0000.iep: probe device [ 8.813238] mpp-iep2 fdbb0000.iep: allocate roi buffer failed [ 8.813344] mpp-iep2 fdbb0000.iep: probing finish [ 8.813649] mpp_jpgdec fdb90000.jpegd: Adding to iommu group 4 [ 8.813852] mpp_jpgdec fdb90000.jpegd: probe device [ 8.813863] rk-pcie fe170000.pcie: missing legacy IRQ resource [ 8.813878] rk-pcie fe170000.pcie: IRQ msi not found [ 8.813883] rk-pcie fe170000.pcie: use outband MSI support [ 8.813889] rk-pcie fe170000.pcie: Missing *config* reg space [ 8.813902] rk-pcie fe170000.pcie: host bridge /pcie@fe170000 ranges: [ 8.813927] rk-pcie fe170000.pcie: err 0x00f2000000..0x00f20fffff -> 0x00f2000000 [ 8.813947] rk-pcie fe170000.pcie: IO 0x00f2100000..0x00f21fffff -> 0x00f2100000 [ 8.813964] rk-pcie fe170000.pcie: MEM 0x00f2200000..0x00f2ffffff -> 0x00f2200000 [ 8.813981] rk-pcie fe170000.pcie: MEM 0x0980000000..0x09bfffffff -> 0x0980000000 [ 8.814010] rk-pcie fe170000.pcie: Missing *config* reg space [ 8.814039] rk-pcie fe170000.pcie: invalid resource [ 8.814054] mpp_jpgdec fdb90000.jpegd: probing finish [ 8.814209] rk-pcie fe150000.pcie: missing legacy IRQ resource [ 8.814225] rk-pcie fe150000.pcie: IRQ msi not found [ 8.814230] rk-pcie fe150000.pcie: use outband MSI support [ 8.814236] rk-pcie fe150000.pcie: Missing *config* reg space [ 8.814255] rk-pcie fe150000.pcie: host bridge /pcie@fe150000 ranges: [ 8.814276] rk-pcie fe150000.pcie: err 0x00f0000000..0x00f00fffff -> 0x00f0000000 [ 8.814292] rk-pcie fe150000.pcie: IO 0x00f0100000..0x00f01fffff -> 0x00f0100000 [ 8.814309] rk-pcie fe150000.pcie: MEM 0x00f0200000..0x00f0ffffff -> 0x00f0200000 [ 8.814321] rk-pcie fe150000.pcie: MEM 0x0900000000..0x093fffffff -> 0x0900000000 [ 8.814350] rk-pcie fe150000.pcie: Missing *config* reg space [ 8.814376] rk-pcie fe150000.pcie: invalid resource [ 8.814378] mpp_rkvdec2 fdc30000.rkvdec-ccu: rkvdec-ccu, probing start [ 8.814432] mpp_rkvdec2 fdc30000.rkvdec-ccu: probing finish [ 8.814516] mpp_rkvdec2 fdc38100.rkvdec-core: Adding to iommu group 12 [ 8.814756] mpp_rkvdec2 fdc38100.rkvdec-core: rkvdec-core, probing start [ 8.814864] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_a is not found! [ 8.814867] rkvdec2_init:1008: No niu aclk reset resource define [ 8.814869] mpp_rkvdec2 fdc38100.rkvdec-core: shared_niu_h is not found! [ 8.814871] rkvdec2_init:1011: No niu hclk reset resource define [ 8.814886] mpp_rkvdec2 fdc38100.rkvdec-core: Looking up vdec-supply from device tree [ 8.814890] mpp_rkvdec2 fdc38100.rkvdec-core: Looking up vdec-supply property in node /rkvdec-core@fdc38000 failed [ 8.814898] mpp_rkvdec2 fdc38100.rkvdec-core: no regulator, devfreq is disabled [ 8.814943] mpp_rkvdec2 fdc38100.rkvdec-core: core_mask=00010001 [ 8.814946] mpp_rkvdec2 fdc38100.rkvdec-core: attach ccu as core 0 [ 8.815090] mpp_rkvdec2 fdc38100.rkvdec-core: sram_start 0x00000000ff001000 [ 8.815092] mpp_rkvdec2 fdc38100.rkvdec-core: rcb_iova 0x00000000fff00000 [ 8.815095] mpp_rkvdec2 fdc38100.rkvdec-core: sram_size 491520 [ 8.815097] mpp_rkvdec2 fdc38100.rkvdec-core: rcb_size 1048576 [ 8.815100] mpp_rkvdec2 fdc38100.rkvdec-core: min_width 512 [ 8.815126] mpp_rkvdec2 fdc38100.rkvdec-core: probing finish [ 8.815193] mpp_rkvdec2 fdc48100.rkvdec-core: Adding to iommu group 13 [ 8.815406] mpp_rkvdec2 fdc48100.rkvdec-core: rkvdec-core, probing start [ 8.815516] mpp_rkvdec2 fdc48100.rkvdec-core: shared_niu_a is not found! [ 8.815518] rkvdec2_init:1008: No niu aclk reset resource define [ 8.815521] mpp_rkvdec2 fdc48100.rkvdec-core: shared_niu_h is not found! [ 8.815523] rkvdec2_init:1011: No niu hclk reset resource define [ 8.815536] mpp_rkvdec2 fdc48100.rkvdec-core: Looking up vdec-supply from device tree [ 8.815541] mpp_rkvdec2 fdc48100.rkvdec-core: Looking up vdec-supply property in node /rkvdec-core@fdc48000 failed [ 8.815546] mpp_rkvdec2 fdc48100.rkvdec-core: no regulator, devfreq is disabled [ 8.815581] mpp_rkvdec2 fdc48100.rkvdec-core: core_mask=00020002 [ 8.815596] mpp_rkvdec2 fdc48100.rkvdec-core: attach ccu as core 1 [ 8.815757] mpp_rkvdec2 fdc48100.rkvdec-core: sram_start 0x00000000ff079000 [ 8.815760] mpp_rkvdec2 fdc48100.rkvdec-core: rcb_iova 0x00000000ffe00000 [ 8.815763] mpp_rkvdec2 fdc48100.rkvdec-core: sram_size 487424 [ 8.815765] mpp_rkvdec2 fdc48100.rkvdec-core: rcb_size 1048576 [ 8.815769] mpp_rkvdec2 fdc48100.rkvdec-core: min_width 512 [ 8.815796] mpp_rkvdec2 fdc48100.rkvdec-core: probing finish [ 8.815953] mpp_rkvenc2 rkvenc-ccu: probing start [ 8.815956] mpp_rkvenc2 rkvenc-ccu: probing finish [ 8.816055] mpp_rkvenc2 fdbd0000.rkvenc-core: Adding to iommu group 10 [ 8.816223] mpp_rkvenc2 fdbd0000.rkvenc-core: probing start [ 8.816237] mpp_rkvenc2 fdbd0000.rkvenc-core: link mode task capacity 8 [ 8.816376] mpp_rkvenc2 fdbd0000.rkvenc-core: attach ccu as core 0 [ 8.816496] mpp_rkvenc2 fdbd0000.rkvenc-core: probing finish [ 8.816554] mpp_rkvenc2 fdbe0000.rkvenc-core: Adding to iommu group 11 [ 8.816772] mpp_rkvenc2 fdbe0000.rkvenc-core: probing start [ 8.816786] mpp_rkvenc2 fdbe0000.rkvenc-core: link mode task capacity 8 [ 8.816940] mpp_rkvenc2 fdbe0000.rkvenc-core: attach ccu as core 1 [ 8.817061] mpp_rkvenc2 fdbe0000.rkvenc-core: probing finish [ 8.817257] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up av1-supply from device tree [ 8.817278] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up av1-supply property in node /power-management@fd8d8000/power-controller failed [ 8.817538] mpp_av1dec: Adding child /av1d@fdc70000 [ 8.817614] mpp_av1dec: register device av1d-master [ 8.817639] mpp_av1dec av1d-master: av1_iommu_of_xlate,784 [ 8.817655] av1_iommu_probe_device,737, consumer : av1d-master, supplier : fdca0000.iommu [ 8.817683] mpp_av1dec av1d-master: Adding to iommu group 15 [ 8.817900] mpp_av1dec av1d-master: probing start [ 8.818124] mpp_av1dec av1d-master: probing finish [ 8.818159] mpp_service mpp-srv: probe success [ 8.825788] dma-pl330 fea10000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 8.825794] dma-pl330 fea10000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [ 8.826688] dma-pl330 fea30000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 8.826692] dma-pl330 fea30000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [ 8.827577] dma-pl330 fed10000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 8.827582] dma-pl330 fed10000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [ 8.827920] rockchip-pvtm fda40000.pvtm: pvtm@0 probed [ 8.827974] rockchip-pvtm fda50000.pvtm: pvtm@1 probed [ 8.828030] rockchip-pvtm fda60000.pvtm: pvtm@2 probed [ 8.828079] rockchip-pvtm fdaf0000.pvtm: pvtm@3 probed [ 8.828124] rockchip-pvtm fdb30000.pvtm: pvtm@4 probed [ 8.828573] rockchip-system-monitor rockchip-system-monitor: system monitor probe [ 8.829301] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled [ 8.829848] feb90000.serial: ttyS6 at MMIO 0xfeb90000 (irq = 89, base_baud = 1500000) is a 16550A [ 8.830924] random: fast init done [ 8.830975] random: crng init done [ 8.831840] rockchip-vop2 fdd90000.vop: Adding to iommu group 14 [ 8.838300] rockchip-vop2 fdd90000.vop: [drm:vop2_bind] vp0 assign plane mask: 0x5, primary plane phy id: 2 [ 8.838308] rockchip-vop2 fdd90000.vop: [drm:vop2_bind] vp1 assign plane mask: 0xa, primary plane phy id: 3 [ 8.838326] rockchip-vop2 fdd90000.vop: [drm:vop2_bind] vp2 assign plane mask: 0x140, primary plane phy id: 8 [ 8.838332] rockchip-vop2 fdd90000.vop: [drm:vop2_bind] vp3 assign plane mask: 0x280, primary plane phy id: 9 [ 8.838564] [drm] failed to init overlay plane Cluster0-win1 [ 8.838594] [drm] failed to init overlay plane Cluster1-win1 [ 8.838623] [drm] failed to init overlay plane Cluster2-win1 [ 8.838649] [drm] failed to init overlay plane Cluster3-win1 [ 8.848621] rockchip-drm display-subsystem: bound fdd90000.vop (ops 0xffffffc011169a80) [ 8.849443] dwhdmi-rockchip fde80000.hdmi: registered ddc I2C bus driver [ 8.849628] rockchip-drm display-subsystem: bound fde80000.hdmi (ops 0xffffffc011171900) [ 8.850390] dwhdmi-rockchip fdea0000.hdmi: registered ddc I2C bus driver [ 8.850556] rockchip-drm display-subsystem: bound fdea0000.hdmi (ops 0xffffffc011171900) [ 8.850603] rockchip-drm display-subsystem: bound fde50000.dp (ops 0xffffffc011173f38) [ 8.851166] rockchip-drm display-subsystem: failed to parse loader memory [ 9.021246] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3 [ 9.021254] rk-pcie fe150000.pcie: PCIe Linking... LTSSM is 0x0 [ 9.046788] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3 [ 9.046793] rk-pcie fe150000.pcie: PCIe Linking... LTSSM is 0x210023 [ 9.068177] dwhdmi-rockchip fde80000.hdmi: use tmds mode [ 9.068216] rockchip-vop2 fdd90000.vop: [drm:vop2_crtc_atomic_enable] Update mode to 1920x1080p60, type: 11(if:800) for vp0 dclk: 148500000 [ 9.068362] rockchip-vop2 fdd90000.vop: [drm:vop2_crtc_atomic_enable] dclk_out0 div: 0 dclk_core0 div: 2 [ 9.068380] rockchip-hdptx-phy-hdmi fed60000.hdmiphy: hdptx_ropll_cmn_config bus_width:16a8c8 rate:1485000 [ 9.068654] rockchip-hdptx-phy-hdmi fed60000.hdmiphy: hdptx phy pll locked! [ 9.068659] rockchip-vop2 fdd90000.vop: [drm:vop2_crtc_atomic_enable] set dclk_vop0 to 148500000, get 148500000 [ 9.068680] dwhdmi-rockchip fde80000.hdmi: final tmdsclk = 148500000 [ 9.068707] dwhdmi-rockchip fde80000.hdmi: don't use dsc mode [ 9.068710] dwhdmi-rockchip fde80000.hdmi: dw hdmi qp use tmds mode [ 9.068715] rockchip-hdptx-phy-hdmi fed60000.hdmiphy: bus_width:0x16a8c8,bit_rate:1485000 [ 9.068908] rockchip-hdptx-phy-hdmi fed60000.hdmiphy: hdptx phy lane locked! [ 9.073454] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3 [ 9.100122] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3 [ 9.126790] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3 [ 9.130124] rk-pcie fe150000.pcie: PCIe Link up, LTSSM is 0x230011 [ 9.130286] rk-pcie fe150000.pcie: PCI host bridge to bus 0000:00 [ 9.130297] pci_bus 0000:00: root bus resource [bus 00-0f] [ 9.130304] pci_bus 0000:00: root bus resource [??? 0xf0000000-0xf00fffff flags 0x0] [ 9.130314] pci_bus 0000:00: root bus resource [io 0x100000-0x1fffff] (bus address [0xf0100000-0xf01fffff]) [ 9.130320] pci_bus 0000:00: root bus resource [mem 0xf0200000-0xf0ffffff] [ 9.130327] pci_bus 0000:00: root bus resource [mem 0x900000000-0x93fffffff pref] [ 9.130367] pci 0000:00:00.0: [1d87:3588] type 01 class 0x060400 [ 9.130384] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x3fffffff] [ 9.130394] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x3fffffff] [ 9.130404] pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref] [ 9.130471] pci 0000:00:00.0: supports D1 D2 [ 9.130477] pci 0000:00:00.0: PME# supported from D0 D1 D3hot [ 9.135791] dwhdmi-rockchip fde80000.hdmi: use tmds mode [ 9.143598] pci_bus 0000:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f]) [ 9.143694] pci 0000:01:00.0: [144d:a808] type 00 class 0x010802 [ 9.143761] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit] [ 9.152053] Console: switching to colour frame buffer device 240x67 [ 9.153455] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3 [ 9.166019] pci 0000:00:00.0: BAR 0: no space for [mem size 0x40000000] [ 9.166027] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x40000000] [ 9.166035] pci 0000:00:00.0: BAR 1: no space for [mem size 0x40000000] [ 9.166041] pci 0000:00:00.0: BAR 1: failed to assign [mem size 0x40000000] [ 9.166048] pci 0000:00:00.0: BAR 8: assigned [mem 0xf0200000-0xf02fffff] [ 9.166057] pci 0000:00:00.0: BAR 6: assigned [mem 0xf0300000-0xf030ffff pref] [ 9.166070] pci 0000:01:00.0: BAR 0: assigned [mem 0xf0200000-0xf0203fff 64bit] [ 9.166105] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [ 9.166113] pci 0000:00:00.0: bridge window [mem 0xf0200000-0xf02fffff] [ 9.169287] pcieport 0000:00:00.0: PME: Signaling with IRQ 133 [ 9.180121] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3 [ 9.206788] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3 [ 9.262910] dwhdmi-rockchip fde80000.hdmi: use tmds mode [ 9.268729] dwhdmi-rockchip fde80000.hdmi: use tmds mode [ 9.294217] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device [ 9.294695] [drm] Initialized rockchip 3.0.0 20140818 for display-subsystem on minor 0 [ 9.301282] brd: module loaded [ 9.304450] loop: module loaded [ 9.304643] zram: Added device: zram0 [ 9.304785] lkdtm: No crash points registered, enable through debugfs [ 9.304929] system_heap: orders[0] = 6 [ 9.304931] system_heap: orders[1] = 4 [ 9.304933] system_heap: orders[2] = 0 [ 9.305848] nvme nvme0: pci function 0000:01:00.0 [ 9.305909] nvme 0000:01:00.0: enabling device (0000 -> 0002) [ 9.307115] rockchip-spi feb20000.spi: no high_speed pinctrl state [ 9.308438] rk806 spi2.0: chip id: RK806,ver:0x2, 0x1 [ 9.308565] rk806 spi2.0: ON: 0x40 OFF:0x0 [ 9.309169] nvme nvme0: missing or invalid SUBNQN field. [ 9.309264] nvme nvme0: Shutdown timeout set to 8 seconds [ 9.310348] rk806-regulator rk806-regulator.9.auto: Looking up vcc1-supply from device tree [ 9.310424] vdd_gpu_s0: supplied by vcc5v0_sys [ 9.310431] vcc5v0_sys: could not add device link regulator.9: -ENOENT [ 9.311162] vdd_gpu_s0: 550 <--> 950 mV at 750 mV, enabled [ 9.311547] rk806-regulator rk806-regulator.9.auto: Looking up vcc2-supply from device tree [ 9.311552] vdd_cpu_lit_s0: supplied by vcc5v0_sys [ 9.311557] vcc5v0_sys: could not add device link regulator.10: -ENOENT [ 9.311766] vdd_cpu_lit_s0: 550 <--> 950 mV at 750 mV, enabled [ 9.312204] rk806-regulator rk806-regulator.9.auto: Looking up vcc3-supply from device tree [ 9.312209] vdd_log_s0: supplied by vcc5v0_sys [ 9.312213] vcc5v0_sys: could not add device link regulator.11: -ENOENT [ 9.312419] vdd_log_s0: 675 <--> 750 mV at 750 mV, enabled [ 9.312847] rk806-regulator rk806-regulator.9.auto: Looking up vcc4-supply from device tree [ 9.312853] vdd_vdenc_s0: supplied by vcc5v0_sys [ 9.312857] vcc5v0_sys: could not add device link regulator.12: -ENOENT [ 9.313062] vdd_vdenc_s0: 550 <--> 950 mV at 750 mV, enabled [ 9.313553] rk806-regulator rk806-regulator.9.auto: Looking up vcc5-supply from device tree [ 9.313558] vdd_ddr_s0: supplied by vcc5v0_sys [ 9.313562] vcc5v0_sys: could not add device link regulator.13: -ENOENT [ 9.313769] vdd_ddr_s0: 675 <--> 900 mV at 850 mV, enabled [ 9.313960] rk806-regulator rk806-regulator.9.auto: Looking up vcc6-supply from device tree [ 9.313965] vdd2_ddr_s3: supplied by vcc5v0_sys [ 9.313969] vcc5v0_sys: could not add device link regulator.14: -ENOENT [ 9.314228] vdd2_ddr_s3: at 500 mV, enabled [ 9.314607] rk806-regulator rk806-regulator.9.auto: Looking up vcc7-supply from device tree [ 9.314612] vdd_2v0_pldo_s3: supplied by vcc5v0_sys [ 9.314619] vcc5v0_sys: could not add device link regulator.15: -ENOENT [ 9.314825] vdd_2v0_pldo_s3: 2000 mV, enabled [ 9.315177] rk806-regulator rk806-regulator.9.auto: Looking up vcc8-supply from device tree [ 9.315182] vcc_3v3_s3: supplied by vcc5v0_sys [ 9.315188] vcc5v0_sys: could not add device link regulator.16: -ENOENT [ 9.315413] vcc_3v3_s3: 3300 mV, enabled [ 9.315769] rk806-regulator rk806-regulator.9.auto: Looking up vcc9-supply from device tree [ 9.315777] vddq_ddr_s0: supplied by vcc5v0_sys [ 9.315783] vcc5v0_sys: could not add device link regulator.17: -ENOENT [ 9.316062] vddq_ddr_s0: at 500 mV, enabled [ 9.316419] rk806-regulator rk806-regulator.9.auto: Looking up vcc10-supply from device tree [ 9.316425] vcc_1v8_s3: supplied by vcc5v0_sys [ 9.316433] vcc5v0_sys: could not add device link regulator.18: -ENOENT [ 9.316640] vcc_1v8_s3: 1800 mV, enabled [ 9.316976] rk806-regulator rk806-regulator.9.auto: Looking up vcc13-supply from device tree [ 9.317055] vdd_0v75_s3: supplied by vcc_1v1_nldo_s3 [ 9.317059] vcc_1v1_nldo_s3: could not add device link regulator.19: -ENOENT [ 9.317263] vdd_0v75_s3: 750 mV, enabled [ 9.317647] rk806-regulator rk806-regulator.9.auto: Looking up vcc13-supply from device tree [ 9.317653] vdd_ddr_pll_s0: supplied by vcc_1v1_nldo_s3 [ 9.317657] vcc_1v1_nldo_s3: could not add device link regulator.20: -ENOENT [ 9.317865] vdd_ddr_pll_s0: 850 mV, enabled [ 9.318110] avdd_0v75_s0: Bringing 750000uV into 837500-837500uV [ 9.318226] avdd_0v75_s0: ramp_delay not set [ 9.318290] rk806-regulator rk806-regulator.9.auto: Looking up vcc13-supply from device tree [ 9.318295] avdd_0v75_s0: supplied by vcc_1v1_nldo_s3 [ 9.318299] vcc_1v1_nldo_s3: could not add device link regulator.21: -ENOENT [ 9.318496] avdd_0v75_s0: 837 mV, enabled [ 9.318814] rk806-regulator rk806-regulator.9.auto: Looking up vcc14-supply from device tree [ 9.318819] vdd_0v85_s0: supplied by vcc_1v1_nldo_s3 [ 9.318824] vcc_1v1_nldo_s3: could not add device link regulator.22: -ENOENT [ 9.319024] vdd_0v85_s0: 850 mV, enabled [ 9.319340] rk806-regulator rk806-regulator.9.auto: Looking up vcc14-supply from device tree [ 9.319346] vdd_0v75_s0: supplied by vcc_1v1_nldo_s3 [ 9.319350] vcc_1v1_nldo_s3: could not add device link regulator.23: -ENOENT [ 9.319546] vdd_0v75_s0: 750 mV, enabled [ 9.319913] rk806-regulator rk806-regulator.9.auto: Looking up vcc11-supply from device tree [ 9.319946] avcc_1v8_s0: supplied by vdd_2v0_pldo_s3 [ 9.319950] vdd_2v0_pldo_s3: could not add device link regulator.24: -ENOENT [ 9.320220] avcc_1v8_s0: 1800 mV, enabled [ 9.320601] rk806-regulator rk806-regulator.9.auto: Looking up vcc11-supply from device tree [ 9.320608] vcc_1v8_s0: supplied by vdd_2v0_pldo_s3 [ 9.320612] vdd_2v0_pldo_s3: could not add device link regulator.25: -ENOENT [ 9.320889] vcc_1v8_s0: 1800 mV, enabled [ 9.321198] rk806-regulator rk806-regulator.9.auto: Looking up vcc11-supply from device tree [ 9.321204] avdd_1v2_s0: supplied by vdd_2v0_pldo_s3 [ 9.321208] vdd_2v0_pldo_s3: could not add device link regulator.26: -ENOENT [ 9.321481] avdd_1v2_s0: 1200 mV, enabled [ 9.321795] rk806-regulator rk806-regulator.9.auto: Looking up vcc12-supply from device tree [ 9.321801] vcc_3v3_s0: supplied by vcc5v0_sys [ 9.321805] vcc5v0_sys: could not add device link regulator.27: -ENOENT [ 9.322008] vcc_3v3_s0: 3300 mV, enabled [ 9.322323] rk806-regulator rk806-regulator.9.auto: Looking up vcc12-supply from device tree [ 9.322328] vccio_sd_s0: supplied by vcc5v0_sys [ 9.322332] vcc5v0_sys: could not add device link regulator.28: -ENOENT [ 9.322552] vccio_sd_s0: 1800 <--> 3300 mV at 3300 mV, enabled [ 9.322881] rk806-regulator rk806-regulator.9.auto: Looking up vcca-supply from device tree [ 9.322887] pldo6_s3: supplied by vcc5v0_sys [ 9.322891] vcc5v0_sys: could not add device link regulator.29: -ENOENT [ 9.323101] pldo6_s3: 1800 mV, enabled [ 9.323402] rk806 spi2.0: no sleep-setting state [ 9.323406] rk806 spi2.0: no reset-setting pinctrl state [ 9.323409] rk806 spi2.0: no dvs-setting pinctrl state [ 9.324864] rockchip-spi feb20000.spi: register misc device rkspi-dev2 [ 9.325875] spi-nor spi5.0: mx25u12835f (16384 Kbytes) read_data x4 [ 9.325891] 1 fixed-partitions partitions found on MTD device sfc_nor [ 9.325893] Creating 1 MTD partitions on "sfc_nor": [ 9.325897] 0x000000000000-0x000001000000 : "loader" [ 9.328022] usbcore: registered new interface driver rndis_wlan [ 9.328043] usbcore: registered new interface driver asix [ 9.328057] usbcore: registered new interface driver cdc_ether [ 9.328070] usbcore: registered new interface driver rndis_host [ 9.328090] usbcore: registered new interface driver cdc_ncm [ 9.340239] nvme nvme0: 8/0/0 default/read/poll queues [ 9.341847] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 9.341861] ehci-pci: EHCI PCI platform driver [ 9.341890] ehci-platform: EHCI generic platform driver [ 9.344131] ehci-platform fc800000.usb: EHCI Host Controller [ 9.344144] ehci-platform fc800000.usb: new USB bus registered, assigned bus number 1 [ 9.344207] ehci-platform fc800000.usb: irq 20, io mem 0xfc800000 [ 9.356773] ehci-platform fc800000.usb: USB 2.0 started, EHCI 1.00 [ 9.356885] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 9.356889] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.356892] usb usb1: Product: EHCI Host Controller [ 9.356896] usb usb1: Manufacturer: Linux 5.10.110-rockchip-rk3588 ehci_hcd [ 9.356898] usb usb1: SerialNumber: fc800000.usb [ 9.357125] hub 1-0:1.0: USB hub found [ 9.357141] hub 1-0:1.0: 1 port detected [ 9.359530] ehci-platform fc880000.usb: EHCI Host Controller [ 9.359540] ehci-platform fc880000.usb: new USB bus registered, assigned bus number 2 [ 9.359596] ehci-platform fc880000.usb: irq 22, io mem 0xfc880000 [ 9.363900] nvme0n1: p1 p2 [ 9.370111] ehci-platform fc880000.usb: USB 2.0 started, EHCI 1.00 [ 9.370210] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 9.370214] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.370218] usb usb2: Product: EHCI Host Controller [ 9.370220] usb usb2: Manufacturer: Linux 5.10.110-rockchip-rk3588 ehci_hcd [ 9.370224] usb usb2: SerialNumber: fc880000.usb [ 9.370482] hub 2-0:1.0: USB hub found [ 9.370497] hub 2-0:1.0: 1 port detected [ 9.370927] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 9.370937] ohci-platform: OHCI generic platform driver [ 9.371127] ohci-platform fc840000.usb: Generic Platform OHCI controller [ 9.371137] ohci-platform fc840000.usb: new USB bus registered, assigned bus number 3 [ 9.371188] ohci-platform fc840000.usb: irq 21, io mem 0xfc840000 [ 9.430860] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10 [ 9.430864] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.430867] usb usb3: Product: Generic Platform OHCI controller [ 9.430871] usb usb3: Manufacturer: Linux 5.10.110-rockchip-rk3588 ohci_hcd [ 9.430874] usb usb3: SerialNumber: fc840000.usb [ 9.431120] hub 3-0:1.0: USB hub found [ 9.431135] hub 3-0:1.0: 1 port detected [ 9.431420] ohci-platform fc8c0000.usb: Generic Platform OHCI controller [ 9.431429] ohci-platform fc8c0000.usb: new USB bus registered, assigned bus number 4 [ 9.431473] ohci-platform fc8c0000.usb: irq 23, io mem 0xfc8c0000 [ 9.490862] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10 [ 9.490866] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.490869] usb usb4: Product: Generic Platform OHCI controller [ 9.490872] usb usb4: Manufacturer: Linux 5.10.110-rockchip-rk3588 ohci_hcd [ 9.490875] usb usb4: SerialNumber: fc8c0000.usb [ 9.491114] hub 4-0:1.0: USB hub found [ 9.491131] hub 4-0:1.0: 1 port detected [ 9.491722] xhci-hcd xhci-hcd.10.auto: xHCI Host Controller [ 9.491732] xhci-hcd xhci-hcd.10.auto: new USB bus registered, assigned bus number 5 [ 9.491806] xhci-hcd xhci-hcd.10.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000080002010010 [ 9.491828] xhci-hcd xhci-hcd.10.auto: irq 148, io mem 0xfcd00000 [ 9.491964] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 9.491968] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.491971] usb usb5: Product: xHCI Host Controller [ 9.491974] usb usb5: Manufacturer: Linux 5.10.110-rockchip-rk3588 xhci-hcd [ 9.491977] usb usb5: SerialNumber: xhci-hcd.10.auto [ 9.492221] hub 5-0:1.0: USB hub found [ 9.492237] hub 5-0:1.0: 1 port detected [ 9.492373] xhci-hcd xhci-hcd.10.auto: xHCI Host Controller [ 9.492379] xhci-hcd xhci-hcd.10.auto: new USB bus registered, assigned bus number 6 [ 9.492386] xhci-hcd xhci-hcd.10.auto: Host supports USB 3.0 SuperSpeed [ 9.492416] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM. [ 9.492468] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 [ 9.492471] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.492475] usb usb6: Product: xHCI Host Controller [ 9.492477] usb usb6: Manufacturer: Linux 5.10.110-rockchip-rk3588 xhci-hcd [ 9.492480] usb usb6: SerialNumber: xhci-hcd.10.auto [ 9.492730] hub 6-0:1.0: USB hub found [ 9.492744] hub 6-0:1.0: 1 port detected [ 9.492966] phy phy-fd5d4000.syscon:usb2-phy@4000.3: illegal mode [ 9.492970] xhci-hcd xhci-hcd.11.auto: xHCI Host Controller [ 9.492979] xhci-hcd xhci-hcd.11.auto: new USB bus registered, assigned bus number 7 [ 9.493064] xhci-hcd xhci-hcd.11.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000080002010010 [ 9.493086] xhci-hcd xhci-hcd.11.auto: irq 149, io mem 0xfc400000 [ 9.493230] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 9.493234] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.493237] usb usb7: Product: xHCI Host Controller [ 9.493240] usb usb7: Manufacturer: Linux 5.10.110-rockchip-rk3588 xhci-hcd [ 9.493243] usb usb7: SerialNumber: xhci-hcd.11.auto [ 9.493485] hub 7-0:1.0: USB hub found [ 9.493499] hub 7-0:1.0: 1 port detected [ 9.493637] xhci-hcd xhci-hcd.11.auto: xHCI Host Controller [ 9.493643] xhci-hcd xhci-hcd.11.auto: new USB bus registered, assigned bus number 8 [ 9.493649] xhci-hcd xhci-hcd.11.auto: Host supports USB 3.0 SuperSpeed [ 9.493681] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM. [ 9.493735] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 [ 9.493739] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.493742] usb usb8: Product: xHCI Host Controller [ 9.493745] usb usb8: Manufacturer: Linux 5.10.110-rockchip-rk3588 xhci-hcd [ 9.493748] usb usb8: SerialNumber: xhci-hcd.11.auto [ 9.493973] hub 8-0:1.0: USB hub found [ 9.493988] hub 8-0:1.0: 1 port detected [ 9.494186] usbcore: registered new interface driver cdc_acm [ 9.494188] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters [ 9.494332] usbcore: registered new interface driver uas [ 9.494398] usbcore: registered new interface driver usb-storage [ 9.494855] usbcore: registered new interface driver usbtouchscreen [ 9.495947] input: rk805 pwrkey as /devices/platform/feb20000.spi/spi_master/spi2/spi2.0/rk805-pwrkey.8.auto/input/input0 [ 9.496250] i2c /dev entries driver [ 9.499917] rk860-regulator 0-0042: Looking up vin-supply from device tree [ 9.499925] vdd_cpu_big0_s0: supplied by vcc5v0_sys [ 9.499931] vcc5v0_sys: could not add device link regulator.30: -ENOENT [ 9.504003] vdd_cpu_big0_s0: 550 <--> 1050 mV at 800 mV, enabled [ 9.508472] rk860-regulator 0-0043: Looking up vin-supply from device tree [ 9.508477] vdd_cpu_big1_s0: supplied by vcc5v0_sys [ 9.508482] vcc5v0_sys: could not add device link regulator.31: -ENOENT [ 9.512545] vdd_cpu_big1_s0: 550 <--> 1050 mV at 800 mV, enabled [ 9.517471] rk860-regulator 1-0042: Looking up vin-supply from device tree [ 9.517478] vdd_npu_s0: supplied by vcc5v0_sys [ 9.517483] vcc5v0_sys: could not add device link regulator.32: -ENOENT [ 9.521545] vdd_npu_s0: 550 <--> 950 mV at 800 mV, enabled [ 9.523940] typec_fusb302 4-0022: Looking up vbus-supply from device tree [ 9.535951] rtc-hym8563 6-0051: rtc information is valid [ 9.537484] rtc-hym8563 6-0051: registered as rtc0 [ 9.537759] rtc-hym8563 6-0051: setting system clock to 2023-03-19T09:38:01 UTC (1679218681) [ 9.541923] rk_hdmirx fdee0000.hdmirx-controller: No reserved memory for HDMIRX, use default CMA [ 9.541946] rk_hdmirx fdee0000.hdmirx-controller: hdmirx_probe: cpu_aff:0x400, Bound_cpu:4, wdt_cfg_bound_cpu:5 [ 9.542438] rk_hdmirx fdee0000.hdmirx-controller: hdmirx_audio_interrupts_setup: 0 [ 9.543236] rk_hdmirx fdee0000.hdmirx-controller: rk_hdmirx_hdcp_register success [ 9.543272] rk_hdmirx fdee0000.hdmirx-controller: fdee0000.hdmirx-controller driver probe ok! [ 9.543378] usbcore: registered new interface driver uvcvideo [ 9.543380] USB Video Class driver (1.1.1) [ 9.544506] rockchip-thermal fec00000.tsadc: Missing rockchip,grf property [ 9.545084] rockchip-thermal fec00000.tsadc: tsadc is probed successfully! [ 9.545477] cpu cpu0: Looking up cpu-supply from device tree [ 9.545965] cpu cpu0: bin=0 [ 9.546137] cpu cpu0: leakage=15 [ 9.546171] cpu cpu0: Looking up cpu-supply from device tree [ 9.547604] cpu cpu0: pvtm=1521 [ 9.547692] cpu cpu0: pvtm-volt-sel=5 [ 9.547723] cpu cpu0: Looking up cpu-supply from device tree [ 9.547843] cpu cpu0: Looking up mem-supply from device tree [ 9.548002] cpu cpu4: Looking up cpu-supply from device tree [ 9.549691] cpu cpu4: bin=0 [ 9.549860] cpu cpu4: leakage=12 [ 9.549878] cpu cpu4: Looking up cpu-supply from device tree [ 9.556370] cpu cpu4: pvtm=1771 [ 9.560332] cpu cpu4: pvtm-volt-sel=6 [ 9.560359] cpu cpu4: Looking up cpu-supply from device tree [ 9.560853] cpu cpu4: Looking up mem-supply from device tree [ 9.561381] cpu cpu6: Looking up cpu-supply from device tree [ 9.563036] cpu cpu6: bin=0 [ 9.563205] cpu cpu6: leakage=12 [ 9.563221] cpu cpu6: Looking up cpu-supply from device tree [ 9.569688] cpu cpu6: pvtm=1775 [ 9.573628] cpu cpu6: pvtm-volt-sel=6 [ 9.573655] cpu cpu6: Looking up cpu-supply from device tree [ 9.574149] cpu cpu6: Looking up mem-supply from device tree [ 9.575242] cpu cpu0: avs=0 [ 9.576126] cpu cpu4: avs=0 [ 9.577022] cpu cpu6: avs=0 [ 9.577173] cpu cpu0: EM: OPP:816000 is inefficient [ 9.577176] cpu cpu0: EM: OPP:600000 is inefficient [ 9.577257] cpu cpu0: EM: created perf domain [ 9.577292] cpu cpu0: l=10000 h=85000 hyst=5000 l_limit=0 h_limit=1608000000 h_table=0 [ 9.577862] cpu cpu4: EM: OPP:2304000 is inefficient [ 9.577866] cpu cpu4: EM: OPP:1200000 is inefficient [ 9.577869] cpu cpu4: EM: OPP:816000 is inefficient [ 9.577872] cpu cpu4: EM: OPP:600000 is inefficient [ 9.578005] cpu cpu4: EM: created perf domain [ 9.578034] cpu cpu4: l=10000 h=85000 hyst=5000 l_limit=0 h_limit=2208000000 h_table=0 [ 9.586630] cpu cpu6: EM: OPP:2304000 is inefficient [ 9.586634] cpu cpu6: EM: OPP:1200000 is inefficient [ 9.586637] cpu cpu6: EM: OPP:816000 is inefficient [ 9.586639] cpu cpu6: EM: OPP:600000 is inefficient [ 9.586801] cpu cpu6: EM: created perf domain [ 9.587202] cpu cpu6: l=10000 h=85000 hyst=5000 l_limit=0 h_limit=2208000000 h_table=0 [ 9.602938] sdhci: Secure Digital Host Controller Interface driver [ 9.602943] sdhci: Copyright(c) Pierre Ossman [ 9.602947] Synopsys Designware Multimedia Card Interface Driver [ 9.604035] sdhci-pltfm: SDHCI platform and OF driver helper [ 9.604644] dwmmc_rockchip fe2d0000.mmc: IDMAC supports 32-bit address mode. [ 9.604685] dwmmc_rockchip fe2d0000.mmc: Using internal DMA controller. [ 9.604698] dwmmc_rockchip fe2d0000.mmc: Version ID is 270a [ 9.604749] dwmmc_rockchip fe2d0000.mmc: DW MMC controller at irq 78,32 bit host data width,256 deep fifo [ 9.604862] dwmmc_rockchip fe2d0000.mmc: Looking up vmmc-supply from device tree [ 9.604887] dwmmc_rockchip fe2d0000.mmc: Looking up vmmc-supply property in node /mmc@fe2d0000 failed [ 9.604923] dwmmc_rockchip fe2d0000.mmc: Looking up vqmmc-supply from device tree [ 9.604945] dwmmc_rockchip fe2d0000.mmc: Looking up vqmmc-supply property in node /mmc@fe2d0000 failed [ 9.604980] dwmmc_rockchip fe2c0000.mmc: IDMAC supports 32-bit address mode. [ 9.605019] dwmmc_rockchip fe2c0000.mmc: Using internal DMA controller. [ 9.605032] dwmmc_rockchip fe2c0000.mmc: Version ID is 270a [ 9.605085] dwmmc_rockchip fe2c0000.mmc: DW MMC controller at irq 77,32 bit host data width,256 deep fifo [ 9.605191] dwmmc_rockchip fe2c0000.mmc: Looking up vmmc-supply from device tree [ 9.605230] dwmmc_rockchip fe2d0000.mmc: allocated mmc-pwrseq [ 9.605243] mmc_host mmc2: card is non-removable. [ 9.605700] dwmmc_rockchip fe2c0000.mmc: Looking up vqmmc-supply from device tree [ 9.606151] sdhci-dwcmshc fe2e0000.mmc: Looking up vmmc-supply from device tree [ 9.606165] sdhci-dwcmshc fe2e0000.mmc: Looking up vmmc-supply property in node /mmc@fe2e0000 failed [ 9.606196] sdhci-dwcmshc fe2e0000.mmc: Looking up vqmmc-supply from device tree [ 9.606206] sdhci-dwcmshc fe2e0000.mmc: Looking up vqmmc-supply property in node /mmc@fe2e0000 failed [ 9.606872] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 9.607164] ledtrig-cpu: registered to indicate activity on CPUs [ 9.607199] arm-scmi firmware:scmi: Failed. SCMI protocol 17 not active. [ 9.607248] SMCCC: SOC_ID: ARCH_FEATURES(ARCH_SOC_ID) returned error: fffffffffffffffd [ 9.608047] cryptodev: driver 1.12 loaded. [ 9.608104] hid: raw HID events driver (C) Jiri Kosina [ 9.608507] usbcore: registered new interface driver usbhid [ 9.608513] usbhid: USB HID core driver [ 9.608930] ashmem: initialized [ 9.613130] rockchip-saradc fec10000.saradc: Looking up vref-supply from device tree [ 9.616965] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 9.620289] optee: probing for conduit method. [ 9.620295] optee: api uid mismatch [ 9.620304] optee: probe of firmware:optee failed with error -22 [ 9.621001] usbcore: registered new interface driver snd-usb-audio [ 9.625845] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up audio-supply from device tree [ 9.625876] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up audio-supply property in node /power-management@fd8d8000/power-controller failed [ 9.626724] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 9.630449] input: rockchip-hdmi0 rockchip-hdmi0 as /devices/platform/hdmi0-sound/sound/card0/input1 [ 9.631951] input: rockchip-hdmi1 rockchip-hdmi1 as /devices/platform/hdmi1-sound/sound/card1/input2 [ 9.632418] debugfs: File 'Capture' in directory 'dapm' already present! [ 9.633414] input: rockchip,dp0 rockchip,dp0 as /devices/platform/dp0-sound/sound/card2/input3 [ 9.634500] Initializing XFRM netlink socket [ 9.634515] NET: Registered protocol family 17 [ 9.634725] [BT_RFKILL]: Enter rfkill_rk_init [ 9.634729] [WLAN_RFKILL]: Enter rfkill_wlan_init [ 9.635007] [WLAN_RFKILL]: Enter rfkill_wlan_probe [ 9.635029] [WLAN_RFKILL]: can't find rockchip,grf property [ 9.635034] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = ap6256 [ 9.635037] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control. [ 9.635041] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio. [ 9.635069] [WLAN_RFKILL]: wlan_platdata_parse_dt: WIFI,host_wake_irq = 10, flags = 0. [ 9.635075] [WLAN_RFKILL]: wlan_platdata_parse_dt: The ref_wifi_clk not found ! [ 9.635078] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio [ 9.635083] [WLAN_RFKILL]: rfkill_set_wifi_bt_power: 1 [ 9.635086] [WLAN_RFKILL]: Exit rfkill_wlan_probe [ 9.635483] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 34. [ 9.635529] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,reset_gpio = 102. [ 9.635545] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_host_irq = 21. [ 9.635589] [BT_RFKILL]: Request irq for bt wakeup host [ 9.635647] [BT_RFKILL]: ** disable irq [ 9.635750] [BT_RFKILL]: bt_default device registered. [ 9.635843] Key type dns_resolver registered [ 9.636804] mmc0: SDHCI controller on fe2e0000.mmc [fe2e0000.mmc] using ADMA [ 9.637058] registered taskstats version 1 [ 9.637066] Loading compiled-in X.509 certificates [ 9.637949] Btrfs loaded, crc32c=crc32c-generic [ 9.638107] pstore: Using crash dump compression: deflate [ 9.638386] rga3_core0 fdb60000.rga: Adding to iommu group 2 [ 9.638606] rga: rga3_core0_irq, irq = 34, match scheduler [ 9.639028] rga: rga3_core0 hardware loaded successfully, hw_version:3.0.76831. [ 9.639070] rga: rga3_core0 probe successfully [ 9.639571] rga3_core1 fdb70000.rga: Adding to iommu group 3 [ 9.639871] rga: rga3_core1_irq, irq = 35, match scheduler [ 9.640361] rga: rga3_core1 hardware loaded successfully, hw_version:3.0.76831. [ 9.640449] rga: rga3_core1 probe successfully [ 9.641129] rga: rga2_irq, irq = 36, match scheduler [ 9.641942] rga: rga2 hardware loaded successfully, hw_version:3.2.63318. [ 9.641963] rga: rga2 probe successfully [ 9.642421] rga2_mmu: IOMMU binding successfully, default mapping core[0x1] [ 9.642681] rga: Module initialized. v1.2.20 [ 9.642695] ******************************************************************** [ 9.642700] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE ** [ 9.642705] ** ** [ 9.642710] ** WRITEABLE clk DebugFS SUPPORT HAS BEEN ENABLED IN THIS KERNEL ** [ 9.642714] ** ** [ 9.642719] ** This means that this kernel is built to expose clk operations ** [ 9.642724] ** such as parent or rate setting, enabling, disabling, etc. ** [ 9.642729] ** to userspace, which may compromise security on your system. ** [ 9.642733] ** ** [ 9.642738] ** If you see this message and you are not debugging the ** [ 9.642742] ** kernel, report this immediately to your vendor! ** [ 9.642747] ** ** [ 9.642752] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE ** [ 9.642756] ******************************************************************** [ 9.656981] mmc_host mmc2: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0) [ 9.662574] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up gpu-supply from device tree [ 9.662597] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up gpu-supply property in node /power-management@fd8d8000/power-controller failed [ 9.662616] vcc3v3_pcie2x1l2: 3300 mV, enabled [ 9.662765] mali fb000000.gpu: Kernel DDK version g13p0-01eac0 [ 9.662781] mali fb000000.gpu: Looking up mali-supply from device tree [ 9.662823] reg-fixed-voltage vcc3v3-pcie2x1l2: Looking up vin-supply from device tree [ 9.662843] vcc3v3_pcie2x1l2: supplied by vcc_3v3_s3 [ 9.662877] mali fb000000.gpu: Looking up mem-supply from device tree [ 9.662922] mali fb000000.gpu: Looking up mali-supply from device tree [ 9.662931] vdd_gpu_s0: could not add device link fb000000.gpu: -EEXIST [ 9.662933] vdd_gpu_s0: Failed to create debugfs directory [ 9.662936] mali fb000000.gpu: Looking up mem-supply from device tree [ 9.662942] vdd_gpu_s0: could not add device link fb000000.gpu: -EEXIST [ 9.662944] vdd_gpu_s0: Failed to create debugfs directory [ 9.663004] mali fb000000.gpu: Looking up mali-supply from device tree [ 9.663010] vdd_gpu_s0: could not add device link fb000000.gpu: -EEXIST [ 9.663012] vdd_gpu_s0: Failed to create debugfs directory [ 9.663140] reg-fixed-voltage vcc3v3-pcie2x1l2: vcc3v3_pcie2x1l2 supplying 3300000uV [ 9.663406] mali fb000000.gpu: leakage=24 [ 9.663449] mali fb000000.gpu: Looking up mali-supply from device tree [ 9.663464] debugfs: Directory 'fb000000.gpu-mali' with parent 'vdd_gpu_s0' already present! [ 9.664056] rockchip-dmc dmc: Looking up center-supply from device tree [ 9.664727] rockchip-dmc dmc: Looking up mem-supply from device tree [ 9.665005] mali fb000000.gpu: pvtm=903 [ 9.665046] mali fb000000.gpu: pvtm-volt-sel=4 [ 9.665256] rockchip-dmc dmc: Looking up center-supply from device tree [ 9.665298] vdd_ddr_s0: could not add device link dmc: -EEXIST [ 9.665305] vdd_ddr_s0: Failed to create debugfs directory [ 9.665446] mali fb000000.gpu: avs=0 [ 9.665551] rockchip-dmc dmc: Looking up mem-supply from device tree [ 9.665577] vdd_log_s0: could not add device link dmc: -EEXIST [ 9.665579] vdd_log_s0: Failed to create debugfs directory [ 9.665634] W : [File] : drivers/gpu/arm/bifrost/platform/rk/mali_kbase_config_rk.c; [Line] : 136; [Func] : kbase_platform_rk_init(); power-off-delay-ms not available. [ 9.666013] rockchip-dmc dmc: leakage=49 [ 9.666020] rockchip-dmc dmc: leakage-volt-sel=2 [ 9.666243] rockchip-dmc dmc: avs=0 [ 9.666251] rockchip-dmc dmc: current ATF version 0x100 [ 9.666281] mali fb000000.gpu: GPU hardware issue table may need updating: r0p0 status 5 is unknown; treating as r0p0 status 0 [ 9.666292] mali fb000000.gpu: GPU identified as 0x7 arch 10.8.6 r0p0 status 0 [ 9.666314] rockchip-dmc dmc: normal_rate = 1560000000 [ 9.666318] rockchip-dmc dmc: reboot_rate = 2112000000 [ 9.666320] rockchip-dmc dmc: suspend_rate = 528000000 [ 9.666323] rockchip-dmc dmc: video_4k_rate = 1560000000 [ 9.666326] rockchip-dmc dmc: video_4k_10b_rate = 1560000000 [ 9.666328] rockchip-dmc dmc: video_svep_rate = 1560000000 [ 9.666331] rockchip-dmc dmc: boost_rate = 2112000000 [ 9.666333] rockchip-dmc dmc: fixed_rate(isp|cif0|cif1|dualview) = 2112000000 [ 9.666336] rockchip-dmc dmc: performance_rate = 2112000000 [ 9.666339] rockchip-dmc dmc: hdmirx_rate = 2112000000 [ 9.666344] rockchip-dmc dmc: failed to get vop bandwidth to dmc rate [ 9.666346] rockchip-dmc dmc: failed to get vop pn to msch rl [ 9.666365] mali fb000000.gpu: No priority control manager is configured [ 9.666373] mali fb000000.gpu: No memory group manager is configured [ 9.666396] mali fb000000.gpu: Protected memory allocator not available [ 9.666425] rockchip-dmc dmc: l=10000 h=2147483647 hyst=5000 l_limit=0 h_limit=0 h_table=0 [ 9.666836] mali fb000000.gpu: Capping CSF_FIRMWARE_TIMEOUT to CSF_FIRMWARE_PING_TIMEOUT [ 9.667019] rockchip-dmc dmc: could not find power_model node [ 9.667289] vccio_sd_s0: ramp_delay not set [ 9.667505] mali fb000000.gpu: Couldn't find power_model DT node matching 'arm,mali-simple-power-model' [ 9.667515] mali fb000000.gpu: Error -22, no DT entry: mali-simple-power-model.static-coefficient = 1*[0] [ 9.667807] mali fb000000.gpu: Error -22, no DT entry: mali-simple-power-model.dynamic-coefficient = 1*[0] [ 9.668074] mali fb000000.gpu: Error -22, no DT entry: mali-simple-power-model.ts = 4*[0] [ 9.668345] mali fb000000.gpu: Error -22, no DT entry: mali-simple-power-model.thermal-zone = '' [ 9.672405] mali fb000000.gpu: Using configured power model mali-lodx-power-model, and fallback mali-simple-power-model [ 9.672605] mali fb000000.gpu: l=10000 h=85000 hyst=5000 l_limit=0 h_limit=800000000 h_table=0 [ 9.673443] mali fb000000.gpu: Probed as mali0 [ 9.691402] mmc_host mmc1: Bus speed (slot 0) = 198000000Hz (slot req 200000000Hz, actual 198000000HZ div = 0) [ 9.706008] mmc_host mmc2: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0) [ 9.753816] mmc_host mmc2: Bus speed (slot 0) = 187500Hz (slot req 100000Hz, actual 93750HZ div = 1) [ 9.756214] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11 [ 9.756234] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 9.756245] usb 1-1: Product: USB 2.0 Hub [ 9.757982] hub 1-1:1.0: USB hub found [ 9.758154] hub 1-1:1.0: 4 ports detected [ 9.810929] debugfs: File 'Left Hp mixer' in directory 'dapm' already present! [ 9.810949] debugfs: File 'Right Hp mixer' in directory 'dapm' already present! [ 9.810972] debugfs: File 'HPCP L' in directory 'dapm' already present! [ 9.810982] debugfs: File 'HPCP R' in directory 'dapm' already present! [ 9.811003] debugfs: File 'HPVOL L' in directory 'dapm' already present! [ 9.811012] debugfs: File 'HPVOL R' in directory 'dapm' already present! [ 9.816807] rk-pcie fe190000.pcie: invalid prsnt-gpios property in node [ 9.816831] rk-pcie fe190000.pcie: Looking up vpcie3v3-supply from device tree [ 9.817442] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up gmac-supply from device tree [ 9.817478] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up gmac-supply property in node /power-management@fd8d8000/power-controller failed [ 9.817498] rk-pcie fe190000.pcie: missing legacy IRQ resource [ 9.817516] rk-pcie fe190000.pcie: IRQ msi not found [ 9.817522] rk-pcie fe190000.pcie: use outband MSI support [ 9.817529] rk-pcie fe190000.pcie: Missing *config* reg space [ 9.817532] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up npu-supply from device tree [ 9.817547] rk-pcie fe190000.pcie: host bridge /pcie@fe190000 ranges: [ 9.817552] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up npu-supply property in node /power-management@fd8d8000/power-controller failed [ 9.817584] rk-pcie fe190000.pcie: err 0x00f4000000..0x00f40fffff -> 0x00f4000000 [ 9.817601] rk-pcie fe190000.pcie: IO 0x00f4100000..0x00f41fffff -> 0x00f4100000 [ 9.817627] rk-pcie fe190000.pcie: MEM 0x00f4200000..0x00f4ffffff -> 0x00f4200000 [ 9.817645] rk-pcie fe190000.pcie: MEM 0x0a00000000..0x0a3fffffff -> 0x0a00000000 [ 9.817687] rk-pcie fe190000.pcie: Missing *config* reg space [ 9.817721] rk-pcie fe190000.pcie: invalid resource [ 9.821013] rockchip_headset rk-headset: Can not read property hook_gpio [ 9.821075] rockchip_headset rk-headset: headset have hook adc mode [ 9.821349] input: rk-headset as /devices/platform/rk-headset/input/input4 [ 9.822792] RKNPU fdab0000.npu: Adding to iommu group 0 [ 9.823066] RKNPU fdab0000.npu: RKNPU: rknpu iommu is enabled, using iommu mode [ 9.823246] RKNPU fdab0000.npu: Looking up rknpu-supply from device tree [ 9.824027] RKNPU fdab0000.npu: Looking up mem-supply from device tree [ 9.824662] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdab0000-0xfdabffff] [ 9.824693] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdac0000-0xfdacffff] [ 9.824714] RKNPU fdab0000.npu: can't request region for resource [mem 0xfdad0000-0xfdadffff] [ 9.825163] [drm] Initialized rknpu 0.8.2 20220829 for fdab0000.npu on minor 1 [ 9.826851] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up nputop-supply from device tree [ 9.826895] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up nputop-supply property in node /power-management@fd8d8000/power-controller failed [ 9.827004] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up npu1-supply from device tree [ 9.827043] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up npu1-supply property in node /power-management@fd8d8000/power-controller failed [ 9.827118] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up npu2-supply from device tree [ 9.827157] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up npu2-supply property in node /power-management@fd8d8000/power-controller failed [ 9.827341] RKNPU fdab0000.npu: Looking up rknpu-supply from device tree [ 9.827375] vdd_npu_s0: could not add device link fdab0000.npu: -EEXIST [ 9.827381] vdd_npu_s0: Failed to create debugfs directory [ 9.827872] RKNPU fdab0000.npu: Looking up mem-supply from device tree [ 9.827902] vdd_npu_s0: could not add device link fdab0000.npu: -EEXIST [ 9.827907] vdd_npu_s0: Failed to create debugfs directory [ 9.828575] RKNPU fdab0000.npu: Looking up rknpu-supply from device tree [ 9.829212] vdd_npu_s0: could not add device link fdab0000.npu: -EEXIST [ 9.829219] vdd_npu_s0: Failed to create debugfs directory [ 9.830843] RKNPU fdab0000.npu: leakage=12 [ 9.830878] RKNPU fdab0000.npu: Looking up rknpu-supply from device tree [ 9.830898] debugfs: Directory 'fdab0000.npu-rknpu' with parent 'vdd_npu_s0' already present! [ 9.838220] RKNPU fdab0000.npu: pvtm=899 [ 9.842700] RKNPU fdab0000.npu: pvtm-volt-sel=4 [ 9.843604] RKNPU fdab0000.npu: avs=0 [ 9.843764] RKNPU fdab0000.npu: l=10000 h=85000 hyst=5000 l_limit=0 h_limit=800000000 h_table=0 [ 9.860413] RKNPU fdab0000.npu: failed to find power_model node [ 9.860425] RKNPU fdab0000.npu: RKNPU: failed to initialize power model [ 9.860434] RKNPU fdab0000.npu: RKNPU: failed to get dynamic-coefficient [ 9.863665] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 9.877043] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up sdio-supply from device tree [ 9.877122] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up sdio-supply property in node /power-management@fd8d8000/power-controller failed [ 9.878161] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 9.880995] I : [File] : drivers/gpu/arm/mali400/mali/linux/mali_kernel_linux.c; [Line] : 409; [Func] : mali_module_init(); svn_rev_string_from_arm of this mali_ko is '', rk_ko_ver is '5', built at '23:42:35', on 'Feb 17 2023'. [ 9.881555] Mali: [ 9.881560] Mali device driver loaded [ 9.881572] ALSA device list: [ 9.881580] #0: rockchip-hdmi0 [ 9.881588] #1: rockchip-hdmi1 [ 9.881595] #2: rockchip,dp0 [ 9.881600] #3: rockchip-es8316 [ 9.881606] #4: rockchip,hdmiin [ 9.891699] Freeing unused kernel memory: 6912K [ 9.891898] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 9.891910] cfg80211: failed to load regulatory.db [ 9.917373] Run /init as init process [ 9.917387] with arguments: [ 9.917396] /init [ 9.917403] with environment: [ 9.917409] HOME=/ [ 9.917415] TERM=linux [ 9.917421] splash=verbose [ 9.917430] ubootpart=91ec68a1-cfa7-954f-a09b-8fe50ae18f21 [ 9.917435] cgroup_enable=memory [ 9.917441] cgroup_memory=1 [ 10.080204] rk-pcie fe190000.pcie: PCIe Link up, LTSSM is 0x130011 [ 10.080431] rk-pcie fe190000.pcie: PCI host bridge to bus 0004:40 [ 10.080443] pci_bus 0004:40: root bus resource [bus 40-4f] [ 10.080450] pci_bus 0004:40: root bus resource [??? 0xf4000000-0xf40fffff flags 0x0] [ 10.080457] pci_bus 0004:40: root bus resource [io 0x200000-0x2fffff] (bus address [0xf4100000-0xf41fffff]) [ 10.080462] pci_bus 0004:40: root bus resource [mem 0xf4200000-0xf4ffffff] [ 10.080467] pci_bus 0004:40: root bus resource [mem 0xa00000000-0xa3fffffff pref] [ 10.080515] pci 0004:40:00.0: [1d87:3588] type 01 class 0x060400 [ 10.080538] pci 0004:40:00.0: reg 0x38: [mem 0x00000000-0x0000ffff pref] [ 10.080603] pci 0004:40:00.0: supports D1 D2 [ 10.080608] pci 0004:40:00.0: PME# supported from D0 D1 D3hot [ 10.088819] pci 0004:40:00.0: Primary bus is hard wired to 0 [ 10.088830] pci 0004:40:00.0: bridge configuration invalid ([bus 01-ff]), reconfiguring [ 10.089078] pci 0004:41:00.0: [10ec:8125] type 00 class 0x020000 [ 10.089134] pci 0004:41:00.0: reg 0x10: [io 0x0000-0x00ff] [ 10.089192] pci 0004:41:00.0: reg 0x18: [mem 0x00000000-0x0000ffff 64bit] [ 10.089231] pci 0004:41:00.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit] [ 10.089571] pci 0004:41:00.0: supports D1 D2 [ 10.089576] pci 0004:41:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 10.103861] pci_bus 0004:41: busn_res: [bus 41-4f] end is updated to 41 [ 10.103902] pci 0004:40:00.0: BAR 8: assigned [mem 0xf4200000-0xf42fffff] [ 10.103911] pci 0004:40:00.0: BAR 6: assigned [mem 0xf4300000-0xf430ffff pref] [ 10.103918] pci 0004:40:00.0: BAR 7: assigned [io 0x200000-0x200fff] [ 10.103927] pci 0004:41:00.0: BAR 2: assigned [mem 0xf4200000-0xf420ffff 64bit] [ 10.103963] pci 0004:41:00.0: BAR 4: assigned [mem 0xf4210000-0xf4213fff 64bit] [ 10.103994] pci 0004:41:00.0: BAR 0: assigned [io 0x200000-0x2000ff] [ 10.104009] pci 0004:40:00.0: PCI bridge to [bus 41] [ 10.104015] pci 0004:40:00.0: bridge window [io 0x200000-0x200fff] [ 10.104020] pci 0004:40:00.0: bridge window [mem 0xf4200000-0xf42fffff] [ 10.106612] pcieport 0004:40:00.0: PME: Signaling with IRQ 164 [ 10.106977] r8125 2.5Gigabit Ethernet driver 9.009.00-NAPI-RSS loaded [ 10.107054] r8125 0004:41:00.0: enabling device (0000 -> 0003) [ 10.115671] dwmmc_rockchip fe2c0000.mmc: Successfully tuned phase to 18 [ 10.115683] mmc1: new ultra high speed SDR104 SDXC card at address 0001 [ 10.116296] mmcblk1: mmc1:0001 EE8QT 239 GiB [ 10.120189] GPT:Primary header thinks Alt. header is not at the end of the disk. [ 10.120192] GPT:3416063 != 500170751 [ 10.120194] GPT:Alternate GPT header not at the end of the disk. [ 10.120195] GPT:3416063 != 500170751 [ 10.120196] GPT: Use GNU Parted to correct GPT errors. [ 10.120210] mmcblk1: p1 p2 [ 10.125780] r8125: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625. [ 10.127901] r8125 Copyright (C) 2022 Realtek NIC software team This program comes with ABSOLUTELY NO WARRANTY; for details, please see . This is free software, and you are welcome to redistribute it under certain conditions; see . [ 10.586447] EXT4-fs (mmcblk1p2): mounted filesystem with writeback data mode. Opts: (null) [ 11.042270] NET: Registered protocol family 10 [ 11.043984] Segment Routing with IPv6 [ 11.067259] 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) [ 11.068429] systemd[1]: Detected architecture arm64. [ 11.069026] systemd[1]: Detected first boot. [ 11.072857] systemd[1]: Set hostname to . [ 11.076306] systemd[1]: Initializing machine ID from random generator. [ 11.555348] rk_hdmirx fdee0000.hdmirx-controller: hdmirx_cancel_cpu_limit_freq freq qos nod add [ 11.710288] rk-pcie fe170000.pcie: PCIe Link Fail [ 11.710309] rk-pcie fe170000.pcie: failed to initialize host [ 11.823269] systemd[1]: Invalid unit wpa_supplicant-wired@.service symlink multi-user.target.wants/wpa_supplicant-wired@.service. [ 11.825032] systemd[1]: Invalid unit wpa_supplicant@.service symlink multi-user.target.wants/wpa_supplicant@.service. [ 11.836514] systemd[1]: Invalid unit wpa_supplicant-nl80211@.service symlink multi-user.target.wants/wpa_supplicant-nl80211@.service. [ 11.837600] systemd[1]: Failed to populate /etc with preset unit settings, ignoring: Read-only file system [ 11.862946] 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. [ 11.948742] systemd[1]: Queued start job for default target Graphical Interface. [ 11.950943] systemd[1]: Created slice system-modprobe.slice. [ 11.951494] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 11.952690] systemd[1]: Created slice system-systemd\x2dfsck.slice. [ 11.953106] systemd[1]: Created slice User and Session Slice. [ 11.953303] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 11.953712] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 11.953876] systemd[1]: Reached target Remote File Systems. [ 11.953918] systemd[1]: Reached target Slices. [ 11.953971] systemd[1]: Reached target Swap. [ 11.954015] systemd[1]: Reached target System Time Set. [ 11.954285] systemd[1]: Listening on Syslog Socket. [ 11.955056] systemd[1]: Listening on fsck to fsckd communication Socket. [ 11.955218] systemd[1]: Listening on initctl Compatibility Named Pipe. [ 11.955553] systemd[1]: Listening on Journal Audit Socket. [ 11.955752] systemd[1]: Listening on Journal Socket (/dev/log). [ 11.956012] systemd[1]: Listening on Journal Socket. [ 11.956907] systemd[1]: Listening on udev Control Socket. [ 11.957104] systemd[1]: Listening on udev Kernel Socket. [ 11.959326] systemd[1]: Mounting Huge Pages File System... [ 11.960993] systemd[1]: Mounting POSIX Message Queue File System... [ 11.962698] systemd[1]: Mounting Kernel Debug File System... [ 11.964331] systemd[1]: Mounting Kernel Trace File System... [ 11.967307] systemd[1]: Starting Restore / save the current clock... [ 11.969405] systemd[1]: Starting Set the console keyboard layout... [ 11.971527] systemd[1]: Starting Create list of static device nodes for the current kernel... [ 11.973537] systemd[1]: Starting Load Kernel Module configfs... [ 11.975478] systemd[1]: Starting Load Kernel Module drm... [ 11.977553] systemd[1]: Starting Load Kernel Module fuse... [ 11.979737] systemd[1]: Started Nameserver information manager. [ 11.980285] systemd[1]: Reached target Network (Pre). [ 11.983053] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped. [ 11.983158] systemd[1]: Condition check resulted in File System Check on Root Device being skipped. [ 11.990878] systemd[1]: Starting Load Kernel Modules... [ 11.992524] systemd[1]: Starting Remount Root and Kernel File Systems... [ 11.994306] systemd[1]: Starting Coldplug All udev Devices... [ 11.997495] systemd[1]: Mounted Huge Pages File System. [ 11.997584] fuse: init (API version 7.32) [ 11.997876] systemd[1]: Mounted POSIX Message Queue File System. [ 11.998077] systemd[1]: Mounted Kernel Debug File System. [ 11.998249] systemd[1]: Mounted Kernel Trace File System. [ 11.998802] systemd[1]: Finished Restore / save the current clock. [ 11.999586] systemd[1]: Finished Create list of static device nodes for the current kernel. [ 12.000060] systemd[1]: modprobe@configfs.service: Succeeded. [ 12.000508] systemd[1]: Finished Load Kernel Module configfs. [ 12.000916] systemd[1]: modprobe@drm.service: Succeeded. [ 12.001245] systemd[1]: Finished Load Kernel Module drm. [ 12.001613] systemd[1]: modprobe@fuse.service: Succeeded. [ 12.001935] systemd[1]: Finished Load Kernel Module fuse. [ 12.004697] systemd[1]: Mounting FUSE Control File System... [ 12.006705] systemd[1]: Mounting Kernel Configuration File System... [ 12.009860] systemd[1]: Mounted FUSE Control File System. [ 12.012298] systemd[1]: Finished Load Kernel Modules. [ 12.012639] EXT4-fs (mmcblk1p2): re-mounted. Opts: commit=600,errors=remount-ro [ 12.015639] systemd[1]: Starting Apply Kernel Variables... [ 12.018354] systemd[1]: Finished Remount Root and Kernel File Systems. [ 12.018770] systemd[1]: Mounted Kernel Configuration File System. [ 12.024507] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped. [ 12.024591] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped. [ 12.025935] systemd[1]: Starting Load/Save Random Seed... [ 12.027447] systemd[1]: Starting Create System Users... [ 12.036193] systemd[1]: Finished Apply Kernel Variables. [ 12.055742] systemd[1]: Finished Set the console keyboard layout. [ 12.105408] systemd[1]: Finished Load/Save Random Seed. [ 12.106000] systemd[1]: Reached target First Boot Complete. [ 12.213593] systemd[1]: Finished Create System Users. [ 12.217166] systemd[1]: Starting Create Static Device Nodes in /dev... [ 12.252383] systemd[1]: Finished Create Static Device Nodes in /dev. [ 12.253008] systemd[1]: Reached target Local File Systems (Pre). [ 12.259964] systemd[1]: Mounting /tmp... [ 12.264368] systemd[1]: Starting Rule-based Manager for Device Events and Files... [ 12.265902] systemd[1]: Finished Coldplug All udev Devices. [ 12.268466] systemd[1]: Mounted /tmp. [ 12.276324] systemd[1]: Starting Helper to synchronize boot up for ifupdown... [ 12.291656] systemd[1]: Finished Helper to synchronize boot up for ifupdown. [ 12.324332] systemd[1]: Started Rule-based Manager for Device Events and Files. [ 12.329133] systemd[1]: Starting Show Plymouth Boot Screen... [ 12.371998] systemd[1]: Started Show Plymouth Boot Screen. [ 12.372382] systemd[1]: Condition check resulted in Dispatch Password Requests to Console Directory Watch when bootsplash is active being skipped. [ 12.372638] systemd[1]: Started Forward Password Requests to Plymouth Directory Watch. [ 12.376014] systemd[1]: Reached target Local Encrypted Volumes. [ 12.376132] systemd[1]: Reached target Paths. [ 12.412218] systemd[1]: Reached target Sound Card. [ 12.501048] systemd[1]: Found device /dev/disk/by-uuid/dc95b75d-9464-485a-82dd-00955d3c530a. [ 12.543933] systemd[1]: Found device /dev/ttyFIQ0. [ 12.554247] systemd[1]: Reached target Hardware activated USB gadget. [ 12.554446] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. [ 12.554782] dwhdmi-rockchip fde80000.hdmi: use tmds mode [ 12.556095] systemd[1]: Starting File System Check on /dev/disk/by-uuid/dc95b75d-9464-485a-82dd-00955d3c530a... [ 12.573253] dwhdmi-rockchip fde80000.hdmi: use tmds mode [ 12.592741] systemd[1]: Starting Load/Save RF Kill Switch Status... [ 12.596453] systemd[1]: Started File System Check Daemon to report status. [ 12.603411] dwhdmi-rockchip fde80000.hdmi: use tmds mode [ 12.612707] systemd[1]: Started Load/Save RF Kill Switch Status. [ 12.623851] dwhdmi-rockchip fde80000.hdmi: use tmds mode [ 12.658174] systemd[1]: Finished File System Check on /dev/disk/by-uuid/dc95b75d-9464-485a-82dd-00955d3c530a. [ 12.664482] systemd[1]: Mounting /boot... [ 12.677290] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: commit=600,errors=remount-ro [ 12.679222] systemd[1]: Mounted /boot. [ 12.679485] systemd[1]: Reached target Local File Systems. [ 12.682315] systemd[1]: Starting Armbian leds state... [ 12.684200] systemd[1]: Starting Armbian ZRAM config... [ 12.686092] systemd[1]: Starting Set console font and keymap... [ 12.688037] systemd[1]: Starting Raise network interfaces... [ 12.689777] systemd[1]: Starting Tell Plymouth To Write Out Runtime Data... [ 12.689963] systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped. [ 12.691729] systemd[1]: Starting Commit a transient machine-id on disk... [ 12.700979] systemd[1]: Finished Set console font and keymap. [ 12.705232] systemd[1]: Received SIGRTMIN+20 from PID 304 (plymouthd). [ 12.710235] systemd[1]: Finished Tell Plymouth To Write Out Runtime Data. [ 12.740137] vendor storage:20190527 ret = -1 [ 12.773525] systemd[1]: Finished Armbian leds state. [ 12.777363] systemd[1]: etc-machine\x2did.mount: Succeeded. [ 12.778887] systemd[1]: Finished Commit a transient machine-id on disk. [ 12.908424] systemd[1]: Finished Raise network interfaces. [ 12.945648] zram0: detected capacity change from 0 to 8241332224 [ 13.007127] Adding 8048172k swap on /dev/zram0. Priority:5 extents:1 across:8048172k SS [ 13.029171] zram: Added device: zram1 [ 13.193137] zram1: detected capacity change from 0 to 52428800 [ 13.235243] zram: Added device: zram2 [ 13.248891] zram2: detected capacity change from 0 to 8241332224 [ 13.396648] EXT4-fs (zram2): mounted filesystem without journal. Opts: discard [ 13.420256] systemd[1]: Finished Armbian ZRAM config. [ 13.424307] systemd[1]: Starting Armbian memory supported logging... [ 13.484369] EXT4-fs (zram1): mounted filesystem without journal. Opts: discard [ 13.484405] ext4 filesystem being mounted at /var/log supports timestamps until 2038 (0x7fffffff) [ 14.713629] systemd[1]: Finished Armbian memory supported logging. [ 14.722249] systemd[1]: Starting Journal Service... [ 14.892914] systemd[1]: Started Journal Service. [ 14.920388] systemd-journald[664]: Received client request to flush runtime journal. [ 16.130596] EXT4-fs (mmcblk1p2): resizing filesystem from 357371 to 61825024 blocks [ 26.550636] EXT4-fs (mmcblk1p2): resized to 7340032 blocks [ 37.727279] EXT4-fs (mmcblk1p2): resized to 12582912 blocks [ 48.340962] EXT4-fs (mmcblk1p2): resized to 16777216 blocks [ 58.490774] EXT4-fs (mmcblk1p2): resized to 20447232 blocks [ 69.430969] EXT4-fs (mmcblk1p2): resized to 24641536 blocks [ 79.589662] EXT4-fs (mmcblk1p2): resized to 28311552 blocks [ 89.882176] EXT4-fs (mmcblk1p2): resized to 31981568 blocks [ 101.259124] EXT4-fs (mmcblk1p2): resized to 36175872 blocks [ 111.387678] EXT4-fs (mmcblk1p2): resized to 40370176 blocks [ 122.664765] EXT4-fs (mmcblk1p2): resized to 44040192 blocks [ 132.703203] EXT4-fs (mmcblk1p2): resized to 47710208 blocks [ 142.833355] EXT4-fs (mmcblk1p2): resized to 52953088 blocks [ 154.025990] EXT4-fs (mmcblk1p2): resized to 58720256 blocks [ 158.493726] EXT4-fs (mmcblk1p2): resized filesystem to 61825024 [ 161.153271] systemd-journald[664]: Received client request to relinquish /var/log/journal/e6ce0e00bdae4d39ba358776f6310c68 access. [ 161.813347] ttyFIQ ttyFIQ0: tty_port_close_start: tty->count = 1 port count = 2 [ 162.086116] eth0: 0xffffffc0159b0000, 00:e0:4c:68:00:55, IRQ 155 [ 164.934776] dwhdmi-rockchip fde80000.hdmi: use tmds mode [ 167.284447] r8125: eth0: link up [ 167.284578] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 171.825290] ttyFIQ ttyFIQ0: tty_port_close_start: tty->count = 1 port count = 2 [ 172.850497] dwhdmi-rockchip fde80000.hdmi: use tmds mode [ 256.651591] ttyFIQ ttyFIQ0: tty_port_close_start: tty->count = 1 port count = 3 [ 256.841369] ttyFIQ ttyFIQ0: tty_port_close_start: tty->count = 1 port count = 2 ```
MichaIng commented 1 year ago

@skyuplam Could you check some other things on ROCK 5B:

apt install rng-tools5
sleep 5
systemctl status rngd

This reports a running service? If so, this is to be preferred over haveged:

G_AGP haveged

And:

ls -l /dev/ttyS2
ls -l /dev/ttyFIQ0

The first does not exist, the second does. And in case you use a serial console, it is actually on /dev/ttyFIQ0.

Both was true on Orange Pi 5 with same SoC and same kernel, so I'm pretty sure both is true on ROCK 5B as well and regarding the serial console there is another bug in the Armbian boot configs, which try to use ttyS2.

skyuplam commented 1 year ago

Yes, the rngd is running

Logfile attached. Click to expand! ``` rngd.service - Start entropy gathering daemon (rngd) Loaded: loaded (/lib/systemd/system/rngd.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2023-03-20 04:44:00 UTC; 9min ago Docs: man:rngd(8) Main PID: 2075 (rngd) Tasks: 1 (limit: 18532) Memory: 172.0K CPU: 5ms CGroup: /system.slice/rngd.service └─2075 /usr/sbin/rngd -f Mar 20 04:44:00 rock-5b systemd[1]: Started Start entropy gathering daemon (rngd). ```

I cannot find /dev/ttyS2 but I can find /dev/ttyFIQ0

Logfile attached. Click to expand! ``` crw-rw-rw- 1 root tty 5, 0 Mar 20 04:43 /dev/tty crw--w---- 1 root tty 4, 0 Mar 20 04:41 /dev/tty0 crw--w---- 1 root tty 4, 1 Mar 20 04:41 /dev/tty1 crw--w---- 1 root tty 4, 10 Mar 20 04:41 /dev/tty10 crw--w---- 1 root tty 4, 11 Mar 20 04:41 /dev/tty11 crw--w---- 1 root tty 4, 12 Mar 20 04:41 /dev/tty12 crw--w---- 1 root tty 4, 13 Mar 20 04:41 /dev/tty13 crw--w---- 1 root tty 4, 14 Mar 20 04:41 /dev/tty14 crw--w---- 1 root tty 4, 15 Mar 20 04:41 /dev/tty15 crw--w---- 1 root tty 4, 16 Mar 20 04:41 /dev/tty16 crw--w---- 1 root tty 4, 17 Mar 20 04:41 /dev/tty17 crw--w---- 1 root tty 4, 18 Mar 20 04:41 /dev/tty18 crw--w---- 1 root tty 4, 19 Mar 20 04:41 /dev/tty19 crw--w---- 1 root tty 4, 2 Mar 20 04:41 /dev/tty2 crw--w---- 1 root tty 4, 20 Mar 20 04:41 /dev/tty20 crw--w---- 1 root tty 4, 21 Mar 20 04:41 /dev/tty21 crw--w---- 1 root tty 4, 22 Mar 20 04:41 /dev/tty22 crw--w---- 1 root tty 4, 23 Mar 20 04:41 /dev/tty23 crw--w---- 1 root tty 4, 24 Mar 20 04:41 /dev/tty24 crw--w---- 1 root tty 4, 25 Mar 20 04:41 /dev/tty25 crw--w---- 1 root tty 4, 26 Mar 20 04:41 /dev/tty26 crw--w---- 1 root tty 4, 27 Mar 20 04:41 /dev/tty27 crw--w---- 1 root tty 4, 28 Mar 20 04:41 /dev/tty28 crw--w---- 1 root tty 4, 29 Mar 20 04:41 /dev/tty29 crw--w---- 1 root tty 4, 3 Mar 20 04:41 /dev/tty3 crw--w---- 1 root tty 4, 30 Mar 20 04:41 /dev/tty30 crw--w---- 1 root tty 4, 31 Mar 20 04:41 /dev/tty31 crw--w---- 1 root tty 4, 32 Mar 20 04:41 /dev/tty32 crw--w---- 1 root tty 4, 33 Mar 20 04:41 /dev/tty33 crw--w---- 1 root tty 4, 34 Mar 20 04:41 /dev/tty34 crw--w---- 1 root tty 4, 35 Mar 20 04:41 /dev/tty35 crw--w---- 1 root tty 4, 36 Mar 20 04:41 /dev/tty36 crw--w---- 1 root tty 4, 37 Mar 20 04:41 /dev/tty37 crw--w---- 1 root tty 4, 38 Mar 20 04:41 /dev/tty38 crw--w---- 1 root tty 4, 39 Mar 20 04:41 /dev/tty39 crw--w---- 1 root tty 4, 4 Mar 20 04:41 /dev/tty4 crw--w---- 1 root tty 4, 40 Mar 20 04:41 /dev/tty40 crw--w---- 1 root tty 4, 41 Mar 20 04:41 /dev/tty41 crw--w---- 1 root tty 4, 42 Mar 20 04:41 /dev/tty42 crw--w---- 1 root tty 4, 43 Mar 20 04:41 /dev/tty43 crw--w---- 1 root tty 4, 44 Mar 20 04:41 /dev/tty44 crw--w---- 1 root tty 4, 45 Mar 20 04:41 /dev/tty45 crw--w---- 1 root tty 4, 46 Mar 20 04:41 /dev/tty46 crw--w---- 1 root tty 4, 47 Mar 20 04:41 /dev/tty47 crw--w---- 1 root tty 4, 48 Mar 20 04:41 /dev/tty48 crw--w---- 1 root tty 4, 49 Mar 20 04:41 /dev/tty49 crw--w---- 1 root tty 4, 5 Mar 20 04:41 /dev/tty5 crw--w---- 1 root tty 4, 50 Mar 20 04:41 /dev/tty50 crw--w---- 1 root tty 4, 51 Mar 20 04:41 /dev/tty51 crw--w---- 1 root tty 4, 52 Mar 20 04:41 /dev/tty52 crw--w---- 1 root tty 4, 53 Mar 20 04:41 /dev/tty53 crw--w---- 1 root tty 4, 54 Mar 20 04:41 /dev/tty54 crw--w---- 1 root tty 4, 55 Mar 20 04:41 /dev/tty55 crw--w---- 1 root tty 4, 56 Mar 20 04:41 /dev/tty56 crw--w---- 1 root tty 4, 57 Mar 20 04:41 /dev/tty57 crw--w---- 1 root tty 4, 58 Mar 20 04:41 /dev/tty58 crw--w---- 1 root tty 4, 59 Mar 20 04:41 /dev/tty59 crw--w---- 1 root tty 4, 6 Mar 20 04:41 /dev/tty6 crw--w---- 1 root tty 4, 60 Mar 20 04:41 /dev/tty60 crw--w---- 1 root tty 4, 61 Mar 20 04:41 /dev/tty61 crw--w---- 1 root tty 4, 62 Mar 20 04:41 /dev/tty62 crw--w---- 1 root tty 4, 63 Mar 20 04:41 /dev/tty63 crw--w---- 1 root tty 4, 7 Mar 20 04:41 /dev/tty7 crw--w---- 1 root tty 4, 8 Mar 20 04:41 /dev/tty8 crw--w---- 1 root tty 4, 9 Mar 20 04:41 /dev/tty9 crw--w---- 1 root tty 253, 0 Mar 20 04:41 /dev/ttyFIQ0 crw-rw---- 1 root dialout 4, 70 Mar 20 04:41 /dev/ttyS6 ```
MichaIng commented 1 year ago

Good news, I just wanted to add the patch, but next kernel upgrade should have it fixed for Orange Pi 5 and ROCK 5B as well: https://github.com/armbian/linux-rockchip/pull/9

@skyuplam Thanks for verification, will be patched with next DietPi release.

I'll mark this as closed now.