Search the Community
Showing results for 'RK3399'.
-
Hello, this quick tutorial is to introduce an experimental Debian and Ubuntu APT repository to install ffmpeg compiled with v4l2request and v4l2drmprime patches developed by Linux kernel, LIbreELEC and Kodi folks to allow hardware video decoding on stateless decoders like those implemented in Rockchip and Allwinner SoCs for h.264, h.265, vp8 and vp9 codecs. The repository introduces a new ffmpeg package that integrates and substitues the base ffmpeg package and its related packages. Preconditions: Mainline kernel 6.1 or more recent armhf or arm64 architecture Supported distributions: Debian 12 - Bookworm Debian 13 - Trixie Ubuntu 22.04 - Jammy Ubuntu 24.04 - Noble Rockchip and Allwinner have already been tested, but this should work on other platforms with stateless decoders supported in kernel APT REPOSITORY SETUP To install the repository, just copy and paste the lines in a terminal: $ sudo wget http://apt.undo.it:7242/apt.undo.it.asc -O /etc/apt/trusted.gpg.d/apt.undo.it.asc $ . /etc/os-release && echo "deb http://apt.undo.it:7242 $VERSION_CODENAME main" | sudo tee /etc/apt/sources.list.d/apt.undo.it.list $ echo -e "Package: *\nPin: release o=apt.undo.it\nPin-Priority: 600" | sudo tee /etc/apt/preferences.d/apt-undo-it INSTALL FFMPEG AND MPV PACKAGES $ sudo apt update $ sudo apt install ffmpeg mpv SETUP MPV CONFIG FILE $ sudo mkdir -p /etc/mpv $ echo -e "hwdec=drm\ndrm-drmprime-video-plane=primary\ndrm-draw-plane=overlay" | sudo tee /etc/mpv/mpv.conf You can now play your videos using mpv and they should run with hardware decoding if supported, either in virtual terminals or in X11/Wayland windows! Enjoy! Notes: your mileage may vary a lot: the more recent is the kernel version, the better is support (you may need edge kernel) bug: when rendered in X11/Wayland window, video may show scattered tiles during frames bug: Lima driver (Mali 400/450) shows a red/pink tint when video is played in X11/Wayland (see https://github.com/mpv-player/mpv/issues/12968) (workaround below: https://forum.armbian.com/topic/32449-repository-for-v4l2request-hardware-video-decoding-rockchip-allwinner/?do=findComment&comment=177968) you may want to add --gpu-hwdec-interop=drmprime-overlay to the mpv command line if used in pure virtual terminal (no X, no Wayland) to use direct-to-overlay output Panfrost driver should work flawlessy 10 bit HEVC are generally supported on all Rockchip devices (rk322x, rk3288, rk33x8, rk3399), but Allwinner H3 have no hardware support for that
-
I tried Armbina25.5.1 with 6.16.0-rc3-edge-rockchip64 on nanopc t4(rk3399), both hdmi and dp(type-c) works ok. But Armbina25.5.1 with 6.12 only works ok when both typec(dp) and hdmi are pulgged in. There is no output when I only plug in hdmi or typec(dp) .
-
Hello, I really messed up, flashed on eMMC a rk3399 armbian image on my rk322x and now the LED is just blue with a hint of red, tried to short the eMMC 7-8th pins/reset button+usb but nothing. The device doesn't boot form sd card either, neither multitool nor any flashed image, just stuck on blue LED. I really don't know what to do.
-
Hello all, not sure if this is the right place for bug reporting. I'm getting a kernel panic during early boot (no hdmi initialized at this stage) since october 2024 when doing kernel updates. Mitigated the issue with holding back apt kernel updates. today i found time to finally connect a serial console to collect a boot log. The issue only happens if the SATA Penta Hat is connected via the flex cable, upon disconnecting the system/image boots to login prompt. To produce a clean boot log i got the latest image and booted via sd card : Armbian_community_25.8.0-trunk.375_Rockpi-4a_bookworm_current_6.12.38_minimal.img (Edit: Not sure if the reported hardware version from uboot (Model: Radxa ROCK Pi 4B) and the real hardware version from the kernel (Hardware name: Radxa ROCK Pi 4A (DT)) might hint at the root cause, since i have no problem booting without the connected SATA Hat, and also no problem booting the old Kernel version Linux 6.6.56-current-rockchip64 #1 SMP PREEMPT Thu Oct 10 10:50:06 UTC 2024 aarch64 GNU/Linux.) console log of failed boot ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ U-Boot TPL 2022.07-armbian-2022.07-Se092-Pfa03-H8c72-V70f2-Bda0a-R448a (Sep 28 2024 - 02:33:46) Channel 0: LPDDR4, 50MHz BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB Channel 1: LPDDR4, 50MHz BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB 256B stride lpddr4_set_rate: change freq to 400000000 mhz 0, 1 lpddr4_set_rate: change freq to 800000000 mhz 1, 0 Trying to boot from BOOTROM Returning to boot ROM... U-Boot SPL 2022.07-armbian-2022.07-Se092-Pfa03-H8c72-V70f2-Bda0a-R448a (Sep 28 2024 - 02:33:46 +0000) Trying to boot from SPI Trying to boot from MMC2 Card did not respond to voltage select! : -110 spl: mmc init failed with error: -95 Trying to boot from MMC1 NOTICE: BL31: v1.3(release):845ee93 NOTICE: BL31: Built : 15:51:11, Jul 22 2020 NOTICE: BL31: Rockchip release version: v1.1 INFO: GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3 INFO: Using opteed sec cpu_context! INFO: boot cpu mask: 0 INFO: If lpddr4 need support multi frequency, INFO: please update loader! INFO: Current ctl index[0] freq=400MHz INFO: Current ctl index[1] freq=800MHz INFO: plat_rockchip_pmu_init(1196): pd status 3e INFO: BL31: Initializing runtime services WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK ERROR: Error initializing runtime service opteed_fast INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0x200000 INFO: SPSR = 0x3c9 U-Boot 2022.07-armbian-2022.07-Se092-Pfa03-H8c72-V70f2-Bda0a-R448a (Sep 28 2024 - 02:33:46 +0000) SoC: Rockchip rk3399 Reset cause: POR Model: Radxa ROCK Pi 4B DRAM: 3.9 GiB PMIC: RK808 Core: 285 devices, 31 uclasses, devicetree: separate MMC: mmc@fe310000: 2, mmc@fe320000: 1, mmc@fe330000: 0 Loading Environment from SPIFlash... SF: Detected XT25F32B with page size 256 Bytes, erase size 4 KiB, total 4 MiB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Model: Radxa ROCK Pi 4B Net: eth0: ethernet@fe300000 Hit any key to stop autoboot: 0 starting USB... Bus usb@fe380000: USB EHCI 1.00 Bus usb@fe3c0000: USB EHCI 1.00 Bus usb@fe800000: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 Bus usb@fe900000: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 scanning bus usb@fe380000 for devices... 1 USB Device(s) found scanning bus usb@fe3c0000 for devices... 1 USB Device(s) found scanning bus usb@fe800000 for devices... 1 USB Device(s) found scanning bus usb@fe900000 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Device 0: unknown device switch to partitions #0, OK mmc1 is current device Scanning mmc 1:1... Found U-Boot script /boot/boot.scr 3906 bytes read in 5 ms (762.7 KiB/s) ## Executing script at 00500000 Boot script loaded from mmc 1:1 218 bytes read in 4 ms (52.7 KiB/s) 16729239 bytes read in 711 ms (22.4 MiB/s) 38277632 bytes read in 1620 ms (22.5 MiB/s) 82808 bytes read in 15 ms (5.3 MiB/s) 2825 bytes read in 8 ms (344.7 KiB/s) Applying kernel provided DT fixup script (rockchip-fixup.scr) ## Executing script at 09000000 Trying kaslrseed command... Info: Unknown command can be safely ignored since kaslrseed does not apply to all boards. Unknown command 'kaslrseed' - try 'help' Moving Image from 0x2080000 to 0x2200000, end=4760000 ## Loading init Ramdisk from Legacy Image at 06000000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 16729175 Bytes = 16 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 01f00000 Booting using the fdt blob at 0x1f00000 Loading Ramdisk to f0f17000, end f1f0b457 ... OK Loading Device Tree to 00000000f0e9a000, end 00000000f0f16fff ... OK Starting kernel ... efi_free_pool: illegal free 0x00000000f0f0d040 efi_free_pool: illegal free 0x00000000f0f0a040 [ 4.133601] SError Interrupt on CPU4, code 0x00000000bf000002 -- SError [ 4.133615] CPU: 4 UID: 0 PID: 63 Comm: kworker/u26:3 Not tainted 6.12.38-current-rockchip64 #1 [ 4.133628] Hardware name: Radxa ROCK Pi 4A (DT) [ 4.133634] Workqueue: events_unbound deferred_probe_work_func [ 4.133660] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 4.133672] pc : rockchip_pcie_rd_conf+0x17c/0x200 [ 4.133686] lr : rockchip_pcie_rd_conf+0x170/0x200 [ 4.133695] sp : ffff8000830e37c0 [ 4.133700] x29: ffff8000830e37c0 x28: ffff800082383088 x27: 0000000000000000 [ 4.133718] x26: 0000000000000001 x25: 0000000000000000 x24: ffff80008251f030 [ 4.133733] x23: 0000000000000000 x22: ffff8000830e3894 x21: ffff8000830e37f4 [ 4.133748] x20: 0000000000000000 x19: 0000000000000004 x18: ffffffffffffffff [ 4.133762] x17: 6572202c295d3030 x16: 2d3030207375625b x15: ffff8000830e3680 [ 4.133777] x14: ffff000000e4da1c x13: ffff000000e4d290 x12: 00000000000e9134 [ 4.133791] x11: ffff000004ebd018 x10: 0000000000000000 x9 : 0000000000000595 [ 4.133806] x8 : 000000003d4d554e x7 : ffff000004eb0380 x6 : ffff000004ebd000 [ 4.133821] x5 : ffff000004ebd800 x4 : ffff800089000000 x3 : 0000000000c00008 [ 4.133835] x2 : 000000000080000a x1 : ffff800089c00008 x0 : ffff800089c0000c [ 4.133851] Kernel panic - not syncing: Asynchronous SError Interrupt [ 4.133857] CPU: 4 UID: 0 PID: 63 Comm: kworker/u26:3 Not tainted 6.12.38-current-rockchip64 #1 [ 4.133869] Hardware name: Radxa ROCK Pi 4A (DT) [ 4.133874] Workqueue: events_unbound deferred_probe_work_func [ 4.133889] Call trace: [ 4.133894] dump_backtrace+0x94/0x114 [ 4.133906] show_stack+0x18/0x24 [ 4.133915] dump_stack_lvl+0x34/0x8c [ 4.133929] dump_stack+0x18/0x24 [ 4.133941] panic+0x39c/0x3fc [ 4.133955] nmi_panic+0x40/0x8c [ 4.133966] arm64_serror_panic+0x64/0x70 [ 4.133977] do_serror+0x3c/0x70 [ 4.133987] el1h_64_error_handler+0x30/0x48 [ 4.134002] el1h_64_error+0x64/0x68 [ 4.134011] rockchip_pcie_rd_conf+0x17c/0x200 [ 4.134020] pci_bus_read_config_dword+0x80/0xe4 [ 4.134033] pci_bus_generic_read_dev_vendor_id+0x30/0x190 [ 4.134048] pci_scan_single_device+0xac/0x110 [ 4.134061] pci_scan_slot+0x6c/0x204 [ 4.134073] pci_scan_child_bus_extend+0x44/0x2cc [ 4.134087] pci_scan_bridge_extend+0x2bc/0x5f8 [ 4.134100] pci_scan_child_bus_extend+0x1b8/0x2cc [ 4.134113] pci_scan_root_bus_bridge+0x64/0xd8 [ 4.134128] pci_host_probe+0x30/0xe0 [ 4.134142] rockchip_pcie_probe+0x438/0x5f4 [ 4.134151] platform_probe+0x68/0xc8 [ 4.134160] really_probe+0xc0/0x390 [ 4.134174] __driver_probe_device+0x7c/0x15c [ 4.134187] driver_probe_device+0x3c/0x10c [ 4.134200] __device_attach_driver+0xbc/0x158 [ 4.134214] bus_for_each_drv+0x88/0xe8 [ 4.134226] __device_attach+0xa0/0x1b4 [ 4.134239] device_initial_probe+0x14/0x20 [ 4.134253] bus_probe_device+0xac/0xb0 [ 4.134266] deferred_probe_work_func+0x9c/0xec [ 4.134279] process_one_work+0x16c/0x3e4 [ 4.134289] worker_thread+0x2d0/0x3d8 [ 4.134298] kthread+0x10c/0x110 [ 4.134312] ret_from_fork+0x10/0x20 [ 4.134326] SMP: stopping secondary CPUs [ 4.134490] Kernel Offset: disabled [ 4.134493] CPU features: 0x08,00002083,c0200000,4200421b [ 4.134501] Memory Limit: none [ 4.161152] ---[ end Kernel panic - not syncing: Asynchronous SError Interrupt ]---
-
Description Fix Type-C DP altmode on some rk3399 boards. Currently only on rockchip64-6.15. The old implementation is tricky, and only works in normal orientation. If the plug is flipped, there will be only USB2.0 connectivity. With the proposed changes, the type-c ports on related rk3399 boards should work in both orientations. A few patches from Megous are picked(some of them already present in sunxi64 kernel patches). The tricky part is how to notify rk3399 cdn-dp driver about DP HPD(hot plug detection), and a workaround is written. A caveat is that the c port has to be OTG mode, otherwise it will behave very similar to the old implementation if DP is enabled. I'm not sure if orange pi 4 / 4 LTS support this, so there's no change to their dts yet. Apart from the work above, the missing fan node is added to tinkerboard 2's dts. list of changes fix type-c dp altmode Megous' glue driver and related improvements are imported this involves enabling the driver in defconfig CONFIG_TYPEC_EXTCON=m a workaround for notifying DP HPD to cdn-dp is written(not merged anywhere) related device tree files/patches are updated accordingly(what about orangepi 4?) add missing fan node in tinkerboard 2's dts along with some minor tweaks How Has This Been Tested? [x] build tinkerboard-2 with edge kernel [x] test on tinkerboard 2s with a hub [x] hub alone works in both orientations [x] hub with display connected works in both orientations [x] when hub is connected, display hot plug/unplug works [x] USB 3.0 type-c drive works in both orientations [ ] test with a DP-only dongle [ ] test on pinebook pro [ ] test on nanopc-t4 [ ] maybe test on orangepi 4 (need dts change) [ ] maybe test on orangepi 4 LTS (need dts change) Checklist: [x] My code follows the style guidelines of this project [x] I have performed a self-review of my own code [x] I have commented my code, particularly in hard-to-understand areas [x] My changes generate no new warnings [ ] Any dependent changes have been merged and published in downstream modules View the full article
-
Hi, I have a few sbcs live while most are laying on the shelf waiting for tests. I have a PiHole on an Orangepi One Plus. On a ROC RK3399 PC PLUS I have paperless-ngx running in Docker. On an OPi5 Plus I have Invidious, yourspotify and something else I frequently forget about. Most likely something from similar importance
-
Here is the debug boot log : [ 0.000000] Booting Linux on physical CPU 0xf00 [ 0.000000] Linux version 6.12.37-current-rockchip (build@armbian) (arm-linux-gnueabihf-gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #1 SMP Thu Jul 10 14:05:15 UTC 2025 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Generic RK322x Tv Box board [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] cma: Reserved 16 MiB at 0xbf000000 on node -1 [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000060000000-0x000000009fffffff] [ 0.000000] HighMem [mem 0x00000000a0000000-0x00000000bfffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000060000000-0x00000000683fffff] [ 0.000000] node 0: [mem 0x0000000069200000-0x00000000bfffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000060000000-0x00000000bfffffff] [ 0.000000] On node 0, zone Normal: 1536 pages in unavailable ranges [ 0.000000] OF: reserved mem: Reserved memory: No reserved-memory node in the DT [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv65535.65535 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] percpu: Embedded 15 pages/cpu s29068 r8192 d24180 u61440 [ 0.000000] pcpu-alloc: s29068 r8192 d24180 u61440 alloc=15*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Kernel command line: earlyprintk root=UUID=87d2bf72-4b91-4d33-8f77-284fa91fc3a7 console=ttyS2,115200n8 console=tty1 rootwait rootfstype=ext4 splash=verbose consoleblank=0 loglevel=1 ubootpart=569f1cc4-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u drm_kms_helper.edid_firmware=HDMI-A-1:edid/1920x1080.bin video=HDMI-A-1:1920x1080@60 drm.debug=0x4 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory [ 0.000000] Unknown kernel command line parameters "earlyprintk splash=verbose ubootpart=569f1cc4-01 cgroup_enable=memory cgroup_memory=1", will be passed to user space. [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 389632 [ 0.000000] allocated 1572864 bytes of page_ext [ 0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000002] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000021] Switching to timer-based delay loop, resolution 41ns [ 0.001537] Console: colour dummy device 80x30 [ 0.001574] printk: legacy console [tty1] enabled [ 0.001762] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [ 0.001796] CPU: Testing write buffer coherency: ok [ 0.001884] pid_max: default: 32768 minimum: 301 [ 0.002012] LSM: initializing lsm=capability,yama [ 0.002094] Yama: becoming mindful. [ 0.002310] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.002344] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.004354] /cpus/cpu@f00 missing clock-frequency property [ 0.004428] /cpus/cpu@f01 missing clock-frequency property [ 0.004463] /cpus/cpu@f02 missing clock-frequency property [ 0.004497] /cpus/cpu@f03 missing clock-frequency property [ 0.004521] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00 [ 0.007200] Setting up static identity map for 0x60100000 - 0x60100060 [ 0.007577] rcu: Hierarchical SRCU implementation. [ 0.007598] rcu: Max phase no-delay instances is 1000. [ 0.008328] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level [ 0.009570] smp: Bringing up secondary CPUs ... [ 0.011116] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01 [ 0.013024] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02 [ 0.014710] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03 [ 0.014982] smp: Brought up 1 node, 4 CPUs [ 0.015018] SMP: Total of 4 processors activated (192.00 BogoMIPS). [ 0.015035] CPU: All CPU(s) started in SVC mode. [ 0.016494] Memory: 1486080K/1558528K available (16384K kernel code, 1300K rwdata, 9104K rodata, 1024K init, 458K bss, 53660K reserved, 16384K cma-reserved, 507904K highmem) [ 0.017485] devtmpfs: initialized [ 0.031052] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.031485] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.031534] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.033000] pinctrl core: initialized pinctrl subsystem [ 0.035570] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.038008] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.038970] audit: initializing netlink subsys (disabled) [ 0.039543] audit: type=2000 audit(0.036:1): state=initialized audit_enabled=0 res=1 [ 0.040877] thermal_sys: Registered thermal governor 'step_wise' [ 0.041077] cpuidle: using governor ladder [ 0.041190] cpuidle: using governor menu [ 0.041683] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.041713] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.045970] /i2s1@100b0000: Fixed dependency cycle(s) with /codec@12010000 [ 0.046140] /codec@12010000: Fixed dependency cycle(s) with /i2s1@100b0000 [ 0.058852] /vop@20050000: Fixed dependency cycle(s) with /hdmi@200a0000 [ 0.059013] /i2s0@100c0000: Fixed dependency cycle(s) with /hdmi@200a0000 [ 0.059132] /hdmi@200a0000: Fixed dependency cycle(s) with /i2s0@100c0000 [ 0.059245] /hdmi@200a0000: Fixed dependency cycle(s) with /vop@20050000 [ 0.072919] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.073819] rockchip-gpio 11110000.gpio: probed /pinctrl/gpio@11110000 [ 0.074717] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.075377] rockchip-gpio 11120000.gpio: probed /pinctrl/gpio@11120000 [ 0.075968] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.076561] rockchip-gpio 11130000.gpio: probed /pinctrl/gpio@11130000 [ 0.077258] gpio gpiochip3: Static allocation of GPIO base is deprecated, use dynamic allocation. [ 0.077875] rockchip-gpio 11140000.gpio: probed /pinctrl/gpio@11140000 [ 0.085807] /spdif@100d0000: Fixed dependency cycle(s) with /spdif-out [ 0.085959] /spdif-out: Fixed dependency cycle(s) with /spdif@100d0000 [ 0.086699] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible. [ 0.157193] raid6: neonx8 gen() 509 MB/s [ 0.225373] raid6: neonx4 gen() 732 MB/s [ 0.293582] raid6: neonx2 gen() 735 MB/s [ 0.361776] raid6: neonx1 gen() 602 MB/s [ 0.429982] raid6: int32x8 gen() 191 MB/s [ 0.498182] raid6: int32x4 gen() 199 MB/s [ 0.566457] raid6: int32x2 gen() 241 MB/s [ 0.634668] raid6: int32x1 gen() 250 MB/s [ 0.634686] raid6: using algorithm neonx2 gen() 735 MB/s [ 0.702770] raid6: .... xor() 546 MB/s, rmw enabled [ 0.702788] raid6: using neon recovery algorithm [ 0.704572] iommu: Default domain type: Translated [ 0.704629] iommu: DMA domain TLB invalidation policy: strict mode [ 0.709665] SCSI subsystem initialized [ 0.710037] usbcore: registered new interface driver usbfs [ 0.710113] usbcore: registered new interface driver hub [ 0.710210] usbcore: registered new device driver usb [ 0.710442] mc: Linux media interface: v0.10 [ 0.710536] videodev: Linux video capture interface: v2.00 [ 0.710720] pps_core: LinuxPPS API ver. 1 registered [ 0.710735] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.710768] PTP clock support registered [ 0.713955] Bluetooth: Core ver 2.22 [ 0.714071] NET: Registered PF_BLUETOOTH protocol family [ 0.714088] Bluetooth: HCI device and connection manager initialized [ 0.714110] Bluetooth: HCI socket layer initialized [ 0.714126] Bluetooth: L2CAP socket layer initialized [ 0.714170] Bluetooth: SCO socket layer initialized [ 0.714376] NetLabel: Initializing [ 0.714389] NetLabel: domain hash size = 128 [ 0.714401] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.714541] NetLabel: unlabeled traffic allowed by default [ 0.716025] clocksource: Switched to clocksource arch_sys_counter [ 0.716561] VFS: Disk quotas dquot_6.6.0 [ 0.716627] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.734747] NET: Registered PF_INET protocol family [ 0.735150] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.829855] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear) [ 0.829940] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.830302] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.830426] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear) [ 0.830797] TCP: Hash tables configured (established 8192 bind 8192) [ 0.831023] UDP hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.831127] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) [ 0.831578] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.834711] Trying to unpack rootfs image as initramfs... [ 0.836190] Initialise system trusted keyrings [ 0.836798] workingset: timestamp_bits=14 max_order=19 bucket_order=5 [ 0.836919] zbud: loaded [ 0.838518] SGI XFS with ACLs, security attributes, realtime, scrub, quota, fatal assert, debug enabled [ 1.130118] xor: measuring software checksum speed [ 1.134399] arm4regs : 774 MB/sec [ 1.139665] 8regs : 630 MB/sec [ 1.144950] 32regs : 626 MB/sec [ 1.148071] neon : 1067 MB/sec [ 1.148109] xor: using function: neon (1067 MB/sec) [ 1.148140] async_tx: api initialized (async) [ 1.148163] Key type asymmetric registered [ 1.148180] Asymmetric key parser 'x509' registered [ 1.148436] bounce: pool size: 64 pages [ 1.148613] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 242) [ 1.149266] io scheduler mq-deadline registered [ 1.149302] io scheduler kyber registered [ 1.149377] io scheduler bfq registered [ 1.556569] Freeing initrd memory: 8756K [ 1.560194] ledtrig-cpu: registered to indicate activity on CPUs [ 1.566071] dma-pl330 110f0000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 1.566123] dma-pl330 110f0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16 [ 1.571349] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled [ 1.578535] printk: legacy console [ttyS2] disabled [ 1.579334] 11030000.serial: ttyS2 at MMIO 0x11030000 (irq = 38, base_baud = 1500000) is a 16550A [ 1.580263] printk: legacy console [ttyS2] enabled [ 1.587196] rockchip-vop 20050000.vop: Adding to iommu group 0 [ 1.591157] usbcore: registered new interface driver udl [ 1.592989] brd: module loaded [ 1.604785] loop: module loaded [ 1.608234] tun: Universal TUN/TAP device driver, 1.6 [ 1.608732] CAN device driver interface [ 1.610064] rk_gmac-dwmac 30200000.ethernet: IRQ eth_wake_irq not found [ 1.610098] rk_gmac-dwmac 30200000.ethernet: IRQ eth_lpi not found [ 1.610117] rk_gmac-dwmac 30200000.ethernet: IRQ sfty not found [ 1.610322] rk_gmac-dwmac 30200000.ethernet: PTP uses main clock [ 1.610662] rk_gmac-dwmac 30200000.ethernet: clock input or output? (output). [ 1.610693] rk_gmac-dwmac 30200000.ethernet: TX delay(0x26). [ 1.610712] rk_gmac-dwmac 30200000.ethernet: RX delay(0x11). [ 1.610754] rk_gmac-dwmac 30200000.ethernet: integrated PHY? (yes). [ 1.616088] rk_gmac-dwmac 30200000.ethernet: init for RMII [ 1.652669] rk_gmac-dwmac 30200000.ethernet: User ID: 0x10, Synopsys ID: 0x35 [ 1.652727] rk_gmac-dwmac 30200000.ethernet: DWMAC1000 [ 1.652749] rk_gmac-dwmac 30200000.ethernet: DMA HW capability register supported [ 1.652765] rk_gmac-dwmac 30200000.ethernet: RX Checksum Offload Engine supported [ 1.652779] rk_gmac-dwmac 30200000.ethernet: COE Type 2 [ 1.652797] rk_gmac-dwmac 30200000.ethernet: TX Checksum insertion supported [ 1.652811] rk_gmac-dwmac 30200000.ethernet: Wake-Up On Lan supported [ 1.652957] rk_gmac-dwmac 30200000.ethernet: Normal descriptors [ 1.652977] rk_gmac-dwmac 30200000.ethernet: Ring mode enabled [ 1.652992] rk_gmac-dwmac 30200000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 1.677755] usbcore: registered new interface driver rt2500usb [ 1.677890] usbcore: registered new interface driver rt73usb [ 1.677980] usbcore: registered new interface driver rt2800usb [ 1.678061] usbcore: registered new interface driver cdc_ether [ 1.678157] usbcore: registered new interface driver rndis_host [ 1.679282] dwc2 30040000.usb: supply vusb_d not found, using dummy regulator [ 1.679532] dwc2 30040000.usb: supply vusb_a not found, using dummy regulator [ 1.701461] dwc2 30040000.usb: DWC OTG Controller [ 1.701556] dwc2 30040000.usb: new USB bus registered, assigned bus number 1 [ 1.701629] dwc2 30040000.usb: irq 44, io mem 0x30040000 [ 1.702067] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12 [ 1.702097] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.702116] usb usb1: Product: DWC OTG Controller [ 1.702132] usb usb1: Manufacturer: Linux 6.12.37-current-rockchip dwc2_hsotg [ 1.702148] usb usb1: SerialNumber: 30040000.usb [ 1.703363] hub 1-0:1.0: USB hub found [ 1.703469] hub 1-0:1.0: 1 port detected [ 1.708644] usbcore: registered new interface driver usb-storage [ 1.710262] ehci-platform 300c0000.usb: EHCI Host Controller [ 1.710335] ehci-platform 30080000.usb: EHCI Host Controller [ 1.711082] usbcore: registered new interface driver iforce [ 1.711316] usbcore: registered new interface driver xpad [ 1.711316] ohci-platform 300e0000.usb: Generic Platform OHCI controller [ 1.711630] usbcore: registered new interface driver usbtouchscreen [ 1.711681] ehci-platform 30080000.usb: new USB bus registered, assigned bus number 3 [ 1.711681] ehci-platform 300c0000.usb: new USB bus registered, assigned bus number 2 [ 1.711837] ohci-platform 300a0000.usb: Generic Platform OHCI controller [ 1.711881] ehci-platform 30100000.usb: EHCI Host Controller [ 1.712537] ohci-platform 300e0000.usb: new USB bus registered, assigned bus number 4 [ 1.712588] ohci-platform 300a0000.usb: new USB bus registered, assigned bus number 5 [ 1.712690] ehci-platform 30100000.usb: new USB bus registered, assigned bus number 6 [ 1.712742] ohci-platform 30120000.usb: Generic Platform OHCI controller [ 1.713205] i2c_dev: i2c /dev entries driver [ 1.713410] ohci-platform 30120000.usb: new USB bus registered, assigned bus number 7 [ 1.714175] ohci-platform 300e0000.usb: irq 49, io mem 0x300e0000 [ 1.715620] ohci-platform 300a0000.usb: irq 48, io mem 0x300a0000 [ 1.716792] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@lists.linux.dev [ 1.718127] Bluetooth: HCI UART driver ver 2.3 [ 1.718169] Bluetooth: HCI UART protocol H4 registered [ 1.718184] Bluetooth: HCI UART protocol ATH3K registered [ 1.718278] Bluetooth: HCI UART protocol Three-wire (H5) registered [ 1.718470] ehci-platform 30080000.usb: irq 45, io mem 0x30080000 [ 1.718510] Bluetooth: HCI UART protocol Broadcom registered [ 1.718658] usbcore: registered new interface driver bfusb [ 1.718814] usbcore: registered new interface driver btusb [ 1.719120] ohci-platform 30120000.usb: irq 50, io mem 0x30120000 [ 1.719646] ehci-platform 30100000.usb: irq 47, io mem 0x30100000 [ 1.720683] sdhci: Secure Digital Host Controller Interface driver [ 1.720714] sdhci: Copyright(c) Pierre Ossman [ 1.720726] Synopsys Designware Multimedia Card Interface Driver [ 1.720909] ehci-platform 300c0000.usb: irq 46, io mem 0x300c0000 [ 1.721454] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.721622] hid: raw HID events driver (C) Jiri Kosina [ 1.722359] usbcore: registered new interface driver usbhid [ 1.722398] usbhid: USB HID core driver [ 1.722956] dwmmc_rockchip 30000000.mmc: IDMAC supports 32-bit address mode. [ 1.723087] rockchip-dfi 11210000.dfi: dfi initialized, dram type: 0x6, channels: 1 [ 1.723936] dwmmc_rockchip 30000000.mmc: Using internal DMA controller. [ 1.724089] dwmmc_rockchip 30000000.mmc: Version ID is 270a [ 1.724219] dwmmc_rockchip 30000000.mmc: DW MMC controller at irq 51,32 bit host data width,256 deep fifo [ 1.724661] dwmmc_rockchip 30000000.mmc: Got CD GPIO [ 1.724701] dwmmc_rockchip 30010000.mmc: IDMAC supports 32-bit address mode. [ 1.724992] dwmmc_rockchip 30020000.mmc: IDMAC supports 32-bit address mode. [ 1.726553] dwmmc_rockchip 30010000.mmc: Using internal DMA controller. [ 1.726607] dwmmc_rockchip 30010000.mmc: Version ID is 270a [ 1.726720] dwmmc_rockchip 30010000.mmc: DW MMC controller at irq 52,32 bit host data width,256 deep fifo [ 1.727046] dwmmc_rockchip 30010000.mmc: allocated mmc-pwrseq [ 1.727051] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 (8000000f) counters available [ 1.727081] mmc_host mmc1: card is non-removable. [ 1.727587] dwmmc_rockchip 30020000.mmc: Using internal DMA controller. [ 1.727630] dwmmc_rockchip 30020000.mmc: Version ID is 270a [ 1.727724] dwmmc_rockchip 30020000.mmc: DW MMC controller at irq 53,32 bit host data width,256 deep fifo [ 1.728187] mmc_host mmc2: card is non-removable. [ 1.728216] ehci-platform 30080000.usb: USB 2.0 started, EHCI 1.00 [ 1.728726] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12 [ 1.728770] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.728791] usb usb3: Product: EHCI Host Controller [ 1.728807] usb usb3: Manufacturer: Linux 6.12.37-current-rockchip ehci_hcd [ 1.728824] usb usb3: SerialNumber: 30080000.usb [ 1.730118] hub 3-0:1.0: USB hub found [ 1.730501] hub 3-0:1.0: 1 port detected [ 1.731351] NET: Registered PF_INET6 protocol family [ 1.734443] Segment Routing with IPv6 [ 1.734583] In-situ OAM (IOAM) with IPv6 [ 1.734814] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 1.736185] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 1.737121] NET: Registered PF_PACKET protocol family [ 1.737197] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 1.737217] can: controller area network core [ 1.737290] NET: Registered PF_CAN protocol family [ 1.737718] Bluetooth: RFCOMM TTY layer initialized [ 1.737775] Bluetooth: RFCOMM socket layer initialized [ 1.737832] Bluetooth: RFCOMM ver 1.11 [ 1.737864] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 1.737886] Bluetooth: HIDP socket layer initialized [ 1.738362] Key type dns_resolver registered [ 1.738760] ThumbEE CPU extension supported. [ 1.738797] Registering SWP/SWPB emulation handler [ 1.740111] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 1.740157] ehci-platform 30100000.usb: USB 2.0 started, EHCI 1.00 [ 1.740288] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 1.740633] usb usb6: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12 [ 1.740667] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.740688] usb usb6: Product: EHCI Host Controller [ 1.740705] usb usb6: Manufacturer: Linux 6.12.37-current-rockchip ehci_hcd [ 1.740721] usb usb6: SerialNumber: 30100000.usb [ 1.742226] hub 6-0:1.0: USB hub found [ 1.742341] hub 6-0:1.0: 1 port detected [ 1.752147] ehci-platform 300c0000.usb: USB 2.0 started, EHCI 1.00 [ 1.752947] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12 [ 1.752993] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.753014] usb usb2: Product: EHCI Host Controller [ 1.753030] usb usb2: Manufacturer: Linux 6.12.37-current-rockchip ehci_hcd [ 1.753047] usb usb2: SerialNumber: 300c0000.usb [ 1.754834] hub 2-0:1.0: USB hub found [ 1.754958] hub 2-0:1.0: 1 port detected [ 1.759358] registered taskstats version 1 [ 1.759781] Loading compiled-in X.509 certificates [ 1.772947] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12 [ 1.773012] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.773037] usb usb4: Product: Generic Platform OHCI controller [ 1.773056] usb usb4: Manufacturer: Linux 6.12.37-current-rockchip ohci_hcd [ 1.773073] usb usb4: SerialNumber: 300e0000.usb [ 1.773199] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0) [ 1.775696] hub 4-0:1.0: USB hub found [ 1.775777] mmc1: new high speed SDIO card at address 0001 [ 1.776303] hub 4-0:1.0: 1 port detected [ 1.778355] zswap: loaded using pool zstd/zbud [ 1.779650] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12 [ 1.779706] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.779726] usb usb5: Product: Generic Platform OHCI controller [ 1.779743] usb usb5: Manufacturer: Linux 6.12.37-current-rockchip ohci_hcd [ 1.779761] usb usb5: SerialNumber: 300a0000.usb [ 1.780820] Key type .fscrypt registered [ 1.780861] Key type fscrypt-provisioning registered [ 1.781113] hub 5-0:1.0: USB hub found [ 1.781252] hub 5-0:1.0: 1 port detected [ 1.782665] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12 [ 1.782715] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.782735] usb usb7: Product: Generic Platform OHCI controller [ 1.782752] usb usb7: Manufacturer: Linux 6.12.37-current-rockchip ohci_hcd [ 1.782769] usb usb7: SerialNumber: 30120000.usb [ 1.783091] Btrfs loaded, zoned=no, fsverity=no [ 1.783970] hub 7-0:1.0: USB hub found [ 1.784189] hub 7-0:1.0: 1 port detected [ 1.848557] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0) [ 1.849018] mmc2: new high speed MMC card at address 0001 [ 1.850668] mmcblk2: mmc2:0001 QN16MB 7.28 GiB [ 1.854231] mmcblk2: p1 [ 1.855672] mmcblk2boot0: mmc2:0001 QN16MB 4.00 MiB [ 1.859480] mmcblk2boot1: mmc2:0001 QN16MB 4.00 MiB [ 1.862788] mmcblk2rpmb: mmc2:0001 QN16MB 512 KiB, chardev (239:0) [ 1.976094] Key type encrypted registered [ 1.988215] usb 1-1: new full-speed USB device number 2 using dwc2 [ 1.995738] inno-hdmi-phy 12030000.hdmi-phy: error -ENXIO: IRQ index 0 not found [ 1.996292] inno-hdmi-phy 12030000.hdmi-phy: phy_flag is: 0 [ 1.999254] rockchip-drm display-subsystem: bound 20050000.vop (ops 0xb1189588) [ 1.999438] dwhdmi-rockchip 200a0000.hdmi: supply avdd-0v9 not found, using dummy regulator [ 1.999758] dwhdmi-rockchip 200a0000.hdmi: supply avdd-1v8 not found, using dummy regulator [ 2.000383] dwhdmi-rockchip 200a0000.hdmi: Detected HDMI TX controller v2.01a with HDCP (inno_dw_hdmi_phy2) [ 2.001885] dwhdmi-rockchip 200a0000.hdmi: registered DesignWare HDMI I2C bus driver [ 2.002350] [drm:__drm_connector_init] cmdline mode for connector HDMI-A-1 1920x1080@60Hz [ 2.002454] rockchip-drm display-subsystem: bound 200a0000.hdmi (ops 0xb118d904) [ 2.003642] rockchip-drm display-subsystem: [drm:drm_sysfs_connector_add] [CONNECTOR:47:HDMI-A-1] adding connector to sysfs [ 2.003976] rockchip-drm display-subsystem: [drm:drm_sysfs_connector_hotplug_event] [CONNECTOR:47:HDMI-A-1] generating connector hotplug event [ 2.004124] [drm] Initialized rockchip 1.0.0 for display-subsystem on minor 0 [ 2.004171] rockchip-drm display-subsystem: [drm:drm_client_modeset_probe] [ 2.004230] rockchip-drm display-subsystem: [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:47:HDMI-A-1] [ 2.004283] rockchip-drm display-subsystem: [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:47:HDMI-A-1] status updated from unknown to connected [ 2.004378] rockchip-drm display-subsystem: [drm:drm_sysfs_hotplug_event] generating hotplug event [ 2.184813] usb 1-1: New USB device found, idVendor=045e, idProduct=0745, bcdDevice= 6.76 [ 2.184878] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.184899] usb 1-1: Product: Microsoft® 2.4GHz Transceiver v8.0 [ 2.184915] usb 1-1: Manufacturer: Microsoft [ 2.194119] input: Microsoft Microsoft® 2.4GHz Transceiver v8.0 as /devices/platform/30040000.usb/usb1/1-1/1-1:1.0/0003:045E:0745.0001/input/input0 [ 2.224332] EDID block 0 (tag 0x00) checksum is invalid, remainder is 198 [ 2.224372] rockchip-drm display-subsystem: [drm:connector_bad_edid] [CONNECTOR:47:HDMI-A-1] EDID is invalid: [ 2.224424] [00] BAD 00 ff ff ff ff ff ff 00 04 69 fd 22 01 37 02 00 [ 2.224438] [00] BAD 2b 15 01 03 80 30 1b 78 2a 2a c5 a4 56 4f 9e 28 [ 2.224451] [00] BAD 00 50 54 b7 ef 00 d1 c0 81 40 81 80 95 00 b3 00 [ 2.224463] [00] BAD 71 4f 81 c0 81 00 02 3a 80 18 71 38 2d 40 58 2c [ 2.224476] [00] BAD 45 00 dc 0c 11 00 00 1e 00 00 00 ff 00 42 41 4c [ 2.224488] [00] BAD 4d 54 46 31 34 35 31 35 33 0a 00 00 00 fd 00 32 [ 2.224501] [00] BAD 4b 18 53 11 00 0a 20 20 20 20 20 20 00 00 00 fc [ 2.224513] [00] BAD 00 41 53 55 53 20 56 53 32 32 38 0a 20 20 01 b7 [ 2.225478] rockchip-drm display-subsystem: [drm:drm_mode_prune_invalid] Rejected mode: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x40 0xa (BAD) [ 2.225529] rockchip-drm display-subsystem: [drm:drm_mode_prune_invalid] Rejected mode: "848x480": 60 33750 848 864 976 1088 480 486 494 517 0x40 0x5 (BAD) [ 2.225568] rockchip-drm display-subsystem: [drm] User-defined mode not supported: "1920x1080": 60 172780 1920 2040 2248 2576 1080 1081 1084 1118 0x20 0x6 [ 2.225598] rockchip-drm display-subsystem: [drm:drm_mode_prune_invalid] Rejected mode: "1920x1080": 60 172780 1920 2040 2248 2576 1080 1081 1084 1118 0x20 0x6 (BAD) [ 2.225642] rockchip-drm display-subsystem: [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:47:HDMI-A-1] probed modes: [ 2.225678] rockchip-drm display-subsystem: [drm:drm_helper_probe_single_connector_modes] Probed mode: "1024x768": 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa [ 2.225721] rockchip-drm display-subsystem: [drm:drm_helper_probe_single_connector_modes] Probed mode: "800x600": 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5 [ 2.225763] rockchip-drm display-subsystem: [drm:drm_helper_probe_single_connector_modes] Probed mode: "800x600": 56 36000 800 824 896 1024 600 601 603 625 0x40 0x5 [ 2.225805] rockchip-drm display-subsystem: [drm:drm_client_modeset_probe] [CONNECTOR:47:HDMI-A-1] enabled? yes [ 2.225849] rockchip-drm display-subsystem: [drm:drm_client_modeset_probe] Not using firmware configuration [ 2.225881] rockchip-drm display-subsystem: [drm:drm_client_modeset_probe] [CONNECTOR:47:HDMI-A-1] looking for cmdline mode [ 2.225911] rockchip-drm display-subsystem: [drm:drm_client_modeset_probe] [CONNECTOR:47:HDMI-A-1] looking for preferred mode, tile 0 [ 2.225941] rockchip-drm display-subsystem: [drm:drm_client_modeset_probe] [CONNECTOR:47:HDMI-A-1] Found mode 1024x768 [ 2.225969] rockchip-drm display-subsystem: [drm:drm_client_modeset_probe] picking CRTCs for 4096x4096 config [ 2.226002] rockchip-drm display-subsystem: [drm:drm_client_modeset_probe] [CRTC:45:crtc-0] desired mode 1024x768 set (0,0) [ 2.226043] rockchip-drm display-subsystem: [drm:__drm_fb_helper_initial_config_and_unlock] test CRTC 0 primary plane [ 2.226088] rockchip-drm display-subsystem: [drm:drm_fbdev_dma_driver_fbdev_probe] surface width(1024), height(768) and bpp(32) [ 2.236082] rockchip-drm display-subsystem: [drm:drm_mode_addfb2] [FB:50] [ 2.242643] Console: switching to colour frame buffer device 128x48 [ 2.249949] hid-generic 0003:045E:0745.0001: input,hidraw0: USB HID v1.11 Keyboard [Microsoft Microsoft® 2.4GHz Transceiver v8.0] on usb-30040000.usb-1/input0 [ 2.266243] input: Microsoft Microsoft® 2.4GHz Transceiver v8.0 Mouse as /devices/platform/30040000.usb/usb1/1-1/1-1:1.1/0003:045E:0745.0002/input/input1 [ 2.267284] input: Microsoft Microsoft® 2.4GHz Transceiver v8.0 Consumer Control as /devices/platform/30040000.usb/usb1/1-1/1-1:1.1/0003:045E:0745.0002/input/input2 [ 2.271583] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device [ 2.272078] rockchip-drm display-subsystem: [drm:drm_fb_helper_hotplug_event] [ 2.272203] rockchip-drm display-subsystem: [drm:drm_client_modeset_probe] [ 2.272257] rockchip-drm display-subsystem: [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:47:HDMI-A-1] [ 2.272638] of_cfs_init [ 2.272752] of_cfs_init: OK [ 2.321368] hid-generic 0003:045E:0745.0002: input,hidraw1: USB HID v1.11 Mouse [Microsoft Microsoft® 2.4GHz Transceiver v8.0] on usb-30040000.usb-1/input1 [ 2.337205] input: Microsoft Microsoft® 2.4GHz Transceiver v8.0 Consumer Control as /devices/platform/30040000.usb/usb1/1-1/1-1:1.2/0003:045E:0745.0003/input/input3 [ 2.393210] input: Microsoft Microsoft® 2.4GHz Transceiver v8.0 System Control as /devices/platform/30040000.usb/usb1/1-1/1-1:1.2/0003:045E:0745.0003/input/input5 [ 2.394900] hid-generic 0003:045E:0745.0003: input,hiddev96,hidraw2: USB HID v1.11 Device [Microsoft Microsoft® 2.4GHz Transceiver v8.0] on usb-30040000.usb-1/input2 [ 2.490255] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 2.513688] EDID block 0 (tag 0x00) checksum is invalid, remainder is 198 [ 2.513765] rockchip-drm display-subsystem: [drm:connector_bad_edid] [CONNECTOR:47:HDMI-A-1] EDID is invalid: [ 2.513828] [00] BAD 00 ff ff ff ff ff ff 00 04 69 fd 22 01 37 02 00 [ 2.513847] [00] BAD 2b 15 01 03 80 30 1b 78 2a 2a c5 a4 56 4f 9e 28 [ 2.513860] [00] BAD 00 50 54 b7 ef 00 d1 c0 81 40 81 80 95 00 b3 00 [ 2.513876] [00] BAD 71 4f 81 c0 81 00 02 3a 80 18 71 38 2d 40 58 2c [ 2.513888] [00] BAD 45 00 dc 0c 11 00 00 1e 00 00 00 ff 00 42 41 4c [ 2.513901] [00] BAD 4d 54 46 31 34 35 31 35 33 0a 00 00 00 fd 00 32 [ 2.513916] [00] BAD 4b 18 53 11 00 0a 20 20 20 20 20 20 00 00 00 fc [ 2.513940] [00] BAD 00 41 53 55 53 20 56 53 32 32 38 0a 20 20 01 b7 [ 2.514854] rockchip-drm display-subsystem: [drm:drm_mode_prune_invalid] Rejected mode: "640x480": 60 25175 640 656 752 800 480 490 492 525 0x40 0xa (BAD) [ 2.514958] rockchip-drm display-subsystem: [drm:drm_mode_prune_invalid] Rejected mode: "848x480": 60 33750 848 864 976 1088 480 486 494 517 0x40 0x5 (BAD) [ 2.515047] rockchip-drm display-subsystem: [drm] User-defined mode not supported: "1920x1080": 60 172780 1920 2040 2248 2576 1080 1081 1084 1118 0x20 0x6 [ 2.515079] rockchip-drm display-subsystem: [drm:drm_mode_prune_invalid] Rejected mode: "1920x1080": 60 172780 1920 2040 2248 2576 1080 1081 1084 1118 0x20 0x6 (VIRTUAL_X) [ 2.515130] rockchip-drm display-subsystem: [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:47:HDMI-A-1] probed modes: [ 2.515204] rockchip-drm display-subsystem: [drm:drm_helper_probe_single_connector_modes] Probed mode: "1024x768": 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa [ 2.515256] rockchip-drm display-subsystem: [drm:drm_helper_probe_single_connector_modes] Probed mode: "800x600": 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5 [ 2.515299] rockchip-drm display-subsystem: [drm:drm_helper_probe_single_connector_modes] Probed mode: "800x600": 56 36000 800 824 896 1024 600 601 603 625 0x40 0x5 [ 2.515344] rockchip-drm display-subsystem: [drm:drm_client_modeset_probe] [CONNECTOR:47:HDMI-A-1] enabled? yes [ 2.515395] rockchip-drm display-subsystem: [drm:drm_client_modeset_probe] Not using firmware configuration [ 2.515431] rockchip-drm display-subsystem: [drm:drm_client_modeset_probe] [CONNECTOR:47:HDMI-A-1] looking for cmdline mode [ 2.515483] rockchip-drm display-subsystem: [drm:drm_client_modeset_probe] [CONNECTOR:47:HDMI-A-1] looking for preferred mode, tile 0 [ 2.515516] rockchip-drm display-subsystem: [drm:drm_client_modeset_probe] [CONNECTOR:47:HDMI-A-1] Found mode 1024x768 [ 2.515546] rockchip-drm display-subsystem: [drm:drm_client_modeset_probe] picking CRTCs for 1024x768 config [ 2.515588] rockchip-drm display-subsystem: [drm:drm_client_modeset_probe] [CRTC:45:crtc-0] desired mode 1024x768 set (0,0) [ 2.526055] rockchip-drm display-subsystem: [drm:drm_client_dev_hotplug] fbdev: ret=0 [ 2.537979] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 2.540563] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' [ 2.540754] clk: Disabling unused clocks [ 2.540998] PM: genpd: Disabling unused power domains [ 2.544535] Freeing unused kernel image (initmem) memory: 1024K [ 2.545305] Run /init as init process [ 2.545335] with arguments: [ 2.545347] /init [ 2.545359] earlyprintk [ 2.545370] with environment: [ 2.545379] HOME=/ [ 2.545389] TERM=linux [ 2.545399] splash=verbose [ 2.545410] ubootpart=569f1cc4-01 [ 2.545421] cgroup_enable=memory [ 2.545431] cgroup_memory=1 [ 2.548179] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid [ 3.534285] rk_gmac-dwmac 30200000.ethernet end0: renamed from eth0 [ 4.200467] EXT4-fs (mmcblk2p1): mounted filesystem 87d2bf72-4b91-4d33-8f77-284fa91fc3a7 ro with writeback data mode. Quota mode: none. [ 4.742875] systemd[1]: System time before build time, advancing clock. [ 4.786705] systemd[1]: systemd 252.38-1~deb12u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified) [ 4.786850] systemd[1]: Detected architecture arm. [ 4.794711] systemd[1]: Hostname set to <rk322x-box>. [ 5.040997] dw-apb-uart 11030000.serial: forbid DMA for kernel console [ 6.235862] systemd[1]: Queued start job for default target graphical.target. [ 6.285959] systemd[1]: Created slice system-getty.slice - Slice /system/getty. [ 6.292737] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe. [ 6.298346] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty. [ 6.302571] systemd[1]: Created slice user.slice - User and Session Slice. [ 6.304498] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch. [ 6.306231] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch. [ 6.310274] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point. [ 6.311776] systemd[1]: Expecting device dev-ttyS2.device - /dev/ttyS2... [ 6.312895] systemd[1]: Expecting device sys-subsystem-net-devices-wlan1.device - /sys/subsystem/net/devices/wlan1... [ 6.314021] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes. [ 6.315299] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes. [ 6.317065] systemd[1]: Reached target paths.target - Path Units. [ 6.318279] systemd[1]: Reached target remote-fs.target - Remote File Systems. [ 6.319179] systemd[1]: Reached target slices.target - Slice Units. [ 6.320528] systemd[1]: Reached target swap.target - Swaps. [ 6.321812] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes. [ 6.324574] systemd[1]: Listening on syslog.socket - Syslog Socket. [ 6.327737] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket. [ 6.329864] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe. [ 6.333579] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket. [ 6.336332] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log). [ 6.339139] systemd[1]: Listening on systemd-journald.socket - Journal Socket. [ 6.342097] systemd[1]: Listening on systemd-networkd.socket - Network Service Netlink Socket. [ 6.345265] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket. [ 6.347577] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket. [ 6.350078] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages). [ 6.392957] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System... [ 6.405914] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System... [ 6.408791] systemd[1]: sys-kernel-tracing.mount - Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing). [ 6.426013] systemd[1]: Starting fake-hwclock.service - Restore / save the current clock... [ 6.445172] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout... [ 6.462477] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes... [ 6.482338] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs... [ 6.501344] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod... [ 6.541538] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm... [ 6.568875] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore... [ 6.597664] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse... [ 6.624402] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop... [ 6.633571] systemd[1]: netplan-ovs-cleanup.service - OpenVSwitch configuration for cleanup was skipped because of an unmet condition check (ConditionFileIsExecutable=/usr/bin/ovs-vsctl). [ 6.635856] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root). [ 6.658033] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules... [ 6.682483] systemd[1]: Starting systemd-network-generator.service - Generate network units from Kernel command line... [ 6.684562] fuse: init (API version 7.41) [ 6.707461] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems... [ 6.759355] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices... [ 6.819418] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System. [ 6.835177] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System. [ 6.852474] systemd[1]: Finished fake-hwclock.service - Restore / save the current clock. [ 6.868339] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes. [ 6.883963] systemd[1]: modprobe@configfs.service: Deactivated successfully. [ 6.886599] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs. [ 6.901591] systemd[1]: modprobe@dm_mod.service: Deactivated successfully. [ 6.903917] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod. [ 6.904733] EXT4-fs (mmcblk2p1): re-mounted 87d2bf72-4b91-4d33-8f77-284fa91fc3a7 r/w. [ 6.932289] systemd[1]: modprobe@drm.service: Deactivated successfully. [ 6.934824] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm. [ 6.950309] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully. [ 6.952740] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore. [ 6.967737] systemd[1]: modprobe@fuse.service: Deactivated successfully. [ 6.970509] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse. [ 6.985545] systemd[1]: modprobe@loop.service: Deactivated successfully. [ 6.987943] systemd[1]: Finished modprobe@loop.service - Load Kernel Module loop. [ 7.003440] systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules. [ 7.018229] systemd[1]: Finished systemd-network-generator.service - Generate network units from Kernel command line. [ 7.033299] systemd[1]: Finished systemd-remount-fs.service - Remount Root and Kernel File Systems. [ 7.048487] systemd[1]: Reached target network-pre.target - Preparation for Network. [ 7.150273] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System... [ 7.177375] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System... [ 7.186320] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore). [ 7.207503] systemd[1]: Starting systemd-random-seed.service - Load/Save Random Seed... [ 7.221472] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger condition checks were met. [ 7.236367] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables... [ 7.260573] systemd[1]: Starting systemd-sysusers.service - Create System Users... [ 7.330514] systemd[1]: Finished keyboard-setup.service - Set the console keyboard layout. [ 7.350029] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System. [ 7.362299] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System. [ 7.596443] systemd[1]: Finished systemd-sysctl.service - Apply Kernel Variables. [ 7.676481] systemd[1]: Finished systemd-sysusers.service - Create System Users. [ 7.729777] systemd[1]: Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev... [ 7.784179] systemd[1]: Finished systemd-udev-trigger.service - Coldplug All udev Devices. [ 7.854608] systemd[1]: Finished systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev. [ 7.865899] systemd[1]: Reached target local-fs-pre.target - Preparation for Local File Systems. [ 7.908963] systemd[1]: Mounting tmp.mount - /tmp... [ 7.935113] systemd[1]: Starting systemd-udevd.service - Rule-based Manager for Device Events and Files... [ 7.955696] systemd[1]: Mounted tmp.mount - /tmp. [ 7.966550] systemd[1]: Reached target local-fs.target - Local File Systems. [ 8.005809] systemd[1]: Starting armbian-zram-config.service - Armbian ZRAM config... [ 8.041138] systemd[1]: Starting console-setup.service - Set console font and keymap... [ 8.102165] systemd[1]: Starting systemd-binfmt.service - Set Up Additional Binary Formats... [ 8.137016] systemd[1]: Finished console-setup.service - Set console font and keymap. [ 8.206868] systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 272 (systemd-binfmt) [ 8.232197] random: crng init done [ 8.249009] systemd[1]: Mounting proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System... [ 8.273466] systemd[1]: Finished systemd-random-seed.service - Load/Save Random Seed. [ 8.285768] systemd[1]: first-boot-complete.target - First Boot Complete was skipped because of an unmet condition check (ConditionFirstBoot=yes). [ 8.286491] systemd[1]: systemd-machine-id-commit.service - Commit a transient machine-id on disk was skipped because of an unmet condition check (ConditionPathIsMountPoint=/etc/machine-id). [ 8.329852] systemd[1]: Mounted proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System. [ 8.371793] systemd[1]: Finished systemd-binfmt.service - Set Up Additional Binary Formats. [ 8.429868] systemd[1]: Started systemd-udevd.service - Rule-based Manager for Device Events and Files. [ 8.521900] systemd[1]: Starting systemd-networkd.service - Network Configuration... [ 8.569563] zram: Added device: zram0 [ 8.573033] zram: Added device: zram1 [ 8.576864] zram: Added device: zram2 [ 8.905905] systemd[1]: Found device dev-ttyS2.device - /dev/ttyS2. [ 9.128868] zram0: detected capacity change from 0 to 1514648 [ 9.246736] Adding 757320k swap on /dev/zram0. Priority:5 extents:1 across:757320k SS [ 9.463515] dw_wdt 110a0000.watchdog: No valid TOPs array specified [ 9.573447] rk3288-crypto 100a0000.cypto-controller: will run requests pump with realtime priority [ 9.573706] rk3288-crypto 100a0000.cypto-controller: Register ecb(aes) as ecb-aes-rk [ 9.573899] rk3288-crypto 100a0000.cypto-controller: Register cbc(aes) as cbc-aes-rk [ 9.573961] rk3288-crypto 100a0000.cypto-controller: Register ecb(des) as ecb-des-rk [ 9.573995] rk3288-crypto 100a0000.cypto-controller: Register cbc(des) as cbc-des-rk [ 9.574029] rk3288-crypto 100a0000.cypto-controller: Register ecb(des3_ede) as ecb-des3-ede-rk [ 9.574065] rk3288-crypto 100a0000.cypto-controller: Register cbc(des3_ede) as cbc-des3-ede-rk [ 9.574101] rk3288-crypto 100a0000.cypto-controller: Register sha1 as rk-sha1 [ 9.574140] rk3288-crypto 100a0000.cypto-controller: Register sha256 as rk-sha256 [ 9.574177] rk3288-crypto 100a0000.cypto-controller: Register md5 as rk-md5 [ 9.601478] zram1: detected capacity change from 0 to 102400 [ 9.696782] lima 20000000.gpu: gp - mali400 version major 1 minor 1 [ 9.697206] lima 20000000.gpu: pp0 - mali400 version major 1 minor 1 [ 9.697469] lima 20000000.gpu: pp1 - mali400 version major 1 minor 1 [ 9.697566] lima 20000000.gpu: l2_cache0 64K, 4-way, 64byte cache line, 64bit external bus [ 9.724305] lima 20000000.gpu: bus rate = 300000000 [ 9.724370] lima 20000000.gpu: mod rate = 300000000 [ 9.732972] [drm] Initialized lima 1.1.0 for 20000000.gpu on minor 1 [ 9.832883] rk3228-codec 12010000.codec: spk_depop_time use default value. [ 9.846722] rockchip-iep 20070000.iep: Adding to iommu group 1 [ 9.849318] rockchip-rga 20060000.rga: HW Version: 0x04.01 [ 9.852777] rockchip_vdec: module is from the staging directory, the quality is unknown, you have been warned. [ 9.855759] rkvdec 20030000.video-codec: Adding to iommu group 2 [ 9.862538] rockchip-iep 20070000.iep: Device rockchip-iep registered as /dev/video0 [ 9.871528] rockchip-rga 20060000.rga: Registered rockchip-rga as /dev/video1 [ 9.901063] systemd[1]: Finished armbian-zram-config.service - Armbian ZRAM config. [ 9.906203] hantro-vpu 20020000.video-codec: Adding to iommu group 3 [ 9.921274] hantro-vpu 20020000.video-codec: registered rockchip,rk3399-vpu-enc as /dev/video3 [ 9.931196] hantro-vpu 20020000.video-codec: registered rockchip,rk3399-vpu-dec as /dev/video4 [ 10.018602] systemd[1]: Starting armbian-ramlog.service - Armbian memory supported logging... [ 10.056821] rk_gmac-dwmac 30200000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 10.084624] systemd[1]: Started systemd-networkd.service - Network Configuration. [ 10.139812] rk_gmac-dwmac 30200000.ethernet end0: PHY [stmmac-0:00] driver [Rockchip integrated EPHY] (irq=POLL) [ 10.148254] rk_gmac-dwmac 30200000.ethernet end0: No Safety Features support found [ 10.148390] rk_gmac-dwmac 30200000.ethernet end0: PTP not supported by HW [ 10.161502] rk_gmac-dwmac 30200000.ethernet end0: configuring for phy/rmii link mode [ 10.245628] bFWReady == _FALSE call reset 8051... [ 10.251796] Registered IR keymap rc-rk322x-tvbox [ 10.361283] IR NEC protocol handler initialized [ 10.397007] rc rc0: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0 [ 10.397857] rc rc0: lirc_dev: driver gpio_ir_recv registered at minor = 0, raw IR receiver, no transmitter [ 10.398516] input: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0/input6 [ 10.561893] EXT4-fs (zram1): mounted filesystem ba64ee27-d707-469d-a07c-e9950a485bb0 r/w without journal. Quota mode: none. [ 10.816713] systemd[1]: Listening on systemd-rfkill.socket - Load/Save RF Kill Switch Status /dev/rfkill Watch. [ 10.977894] systemd[1]: Starting systemd-rfkill.service - Load/Save RF Kill Switch Status... [ 11.166737] systemd[1]: Started systemd-rfkill.service - Load/Save RF Kill Switch Status. [ 11.378730] systemd[1]: Found device sys-subsystem-net-devices-wlan1.device - /sys/subsystem/net/devices/wlan1. [ 11.423829] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages). [ 11.425058] systemd[1]: sys-kernel-tracing.mount - Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing). [ 11.465523] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod... [ 11.491753] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore... [ 11.522134] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop... [ 11.549397] systemd[1]: Started netplan-wpa-wlan1.service - WPA supplicant for netplan wlan1. [ 11.560846] systemd[1]: systemd-machine-id-commit.service - Commit a transient machine-id on disk was skipped because of an unmet condition check (ConditionPathIsMountPoint=/etc/machine-id). [ 11.571626] systemd[1]: modprobe@dm_mod.service: Deactivated successfully. [ 11.576874] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod. [ 11.601230] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully. [ 11.605609] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore. [ 11.619506] systemd[1]: modprobe@loop.service: Deactivated successfully. [ 11.622547] systemd[1]: Finished modprobe@loop.service - Load Kernel Module loop. [ 11.635852] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore). [ 11.636764] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger condition checks were met. [ 11.797559] systemd[1]: Finished armbian-ramlog.service - Armbian memory supported logging. [ 11.933916] systemd[1]: Starting systemd-journald.service - Journal Service... [ 12.256824] rk_gmac-dwmac 30200000.ethernet end0: Link is Up - 100Mbps/Full - flow control off [ 12.445746] systemd[1]: Started systemd-journald.service - Journal Service. [ 12.572926] systemd-journald[501]: Received client request to flush runtime journal. [ 13.548872] ------------[ cut here ]------------ [ 13.548918] WARNING: CPU: 0 PID: 503 at net/wireless/nl80211.c:19591 cfg80211_ch_switch_notify+0x1e4/0x1e8 [ 13.548976] Modules linked in: snd_soc_hdmi_codec ir_nec_decoder snd_soc_spdif_tx gpio_ir_recv snd_soc_audio_graph_card2 8189es cpufreq_dt snd_soc_simple_card_utils hantro_vpu rockchip_vdec(C) dw_hdmi_i2s_audio rockchip_rga v4l2_jpeg rockchip_iep v4l2_vp9 v4l2_h264 videobuf2_dma_contig v4l2_mem2mem dw_hdmi_cec snd_soc_rk3228 snd_soc_rockchip_spdif snd_soc_rockchip_i2s snd_soc_core lima gpu_sched rockchip_thermal snd_pcm_dmaengine snd_pcm snd_timer rk_crypto snd soundcore dw_wdt crypto_engine zram zsmalloc binfmt_misc fuse gpio_keys [ 13.549307] CPU: 0 UID: 0 PID: 503 Comm: RTW_CMD_THREAD Tainted: G C 6.12.37-current-rockchip #1 [ 13.549336] Tainted: [C]=CRAP [ 13.549343] Hardware name: Generic DT based system [ 13.549353] Call trace: [ 13.549364] dump_backtrace from show_stack+0x18/0x1c [ 13.549399] r7:60010013 r6:60010013 r5:b132e5f0 r4:00000000 [ 13.549405] show_stack from dump_stack_lvl+0x5c/0x70 [ 13.549426] dump_stack_lvl from dump_stack+0x18/0x1c [ 13.549449] r7:00000009 r6:00004c87 r5:b0fe1b60 r4:b141ee8c [ 13.549453] dump_stack from __warn+0x84/0xe4 [ 13.549472] __warn from warn_slowpath_fmt+0x188/0x190 [ 13.549492] r7:b0fe1b60 r6:b141ee8c r5:00000000 r4:00000000 [ 13.549497] warn_slowpath_fmt from cfg80211_ch_switch_notify+0x1e4/0x1e8 [ 13.549516] r8:f2241e60 r7:b974d800 r6:b59d6800 r5:00000000 r4:b59d7800 [ 13.549521] cfg80211_ch_switch_notify from rtw_cfg80211_ch_switch_notify+0x10c/0x154 [8189es] [ 13.550454] r9:00000985 r8:b59d6a20 r7:00000000 r6:00000000 r5:00000985 r4:f202f000 [ 13.550464] rtw_cfg80211_ch_switch_notify [8189es] from rtw_chk_start_clnt_join+0x260/0x39c [8189es] [ 13.551327] r9:f202bba1 r8:00000000 r7:f2241f1a r6:f2241f19 r5:b3f51000 r4:f202b000 [ 13.551337] rtw_chk_start_clnt_join [8189es] from join_cmd_hdl+0x248/0x358 [8189es] [ 13.552011] r10:af28b058 r9:f202bba1 r8:af28b730 r7:f202bace r6:f202b661 r5:f202b662 [ 13.552019] r4:f202b000 [ 13.552024] join_cmd_hdl [8189es] from rtw_cmd_thread+0x158/0x418 [8189es] [ 13.552606] r9:f1977ec0 r8:b5472040 r7:f1977f0c r6:f1977ee0 r5:f1977000 r4:b5a2d1c0 [ 13.552613] rtw_cmd_thread [8189es] from kthread+0xe8/0x104 [ 13.552845] r10:00000000 r9:f19818f8 r8:b51de7c0 r7:f1977000 r6:af1b7e30 r5:b5472040 [ 13.552850] r4:b5697040 [ 13.552854] kthread from ret_from_fork+0x14/0x28 [ 13.552871] Exception stack(0xf2241fb0 to 0xf2241ff8) [ 13.552884] 1fa0: 00000000 00000000 00000000 00000000 [ 13.552894] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 13.552902] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 13.552912] r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:b014b998 r4:b5697040 [ 13.553251] ---[ end trace 0000000000000000 ]--- [ 15.288478] systemd-journald[501]: Received client request to relinquish /var/log/journal/ab96d43e6b5f4482985ef7d75c79e4f6 access.
-
Armbian Development Report: Continued Progress and Community Momentum Over the past two weeks, the Armbian project has made steady and meaningful progress across core infrastructure, board support, and kernel development. From bootloader improvements to expanded hardware compatibility, our contributors continue to push the platform forward. This update highlights recent technical advancements, bug fixes, and community contributions that help power the Armbian ecosystem. Highlights Pcduino2/3 Gain HDMI and Display FixesHDMI output is now supported, and a regression affecting display output on Pcduino2 and Pcduino3 boards has been resolved.#8341 Key Bootloader and Memory EnhancementsUpdates include a boot fix for Inovato Quadra, u-boot bumps for Banana Pi Zero3 and 2W, and the addition of 1.5GB memory support.#8334 Enhanced Repository SecurityImprovements include a new signing key, dual signing support, and better GPG key handling via APA.#8323, #8320, #8316 Improved TI Board SupportTexas Instruments boards now benefit from a custom Debian repo, pre-installed packages, and a Real-Time (RT) kernel config option.#8305, #8280 Meson64 Security BoostKernel Address Space Layout Randomization (KASLR) is now enabled by default to improve runtime security.#8354 New Features Add rtl8723ds Bluetooth support to Gateway GZ80x Add HDMI support for Pcduino2/3 and fix sun4i-drm regression TI: Add Debian repo and default packages TI: Add Real-Time kernel config for current Bug Fixes Fix Odroid-C4 I2C overlays (6.15 kernel) Fix I2C overlays for Odroid-C4 Fix WAN interface naming on Nanopi R6/R5 (Netplan rules) Fix DP alt mode on some rk3399 boards (6.15 kernel) Improvements Enable KASLR in Meson64 config Enable USB serial on PocketBeagle2 Add GPIO names to Rock-5C DTS Update u-boot and fix Bluetooth on BPI-M4-Zero Align Rock-5B-Plus edge kernel (6.16) with upstream Allwinner: Bump current to 6.12.35 and edge to 6.15.4 Re-enable xradio wireless driver for Allwinner 64-bit Bootloader/memory improvements for multiple boards Update SpacemiT kernel to 6.6.95 Remove WiFi patches (merged upstream in 6.16) Refactor Rockchip64 patches Bump Rockchip64 edge to 6.16-rc3 Enable Ethernet & USB serial modules on Beagle boards Add new GPG signing key Support dual signing of repos APA: Handle GPG key installation Update TM16xx driver for Rockchip64 edge Community Contributions @veduco @pyavitz @Ayush1325 @EvilOlaf @Ryzer58 @HeyMeco @igorpecovnik @amazingfate @paolosabatino @jsuhaas22 @hyx0329 @leggewie Stay Connected with the Community Looking to join live chats with Armbian developers and users? The Armbian Community Calendar lists upcoming voice chats, planning sessions, and community events. Stay informed and be part of the conversation! The post Armbian Development Highlights first appeared on Armbian. View the full article
-
Hi I have an RK3566 board with a Unisoc UWE5621DS wifi/BT chip on it. I have had a number of kernels running on this board (4.19.209 BSP, 6.0 mainline, 6.1-rc1 mainline) but the wifi is a problem. I noticed that there is an Orange Pi 5.17 kernel that includes a driver for UWE5622. I'm not sure how close 5621DS is to 5622 Also I think that this kernel is meant for the Orange Pi 4 which has an RK3399, whereas I have RK3566. Anyone any thoughts on what is most likely to work?
-
Hello, friends... The current MIPI DSI driver provided by Rockchip Inc. in older U-Boot versions (v2023 and earlier) is not compatible with U-Boot’s uclass subsystems.(a waste of time if you want to develop). I have done extensive research and made modifications to several files to make it work with the latest U-Boot versions. I have tested it with U-Boot 2023.10, 2024.10 and v2025.rc3 on orange pi 4 lts, and it works perfectly. I'm attaching the necessary files for those who need them. This u-boot driver is nearly identical to Rockchip's Linux kernel driver, uses same driver file but there some limitations because of u-boot system, but it correctly displays the splash image when vidconsole0 probed by u-boot.. Additionally, i want to say that, in linux kernel side, the same dw-rockchip-dsi driver in latest armbian distribitions works with from kernels 5.18 to latest kernel v6.6 and v.6.12. I tested it. Tested with custom 400x1200 60hz 4 lane standart mipi dsi panel from chinese panel manufacturer. I attached all modified files as attachment. Good lucks. dm tree command output from u-boot is reset 1 [ + ] rockchip_reset | `-- reset syscon 27 [ + ] rk3399_syscon |-- syscon@ff770000 nop 3 [ + ] rockchip_iodomain | `-- io-domains video 0 [ + ] rk3399_vop |-- vop@ff8f0000 vidconsole 0 [ + ] vidconsole0 | `-- vop@ff8f0000.vidconsole0 video 1 [ + ] rk3399_vop |-- vop@ff900000 vidconsole 1 [ + ] vidconsole0 | `-- vop@ff900000.vidconsole0 video_brid 0 [ + ] dw-mipi-dsi-rockchip |-- dsi@ff960000 dsi_host 0 [ + ] dw_mipi_dsi | |-- dsihost panel 0 [ + ] rm68200_panel | `-- panel@0 pinctrl 0 [ + ] rockchip_rk3399_pinc |-- pinctrl U-Boot 2024.10-armbian-2024.10-Sf919-Pbfb2-H3d34-Vade7-Bb703-R448a-dirty (Mar 03 2025 - 06:16:04 +0300) SoC: Rockchip rk3399 Reset cause: RST Model: Orange Pi 4 LTS Board DRAM: 4 GiB (effective 3.9 GiB) PMIC: RK808 Core: 285 devices, 32 uclasses, devicetree: separate MMC: mmc@fe320000: 1, mmc@fe330000: 0 Loading Environment from MMC... Reading from MMC(0)... *** Warning - bad CRC, using default environment rm68200_panel_of_to_plat() rm68200_panel panel@0: reset pin set done rm68200_panel_probe() rm68200_panel panel@0: Initializing MIPI DSI Panel Driver rm68200_panel_probe() rm68200_panel panel@0: Reset sequence done rm68200_panel_probe() rm68200_panel panel@0: dsi set 4 lane, video-burst, RGB 24-bit mode rm68200_panel_enable_backlight() rm68200_panel panel@0: Panel set backlight func(), initializing panel rm68200_panel_enable_backlight() rm68200_panel panel@0: attaching mipi dsi panel rm68200_panel_enable_backlight() rm68200_panel panel@0: perform panel initialization sequence rm68200_panel_enable_backlight() rm68200_panel panel@0: panel initialization sequence done, panel probed! rm68200_panel_enable_backlight() rm68200_panel panel@0: Panel set backlight func(), initializing panel rm68200_panel_enable_backlight() rm68200_panel panel@0: attaching mipi dsi panel rm68200_panel_enable_backlight() rm68200_panel panel@0: perform panel initialization sequence rm68200_panel_enable_backlight() rm68200_panel panel@0: panel initialization sequence done, panel probed! In: serial@ff1a0000 Out: serial@ff1a0000 Err: serial@ff1a0000 Model: Orange Pi 4 LTS Board Net: Could not get PHY for ethernet@fe300000: addr 1 eth_initialize() No ethernet found. Hit any key to stop autoboot: 0 => dcdcddcdcdcdc<INTERRUPT> => setenv splashimage 0x82000000 => setenv splashfile /boot/splash.bmp => load mmc 0:1 ${splashimage} ${splashfile} 1920138 bytes read in 61 ms (30 MiB/s) => bmp display ${splashimage} => <INTERRUPT> => uclass_get_device_by_ofnode() Looking for clock-controller@ff760000 uclass_find_device_by_ofnode() Looking for clock-controller@ff760000 uclass_find_device_by_ofnode() - checking reset uclass_find_device_by_ofnode() - checking reset uclass_find_device_by_ofnode() - result for clock-controller@ff760000: reset (ret=0) uclass_get_device_by_ofnode() - result for clock-controller@ff760000: reset (ret=0) rm68200_panel_enable_backlight() rm68200_panel panel@0: Panel set backlight func(), initializing panel rm68200_panel_enable_backlight() rm68200_panel panel@0: attaching mipi dsi panel rm68200_panel_enable_backlight() rm68200_panel panel@0: perform panel initialization sequence rm68200_panel_enable_backlight() rm68200_panel panel@0: panel initialization sequence done, panel probed! dsi_phy_post_set_mode() dw-mipi-dsi-rockchip dsi@ff960000: Set mode 00000000f4f3b4a0 enable 1 device_bind_common() Bound device vop@ff900000.vidconsole0 to vop@ff900000 notify_dynamic() Sending event 5/(unknown) to spy 'efi_disk add' notify_dynamic() Sending event 5/(unknown) to spy 'efi_disk add' In: serial@ff1a0000 Out: serial@ff1a0000 Err: serial@ff1a0000 Model: Orange Pi 4 LTS Board raydium-rm68200.c dw_mipi_dsi.c rk_vop.c dw_mipi_dsi_rockchip.c clk_rk3399.c .config rk3399-orangepi.dts
-
Hello all. I have an Android-based Yundoo Y8 TV box, which I want to use for UPS management. I want it to be able to run Armbian to install the UPS management software, but I cannot figure out which Armbian I should download. The board is based on Rockchip RK3399. In cpu-z app I see the board identified as rk30sdk, and the hardware is rk30board. Can you please help me identify the board so I can understand which version of Armbian I need? I couldn't find anything in the forum about RK3399... I really appreciate any help you can provide.
-
The alpha version of Armbian images for R57 with kernel edge 6.15 is now available Kernel is powered by HW panfrost acceleration on Gnome (wayland) and on XFCE (x11). Please note that in this version, the primary settings are enabled on the UART console, and to use the keyboard, you need to log in as ROOT with the password 1234 https://disk.yandex.ru/d/1M9FUcTqn5kEOw offtopic Libreelec for Mekotronics R57 https://forum.libreelec.tv/thread/20823-unofficial-le-for-rk356x-rk3328-rk3399-rk3588-s-rk3576/?postID=199809#post199809 Armbian 25.04 Noble ttyS0 r57 login: root Password: ____ ____ _____ | _ \| ___|___ | | |_) |___ \ / / | _ < ___) |/ / |_| \_\____//_/ Welcome to Armbian 25.04 Noble with bleeding edge Linux 6.15.0-rc1-station-m3-p No end-user support: built from trunk System load: 23% Up time: 2 min Memory usage: 14% of 3.81G IP: 192.168.1.28 Usage of /: 36% of 14G [ 8 security updates available, 15 updates total: apt upgrade ] Last check: 2025-05-03 16:41 [ General system configuration (beta): armbian-config ] root@r57:~# neofetch -------- █ █ █ █ █ █ █ █ █ █ █ OS: Armbian (25.04) aarch64 ███████████████████████ Host: Blueberry RK3576 EDGE V10 Board ▄▄██ ██▄▄ Kernel: 6.15.0-rc1-station-m3-p ▄▄██ ███████████ ██▄▄ Uptime: 2 mins ▄▄██ ██ ██ ██▄▄ Packages: 1509 (dpkg) ▄▄██ ██ ██ ██▄▄ Shell: bash 5.2.21 ▄▄██ ██ ██ ██▄▄ Resolution: 1920x1080 ▄▄██ █████████████ ██▄▄ Terminal: /dev/ttyS0 ▄▄██ ██ ██ ██▄▄ CPU: (8) @ 2.208GHz ▄▄██ ██ ██ ██▄▄ Memory: 786MiB / 3900MiB ▄▄██ ██ ██ ██▄▄ ▄▄██ ██▄▄ ███████████████████████ █ █ █ █ █ █ █ █ █ █ █ root@r57:~#
-
P.S. LibreElec for rk3588 and kernel 6.15 https://forum.libreelec.tv/thread/20823-unofficial-le-for-rk356x-rk3328-rk3399-rk3588-s-rk3576/?postID=200570#post200570
-
Hello everyone, I am a new Armbian user and don't have much experience with installing Armbian (both hardware and software operations). I have an old TVBox with an RK3399 chip as shown in the attached picture. Although I have spent time searching the Internet about installing Armbian on this hardware, all my efforts have come to a dead end. So I ask for help from you to install Armbian on this hardware of mine. Thank you very much. Wishing you a Merry Christmas.
-
Hello Armbian community, I am writing this topic because, despite the drivers for the processor's integrated GPU are installed within the operating system, they do not seem to work properly. Precisely the system seems to work but as soon as I try to play a video it is played by the CPU and not by the GPU with lag and the CPU is at 100%. I leave the link and the attachment of the result of the armbianmonitor -U command that I posted here: https://paste.debian.net/1337993/ it is a compressed tar.gz file since I included all the results of the command Analysis.txt
-
Now the mainline u-boot has decent pcie and pcie phy driver for rk3399. The only deficiency is the clock of pcie phy not included. The first attached patch add this clock so that u-boot proper can load linux kernel residing in an ext4 partition of nvme ssd.pcie_phy_clk.patch The second patch enables loading the environment from a file in an ext4 partition of nvme ssd.env_nvme.patch More conveniently the u-boot proper(u-boot.itb) could be an ordinary file residing in an ext4 partition of nvme ssd. The idbloader(tpl/spl in spi/emmc/sdcard) could load it if pcie nvme support is enabled in spl. That's the third attachment.spl_nvme.patch The usb and usb phy is working so the usbkbd can be used to choose a boot option without a serial port debug console. The last attachment set the default env to enable usbkbd and vidconsole.env_vidconsole_usbkbd.patch And for your convenience my u-boot config for nanopc-t4 also attached here.u-boot.config
-
Hi there, Ok, after some walking back and forth, typos, reboots, rewriting entire images, multiple armbianEnv.txt files, looking into U-Boot sources, googling (of course) I managed to find some things and got U-Boot on my Helios64 to boot properly again. In short, the aarch64 requirements to the linux kernel, the way U-Boot sometimes will move the loaded kernel image in memory might overwrite the starting point of the inital ramdisk. The load addresses for kernel and initial ramdisk are mostly hardcoded in U-Boot but can be overridden by armbianEnv.txt or the bootscript. As Helios64 uses Rockchip rk3399 from the aarch64 family, the attached boot.scr might also work for you. This bootscript will only work on aarch64 systems, as it assumes the kernel is uncompressed! If you test this, make sure to make a backup of your existing boot.scr or read up on how to regenerate the boot.scr from your boot.cmd. Make sure you have serial console available Copy the attached bootscript to /boot Add verbosity=1 (if not already there) to your armbianEnv.txt Reboot Would be great that if you test, to share the serial console output here to see it it also works for you. I will also test and verify on one of my Nanopi R2Ss somewhere today or tomorrow. Will put all the details into a pull request. Groetjes, Update: Removed boot.scr as testing on Nanopi R2S showed some misbehavior.
-
I could solve the instability problems and I am using the 2.5Gbit port now without having errors and with full speed! changing the swich Flow Control On for 2.5Gbit devices ethtool -K <LAN-device> sg off sudo ip link set dev <LAN device> mtu 9000 using the actual dtb file posted above cp rk3399-kobol-helios64.dtb /boot/dtb/rockchip/ update-initramfs -u nano /etc/default/cpufrequtils ENABLE=true MIN_SPEED=600000 MAX_SPEED=1800000 GOVERNOR=ondemand nano /etc/rc.local for cpufreqpolicy in 0 4 ; do echo 1 > policy${cpufreqpolicy}/ondemand/io_is_busy echo 25 > policy${cpufreqpolicy}/ondemand/up_threshold echo 10 > policy${cpufreqpolicy}/ondemand/sampling_down_factor echo $(cat policy${cpufreqpolicy}/cpuinfo_transition_latency) > policy${cpufreqpolicy}/ondemand/sampling_rate done for i in $(awk -F":" "/ahci/ {print \$1}" < /proc/interrupts | sed 's/\ //g'); do echo 10 > /proc/irq/$i/smp_affinity done for i in $(awk -F":" "/xhci/ {print \$1}" < /proc/interrupts | sed 's/\ //g'); do echo 20 > /proc/irq/$i/smp_affinity done exit 0 nano /usr/local/bin/make_nas_processes_faster.sh #!/bin/sh -e for i in `pgrep "iperf3|smb"` ; do ionice -c1 -p $i ; taskset -c -p 4 $i; done # >/dev/null 2>&1 running as a service
-
Hi folks, I have a Firefly AIO-3399C which boots Armbian fine, but no USB devices besides the root devices are detected. This happens with both the kernel 5.19.170 and 6.0.7 based images, made by @balbes150, which I've downloaded from https://users.armbian.com/balbes150/firefly-rk3399/ Any advice would be appreciated. U-Boot 2022.04-armbian (Nov 03 2022 - 17:26:20 +0300) Linux firefly-rk3399 5.19.17-media #trunk SMP PREEMPT Thu Nov 3 17:40:36 MSK 2022 aarch64 aarch64 aarch64 GNU/Linux In dmesg output, I see the following, which may be relevant: [ 4.616394] hub 7-0:1.0: USB hub found [ 14.296598] fusb30x: module is from the staging directory, the quality is unknown, you have been warned. [ 14.298983] fusb30x: module is from the staging directory, the quality is unknown, you have been warned. [ 14.346438] fusb302 7-0022: Can't get property of role, set role to default DRP [ 14.402787] fusb302 7-0022: Unable to request IRQ for INT_N GPIO! 0 [ 14.555053] fusb302: probe of 7-0022 failed with error -22 [ 14.568604] fusb302 4-0022: Can't get property of role, set role to default DRP [ 14.574971] fusb302 4-0022: Unable to request IRQ for INT_N GPIO! 0 [ 14.576841] fusb302: probe of 4-0022 failed with error -22 [ 14.692030] usbcore: registered new interface driver brcmfmac
-
Dear ebin-dev, I downgraded, got an error concerning linux-headers-current-rockchip64, could solve it with sudo apt --fix-broken install, but hesitating to reboot if I am not shure if the downgrade was 100% sucessful Is there any possibility to check before reboot if anything is well and system will reboot sucessful? sudo dpkg -i linux-* dpkg: warning: downgrading linux-dtb-current-rockchip64 from 25.2.3 to 24.11.0-trunk (Reading database ... 52529 files and directories currently installed.) Preparing to unpack linux-dtb-current-rockchip64_24.11.0-trunk_arm64__6.6.87-S8146-D0531-P5324-C702eH5c21-HK01ba-Vc222-B59f0-R448a.deb ... Armbian 'linux-dtb-current-rockchip64' for '6.6.87-current-rockchip64': 'preinst' starting. Armbian 'linux-dtb-current-rockchip64' for '6.6.87-current-rockchip64': 'preinst' finishing. Unpacking linux-dtb-current-rockchip64 (24.11.0-trunk) over (25.2.3) ... Selecting previously unselected package linux-headers-current-rockchip64. Preparing to unpack linux-headers-current-rockchip64_24.11.0-trunk_arm64__6.6.87-S8146-D0531-P5324-C702eH5c21-HK01ba-Vc222-B59f0-R448a.deb ... Armbian 'linux-headers-current-rockchip64' for '6.6.87-current-rockchip64': 'preinst' starting. Armbian 'linux-headers-current-rockchip64' for '6.6.87-current-rockchip64': 'preinst' finishing. Unpacking linux-headers-current-rockchip64 (24.11.0-trunk) ... dpkg: warning: downgrading linux-image-current-rockchip64 from 25.2.3 to 24.11.0-trunk Preparing to unpack linux-image-current-rockchip64_24.11.0-trunk_arm64__6.6.87-S8146-D0531-P5324-C702eH5c21-HK01ba-Vc222-B59f0-R448a.deb ... Armbian 'linux-image-current-rockchip64' for '6.12.22-current-rockchip64': 'prerm' starting. Armbian 'linux-image-current-rockchip64' for '6.12.22-current-rockchip64': 'prerm' finishing. Armbian 'linux-image-current-rockchip64' for '6.6.87-current-rockchip64': 'preinst' starting. ls: cannot access '/var/lib/initramfs-tools': No such file or directory Armbian 'linux-image-current-rockchip64' for '6.6.87-current-rockchip64': 'preinst' finishing. Unpacking linux-image-current-rockchip64 (24.11.0-trunk) over (25.2.3) ... Armbian 'linux-image-current-rockchip64' for '6.12.22-current-rockchip64': 'postrm' starting. Armbian 'linux-image-current-rockchip64' for '6.12.22-current-rockchip64': 'postrm' finishing. Setting up linux-dtb-current-rockchip64 (24.11.0-trunk) ... Armbian 'linux-dtb-current-rockchip64' for '6.6.87-current-rockchip64': 'postinst' starting. Armbian: DTB: symlinking /boot/dtb to /boot/dtb-6.6.87-current-rockchip64... 'dtb' -> 'dtb-6.6.87-current-rockchip64' Armbian 'linux-dtb-current-rockchip64' for '6.6.87-current-rockchip64': 'postinst' finishing. dpkg: dependency problems prevent configuration of linux-headers-current-rockchip64: linux-headers-current-rockchip64 depends on libelf-dev; however: Package libelf-dev is not installed. dpkg: error processing package linux-headers-current-rockchip64 (--install): dependency problems - leaving unconfigured Setting up linux-image-current-rockchip64 (24.11.0-trunk) ... Armbian 'linux-image-current-rockchip64' for '6.6.87-current-rockchip64': 'postinst' starting. update-initramfs: Generating /boot/initrd.img-6.6.87-current-rockchip64 update-initramfs: Converting to u-boot format Armbian: update last-installed kernel symlink to 'Image'... '/boot/Image' -> 'vmlinuz-6.6.87-current-rockchip64' Armbian: Debian compat: linux-update-symlinks install 6.6.87-current-rockchip64 boot/vmlinuz-6.6.87-current-rockchip64 I: /vmlinuz.old is now a symlink to boot/vmlinuz-6.6.87-current-rockchip64 I: /initrd.img.old is now a symlink to boot/initrd.img-6.6.87-current-rockchip64 I: /vmlinuz is now a symlink to boot/vmlinuz-6.6.87-current-rockchip64 I: /initrd.img is now a symlink to boot/initrd.img-6.6.87-current-rockchip64 Armbian 'linux-image-current-rockchip64' for '6.6.87-current-rockchip64': 'postinst' finishing. Errors were encountered while processing: linux-headers-current-rockchip64 sudo apt --fix-broken install Reading package lists... Done Building dependency tree... Done Reading state information... Done Correcting dependencies... Done The following additional packages will be installed: libelf-dev zlib1g-dev The following NEW packages will be installed: libelf-dev zlib1g-dev 0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded. 1 not fully installed or removed. Need to get 987 kB of archives. After this operation, 1716 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://deb.debian.org/debian bookworm/main arm64 zlib1g-dev arm64 1:1.2.13.dfsg-1 [913 kB] Get:2 http://deb.debian.org/debian bookworm/main arm64 libelf-dev arm64 0.188-2.1 [73.8 kB] Fetched 987 kB in 0s (2258 kB/s) Selecting previously unselected package zlib1g-dev:arm64. (Reading database ... 78145 files and directories currently installed.) Preparing to unpack .../zlib1g-dev_1%3a1.2.13.dfsg-1_arm64.deb ... Unpacking zlib1g-dev:arm64 (1:1.2.13.dfsg-1) ... Selecting previously unselected package libelf-dev:arm64. Preparing to unpack .../libelf-dev_0.188-2.1_arm64.deb ... Unpacking libelf-dev:arm64 (0.188-2.1) ... Setting up zlib1g-dev:arm64 (1:1.2.13.dfsg-1) ... Setting up libelf-dev:arm64 (0.188-2.1) ... Setting up linux-headers-current-rockchip64 (24.11.0-trunk) ... Armbian 'linux-headers-current-rockchip64' for '6.6.87-current-rockchip64': 'postinst' starting. Compiling kernel-headers tools (6.6.87-current-rockchip64) using 6 CPUs - please wait ... HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o LEX scripts/kconfig/lexer.lex.c YACC scripts/kconfig/parser.tab.[ch] HOSTCC scripts/kconfig/lexer.lex.o HOSTCC scripts/kconfig/menu.o HOSTCC scripts/kconfig/parser.tab.o HOSTCC scripts/kconfig/preprocess.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/util.o HOSTLD scripts/kconfig/conf # # configuration written to .config # SYNC include/config/auto.conf.cmd HOSTCC scripts/dtc/dtc.o HOSTCC scripts/dtc/flattree.o HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/data.o HOSTCC scripts/dtc/livetree.o HOSTCC scripts/dtc/treesource.o HOSTCC scripts/dtc/srcpos.o HOSTCC scripts/dtc/checks.o HOSTCC scripts/dtc/util.o LEX scripts/dtc/dtc-lexer.lex.c YACC scripts/dtc/dtc-parser.tab.[ch] HOSTCC scripts/dtc/libfdt/fdt.o HOSTCC scripts/dtc/libfdt/fdt_ro.o HOSTCC scripts/dtc/libfdt/fdt_wip.o HOSTCC scripts/dtc/libfdt/fdt_sw.o HOSTCC scripts/dtc/libfdt/fdt_rw.o HOSTCC scripts/dtc/libfdt/fdt_strerror.o HOSTCC scripts/dtc/libfdt/fdt_empty_tree.o HOSTCC scripts/dtc/libfdt/fdt_addresses.o HOSTCC scripts/dtc/libfdt/fdt_overlay.o HOSTCC scripts/dtc/fdtoverlay.o HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTCC scripts/dtc/dtc-parser.tab.o HOSTLD scripts/dtc/fdtoverlay HOSTLD scripts/dtc/dtc HOSTCC scripts/kallsyms HOSTCC scripts/sorttable HOSTCC scripts/asn1_compiler HOSTCC scripts/insert-sys-cert HOSTCC scripts/selinux/genheaders/genheaders HOSTCC scripts/selinux/mdp/mdp CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/sumversion.o HOSTCC scripts/mod/symsearch.o UPD scripts/mod/devicetable-offsets.h HOSTCC scripts/mod/file2alias.o HOSTLD scripts/mod/modpost MODPOST scripts/mod/Module.symvers Done compiling kernel-headers tools (6.6.87-current-rockchip64). Done compiling kernel-headers tools (6.6.87-current-rockchip64). Armbian 'linux-headers-current-rockchip64' for '6.6.87-current-rockchip64': 'postinst' finishing. Processing triggers for man-db (2.11.2-2) ... sudo dpkg -i linux-headers-current-rockchip64_24.11.0-trunk_arm64__6.6.87-S8146-D0531-P5324-C702eH5c21-HK01ba-Vc222-B59f0-R448a.deb (Reading database ... 78194 files and directories currently installed.) Preparing to unpack linux-headers-current-rockchip64_24.11.0-trunk_arm64__6.6.87-S8146-D0531-P5324-C702eH5c21-HK01ba-Vc222-B59f0-R448a.deb ... Armbian 'linux-headers-current-rockchip64' for '6.6.87-current-rockchip64': 'prerm' starting. Cleaning directory /usr/src/linux-headers-6.6.87-current-rockchip64 ... Armbian 'linux-headers-current-rockchip64' for '6.6.87-current-rockchip64': 'prerm' finishing. Armbian 'linux-headers-current-rockchip64' for '6.6.87-current-rockchip64': 'preinst' starting. Armbian 'linux-headers-current-rockchip64' for '6.6.87-current-rockchip64': 'preinst' finishing. Unpacking linux-headers-current-rockchip64 (24.11.0-trunk) over (24.11.0-trunk) ... Setting up linux-headers-current-rockchip64 (24.11.0-trunk) ... Armbian 'linux-headers-current-rockchip64' for '6.6.87-current-rockchip64': 'postinst' starting. Compiling kernel-headers tools (6.6.87-current-rockchip64) using 6 CPUs - please wait ... HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o LEX scripts/kconfig/lexer.lex.c YACC scripts/kconfig/parser.tab.[ch] HOSTCC scripts/kconfig/lexer.lex.o HOSTCC scripts/kconfig/menu.o HOSTCC scripts/kconfig/parser.tab.o HOSTCC scripts/kconfig/preprocess.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/util.o HOSTLD scripts/kconfig/conf # # configuration written to .config # SYNC include/config/auto.conf.cmd HOSTCC scripts/dtc/dtc.o HOSTCC scripts/dtc/flattree.o HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/data.o HOSTCC scripts/dtc/livetree.o HOSTCC scripts/dtc/treesource.o HOSTCC scripts/dtc/srcpos.o HOSTCC scripts/dtc/checks.o HOSTCC scripts/dtc/util.o LEX scripts/dtc/dtc-lexer.lex.c YACC scripts/dtc/dtc-parser.tab.[ch] HOSTCC scripts/dtc/libfdt/fdt.o HOSTCC scripts/dtc/libfdt/fdt_ro.o HOSTCC scripts/dtc/libfdt/fdt_wip.o HOSTCC scripts/dtc/libfdt/fdt_sw.o HOSTCC scripts/dtc/libfdt/fdt_rw.o HOSTCC scripts/dtc/libfdt/fdt_strerror.o HOSTCC scripts/dtc/libfdt/fdt_empty_tree.o HOSTCC scripts/dtc/libfdt/fdt_addresses.o HOSTCC scripts/dtc/libfdt/fdt_overlay.o HOSTCC scripts/dtc/fdtoverlay.o HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTCC scripts/dtc/dtc-parser.tab.o HOSTLD scripts/dtc/fdtoverlay HOSTLD scripts/dtc/dtc HOSTCC scripts/kallsyms HOSTCC scripts/sorttable HOSTCC scripts/asn1_compiler HOSTCC scripts/insert-sys-cert HOSTCC scripts/selinux/genheaders/genheaders HOSTCC scripts/selinux/mdp/mdp CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s MKELF scripts/mod/elfconfig.h UPD scripts/mod/devicetable-offsets.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/sumversion.o HOSTCC scripts/mod/symsearch.o HOSTCC scripts/mod/file2alias.o HOSTLD scripts/mod/modpost MODPOST scripts/mod/Module.symvers Done compiling kernel-headers tools (6.6.87-current-rockchip64). Done compiling kernel-headers tools (6.6.87-current-rockchip64). Armbian 'linux-headers-current-rockchip64' for '6.6.87-current-rockchip64': 'postinst' finishing. sudo cp rk3399-kobol-helios64.dtb /boot/dtb/rockchip/ sudo update-initramfs -u
-
Hi does anyone have backup of images by balbes150 from below topic? All the links seems to point to a dead end. Even the web archive has nothing so would be grateful if anyone could provide the images. Thanks!
-
In our testing, when attempting to use various Wi-Fi mini-PCIe/M.2 adapters from Intel and Realtek, we've encountered problem: oftentimes OS will not see PCIe device with error "PCIe link training gen1 timeout". Some days it happens only in 1/10 boots, other days it can stop working completely. After long debugging we've found that 24-pin FPC cable that connects Orangepi and official connector board (PCIE-SOCKET-OPI4-4B) does not pass PERST signal from Orangepi. Instead, it is high by default and the only way to temporarily set it to low is by pressing physical button on connector board. As far as I understand, PERST signal basically tells the connected device that power and clocks are stable and it can begin link training sequence. Normally, this signal would be controlled from driver code (pcie_rockchip_host.c, rockchip->perst_gpio field) and is assigned to GPIO2_4 pin. During startup sequence it must first be set to low for some time before being set to high after all PCIe clocks are initialized. However, since we don't connect PCI-e directly to rk3399 but through connector cable/board, this code does nothing and instead PERST signal is always high as soon as power is on, leading to link training errors. Simple method to verify the problem: Build custom image (or only kernel) using armbian-build. In kernel configuration, set pcie_rockchip_host module to be compiled as loadable module (<M>) instead of built-in by default. When system fails to see connected PCI-E device at boot, press the reset button on connector board. Execute (you can try this first without pressing button but it will not work): sudo modprobe -vr pcie_rockchip_host && sudo modprobe -v pcie_rockchip_host `lspci` command should now show your device. Thankfully, 24-pin FPC cable does pass GPIO1_A0 signal which we can use as a workaround. By default it is configured as vcc3v3-pcie power regulator, which basically means that it is always on. If we reconfigure it to act as PERST signal, it will become controlled by pcie_rockchip_host Linux driver, which seems to fix the problem. So, the fix is to build custom image/kernel with dts patch below applied (it removes vcc3v3-pcie-regulator nodes and modifies ep-gpios in &pcie0 to use GPIO1_A0): From 8abd7c990fc6f052f335b71df009ec8b88f57a88 Mon Sep 17 00:00:00 2001 From: ArXen42 <arxen42@tutanota.com> Date: Sun, 13 Apr 2025 19:05:52 +0300 Subject: [PATCH] Changed GPIO1_A0 on Orangepi 4 LTS from static power regulator to PCI-E PERST pin --- .../dt/rk3399-orangepi-4-lts.dts | 20 +------------------ 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/patch/kernel/archive/rockchip64-6.14/dt/rk3399-orangepi-4-lts.dts b/patch/kernel/archive/rockchip64-6.14/dt/rk3399-orangepi-4-lts.dts index c79940457..41eece5a4 100644 --- a/patch/kernel/archive/rockchip64-6.14/dt/rk3399-orangepi-4-lts.dts +++ b/patch/kernel/archive/rockchip64-6.14/dt/rk3399-orangepi-4-lts.dts @@ -128,17 +128,6 @@ }; }; - vcc3v3_pcie: vcc3v3-pcie-regulator { - compatible = "regulator-fixed"; - enable-active-high; - gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>; - pinctrl-names = "default"; - pinctrl-0 = <&pcie_drv>; - regulator-always-on; - regulator-boot-on; - regulator-name = "vcc3v3_pcie"; - }; - vcc3v3_sys: vcc3v3-sys { compatible = "regulator-fixed"; regulator-name = "vcc3v3_sys"; @@ -899,7 +888,7 @@ &pcie0 { status = "okay"; - ep-gpios = <&gpio2 4 GPIO_ACTIVE_HIGH>; + ep-gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>; num-lanes = <4>; max-link-speed = <1>; }; @@ -1095,13 +1084,6 @@ drive-strength = <12>; }; - pcie { - pcie_drv: pcie-drv { - rockchip,pins = - <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>; - }; - }; - hdmi { /delete-node/ hdmi-i2c-xfer; }; -- 2.49.0 While this doesn't address schematic problem (we still don't control PERST signal directly), this seems to work nontheless. I think it works because now the following happens: 1) Driver powers off PCIe device (thinking it set PERST signal to low) 2) Driver sets clocks and other PCIe machinery necessary 3) Driver powers on the board, but this time the clock signals are already up and running, so Wi-Fi/SSD/whatever chip initializes propely. At least, that's how I interpret what's happening in driver code below. static int rockchip_pcie_host_init_port(struct rockchip_pcie *rockchip) { struct device *dev = rockchip->dev; int err, i = MAX_LANE_NUM; u32 status; gpiod_set_value_cansleep(rockchip->perst_gpio, 0); // <--- this powers off PCIe device err = rockchip_pcie_init_port(rockchip); if (err) return err; /* Fix the transmitted FTS count desired to exit from L0s. */ status = rockchip_pcie_read(rockchip, PCIE_CORE_CTRL_PLC1); status = (status & ~PCIE_CORE_CTRL_PLC1_FTS_MASK) | (PCIE_CORE_CTRL_PLC1_FTS_CNT << PCIE_CORE_CTRL_PLC1_FTS_SHIFT); rockchip_pcie_write(rockchip, status, PCIE_CORE_CTRL_PLC1); rockchip_pcie_set_power_limit(rockchip); /* Set RC's clock architecture as common clock */ status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_LCS); status |= PCI_EXP_LNKSTA_SLC << 16; rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_LCS); /* Set RC's RCB to 128 */ status = rockchip_pcie_read(rockchip, PCIE_RC_CONFIG_LCS); status |= PCI_EXP_LNKCTL_RCB; rockchip_pcie_write(rockchip, status, PCIE_RC_CONFIG_LCS); /* Enable Gen1 training */ rockchip_pcie_write(rockchip, PCIE_CLIENT_LINK_TRAIN_ENABLE, PCIE_CLIENT_CONFIG); msleep(PCIE_T_PVPERL_MS); gpiod_set_value_cansleep(rockchip->perst_gpio, 1); // <--- this powers PCIe device back on after all clocks are set up msleep(PCIE_T_RRS_READY_MS); /* 500ms timeout value should be enough for Gen1/2 training */ err = readl_poll_timeout(rockchip->apb_base + PCIE_CLIENT_BASIC_STATUS1, status, PCIE_LINK_UP(status), 20, 500 * USEC_PER_MSEC); if (err) { dev_err(dev, "PCIe link training gen1 timeout!\n"); goto err_power_off_phy; } If you continue to encounter problems with this approach, one other option left is to modify the board itself by rerouting GPIO1_A0 signal to PERST, and leaving 3v power always on, but this will require some soldering work. Changed-GPIO1_A0-on-Orangepi-4-LTS-from-static-power-to-PERST.patch
-
Description Hotfix for rk3399 targets which use the default configuration cannot boot because usbplug loader has been used in place of miniloader. I can confirm the current images don't boot because I tried a bookworm minimal image from download page for Orange Pi 4 LTS (https://www.armbian.com/orange-pi-4-lts/) and it didn't get past the ddrbin. How Has This Been Tested? [x] Built OrangePi4 LTS image from scratch and tested on board Checklist: [x] My code follows the style guidelines of this project [x] I have performed a self-review of my own code View the full article
-
Description Add support for rk3399 based SBC Leez P710 How Has This Been Tested? Build noble desktop img with command: ./compile.sh build BOARD=leez-rk3399 BRANCH=edge BUILD_DESKTOP=yes BUILD_MINIMAL=no DESKTOP_APPGROUPS_SELECTED='browsers chat desktop_tools editors email internet multimedia office programming remote_desktop' DESKTOP_ENVIRONMENT=gnome DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base DOWNLOAD_MIRROR=bfsu EXPERT=yes EXTRAWIFI=no KERNEL_CONFIGURE=no PREFER_DOCKER=no RELEASE=noble Write the output img to tf card, inserd the card into the board, power up the board, the board can run into noble desktop. Checklist: [ ✓] My code follows the style guidelines of this project [✓] ] I have performed a self-review of my own code [ ✓]] I have commented my code, particularly in hard-to-understand areas [ ✓]] My changes generate no new warnings [ ✓]] Any dependent changes have been merged and published in downstream modules View the full article
-
The mainline 5.11 patch "phy: rockchip: set pulldown for strobe line in dts" https://github.com/torvalds/linux/commit/8b5c2b45b8f0a11c9072da0f7baf9ee986d3151e (not backported to 5.10.y) seems to have broken most if not all rockchip board EMMC HS400 enhanced strobe support. This probably affects supported rockchip boards (at least rk3399 ones, but probably most). That is boards exhibit: [ 18.985162] mmc1: running CQE recovery [ 18.988056] ------------[ cut here ]------------ [ 18.988500] mmc1: cqhci: spurious TCN for tag 12 and the filesystem ends up corrupted on write attempt. Note that another bug about regulator core DEFERRED support (which might have produced the same issue hardware wise) was introduced in 5.10.43 (I had bisected it to https://github.com/torvalds/linux/commit/98e48cd9283dbac0e1445ee780889f10b3d1db6a "regulator: core: resolve supply for boot-on/always-on regulators"). But I was confident that it to be fixed in at least 6.1 by https://github.com/torvalds/linux/commit/8a866d527ac0441c0eb14a991fa11358b476b11d "regulator: core: Resolve supply name earlier to prevent double-init" (introduced in 6.1), still EMMC was still failing on me. Thanks to @RussianNeuroMancer telling me that not all rk339 boards had EMMC HS400es broken, I found that nanopc-t4 had https://github.com/torvalds/linux/commit/463be3cb357dab7d7e4d8dcc7c15c642e10c5bef arm64: dts: rockchip: add enable-strobe-pulldown to emmc phy on nanopi4 So the current way, from this nanopc-t4 commit, to fix EMMC HS400 on most rockchip is to add "rockchip,enable-strobe-pulldown;" to the "emmc_phy" node (at least this node alias for rk3399). &emmc_phy { + rockchip,enable-strobe-pulldown; status = "okay"; }; With this patch I can renable hs400es for rk3399 emmc on helios64 (it is already set for nanopc-t4 in mainline). Details in: I believe the https://github.com/torvalds/linux/commit/8b5c2b45b8f0a11c9072da0f7baf9ee986d3151e mainline commit was wrong in that it probably should have done the opposite (that is enable the pulldown) as most boards were hardwired so. As was done for rk3588 boards: "arm64: dts: rockchip: Fix eMMC Data Strobe PD on rk3588" https://github.com/torvalds/linux/commit/37f3d6108730713c411827ab4af764909f4dfc78 " JEDEC standard JESD84-B51 defines the eMMC Data Strobe line, which is currently used only in HS400 mode, as a device->host clock signal that "is used only in read operation. The Data Strobe is always High-Z (not driven by the device and pulled down by RDS) or Driven Low in write operation, except during CRC status response." RDS is a pull-down resistor specified in the 10K-100K ohm range. Thus per the standard, the Data Strobe is always pulled to ground (by the eMMC and/or RDS) during write operations. Evidently, the eMMC host controller in the RK3588 considers an active voltage on the eMMC-DS line during a write to be an error. The default (i.e. hardware reset, and Rockchip BSP) behavior for the RK3588 is to activate the eMMC-DS pin's builtin pull-down. As a result, many RK3588 board designers do not bother adding a dedicated RDS resistor, instead relying on the RK3588's internal bias. The current devicetree, however, disables this bias (`pcfg_pull_none`), breaking HS400-mode writes for boards without a dedicated RDS, but with an eMMC chip that chooses to High-Z (instead of drive-low) the eMMC-DS line. (The Turing RK1 is one such board.) Fix this by changing the bias in the (common) emmc_data_strobe case to reflect the expected hardware/BSP behavior. This is unlikely to cause regressions elsewhere: the pull-down is only relevant for High-Z eMMCs, and if this is redundant with a (dedicated) RDS resistor, the effective result is only a lower resistance to ground -- where the range of tolerance is quite high. If it does, it's better fixed in the specific devicetrees. Maybe one can confirm this is the case not only for rk5588 but for other rockchip boards? (about the default for hardware reset and rockchip BSP with regards to active that eMMC-DS pin's builtin pulldown if any, and board designers for other boards than rk5588 also not bothering to add a dedicated RDS resistor, instead relying on the rockchip internal bias, also if any on non rk5588) At least two other boards disabled hs400es in mainline probbaly due to this patch disabling the internal pulldown by default "phy: rockchip: set pulldown for strobe line in dts" https://github.com/torvalds/linux/commit/8b5c2b45b8f0a11c9072da0f7baf9ee986d3151e in 2023 in vanilla Linux: Rock 4C+ https://github.com/torvalds/linux/commit/2bd1d2dd808c60532283e9cf05110bf1bf2f9079 Rock Pi 4 https://github.com/torvalds/linux/commit/cee572756aa2cb46e959e9797ad4b730b78a050b
- 1 reply
-
- Helios 64
- ROCK Pi 4C
-
(and 2 more)
Tagged with: