Jump to content

CSC Armbian for RK3318/RK3328 TV box boards


jock

Recommended Posts

@jock Hi, I've seen your comment on HDMI not working with 6.5 egde kernel: https://github.com/armbian/build/pull/5657#issuecomment-1703880889

Have you had time to investigate it since then?

At first I've tried to revert one suspicious drm fbdev commit, but it doesn't help.

Then I've enabled kernel drm debug (drm.debug=0x1bf in kernel command line) and it shed some light on a problem.

6.5 kernel rejected to use all modelines available (the same modelines was not rejected by 6.1):

> [drm:drm_mode_debug_printmodeline] Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x48 0x5
> [drm:drm_mode_prune_invalid] Not using 1920x1080 mode: BAD

> ...

Can you suggest a direction for further diagnostics?

 

dmesg-6.1.txtdmesg-6.5.txt

 

PS I'm not sure where is best place to discuss it - here or on github.

Link to comment
Share on other sites

@Alex ThreeDthanks for investigating this! I suspected some kind or problem like that, there are some bits that have changed in a function to validate the modelines. I don't know when I will be able to fix the thing, but perhaps it could ben enough to revert the function to previous behaviour

Link to comment
Share on other sites

@jock good news! I have finally found a root cause: rk356x-vop2-support.patch

Without this patch HDMI is OK.

 

Apparently this happend due to one hunk of rk356x-vop2-support.patch lost in transition 6.3 -> 6.4:

-       if (pclk == mpll_cfg[i].mpixelclock) {
+       if (pclk <= mpll_cfg[i].mpixelclock) {

 

I can fix this patch and check everything is ok, but I'm not sure whether this patch is still needed given that 4k resolution already added to mainline 6.4. What to you think? 

Edited by Alex ThreeD
Link to comment
Share on other sites

@Alex ThreeD Well I think that's a little of a mess there... the patch says rk356x fix, but actually it is doing something different and I saw that those hunks were also mentioned in the libreelec kernel patches for all rockchip socs (LE patches are my reference "Bible" about video and DRM). I made some test with other LE patches and they were fixing some other rk3399 configurations, but still there are plenty of them to be included (~40 patches) that is not a good idea to submit them yet to armbian rockchip64 branch.

 

However, I think that if the patch was lost in transition, feel free to fix the thing, send a PR and I will approve and merge the fix 👍

Link to comment
Share on other sites

Fixed https://github.com/armbian/build/pull/5723 

 

Here is (probably not so interesting) list of modelines that available with and without this patch on FullHD monitor:

Modelines enabled by rk356x-vop2-support.patch:
Modeline "1920x1080": 60 148352 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
Modeline "1920x1080i": 60 74176 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
Modeline "1680x1050": 60 119000 1680 1728 1760 1840 1050 1053 1059 1080 0x40 0x9
Modeline "1280x1024": 75 135000 1280 1296 1440 1688 1024 1025 1028 1066 0x40 0x5
Modeline "1280x800": 60 71000 1280 1328 1360 1440 800 803 809 823 0x40 0x9
Modeline "1280x720": 60 74176 1280 1390 1430 1650 720 725 730 750 0x40 0x5
Modeline "1024x768": 75 78750 1024 1040 1136 1312 768 769 772 800 0x40 0x5
Modeline "832x624": 75 57284 832 864 928 1152 624 625 628 667 0x40 0xa
Modeline "800x600": 75 49500 800 816 896 1056 600 601 604 625 0x40 0x5
Modeline "720x480": 60 27027 720 736 798 858 480 489 495 525 0x40 0xa
Modeline "720x480": 60 27027 720 736 798 858 480 489 495 525 0x40 0xa
Modeline "640x480": 75 31500 640 656 720 840 480 481 484 500 0x40 0xa
Modeline "640x480": 60 25200 640 656 752 800 480 490 492 525 0x40 0xa
Modeline "640x480": 60 25175 640 656 752 800 480 490 492 525 0x40 0xa
Modeline "640x480": 60 25175 640 656 752 800 480 490 492 525 0x40 0xa
Modeline "720x400": 70 28320 720 738 846 900 400 412 414 449 0x40 0x6

Modelines available both with and without this patch:
Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x48 0x5
Modeline "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0x5
Modeline "1920x1080i": 60 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
Modeline "1920x1080i": 60 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x40 0x15
Modeline "1920x1080": 50 148500 1920 2448 2492 2640 1080 1084 1089 1125 0x40 0x5
Modeline "1920x1080i": 50 74250 1920 2448 2492 2640 1080 1084 1094 1125 0x40 0x15
Modeline "1600x900": 60 108000 1600 1624 1704 1800 900 901 904 1000 0x40 0x5
Modeline "1280x1024": 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x40 0x5
Modeline "1152x864": 75 108000 1152 1216 1344 1600 864 865 868 900 0x40 0x5
Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
Modeline "1280x720": 60 74250 1280 1390 1430 1650 720 725 730 750 0x40 0x5
Modeline "1280x720": 50 74250 1280 1720 1760 1980 720 725 730 750 0x40 0x5
Modeline "1024x768": 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa
Modeline "800x600": 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5
Modeline "720x576": 50 27000 720 732 796 864 576 581 586 625 0x40 0xa
Modeline "720x576": 50 27000 720 732 796 864 576 581 586 625 0x40 0xa
Modeline "720x480": 60 27000 720 736 798 858 480 489 495 525 0x40 0xa
Modeline "720x480": 60 27000 720 736 798 858 480 489 495 525 0x40 0xa
Modeline "720x480": 60 27000 720 736 798 858 480 489 495 525 0x40 0xa

 

Link to comment
Share on other sites

6.5.3-edge-rockchip64 kernel is crashing here as well. Have not found my uast usb adapter that works with this board yet and it is super annoying when my home assistant and therefore lights depend on this so will probably downgrade kernel to get out of this situation.

Link to comment
Share on other sites

Hi, I have an A5X MAX box with a rk3328 and RTL8723BS (MXQ-RK3328-D4_A).

In the official version the wifi did not work, but in this one made by @jock it worked perfectly.

Is it possible to enable GPU acceleration in a browser??

I only want this box for using it with youtube...

Thanks!!

 

EDIT: Just for the record, doing apt upgrade broke the HDMI output in this model.

Selecting conf3 for the LEDs in rk3318-config broke boot (this one doesn't have RK805 chip)

Edited by franciz
Link to comment
Share on other sites

Okay, it seems 6.5.x series kernels are not crashing but instead freezing with:

[Thu Sep 28 09:59:54 2023] NOHZ tick-stop error: local softirq work is pending, handler #08!!!

in dmest -T.

To deal with this problem I went to armbian-config -> System -> Bootenv and added: extraargs='nohz=off' . I have a feeling this is an inherit problem with these slower arm based boards so I do not think this is not going to get fixed anytime soon.

 

I also found:

[Thu Sep 28 01:17:41 2023] xhci-hcd xhci-hcd.0.auto: WARN: HC couldn't access mem fast enough for slot 1 ep 6
[Thu Sep 28 01:17:41 2023] r8152 3-1:1.0 enx00e04c6824a3: intr status -63

But as far as I can tell this is not fatal anymore and one should be able to use RTL8153 Gigabit Ethernet Adapters without any major issues.

Link to comment
Share on other sites

Hello, I stumbled on this thread because I have the LG642 chip and was able to get Wifi working using the patch and provided drivers earlier, but for some reason my bluetooth does not work and the chip is not found. I checked dmesg and it finds the drivers for wifi, just bluetooth is not working.

Any thoughts? dmesg below
 

Spoiler

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
[    0.000000] Linux version 6.1.55-current-media (armbian@next) (aarch64-linux-gnu-gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #3 SMP PREEMPT_DYNAMIC Sat Sep 23 04:11:13 CDT 2023
[    0.000000] Machine model: Rockchip RK3566 BOX DEMO Board
[    0.000000] efi: UEFI not found.
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000001ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x1ff7a4100-0x1ff7a9fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000200000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000001ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x00000000083fffff]
[    0.000000]   node   0: [mem 0x0000000009400000-0x00000000efffffff]
[    0.000000]   node   0: [mem 0x00000001f0000000-0x00000001ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000001ffffffff]
[    0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[    0.000000] On node 0, zone DMA: 4096 pages in unavailable ranges
[    0.000000] cma: Reserved 256 MiB at 0x00000000e0000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 30 pages/cpu s83176 r8192 d31512 u122880
[    0.000000] pcpu-alloc: s83176 r8192 d31512 u122880 alloc=30*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: Virtualization Host Extensions
[    0.000000] CPU features: detected: Qualcomm erratum 1009, or ARM erratum 1286807, 2441009
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Fallback order for Node 0: 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1027656
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: root=UUID=fbb98449-19f4-4846-8afe-ee8ebdf29dc5 console=ttyS02,1500000 rw no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 splash plymouth.ignore-serial-consoles
[    0.000000] Unknown kernel command line parameters "splash", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x00000000dc000000-0x00000000e0000000] (64MB)
[    0.000000] Memory: 3706868K/4175872K available (14464K kernel code, 3388K rwdata, 5144K rodata, 3584K init, 1028K bss, 206860K reserved, 262144K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] trace event string verifier disabled
[    0.000000] Dynamic Preempt: none
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 320 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: MBI range [296:319]
[    0.000000] GICv3: Using MBI frame 0x00000000fd410000
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fd460000
[    0.000000] ITS: No ITS available, not enabling LPIs
[    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.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000977] Console: colour dummy device 80x25
[    0.001122] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001141] pid_max: default: 32768 minimum: 301
[    0.001404] LSM: Security Framework initializing
[    0.001485] Yama: becoming mindful.
[    0.001559] LSM support for eBPF active
[    0.001759] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001791] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.003685] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.004890] cblist_init_generic: Setting adjustable number of callback queues.
[    0.004899] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.005046] cblist_init_generic: Setting adjustable number of callback queues.
[    0.005054] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.005404] rcu: Hierarchical SRCU implementation.
[    0.005411] rcu:     Max phase no-delay instances is 1000.
[    0.009604] EFI services will not be available.
[    0.010155] smp: Bringing up secondary CPUs ...
[    0.011205] Detected VIPT I-cache on CPU1
[    0.011319] cacheinfo: Unable to detect cache hierarchy for CPU 1
[    0.011342] GICv3: CPU1: found redistributor 100 region 0:0x00000000fd480000
[    0.011406] CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
[    0.012612] Detected VIPT I-cache on CPU2
[    0.012714] cacheinfo: Unable to detect cache hierarchy for CPU 2
[    0.012736] GICv3: CPU2: found redistributor 200 region 0:0x00000000fd4a0000
[    0.012784] CPU2: Booted secondary processor 0x0000000200 [0x412fd050]
[    0.013834] Detected VIPT I-cache on CPU3
[    0.013936] cacheinfo: Unable to detect cache hierarchy for CPU 3
[    0.013957] GICv3: CPU3: found redistributor 300 region 0:0x00000000fd4c0000
[    0.014002] CPU3: Booted secondary processor 0x0000000300 [0x412fd050]
[    0.014143] smp: Brought up 1 node, 4 CPUs
[    0.014155] SMP: Total of 4 processors activated.
[    0.014163] CPU features: detected: 32-bit EL0 Support
[    0.014167] CPU features: detected: 32-bit EL1 Support
[    0.014174] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[    0.014179] CPU features: detected: Common not Private translations
[    0.014184] CPU features: detected: CRC32 instructions
[    0.014188] CPU features: detected: Data cache clean to Point of Persistence
[    0.014195] CPU features: detected: RCpc load-acquire (LDAPR)
[    0.014200] CPU features: detected: LSE atomic instructions
[    0.014204] CPU features: detected: Privileged Access Never
[    0.014207] CPU features: detected: RAS Extension Support
[    0.014215] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[    0.014335] CPU: All CPU(s) started at EL2
[    0.014342] alternatives: applying system-wide alternatives
[    0.021690] devtmpfs: initialized
[    0.041598] Registered cp15_barrier emulation handler
[    0.041623] Registered setend emulation handler
[    0.041945] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.041970] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.050187] pinctrl core: initialized pinctrl subsystem
[    0.051148] DMI not present or invalid.
[    0.052142] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.053825] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[    0.054575] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.055020] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.055108] audit: initializing netlink subsys (disabled)
[    0.055352] audit: type=2000 audit(0.048:1): state=initialized audit_enabled=0 res=1
[    0.056587] thermal_sys: Registered thermal governor 'fair_share'
[    0.056597] thermal_sys: Registered thermal governor 'bang_bang'
[    0.056603] thermal_sys: Registered thermal governor 'step_wise'
[    0.056607] thermal_sys: Registered thermal governor 'user_space'
[    0.056716] cpuidle: using governor ladder
[    0.056755] cpuidle: using governor menu
[    0.057114] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.057299] ASID allocator initialised with 65536 entries
[    0.058631] Serial: AMBA PL011 UART driver
[    0.072044] platform fe0a0000.hdmi: Fixed dependency cycle(s) with /vop@fe040000/ports/port@0/endpoint@2
[    0.087883] rockchip-gpio fdd60000.gpio: probed /pinctrl/gpio@fdd60000
[    0.088671] rockchip-gpio fe740000.gpio: probed /pinctrl/gpio@fe740000
[    0.089572] rockchip-gpio fe750000.gpio: probed /pinctrl/gpio@fe750000
[    0.090292] rockchip-gpio fe760000.gpio: probed /pinctrl/gpio@fe760000
[    0.091089] rockchip-gpio fe770000.gpio: probed /pinctrl/gpio@fe770000
[    0.092674] platform hdmi-con: Fixed dependency cycle(s) with /hdmi@fe0a0000/ports/port@1/endpoint
[    0.100046] KASLR disabled due to lack of seed
[    0.111261] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.111276] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.111284] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.111289] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.111295] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.111300] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.111306] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.111311] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.181196] raid6: neonx8   gen()  1484 MB/s
[    0.249381] raid6: neonx4   gen()  1461 MB/s
[    0.317556] raid6: neonx2   gen()  1362 MB/s
[    0.385718] raid6: neonx1   gen()  1124 MB/s
[    0.453920] raid6: int64x8  gen()   945 MB/s
[    0.522080] raid6: int64x4  gen()  1018 MB/s
[    0.590248] raid6: int64x2  gen()   938 MB/s
[    0.658462] raid6: int64x1  gen()   693 MB/s
[    0.658471] raid6: using algorithm neonx8 gen() 1484 MB/s
[    0.726527] raid6: .... xor() 1146 MB/s, rmw enabled
[    0.726536] raid6: using neon recovery algorithm
[    0.727693] ACPI: Interpreter disabled.
[    0.732817] iommu: Default domain type: Translated 
[    0.732833] iommu: DMA domain TLB invalidation policy: lazy mode 
[    0.733654] usbcore: registered new interface driver usbfs
[    0.733739] usbcore: registered new interface driver hub
[    0.733786] usbcore: registered new device driver usb
[    0.734251] pps_core: LinuxPPS API ver. 1 registered
[    0.734258] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.734281] PTP clock support registered
[    0.734806] EDAC MC: Ver: 3.0.0
[    0.735708] arm-scmi firmware:scmi: Enabled polling mode TX channel - prot_id:16
[    0.735944] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled.
[    0.736017] arm-scmi firmware:scmi: Malformed reply - real_sz:8  calc_sz:4  (loop_num_ret:1)
[    0.736031] arm-scmi firmware:scmi: SCMI Protocol v2.0 'rockchip:' Firmware version 0x0
[    0.737795] NetLabel: Initializing
[    0.737804] NetLabel:  domain hash size = 128
[    0.737810] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.737892] NetLabel:  unlabeled traffic allowed by default
[    0.738176] vgaarb: loaded
[    0.738842] clocksource: Switched to clocksource arch_sys_counter
[    0.739640] VFS: Disk quotas dquot_6.6.0
[    0.739725] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.740185] pnp: PnP ACPI: disabled
[    0.754859] NET: Registered PF_INET protocol family
[    0.755298] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.759748] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.759817] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.759845] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.760118] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.761295] TCP: Hash tables configured (established 32768 bind 32768)
[    0.761713] MPTCP token hash table entries: 4096 (order: 4, 98304 bytes, linear)
[    0.761903] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.762014] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.762378] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.762454] NET: Registered PF_XDP protocol family
[    0.762473] PCI: CLS 0 bytes, default 64
[    0.763336] Trying to unpack rootfs image as initramfs...
[    0.785505] hw perfevents: enabled with armv8_cortex_a55 PMU driver, 7 counters available
[    0.786603] kvm [1]: IPA Size Limit: 40 bits
[    0.786661] kvm [1]: GICv3: no GICV resource entry
[    0.786671] kvm [1]: disabling GICv2 emulation
[    0.786694] kvm [1]: GIC system register CPU interface enabled
[    0.787508] kvm [1]: vgic interrupt IRQ9
[    0.788240] kvm [1]: VHE mode initialized successfully
[    0.790878] Initialise system trusted keyrings
[    0.791259] workingset: timestamp_bits=39 max_order=20 bucket_order=0
[    0.800496] zbud: loaded
[    0.803902] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.804150] fuse: init (API version 7.37)
[    0.859087] xor: measuring software checksum speed
[    0.864861]    8regs           :  1721 MB/sec
[    0.871019]    32regs          :  1610 MB/sec
[    0.876861]    arm64_neon      :  1693 MB/sec
[    0.876875] xor: using function: 8regs (1721 MB/sec)
[    0.876894] Key type asymmetric registered
[    0.876901] Asymmetric key parser 'x509' registered
[    2.755968] Freeing initrd memory: 31932K
[    2.793760] alg: self-tests for CTR-KDF (hmac(sha256)) passed
[    2.793946] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    2.794141] io scheduler mq-deadline registered
[    2.794500] io scheduler bfq registered
[    2.813472] arm-scmi firmware:scmi: Failed. SCMI protocol 22 not active.
[    2.819507] Serial: 8250/16550 driver, 8 ports, IRQ sharing enabled
[    2.824200] fe650000.serial: ttyS1 at MMIO 0xfe650000 (irq = 23, base_baud = 1500000) is a 16550A
[    2.824415] serial serial0: tty port ttyS1 registered
[    2.825420] fe660000.serial: ttyS2 at MMIO 0xfe660000 (irq = 24, base_baud = 1500000) is a 16550A
[    2.940942] printk: console [ttyS2] enabled
[    2.943286] Serial: AMBA driver
[    2.947076] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.960857] brd: module loaded
[    2.971027] loop: module loaded
[    2.976469] thunder_xcv, ver 1.0
[    2.976857] thunder_bgx, ver 1.0
[    2.977228] nicpf, ver 1.0
[    2.979587] rk_gmac-dwmac fe010000.ethernet: IRQ eth_lpi not found
[    2.980361] rk_gmac-dwmac fe010000.ethernet: supply phy not found, using dummy regulator
[    2.981269] rk_gmac-dwmac fe010000.ethernet: clock input or output? (input).
[    2.981901] rk_gmac-dwmac fe010000.ethernet: TX delay(0x4f).
[    2.982405] rk_gmac-dwmac fe010000.ethernet: RX delay(0x2d).
[    2.982938] rk_gmac-dwmac fe010000.ethernet: integrated PHY? (no).
[    2.983553] rk_gmac-dwmac fe010000.ethernet: clock input from PHY
[    2.989112] rk_gmac-dwmac fe010000.ethernet: init for RGMII
[    2.989974] rk_gmac-dwmac fe010000.ethernet: User ID: 0x30, Synopsys ID: 0x51
[    2.990617] rk_gmac-dwmac fe010000.ethernet:         DWMAC4/5
[    2.991108] rk_gmac-dwmac fe010000.ethernet: DMA HW capability register supported
[    2.991773] rk_gmac-dwmac fe010000.ethernet: RX Checksum Offload Engine supported
[    2.992434] rk_gmac-dwmac fe010000.ethernet: TX Checksum insertion supported
[    2.993055] rk_gmac-dwmac fe010000.ethernet: Wake-Up On Lan supported
[    2.993702] rk_gmac-dwmac fe010000.ethernet: TSO supported
[    2.994192] rk_gmac-dwmac fe010000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.994924] rk_gmac-dwmac fe010000.ethernet: Enabled RFS Flow TC (entries=10)
[    2.995560] rk_gmac-dwmac fe010000.ethernet: TSO feature enabled
[    2.996094] rk_gmac-dwmac fe010000.ethernet: Using 32/32 bits DMA host/device width
[    3.151747] usbcore: registered new interface driver usbserial_generic
[    3.152375] usbserial: USB Serial support registered for generic
[    3.152954] usbcore: registered new interface driver ch341
[    3.153468] usbserial: USB Serial support registered for ch341-uart
[    3.154084] usbcore: registered new interface driver cp210x
[    3.154607] usbserial: USB Serial support registered for cp210x
[    3.155219] usbcore: registered new interface driver ftdi_sio
[    3.155756] usbserial: USB Serial support registered for FTDI USB Serial Device
[    3.156444] usbcore: registered new interface driver pl2303
[    3.156965] usbserial: USB Serial support registered for pl2303
[    3.158208] mousedev: PS/2 mouse device common for all mice
[    3.165121] ledtrig-cpu: registered to indicate activity on CPUs
[    3.166410] arm-scmi firmware:scmi: Failed. SCMI protocol 17 not active.
[    3.167129] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    3.172741] NET: Registered PF_INET6 protocol family
[    3.210070] Segment Routing with IPv6
[    3.210521] In-situ OAM (IOAM) with IPv6
[    3.212599] registered taskstats version 1
[    3.213006] Loading compiled-in X.509 certificates
[    3.217422] zswap: loaded using pool zstd/z3fold
[    3.218660] Key type .fscrypt registered
[    3.219054] Key type fscrypt-provisioning registered
[    3.221471] Btrfs loaded, crc32c=crc32c-generic, assert=on, integrity-checker=on, zoned=yes, fsverity=yes
[    3.257258] Key type encrypted registered
[    3.257695] ima: No TPM chip found, activating TPM-bypass!
[    3.258198] ima: Allocated hash algorithm: sha1
[    3.258640] ima: No architecture policies found
[    3.259224] evm: Initialising EVM extended attributes:
[    3.259687] evm: security.selinux
[    3.259986] evm: security.SMACK64
[    3.260283] evm: security.SMACK64EXEC
[    3.260610] evm: security.SMACK64TRANSMUTE
[    3.260973] evm: security.SMACK64MMAP
[    3.261299] evm: security.apparmor
[    3.261603] evm: security.ima
[    3.261869] evm: security.capability
[    3.262189] evm: HMAC attrs: 0x1
[    3.317363] psci_checker: PSCI checker started using 4 CPUs
[    3.317888] psci_checker: Starting hotplug tests
[    3.318308] psci_checker: Trying to turn off and on again all CPUs
[    3.320613] psci: CPU0 killed (polled 0 ms)
[    3.324592] psci: CPU1 killed (polled 0 ms)
[    3.327355] psci: CPU2 killed (polled 0 ms)
[    3.330476] Detected VIPT I-cache on CPU0
[    3.330917] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    3.331472] GICv3: CPU0: found redistributor 0 region 0:0x00000000fd460000
[    3.332157] CPU0: Booted secondary processor 0x0000000000 [0x412fd050]
[    3.334520] Detected VIPT I-cache on CPU1
[    3.334972] cacheinfo: Unable to detect cache hierarchy for CPU 1
[    3.335526] GICv3: CPU1: found redistributor 100 region 0:0x00000000fd480000
[    3.336215] CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
[    3.338918] Detected VIPT I-cache on CPU2
[    3.339368] cacheinfo: Unable to detect cache hierarchy for CPU 2
[    3.339925] GICv3: CPU2: found redistributor 200 region 0:0x00000000fd4a0000
[    3.340614] CPU2: Booted secondary processor 0x0000000200 [0x412fd050]
[    3.342515] psci_checker: Trying to turn off and on again group 0 (CPUs 0-3)
[    3.344833] psci: CPU0 killed (polled 0 ms)
[    3.348528] psci: CPU1 killed (polled 0 ms)
[    3.351811] psci: CPU2 killed (polled 4 ms)
[    3.354435] Detected VIPT I-cache on CPU0
[    3.354874] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    3.355430] GICv3: CPU0: found redistributor 0 region 0:0x00000000fd460000
[    3.356116] CPU0: Booted secondary processor 0x0000000000 [0x412fd050]
[    3.358394] Detected VIPT I-cache on CPU1
[    3.358865] cacheinfo: Unable to detect cache hierarchy for CPU 1
[    3.359419] GICv3: CPU1: found redistributor 100 region 0:0x00000000fd480000
[    3.360106] CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
[    3.362712] Detected VIPT I-cache on CPU2
[    3.363164] cacheinfo: Unable to detect cache hierarchy for CPU 2
[    3.363721] GICv3: CPU2: found redistributor 200 region 0:0x00000000fd4a0000
[    3.364408] CPU2: Booted secondary processor 0x0000000200 [0x412fd050]
[    3.366291] psci_checker: Hotplug tests passed OK
[    3.366716] psci_checker: Starting suspend tests (10 cycles per state)
[    3.367633] psci_checker: cpuidle not available on CPU 0, ignoring
[    3.368187] psci_checker: cpuidle not available on CPU 1, ignoring
[    3.368733] psci_checker: cpuidle not available on CPU 2, ignoring
[    3.369277] psci_checker: cpuidle not available on CPU 3, ignoring
[    3.369823] psci_checker: Could not start suspend tests on any CPU
[    3.370366] psci_checker: PSCI checker completed
[    3.372354] dw-apb-uart fe660000.serial: forbid DMA for kernel console
[    3.374597] Freeing unused kernel memory: 3584K
[    3.394962] Run /init as init process
[    3.395298]   with arguments:
[    3.395303]     /init
[    3.395308]     splash
[    3.395312]   with environment:
[    3.395316]     HOME=/
[    3.395320]     TERM=linux
[    5.013847] Synopsys Designware Multimedia Card Interface Driver
[    5.044198] dma-pl330 fe530000.dma-controller: Loaded driver for PL330 DMAC-241330
[    5.044892] dma-pl330 fe530000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    5.046484] sdhci: Secure Digital Host Controller Interface driver
[    5.047097] sdhci: Copyright(c) Pierre Ossman
[    5.059289] sdhci-pltfm: SDHCI platform and OF driver helper
[    5.095670] dwmmc_rockchip fe2c0000.mmc: IDMAC supports 32-bit address mode.
[    5.095991] dwmmc_rockchip fe2b0000.mmc: IDMAC supports 32-bit address mode.
[    5.096394] dwmmc_rockchip fe2c0000.mmc: Using internal DMA controller.
[    5.096976] dwmmc_rockchip fe2b0000.mmc: Using internal DMA controller.
[    5.097533] dwmmc_rockchip fe2c0000.mmc: Version ID is 270a
[    5.098114] dwmmc_rockchip fe2b0000.mmc: Version ID is 270a
[    5.098698] dwmmc_rockchip fe2c0000.mmc: DW MMC controller at irq 42,32 bit host data width,256 deep fifo
[    5.099184] dwmmc_rockchip fe2b0000.mmc: DW MMC controller at irq 43,32 bit host data width,256 deep fifo
[    5.104799] rockchip-vop2 fe040000.vop: Adding to iommu group 2
[    5.109316] iommu: Failed to allocate default IOMMU domain of type 11 for group (null) - Falling back to IOMMU_DOMAIN_DMA
[    5.110349] dwmmc_rockchip fe2b0000.mmc: Got CD GPIO
[    5.113561] dma-pl330 fe550000.dma-controller: Loaded driver for PL330 DMAC-241330
[    5.114271] dma-pl330 fe550000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    5.123352] mmc_host mmc0: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0)
[    5.131045] dwmmc_rockchip fe2c0000.mmc: IDMAC supports 32-bit address mode.
[    5.131744] dwmmc_rockchip fe2c0000.mmc: Using internal DMA controller.
[    5.132344] dwmmc_rockchip fe2c0000.mmc: Version ID is 270a
[    5.132893] dwmmc_rockchip fe2c0000.mmc: DW MMC controller at irq 42,32 bit host data width,256 deep fifo
[    5.144606] dwmmc_rockchip fe2c0000.mmc: allocated mmc-pwrseq
[    5.145157] mmc_host mmc1: card is non-removable.
[    5.154902] mmc2: SDHCI controller on fe310000.mmc [fe310000.mmc] using ADMA
[    5.163006] mmc_host mmc1: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0)
[    5.205693] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    5.206869] mmc0: new high speed SDHC card at address aaaa
[    5.223402] mmc2: new HS200 MMC card at address 0001
[    5.226916] mmc1: queuing unknown CIS tuple 0x41 [00 4d 3d 49 4d 50 45 20 6d 3d 33 2e 36 20 56 3d 6d 00 00 00 ff 80 09 83 0c 06 ec 09 24 e4 c7 f5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00] (49 bytes)
[    5.237621] rockchip-drm display-subsystem: bound fe040000.vop (ops vop2_component_ops [rockchipdrm])
[    5.239570] dwhdmi-rockchip fe0a0000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
[    5.289225] dwhdmi-rockchip fe0a0000.hdmi: registered DesignWare HDMI I2C bus driver
[    5.290978] rockchip-drm display-subsystem: bound fe0a0000.hdmi (ops dw_hdmi_rockchip_ops [rockchipdrm])
[    5.293299] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[    5.306757] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 100000000Hz, actual 50000000HZ div = 0)
[    5.375854] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    5.376399] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    5.377288] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    5.378249] xhci-hcd xhci-hcd.0.auto: irq 40, io mem 0xfcc00000
[    5.379107] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    5.379633] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    5.380338] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    5.389544] hub 1-0:1.0: USB hub found
[    5.390239] hub 1-0:1.0: 1 port detected
[    5.400790] mmcblk2: mmc2:0001 BJNB4R 29.1 GiB 
[    5.411228]  mmcblk2: p1 p2 p3 p4
[    5.413695] mmcblk2boot0: mmc2:0001 BJNB4R 4.00 MiB 
[    5.417104] mmcblk2boot1: mmc2:0001 BJNB4R 4.00 MiB 
[    5.420286] mmcblk2rpmb: mmc2:0001 BJNB4R 4.00 MiB, chardev (240:0)
[    5.422224] mmcblk0: mmc0:aaaa SL16G 14.8 GiB 
[    5.435508]  mmcblk0: p1
[    5.488384] dwmmc_rockchip fe2c0000.mmc: Successfully tuned phase to 354
[    5.493131] mmc1: new ultra high speed SDR50 SDIO card at address 0001
[    5.499970] mmc1:0001:1: need info on UART class basic setup
[    5.500511] sdio_uart: probe of mmc1:0001:1 failed with error -38
[    5.501300] mmc1:0001:2: need info on UART class basic setup
[    5.501823] sdio_uart: probe of mmc1:0001:2 failed with error -38
[    5.510232] fbcon: Deferring console take-over
[    5.510728] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device
[    5.535086] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.538290] hub 2-0:1.0: USB hub found
[    5.542930] hub 2-0:1.0: 1 port detected
[    5.556604] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    5.557163] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    5.558049] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    5.558891] Registered IR keymap rc-cec
[    5.559153] rc rc0: dw_hdmi as /devices/platform/fe0a0000.hdmi/rc/rc0
[    5.559389] xhci-hcd xhci-hcd.1.auto: irq 41, io mem 0xfd000000
[    5.560640] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    5.561162] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    5.561865] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    5.562744] input: dw_hdmi as /devices/platform/fe0a0000.hdmi/rc/rc0/input0
[    5.563894] hub 3-0:1.0: USB hub found
[    5.564385] hub 3-0:1.0: 1 port detected
[    5.565545] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.567485] hub 4-0:1.0: USB hub found
[    5.567919] hub 4-0:1.0: 1 port detected
[    5.786907] usb 1-1: new low-speed USB device number 2 using xhci-hcd
[    5.822928] usb 3-1: new full-speed USB device number 2 using xhci-hcd
[    5.977846] hid: raw HID events driver (C) Jiri Kosina
[    5.986153] usbcore: registered new interface driver usbhid
[    5.986680] usbhid: USB HID core driver
[    5.990982] usbcore: registered new interface driver usbkbd
[    6.004348] input: DELL Dell USB Entry Keyboard as /devices/platform/fcc00000.usb/xhci-hcd.0.auto/usb1/1-1/1-1:1.0/0003:413C:2107.0001/input/input1
[    6.008041] input: Logitech USB Receiver as /devices/platform/fd000000.usb/xhci-hcd.1.auto/usb3/3-1/3-1:1.0/0003:046D:C52B.0002/input/input2
[    6.063381] hid-generic 0003:413C:2107.0001: input,hidraw0: USB HID v1.11 Keyboard [DELL Dell USB Entry Keyboard] on usb-xhci-hcd.0.auto-1/input0
[    6.123289] hid-generic 0003:046D:C52B.0002: input,hidraw1: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-xhci-hcd.1.auto-1/input0
[    6.134867] input: Logitech USB Receiver Mouse as /devices/platform/fd000000.usb/xhci-hcd.1.auto/usb3/3-1/3-1:1.1/0003:046D:C52B.0003/input/input3
[    6.136649] input: Logitech USB Receiver Consumer Control as /devices/platform/fd000000.usb/xhci-hcd.1.auto/usb3/3-1/3-1:1.1/0003:046D:C52B.0003/input/input4
[    6.199176] input: Logitech USB Receiver System Control as /devices/platform/fd000000.usb/xhci-hcd.1.auto/usb3/3-1/3-1:1.1/0003:046D:C52B.0003/input/input5
[    6.201134] hid-generic 0003:046D:C52B.0003: input,hiddev96,hidraw2: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-xhci-hcd.1.auto-1/input1
[    6.208743] hid-generic 0003:046D:C52B.0004: hiddev97,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-xhci-hcd.1.auto-1/input2
[    6.229159] usbcore: registered new interface driver usbmouse
[    6.322138] logitech-djreceiver 0003:046D:C52B.0004: hiddev96,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-xhci-hcd.1.auto-1/input2
[    6.447769] input: Logitech Wireless Device PID:4082 Keyboard as /devices/platform/fd000000.usb/xhci-hcd.1.auto/usb3/3-1/3-1:1.2/0003:046D:C52B.0004/0003:046D:4082.0005/input/input7
[    6.449603] input: Logitech Wireless Device PID:4082 Mouse as /devices/platform/fd000000.usb/xhci-hcd.1.auto/usb3/3-1/3-1:1.2/0003:046D:C52B.0004/0003:046D:4082.0005/input/input8
[    6.458981] hid-generic 0003:046D:4082.0005: input,hidraw2: USB HID v1.11 Keyboard [Logitech Wireless Device PID:4082] on usb-xhci-hcd.1.auto-1/input2:1
[    6.466984] input: Logitech Wireless Device PID:404d Keyboard as /devices/platform/fd000000.usb/xhci-hcd.1.auto/usb3/3-1/3-1:1.2/0003:046D:C52B.0004/0003:046D:404D.0006/input/input12
[    6.472877] input: Logitech Wireless Device PID:404d Mouse as /devices/platform/fd000000.usb/xhci-hcd.1.auto/usb3/3-1/3-1:1.2/0003:046D:C52B.0004/0003:046D:404D.0006/input/input13
[    6.477029] hid-generic 0003:046D:404D.0006: input,hidraw3: USB HID v1.11 Keyboard [Logitech Wireless Device PID:404d] on usb-xhci-hcd.1.auto-1/input2:2
[    6.586962] input: Logitech MX Master 3 as /devices/platform/fd000000.usb/xhci-hcd.1.auto/usb3/3-1/3-1:1.2/0003:046D:C52B.0004/0003:046D:4082.0005/input/input17
[    6.588737] logitech-hidpp-device 0003:046D:4082.0005: input,hidraw2: USB HID v1.11 Keyboard [Logitech MX Master 3] on usb-xhci-hcd.1.auto-1/input2:1
[    6.655432] input: Logitech K400 Plus as /devices/platform/fd000000.usb/xhci-hcd.1.auto/usb3/3-1/3-1:1.2/0003:046D:C52B.0004/0003:046D:404D.0006/input/input18
[    6.657206] logitech-hidpp-device 0003:046D:404D.0006: input,hidraw3: USB HID v1.11 Keyboard [Logitech K400 Plus] on usb-xhci-hcd.1.auto-1/input2:2
[    6.928701] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Quota mode: none.
[    8.156606] systemd[1]: System time before build time, advancing clock.
[    8.192866] systemd[1]: Inserted module 'autofs4'
[    8.331738] systemd[1]: systemd 252.12-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)
[    8.334659] systemd[1]: Detected architecture arm64.
[    8.350579] systemd[1]: Hostname set to <station-m2>.
[    9.021031] (sd-execut[246]: /usr/lib/systemd/system-generators/netplan failed with exit status 1.
[    9.928828] systemd[1]: Queued start job for default target graphical.target.
[    9.957034] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[    9.962923] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[    9.968373] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[    9.972801] systemd[1]: Created slice user.slice - User and Session Slice.
[    9.974960] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[    9.978439] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[    9.980653] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[    9.982409] systemd[1]: Reached target slices.target - Slice Units.
[    9.983623] systemd[1]: Reached target swap.target - Swaps.
[    9.984687] systemd[1]: Reached target time-set.target - System Time Set.
[    9.986032] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[   10.033225] systemd[1]: Listening on rpcbind.socket - RPCbind Server Activation Socket.
[   10.036531] systemd[1]: Listening on syslog.socket - Syslog Socket.
[   10.039196] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket.
[   10.041273] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[   10.045294] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket.
[   10.048294] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[   10.051649] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[   10.053987] systemd[1]: systemd-networkd.socket: Socket service systemd-networkd.service not loaded, refusing.
[   10.054980] systemd[1]: Failed to listen on systemd-networkd.socket - Network Service Netlink Socket.
[   10.062476] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[   10.065579] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[   10.091528] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File System...
[   10.102241] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[   10.114113] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
[   10.125626] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System...
[   10.128024] systemd[1]: auth-rpcgss-module.service - Kernel Module supporting RPCSEC_GSS was skipped because of an unmet condition check (ConditionPathExists=/etc/krb5.keytab).
[   10.143764] systemd[1]: Starting fake-hwclock.service - Restore / save the current clock...
[   10.154962] systemd[1]: Starting ifupdown-wait-online.service - Wait for network to be configured by ifupdown...
[   10.166993] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout...
[   10.179807] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[   10.194154] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
[   10.215673] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[   10.229542] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
[   10.243098] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[   10.256543] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
[   10.269706] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
[   10.272945] 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).
[   10.291659] systemd[1]: Starting systemd-journald.service - Journal Service...
[   10.301291] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.
[   10.302669] device-mapper: uevent: version 1.0.3
[   10.304320] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[   10.316862] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[   10.328865] systemd[1]: Starting systemd-network-generator.service - Generate network units from Kernel command line...
[   10.371827] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[   10.395842] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[   10.434639] systemd[1]: Mounted dev-hugepages.mount - Huge Pages File System.
[   10.441794] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[   10.442191] EXT4-fs (mmcblk0p1): re-mounted. Quota mode: none.
[   10.457491] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[   10.462493] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System.
[   10.469689] systemd[1]: Finished fake-hwclock.service - Restore / save the current clock.
[   10.475728] systemd[1]: Finished ifupdown-wait-online.service - Wait for network to be configured by ifupdown.
[   10.481615] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[   10.488518] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[   10.490966] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
[   10.497413] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[   10.500225] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[   10.507096] systemd[1]: modprobe@drm.service: Deactivated successfully.
[   10.509441] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
[   10.515676] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[   10.518295] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[   10.524322] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[   10.526952] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse.
[   10.532934] systemd[1]: modprobe@loop.service: Deactivated successfully.
[   10.535533] systemd[1]: Finished modprobe@loop.service - Load Kernel Module loop.
[   10.542693] systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules.
[   10.548910] systemd[1]: Finished systemd-network-generator.service - Generate network units from Kernel command line.
[   10.555740] systemd[1]: Finished systemd-remount-fs.service - Remount Root and Kernel File Systems.
[   10.564105] systemd[1]: Reached target network-pre.target - Preparation for Network.
[   10.611817] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System...
[   10.639543] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System...
[   10.641663] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
[   10.654893] systemd[1]: Starting systemd-random-seed.service - Load/Save Random Seed...
[   10.657417] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger condition checks were met.
[   10.669061] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables...
[   10.688571] systemd[1]: Starting systemd-sysusers.service - Create System Users...
[   10.740539] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System.
[   10.744837] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System.
[   10.867321] systemd[1]: Finished systemd-sysctl.service - Apply Kernel Variables.
[   10.881510] systemd[1]: Finished systemd-sysusers.service - Create System Users.
[   10.944166] systemd[1]: Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev...
[   10.945866] systemd[1]: Started systemd-journald.service - Journal Service.
[   11.102001] systemd-journald[297]: Received client request to flush runtime journal.
[   12.056463] RPC: Registered named UNIX socket transport module.
[   12.056489] RPC: Registered udp transport module.
[   12.056495] RPC: Registered tcp transport module.
[   12.056500] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   13.526878] random: crng init done
[   13.749928] systemd-journald[297]: Received client request to relinquish /var/log/journal/b926c44bbf5c413facbf96b6c06c172e access.
[   15.123633] mc: Linux media interface: v0.10
[   15.251322] videodev: Linux video capture interface: v2.00
[   15.252629] panfrost fde60000.gpu: clock rate = 594000000
[   15.252670] panfrost fde60000.gpu: bus_clock rate = 500000000
[   15.252741] panfrost fde60000.gpu: error -ENODEV: _opp_set_regulators: no regulator (mali) found
[   15.253990] panfrost fde60000.gpu: mali-g52 id 0x7402 major 0x1 minor 0x0 status 0x0
[   15.254012] panfrost fde60000.gpu: features: 00000000,00000cf7, issues: 00000000,00000400
[   15.254019] panfrost fde60000.gpu: Features: L2:0x07110206 Shader:0x00000002 Tiler:0x00000209 Mem:0x1 MMU:0x00002823 AS:0xff JS:0x7
[   15.254025] panfrost fde60000.gpu: shader_present=0x1 l2_present=0x1
[   15.267641] [drm] Initialized panfrost 1.2.0 20180908 for fde60000.gpu on minor 1
[   15.363022] Registered IR keymap rc-beelink-gs1
[   15.399955] IR NEC protocol handler initialized
[   15.427196] rc rc1: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc1
[   15.427415] rc rc1: lirc_dev: driver gpio_ir_recv registered at minor = 0, raw IR receiver, no transmitter
[   15.427549] input: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc1/input19
[   15.527423] Bluetooth: Core ver 2.22
[   15.527442] Bluetooth: Starting self testing
[   15.539586] Bluetooth: ECDH test passed in 11852 usecs
[   15.704472] rockchip-rga fdeb0000.rga: HW Version: 0x03.02
[   15.704856] rockchip-rga fdeb0000.rga: Registered rockchip-rga as /dev/video0
[   15.711039] hantro-vpu fdea0000.video-codec: Adding to iommu group 0
[   15.711079] iommu: Failed to allocate default IOMMU domain of type 11 for group (null) - Falling back to IOMMU_DOMAIN_DMA
[   15.712056] hantro-vpu fdea0000.video-codec: registered rockchip,rk3568-vpu-dec as /dev/video1
[   15.713093] hantro-vpu fdee0000.video-codec: Adding to iommu group 1
[   15.713134] iommu: Failed to allocate default IOMMU domain of type 11 for group (null) - Falling back to IOMMU_DOMAIN_DMA
[   15.714663] hantro-vpu fdee0000.video-codec: registered rockchip,rk3568-vepu-enc as /dev/video2
[   15.759056] rockchip-pinctrl pinctrl: pin gpio1-4 already requested by fe410000.i2s; cannot claim for fe460000.spdif
[   15.759085] rockchip-pinctrl pinctrl: pin-36 (fe460000.spdif) status -22
[   15.759092] rockchip-pinctrl pinctrl: could not request pin 36 (gpio1-4) from group spdifm0-tx  on device rockchip-pinctrl
[   15.759099] rockchip-spdif fe460000.spdif: Error applying setting, reverse things back
[   15.907922] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   15.909231] Bluetooth: SMP test passed in 3926 usecs
[   15.909281] Bluetooth: Finished self testing
[   15.909389] NET: Registered PF_BLUETOOTH protocol family
[   15.909394] Bluetooth: HCI device and connection manager initialized
[   15.909414] Bluetooth: HCI socket layer initialized
[   15.909422] Bluetooth: L2CAP socket layer initialized
[   15.909458] Bluetooth: SCO socket layer initialized
[   15.925125] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   16.017416] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
[   16.119324] brcmfmac: F1 signature read @0x18000000=0x1601a94e
[   16.126424] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43342-sdio for chip BCM43342/1
[   16.126670] usbcore: registered new interface driver brcmfmac
[   16.133931] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43342-sdio.rockchip,rk3566-box-demo.bin failed with error -2
[   16.200876] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43342-sdio.clm_blob failed with error -2
[   16.225255] Bluetooth: HCI UART driver ver 2.3
[   16.225284] Bluetooth: HCI UART protocol H4 registered
[   16.225290] Bluetooth: HCI UART protocol BCSP registered
[   16.225404] Bluetooth: HCI UART protocol LL registered
[   16.225412] Bluetooth: HCI UART protocol ATH3K registered
[   16.225459] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   16.225821] Bluetooth: HCI UART protocol Intel registered
[   16.226140] Bluetooth: HCI UART protocol Broadcom registered
[   16.226202] Bluetooth: HCI UART protocol QCA registered
[   16.226209] Bluetooth: HCI UART protocol AG6XX registered
[   16.226254] Bluetooth: HCI UART protocol Marvell registered
[   16.351220] of_dma_request_slave_channel: dma-names property of node '/serial@fe650000' missing or empty
[   16.351274] dw-apb-uart fe650000.serial: failed to request DMA
[   16.364957] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[   16.365568] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43342/1 wl0: Oct 18 2016 17:43:42 version 6.25.134.25 (r662387) FWID 01-281dd9d9
[   17.660652] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   17.660681] Bluetooth: BNEP filters: protocol multicast
[   17.660702] Bluetooth: BNEP socket layer initialized
[   18.305267] rk_gmac-dwmac fe010000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   18.309221] rk_gmac-dwmac fe010000.ethernet eth0: PHY [stmmac-0:01] driver [Generic PHY] (irq=POLL)
[   18.498885] Bluetooth: hci0: command 0x0c03 tx timeout
[   19.842929] dwmac4: Master AXI performs any burst length
[   19.842969] rk_gmac-dwmac fe010000.ethernet eth0: No Safety Features support found
[   19.842996] rk_gmac-dwmac fe010000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[   19.843296] rk_gmac-dwmac fe010000.ethernet eth0: registered PTP clock
[   19.843646] rk_gmac-dwmac fe010000.ethernet eth0: configuring for phy/rgmii link mode
[   19.852598] rk_gmac-dwmac fe010000.ethernet eth0: No phy led trigger registered for speed(-1)
[   19.853404] rk_gmac-dwmac fe010000.ethernet eth0: Link is Up - Unknown/Unknown - flow control off
[   19.853448] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   20.050363] NET: Registered PF_PACKET protocol family
[   20.867371] rk_gmac-dwmac fe010000.ethernet eth0: Link is Down
[   22.916610] rk_gmac-dwmac fe010000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   26.342717] platform spdif-sound: deferred probe pending
[   26.342740] platform fd8c0000.usb: deferred probe pending
[   26.342745] platform fd880000.usb: deferred probe pending
[   26.342750] platform fd800000.usb: deferred probe pending
[   26.342753] platform fd840000.usb: deferred probe pending
[   26.594874] Bluetooth: hci0: BCM: Reset failed (-110)
[   27.706937] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   30.090257] fbcon: Taking over console
[   30.095806] Console: switching to colour frame buffer device 240x67

 

Edited by BliteKnight
Link to comment
Share on other sites

So, I was running the TVbox headless and I didn't notice but got i think the same issues with HDMI output. Multitools works if I disable FreeSync/120Hz and put HDMI input in compatibility mode (1.4), Armbian_23.08.0-trunk_Rk3318-box_bookworm_edge_6.3.13 and Armbian_23.8.1_Rk3318-box_jammy_current_6.1.50 kinda work but there are problem of SYNC and overscan. Armbian_23.8.1_Rk3318-box_bookworm_current_6.1.50 does not work at all. Without HDMI compatibilty mode enabled the monitor shows an OUT of Range error with a 5Hz signal. LG32GN650.

With an old Samsung 32'' 1080 panel and a new 70'' 2160 one, no luck at all at displaying any image, even using an HDMI switch.

 

My board.

1697523940417.jpg

Link to comment
Share on other sites

I just installed the "Armbian_23.8.1_Rk3318-box_bookworm_current_6.1.50_xfce_desktop.img" Image onto my "X88 Pro 10" Box, but on boot I get the following error regarding memory

 

DDR version 1.16 20190713
ID:0xFFF
In
DDR3
666MHz
rd addr 0x80000000 = 0xFF000000
ERR

 

Replacing the bootloader with mainline u-boot using the rk3328-evb config seems to make it work. Is there any fix available to have the original Armbian Image work?

Link to comment
Share on other sites

X88 Pro 10 at least one I had is such a source of misery I swapped the SD card to H96 Max and now everything is much better. I will be flashing the android image back to it as soon as I get a fly mouse and use it to play angry birds or something on my projector instead. My advice, do not buy X88 Pro 10 instead stick with H96 Max only.

At least on H96 Max reboot works so you can set up watchdog to reboot it unlike on X88 Pro 10 which has unreliable reboot.

On my H96 Max there is no built-in wifi is not detected so I stuck a wifi adapter on it. I do not have much appetite to try to fix it.

 

As soon as I plugged in r8152 to H96 Max it went completely bazooka with:

[Thu Sep 28 01:17:41 2023] xhci-hcd xhci-hcd.0.auto: WARN: HC couldn't access mem fast enough for slot 1 ep 6
[Thu Sep 28 01:17:41 2023] r8152 3-1:1.0 enx00e04c6824a3: intr status -63

is causing something to occur in Home Assistant virtualization within seconds of any traffic taking down all wifi, eth within 10 seconds. So I spoke too soon, r8152 is not usable on these boxes at least not when plugged into usb 3 maybe there is a way to make it work as usb 2.0 but I was unsuccessful. For comparison r8152 chipset works fine with my Orange pi PC which has usb 2.0 and seems super fast as well.

 

I found one seller on aliexp who sells RTL8156 2500Mbps Ethernet adapter: https://www.aliexpress.com/item/1005003432672849.html I think they both use same driver but hey I figure it is worth a shot.

Edited by Aapo Tahkola
Link to comment
Share on other sites

Well, the issue with r8152 and probably some other devices like 1000Mbps ethernet adapters and maybe SSDs is that these things have only limited amount of RAM for buffering. If the CPU just isn't fast enough to clear those buffers you are going to get buffer overruns.

Link to comment
Share on other sites

36 minutes ago, Aapo Tahkola said:

Well, the issue with r8152 and probably some other devices like 1000Mbps ethernet adapters and maybe SSDs is that these things have only limited amount of RAM for buffering. If the CPU just isn't fast enough to clear those buffers you are going to get buffer overruns.

 

More than that, which is something would just affect performance rather than "stability", most of the issues with USB devices are

 

1) the USB current of the ports on tvboxes is kind of limited. Gigabit ethernet requires a decent amount of current by design, and the USB ports can't always supply the requirements

2) PSU adapters coming with tvboxes are crappy chinese cheap devices as the box themselves. Don't expect great numbers from them despite what their labels say.

 

A serious SBC with a decent PSU will probably handle anything much better and provide onboard gigabit ethernet

Link to comment
Share on other sites

Hi all!
Maybe this will be useful to someone.
I had a TVbox H96Max H2 with firmware RK3328-BOX_7.1.2_20180620.2051_H96MAX
I tried flashing other android firmware of different versions but without success.

I tried to install many versions of Armbian in different ways  but it did not start from the SD card and SD+USB.

The Multitool also not start. I tried launching with different .dtb
This is the only method that worked for me: I re-recorded the U-boot using Windows 10 and RKDevTool GUI

I download  U-boot from here:
https://github.com/hexdump0815/u-boot-misc/blob/master/misc.rk3328-no-sd-boot/rockchip-u-boot/u-boot-image-for-emmc-h96max-rk3328.img.gz
Then I recorded to the SD card using the Multitool from straight from this thread

https://forum.armbian.com/topic/26978-csc-armbian-for-rk3318rk3328-tv-box-boards/
I used Linux Mint and Etcher GUI to record Multitool on my SD card.
I added this image Armbian_23.8.1_Rk3318-box_bookworm_current_6.1.50 to the img folder of the SD card
I only need a server.
The Multitool loaded from the SD perfectly but the Armbian installation is 98% frozen. After some time I rebooted the TVbox... and complete success. Armbian server works well.
I extracted .dts from the android firmware. I recorded several UART logs.
Once upon a time I soldered wires and connected a UART converter and recorded logs, but not always, unfortunately.
I want to say thank you to all the developers and enthusiasts of this project!

H96Max_H2_board_UART.jpg

H96Max_H2_board.jpg

H96Max_H2.jpg

armbian.log android.log android.dts android.dtb

Link to comment
Share on other sites

Hello!

 

I bought a X88 Pro 12 on amazon and flashed "Armbian_23.8.1_Rk3318-box_bookworm_current_6.1.50_xfce_desktop" to it. Everything seemed to work fine except for WiFi. With my very limited understanding of android, linux or the hardware side of things, I tried to extract the android DTB, but didn't manage to. Even if I did, I probably wouldn't have known how to really put it to use. Pretty positive dmesg didn't have any errors regarding wifi. "lshw -C network" did have two entries for WiFi, but they were very vague and it seemed that I was missing drivers. To my understanding the DTB is also incorrect, at least the WiFi and bluetooth part. Bluetooth might work fine since there actually was some options regarding it in armbian-config, didn't test since I don't really need it. rkconfig didn't recognize a WiFi chip. I opened the box up and the chip is a LGX8800D. There is some chat about it on the CoreELEC forums. Apparently "https://github.com/yanyitech/coolpi-kernel/tree/develop/drivers/net/wireless/rockchip_wlan/aic8800" contains the right drivers, but I am not sure if they are compatible with armbian as is or with my WiFi chip for that matter. I did revert back to android and downloaded "Device info HW", and it says on the WiFi section "aicwf_sdio". This make me think that maybe the aforementioned drivers are correct. 

 

I have pictures of either side of the board, original android backup I did with the multitool and rkdumper output files. Don't know how to get them to you with only 10 MB attachment size limit. Where should I upload them? I appreciate your time, if you're willing to give it.

Link to comment
Share on other sites

Hello all, I just found an HK1 RBOX R1 and its remote in a box of hand-me-downs and I wanted to document what I've achieved so far for anyone else who is in my situation and turns to search engines.

 

This is the device I'm referring to:

 

IMG_0657_scaled.JPG.c004b93c2b5f3654bcca2fea9bf2f296.JPG

 

IMG_0658_scaled.JPG.307ee04cd75239161e5afd8113344f7b.JPG

 

First, my hand-me-down was missing its power supply and it doesn't say what it takes on it. Since I wound up having to learn from a photo in an Amazon Marketplace listing which isn't likely to last, the power supply is 5VDC 2A, centre positive and the barrel plug has an outside diameter of 5.5mm according to my cheap eBay calipers.

 

The case is screwless but it spudgers open easily. Here's a photo that, among other things, shows the clip placements:

 

IMG_0659_scaled.thumb.JPG.b37dc2e7bf2bb50aebd2e1bfc806d47e.JPG
 

Here are higher-resolution PCB shots:

 

IMG_0660_scaled.thumb.JPG.6665c6e20c93dd3c2fc69c8660eb10ee.JPG

 

IMG_0661_scaled.thumb.JPG.ba140d2760a4e327aa6559bbc22f761c.JPG

 

I followed the instructions in the initial post to flash Armbian_23.8.1_Rk3318-box_bookworm_current_6.1.50_minimal.img.xz onto it and the default settings have given me no problems so far, though I haven't really done much yet beyond setting up SSH with public key authentication, disabling root login, applying pending APT upgrades, and getting the IR remote working. (Since all my other devices except my retro-hobby LAN's NTP/Samba/Netatalk server are x86-based, I figure it'll be a nice smoke-test platform to scp ARM builds of my Rust projects onto.)

 

Speaking of which, this is what the included remote looks like...

 

IMG_0662_scaled.JPG.7ac2a6166f0e8df950fd5909113c876a.JPG

 

...and it uses the `nec` protocol. Here are the button mappings:

 

0x8013 OK
0x8027 Back
0x8037 Left
0x8038 Up
0x8039 Right
0x8040 Down
0x8048 LeftClick
0x8073 Home
0x8081 Power
0x8083 Menu
0x8087 Volume+
0x8089 Volume-

 

...and here is an hk1_rbox_r1_remote.toml you can start from:

 

[[protocols]]
name = "HK1 RBOX R1 Remote"
protocol = "nec"
variant = "nec"
[protocols.scancodes]
0x8013 = "KEY_ENTER"
0x8027 = "KEY_ESC"
0x8037 = "KEY_LEFT"
0x8038 = "KEY_UP"
0x8039 = "KEY_RIGHT"
0x8040 = "KEY_DOWN"
0x8048 = "BTN_LEFT"
0x8073 = "KEY_HOMEPAGE"
0x8081 = "KEY_POWER"
0x8083 = "KEY_MENU"
0x8087 = "KEY_VOLUMEUP"
0x8089 = "KEY_VOLUMEDOWN"

 

As for things I haven't had time to read up on yet:

  • LEDs: This thing has a blue segmented LED display on the front that, with the stock Android, shows "boot" and then switches to displaying a clock. I also need to figure out how to to make the blue status LED stop blinking once it's finished booting (See next message.)
  • rk3318-config: Identifying what non-default settings to choose, if any

... but, for my first foray into something non-x86 beyond installing officially-vendor-supported Debian on a Cubox i4Pro, turning my old Raspberry Pi Model B into a specialized MP3 player for my mother years ago and turning my brother's Raspberry Pi 3B into a Batocera Linux box for Christmas a couple of years ago, I'd say I'm making good progress.

Edited by ssokolow
Another correction about the prior experience I forgot to mention
Link to comment
Share on other sites

I almost forgot to mention. The HK1 RBOX R1 has a reset button buried at the back of the 3.5mm TRS audio jack which this YouTube video demonstrates being used for some kind of DFU-esque flashing procedure using Rockchip's tools. That's all I know about it so far.

 

EDIT: While I was waiting for these posts to be approved, I also figured out the LED:

 

If you want the blue LED to stop blinking, you need to change the value of /sys/class/leds/working/trigger from "timer" to another setting. The brightness setting is backwards, so anything that's supposed to have it normally off and then blink it on briefly will do the opposite.

 

Here are the choices which actually produced an effect during my tests rather than just keeping the LED on:

 

Turn the LED off:

 

echo "default-on" > /sys/class/leds/working/trigger

 

(Alternatively, set it to "none" and then write a 1 to /sys/class/leds/working/brightness if you have plans to control it manually.)

 

LED on except when a button is pressed on the remote:

 

echo "rc-feedback" > /sys/class/leds/working/trigger

 

LED on normally. Blink off to denote CPU activity above some threshold:

 

echo "activity" > /sys/class/leds/working/trigger

 

UPDATE: I may or may not bother trying to get the LED clock display working since I didn't keep a backup of the original firmware once I confirmed Debian was working, I only now realize it may be needed to determine which GPIO are hooked up, and I'm not particularly enthused about downloading and trying to boot one of the stock firmware images off an SD card for a display that I'd just leave off anyway because I don't like piercing blue lights in my bedroom. (My main interest was in getting it to say "boot" once more so I know when it's ready for me to SSH in, and I can get that just by turning off the blinking LED on boot completion... with the added benefit that it'll turn on steady to signal shutdown completion.)

Edited by ssokolow
Typo fix
Link to comment
Share on other sites

@Ineptitude unfortunately the driver is not yet included into armbian. I tried to take a quick look to it and there is the usual mess of preprocessor directives to compile and run on the various manufacturer platforms, plus some low general quality code. I gave it some hours for inspection, then I gave up. Perhaps I will give some more love to it sooner or later, but I don't promise anything.

Link to comment
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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

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

Important Information

Terms of Use - Privacy Policy - Guidelines