Jump to content

CSC Armbian for RK322x TV box boards


jock

Recommended Posts

24 minutes ago, Hqnicolas said:

Without Armbian developing these rockchip devices they will go down in history as industrial waste

Well, sooner or later everything become "end of support", so I would not blame them actually.

Probably the assembly code is necessary to avoid some kind of patent or NDA infringment against NAND manufacturers, which use different algorithms for wear leveling and so on... I want to mean that probably it is not exactly rockchip intention to use obfuscated assembly code in there, but it is more like a tradeoff due to commercial reason to let them publish the whole source code.

 

Anyway, raw NANDs are actually a PITA from the software point of view, because you need a software FTL and all kinds of wear leveling and cells management. eMMC chips instead have their own controller that takes care of teh  management and "garbage collection" of the NAND cells, so software support is much simpler.

Link to comment
Share on other sites

7 minutes ago, jock said:

Anyway, raw NANDs are actually a PITA from the software point of view, because you need a software FTL and all kinds of wear leveling and cells management. eMMC chips instead have their own controller that takes care of teh  management and "garbage collection" of the NAND cells, so software support is much simpler.


nand is really necessary, but I wanted to understand why SD cards didn't suffer from the lack of FTL software.

I was thinking of  why we couldn't just run NAND as sdhci but SD cards have cotroller inside.....

image.png.5c76f23bb33a75bae30fae8800e59788.png

Link to comment
Share on other sites

Posted (edited)

@Hqnicolas no It Is NOT unexpected if you ONLY had read the whole topic

 It Is clearly exposed since the night of ages that nand works ONLY on legacy kernel.

 

About compiling the new 22.04, you cloned rockchip64-legacy.

Are you sure It would also work in 32 bit environment  armhf such as rk322x?

Edited by fabiobassa
Link to comment
Share on other sites

Posted (edited)
16 minutes ago, fabiobassa said:

About compiling the new 22.04, you cloned rockchip64-legacy.

Are you sure It would also work in 32 bit environment  armhf such as rk322x?


I don't have this board. in my mind https://github.com/armbian/build/tree/v22.08 will build for armhf....
I parachuted in here, and I've learned a few things already....
I'll let the professionals answer.

Edited by Hqnicolas
Link to comment
Share on other sites

3 hours ago, Hqnicolas said:

nand is really necessary, but I wanted to understand why SD cards didn't suffer from the lack of FTL software.

Because NANDs are the raw flash memory chips as-is, while sd card (as well as emmc) are both nand flash + controller. The controller provides the FTL layer and the management things. If you only have the raw NAND chip, the FTL and management has to be done in software, hence you need a kernel driver for that.

There is a brief explanation in the first topic page too (NAND vs eMMC vs eMCP) if you want a sum up of the topic.

 

edit: "fortunately" more recent low-edge chips like rk3328 and rk3528 don't have a raw NAND controller, so in the future we won't have the necessity to deal with raw NANDs

Link to comment
Share on other sites

5 minutes ago, jock said:

"fortunately" more recent low-edge chips like rk3328 and rk3528 don't have a raw NAND controller, so in the future we won't have the necessity to deal with raw NANDs


this part of the story I know, this is from where i came from 3318 -> 3328 -> 3566 ... I never went through this transition from nand to emmc

Link to comment
Share on other sites

@jock Hello sir, first of all, thank you for your great work.

I'm trying to remove the currently installed armbian and install another version. I assume that i can do it with the multitool? But my problem is the device won't boot to multitool anymore, but it goes straight to armbian.
is there a step i'm missing?

Thanks in advance.

Link to comment
Share on other sites

22 hours ago, kevjan said:

I'm trying to remove the currently installed armbian and install another version. I assume that i can do it with the multitool? But my problem is the device won't boot to multitool anymore, but it goes straight to armbian.
is there a step i'm missing?

Hello! Can't say if a step is missing, normally an sdcard with multitool on it is sufficient to let it boot from sdcard.

I don't know if you have an ancient version installed without the sdcard boot or a very new installation with the missing feature in u-boot.

 

You may take a look to this:

 

Link to comment
Share on other sites

Posted (edited)

Hello, thanks for the guide and such, I was able to successfully use the rkdeveloptool method to flash the R29-5G-LP3-v3.0 (MXQ-5G-Pro)

I guess there is no way of using the Wifi device of this board? 

Thanks anyway ❤️

edit: I have run already the rk322x-config and the hdmi is working, just wondering about the wifi ❤️

 

20240607_041518.jpg

Edited by Blyato
Link to comment
Share on other sites

@Blyato that's very difficult wifi is getting working if it is yet another unkown chinese vendor chip. From the photo i can't identify it, but have never seen such silhouette

Link to comment
Share on other sites

@jock at least I don't think it's a phone wifi module, you know a way I could check software wise? Or only way would be trying to remove the shield of the module to expose the chip? Would mean the world to me if I could make the wifi work, I have a USB wifi adapter but the problem is that I cant use antenna with it (would have to buy another one that does :/)

Link to comment
Share on other sites

48 minutes ago, RaptorSDS said:

BCM433x are normally good supported , do have rk322x-config and setup the right led config its help also with wifi enable signal

 


But I already did it although with led7, that supposedly should be the right one for this board?

Link to comment
Share on other sites

12 hours ago, Blyato said:

But I already did it although with led7, that supposedly should be the right one for this board?

Yes, but there are several bcm433x variants. You have to post dmesg log.

Link to comment
Share on other sites

7 hours ago, jock said:

You have to post dmesg log


Here it is, when it comes to linux, I only know how to use it, those things are too advanced for me, I only noticed in red that "/cpus/cpu@f03 missing clock-frequency property" , a part from that haven't seen anything related to network, thanks for checking it out ❤️ I bought this from the aliexpress most sold listing for MXQ 5G Pro 4k, so maybe will help others as well.

Spoiler

[    0.000000] Booting Linux on physical CPU 0xf00
[    0.000000] Linux version 6.6.31-current-rockchip (armbian@next) (arm-linux-gnueabihf-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP Fri May 17 10:02:40 UTC 2024
[    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 0x9f000000 on node -1
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000060000000-0x000000009fffffff]
[    0.000000]   HighMem  empty
[    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-0x000000009fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000060000000-0x000000009fffffff]
[    0.000000] On node 0, zone Normal: 1536 pages in unavailable ranges
[    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 14 pages/cpu s24788 r8192 d24364 u57344
[    0.000000] pcpu-alloc: s24788 r8192 d24364 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Kernel command line: earlyprintk root=UUID=e0db9ddc-9849-4fef-a73a-4993f54f4693 console=ttyS2,115200n8 console=tty1 rootwait rootfstype=ext4 splash=verbose  consoleblank=0 loglevel=1 ubootpart=7da90ab3-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u coherent_pool=2M  cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[    0.000000] Unknown kernel command line parameters "earlyprintk splash=verbose ubootpart=7da90ab3-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: 256256
[    0.000000] allocated 1048576 bytes of page_ext
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 975168K/1034240K available (16384K kernel code, 1299K rwdata, 3460K rodata, 1024K init, 567K bss, 42688K reserved, 16384K cma-reserved, 0K highmem)
[    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] 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.001480] Console: colour dummy device 80x30
[    0.001511] printk: console [tty1] enabled
[    0.001657] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001683] CPU: Testing write buffer coherency: ok
[    0.001759] pid_max: default: 32768 minimum: 301
[    0.001874] LSM: initializing lsm=capability,yama,integrity
[    0.001913] Yama: becoming mindful.
[    0.002104] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.002135] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.004047] /cpus/cpu@f00 missing clock-frequency property
[    0.004116] /cpus/cpu@f01 missing clock-frequency property
[    0.004150] /cpus/cpu@f02 missing clock-frequency property
[    0.004182] /cpus/cpu@f03 missing clock-frequency property
[    0.004202] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.006110] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.006356] Setting up static identity map for 0x60100000 - 0x60100060
[    0.006641] rcu: Hierarchical SRCU implementation.
[    0.006657] rcu:     Max phase no-delay instances is 1000.
[    0.007953] smp: Bringing up secondary CPUs ...
[    0.009376] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.010900] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.012526] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.012748] smp: Brought up 1 node, 4 CPUs
[    0.012782] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.012796] CPU: All CPU(s) started in SVC mode.
[    0.014663] devtmpfs: initialized
[    0.028460] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.028863] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.028906] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.030141] pinctrl core: initialized pinctrl subsystem
[    0.033122] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.036442] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.037451] audit: initializing netlink subsys (disabled)
[    0.037940] audit: type=2000 audit(0.036:1): state=initialized audit_enabled=0 res=1
[    0.039136] thermal_sys: Registered thermal governor 'step_wise'
[    0.039278] cpuidle: using governor ladder
[    0.039348] cpuidle: using governor menu
[    0.039817] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.039845] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.054949] platform 20050000.vop: Fixed dependency cycle(s) with /hdmi@200a0000
[    0.055102] platform 200a0000.hdmi: Fixed dependency cycle(s) with /vop@20050000
[    0.066648] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.067451] rockchip-gpio 11110000.gpio: probed /pinctrl/gpio@11110000
[    0.068450] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.069091] rockchip-gpio 11120000.gpio: probed /pinctrl/gpio@11120000
[    0.069930] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.070470] rockchip-gpio 11130000.gpio: probed /pinctrl/gpio@11130000
[    0.071038] gpio gpiochip3: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.071539] rockchip-gpio 11140000.gpio: probed /pinctrl/gpio@11140000
[    0.080383] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.
[    0.149047] raid6: neonx8   gen()   525 MB/s
[    0.217241] raid6: neonx4   gen()   731 MB/s
[    0.285385] raid6: neonx2   gen()   735 MB/s
[    0.353566] raid6: neonx1   gen()   602 MB/s
[    0.421814] raid6: int32x8  gen()   191 MB/s
[    0.489885] raid6: int32x4  gen()   198 MB/s
[    0.558098] raid6: int32x2  gen()   240 MB/s
[    0.626247] raid6: int32x1  gen()   253 MB/s
[    0.626261] raid6: using algorithm neonx2 gen() 735 MB/s
[    0.694374] raid6: .... xor() 542 MB/s, rmw enabled
[    0.694387] raid6: using neon recovery algorithm
[    0.699173] iommu: Default domain type: Translated
[    0.699216] iommu: DMA domain TLB invalidation policy: strict mode
[    0.700274] SCSI subsystem initialized
[    0.700622] usbcore: registered new interface driver usbfs
[    0.700689] usbcore: registered new interface driver hub
[    0.700776] usbcore: registered new device driver usb
[    0.701011] mc: Linux media interface: v0.10
[    0.701119] videodev: Linux video capture interface: v2.00
[    0.701318] pps_core: LinuxPPS API ver. 1 registered
[    0.701331] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.701364] PTP clock support registered
[    0.704832] Bluetooth: Core ver 2.22
[    0.704944] NET: Registered PF_BLUETOOTH protocol family
[    0.704955] Bluetooth: HCI device and connection manager initialized
[    0.704977] Bluetooth: HCI socket layer initialized
[    0.704990] Bluetooth: L2CAP socket layer initialized
[    0.705022] Bluetooth: SCO socket layer initialized
[    0.705219] NetLabel: Initializing
[    0.705228] NetLabel:  domain hash size = 128
[    0.705238] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.705366] NetLabel:  unlabeled traffic allowed by default
[    0.706825] clocksource: Switched to clocksource arch_sys_counter
[    0.707308] VFS: Disk quotas dquot_6.6.0
[    0.707380] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.707606] FS-Cache: Loaded
[    0.708041] CacheFiles: Loaded
[    0.723789] NET: Registered PF_INET protocol family
[    0.724188] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.727993] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.728055] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.728080] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.728175] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    0.728544] TCP: Hash tables configured (established 8192 bind 8192)
[    0.728747] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.728837] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.729229] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.733361] Trying to unpack rootfs image as initramfs...
[    0.743828] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.746158] Initialise system trusted keyrings
[    0.746755] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.747103] zbud: loaded
[    0.748738] SGI XFS with ACLs, security attributes, realtime, scrub, quota, fatal assert, debug enabled
[    0.964112] xor: measuring software checksum speed
[    0.976730]    arm4regs        :   787 MB/sec
[    0.990404]    8regs           :   723 MB/sec
[    1.004097]    32regs          :   722 MB/sec
[    1.013189]    neon            :  1097 MB/sec
[    1.013221] xor: using function: neon (1097 MB/sec)
[    1.013248] async_tx: api initialized (async)
[    1.013264] Key type asymmetric registered
[    1.013278] Asymmetric key parser 'x509' registered
[    1.013486] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 242)
[    1.014072] io scheduler mq-deadline registered
[    1.014101] io scheduler kyber registered
[    1.014177] io scheduler bfq registered
[    1.031377] dma-pl330 110f0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    1.031424] dma-pl330 110f0000.dma-controller:     DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    1.034974] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[    1.041384] printk: console [ttyS2] disabled
[    1.042242] 11030000.serial: ttyS2 at MMIO 0x11030000 (irq = 42, base_baud = 1500000) is a 16550A
[    1.043244] printk: console [ttyS2] enabled
[    1.051371] rockchip-vop 20050000.vop: Adding to iommu group 2
[    1.056204] usbcore: registered new interface driver udl
[    1.058313] brd: module loaded
[    1.072285] loop: module loaded
[    1.076338] tun: Universal TUN/TAP device driver, 1.6
[    1.076874] CAN device driver interface
[    1.078396] rk_gmac-dwmac 30200000.ethernet: IRQ eth_wake_irq not found
[    1.078440] rk_gmac-dwmac 30200000.ethernet: IRQ eth_lpi not found
[    1.078614] rk_gmac-dwmac 30200000.ethernet: PTP uses main clock
[    1.079165] rk_gmac-dwmac 30200000.ethernet: clock input or output? (output).
[    1.079203] rk_gmac-dwmac 30200000.ethernet: TX delay(0x26).
[    1.079223] rk_gmac-dwmac 30200000.ethernet: RX delay(0x11).
[    1.079263] rk_gmac-dwmac 30200000.ethernet: integrated PHY? (yes).
[    1.084516] rk_gmac-dwmac 30200000.ethernet: init for RMII
[    1.123504] rk_gmac-dwmac 30200000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    1.123566] rk_gmac-dwmac 30200000.ethernet:     DWMAC1000
[    1.123584] rk_gmac-dwmac 30200000.ethernet: DMA HW capability register supported
[    1.123597] rk_gmac-dwmac 30200000.ethernet: RX Checksum Offload Engine supported
[    1.123610] rk_gmac-dwmac 30200000.ethernet: COE Type 2
[    1.123624] rk_gmac-dwmac 30200000.ethernet: TX Checksum insertion supported
[    1.123636] rk_gmac-dwmac 30200000.ethernet: Wake-Up On Lan supported
[    1.123786] rk_gmac-dwmac 30200000.ethernet: Normal descriptors
[    1.123807] rk_gmac-dwmac 30200000.ethernet: Ring mode enabled
[    1.123819] rk_gmac-dwmac 30200000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    1.372848] Freeing initrd memory: 7900K
[    1.395928] usbcore: registered new interface driver rt2500usb
[    1.396007] usbcore: registered new interface driver rt73usb
[    1.396062] usbcore: registered new interface driver rt2800usb
[    1.396113] usbcore: registered new interface driver rndis_wlan
[    1.396164] usbcore: registered new interface driver cdc_ether
[    1.396226] usbcore: registered new interface driver rndis_host
[    1.397332] dwc2 30040000.usb: supply vusb_d not found, using dummy regulator
[    1.397568] dwc2 30040000.usb: supply vusb_a not found, using dummy regulator
[    1.419587] dwc2 30040000.usb: DWC OTG Controller
[    1.419709] dwc2 30040000.usb: new USB bus registered, assigned bus number 1
[    1.419786] dwc2 30040000.usb: irq 48, io mem 0x30040000
[    1.420213] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    1.420243] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.420260] usb usb1: Product: DWC OTG Controller
[    1.420273] usb usb1: Manufacturer: Linux 6.6.31-current-rockchip dwc2_hsotg
[    1.420286] usb usb1: SerialNumber: 30040000.usb
[    1.421439] hub 1-0:1.0: USB hub found
[    1.421529] hub 1-0:1.0: 1 port detected
[    1.424547] usbcore: registered new interface driver usb-storage
[    1.425352] usbcore: registered new interface driver iforce
[    1.425425] usbcore: registered new interface driver xpad
[    1.425585] usbcore: registered new interface driver usbtouchscreen
[    1.426935] i2c_dev: i2c /dev entries driver
[    1.429068] ehci-platform 30080000.usb: EHCI Host Controller
[    1.430018] ehci-platform 30080000.usb: new USB bus registered, assigned bus number 2
[    1.430210] ohci-platform 300a0000.usb: Generic Platform OHCI controller
[    1.431079] ohci-platform 300a0000.usb: new USB bus registered, assigned bus number 3
[    1.431522] ehci-platform 30080000.usb: irq 49, io mem 0x30080000
[    1.431609] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
[    1.431983] ohci-platform 300a0000.usb: irq 52, io mem 0x300a0000
[    1.432152] ehci-platform 300c0000.usb: EHCI Host Controller
[    1.432206] ohci-platform 300e0000.usb: Generic Platform OHCI controller
[    1.432512] ohci-platform 30120000.usb: Generic Platform OHCI controller
[    1.432546] ehci-platform 30100000.usb: EHCI Host Controller
[    1.432920] Bluetooth: HCI UART driver ver 2.3
[    1.432951] Bluetooth: HCI UART protocol H4 registered
[    1.432964] Bluetooth: HCI UART protocol ATH3K registered
[    1.433041] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    1.433073] ehci-platform 30100000.usb: new USB bus registered, assigned bus number 6
[    1.433156] ohci-platform 30120000.usb: new USB bus registered, assigned bus number 7
[    1.433164] ohci-platform 300e0000.usb: new USB bus registered, assigned bus number 5
[    1.433319] Bluetooth: HCI UART protocol Broadcom registered
[    1.433425] usbcore: registered new interface driver bfusb
[    1.433451] ehci-platform 300c0000.usb: new USB bus registered, assigned bus number 4
[    1.433510] usbcore: registered new interface driver btusb
[    1.434249] ohci-platform 30120000.usb: irq 54, io mem 0x30120000
[    1.434868] ohci-platform 300e0000.usb: irq 53, io mem 0x300e0000
[    1.436251] sdhci: Secure Digital Host Controller Interface driver
[    1.436280] sdhci: Copyright(c) Pierre Ossman
[    1.436274] ehci-platform 30100000.usb: irq 51, io mem 0x30100000
[    1.436289] Synopsys Designware Multimedia Card Interface Driver
[    1.436785] ehci-platform 300c0000.usb: irq 50, io mem 0x300c0000
[    1.436970] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.440326] dwmmc_rockchip 30010000.mmc: IDMAC supports 32-bit address mode.
[    1.440815] dwmmc_rockchip 30010000.mmc: Using internal DMA controller.
[    1.440854] dwmmc_rockchip 30010000.mmc: Version ID is 270a
[    1.440946] dwmmc_rockchip 30020000.mmc: IDMAC supports 32-bit address mode.
[    1.440953] dwmmc_rockchip 30010000.mmc: DW MMC controller at irq 55,32 bit host data width,256 deep fifo
[    1.441252] dwmmc_rockchip 30000000.mmc: IDMAC supports 32-bit address mode.
[    1.441332] ledtrig-cpu: registered to indicate activity on CPUs
[    1.441436] dwmmc_rockchip 30020000.mmc: Using internal DMA controller.
[    1.441464] dwmmc_rockchip 30020000.mmc: Version ID is 270a
[    1.441509] hid: raw HID events driver (C) Jiri Kosina
[    1.441549] dwmmc_rockchip 30020000.mmc: DW MMC controller at irq 57,32 bit host data width,256 deep fifo
[    1.441837] dwmmc_rockchip 30020000.mmc: allocated mmc-pwrseq
[    1.441843] dwmmc_rockchip 30010000.mmc: allocated mmc-pwrseq
[    1.441864] mmc_host mmc1: card is non-removable.
[    1.441865] mmc_host mmc2: card is non-removable.
[    1.442371] dwmmc_rockchip 30000000.mmc: Using internal DMA controller.
[    1.442412] dwmmc_rockchip 30000000.mmc: Version ID is 270a
[    1.442533] dwmmc_rockchip 30000000.mmc: DW MMC controller at irq 56,32 bit host data width,256 deep fifo
[    1.442545] usbcore: registered new interface driver usbhid
[    1.442555] usbhid: USB HID core driver
[    1.442758] rockchip-dfi 11210000.dfi: rk3228_dfi_init enter
[    1.442937] dwmmc_rockchip 30000000.mmc: Got CD GPIO
[    1.442935] rockchip-dfi 11210000.dfi: rk3228-dfi initialized, dram type: 0x6, channels: 1
[    1.443032] dwmmc_rockchip 30000000.mmc: allocated mmc-pwrseq
[    1.446644] NET: Registered PF_INET6 protocol family
[    1.447223] ehci-platform 30080000.usb: USB 2.0 started, EHCI 1.00
[    1.447940] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    1.447978] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.447996] usb usb2: Product: EHCI Host Controller
[    1.448009] usb usb2: Manufacturer: Linux 6.6.31-current-rockchip ehci_hcd
[    1.448023] usb usb2: SerialNumber: 30080000.usb
[    1.449751] hub 2-0:1.0: USB hub found
[    1.450642] Segment Routing with IPv6
[    1.450742] In-situ OAM (IOAM) with IPv6
[    1.450956] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.450999] hub 2-0:1.0: 1 port detected
[    1.453204] NET: Registered PF_PACKET protocol family
[    1.453297] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.453314] can: controller area network core
[    1.453389] NET: Registered PF_CAN protocol family
[    1.453780] Bluetooth: RFCOMM TTY layer initialized
[    1.453832] Bluetooth: RFCOMM socket layer initialized
[    1.453911] Bluetooth: RFCOMM ver 1.11
[    1.453943] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    1.453963] Bluetooth: HIDP socket layer initialized
[    1.454292] 8021q: 802.1Q VLAN Support v1.8
[    1.454364] lib80211: common routines for IEEE802.11 drivers
[    1.454376] lib80211_crypt: registered algorithm 'NULL'
[    1.454389] lib80211_crypt: registered algorithm 'WEP'
[    1.454399] lib80211_crypt: registered algorithm 'CCMP'
[    1.454409] lib80211_crypt: registered algorithm 'TKIP'
[    1.454478] Key type dns_resolver registered
[    1.454960] ThumbEE CPU extension supported.
[    1.454977] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    1.454977] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    1.455000] Registering SWP/SWPB emulation handler
[    1.455190] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    1.462887] ehci-platform 30100000.usb: USB 2.0 started, EHCI 1.00
[    1.467298] usb usb6: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    1.467353] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.467370] usb usb6: Product: EHCI Host Controller
[    1.467384] usb usb6: Manufacturer: Linux 6.6.31-current-rockchip ehci_hcd
[    1.467399] usb usb6: SerialNumber: 30100000.usb
[    1.468905] hub 6-0:1.0: USB hub found
[    1.469021] hub 6-0:1.0: 1 port detected
[    1.475760] registered taskstats version 1
[    1.476161] Loading compiled-in X.509 certificates
[    1.478896] ehci-platform 300c0000.usb: USB 2.0 started, EHCI 1.00
[    1.480099] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    1.480156] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.480175] usb usb4: Product: EHCI Host Controller
[    1.480189] usb usb4: Manufacturer: Linux 6.6.31-current-rockchip ehci_hcd
[    1.480202] usb usb4: SerialNumber: 300c0000.usb
[    1.483029] hub 4-0:1.0: USB hub found
[    1.483142] hub 4-0:1.0: 1 port detected
[    1.495858] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.06
[    1.495996] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.496018] usb usb3: Product: Generic Platform OHCI controller
[    1.496038] usb usb3: Manufacturer: Linux 6.6.31-current-rockchip ohci_hcd
[    1.496061] usb usb3: SerialNumber: 300a0000.usb
[    1.498687] zswap: loaded using pool zstd/z3fold
[    1.499184] hub 3-0:1.0: USB hub found
[    1.499324] hub 3-0:1.0: 1 port detected
[    1.500413] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.06
[    1.500454] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.500472] usb usb7: Product: Generic Platform OHCI controller
[    1.500487] usb usb7: Manufacturer: Linux 6.6.31-current-rockchip ohci_hcd
[    1.500500] usb usb7: SerialNumber: 30120000.usb
[    1.501657] hub 7-0:1.0: USB hub found
[    1.501755] hub 7-0:1.0: 1 port detected
[    1.503227] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.06
[    1.503273] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.503292] usb usb5: Product: Generic Platform OHCI controller
[    1.503308] usb usb5: Manufacturer: Linux 6.6.31-current-rockchip ohci_hcd
[    1.503321] usb usb5: SerialNumber: 300e0000.usb
[    1.504503] hub 5-0:1.0: USB hub found
[    1.504598] hub 5-0:1.0: 1 port detected
[    1.511479] Key type .fscrypt registered
[    1.511515] Key type fscrypt-provisioning registered
[    1.513532] Btrfs loaded, zoned=no, fsverity=no
[    1.515030] mmc_host mmc1: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)
[    1.535388] inno-hdmi-phy 12030000.hdmi-phy: error -ENXIO: IRQ index 0 not found
[    1.535713] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0)
[    1.535782] inno-hdmi-phy 12030000.hdmi-phy: phy_flag is: 0
[    1.538310] rockchip-drm display-subsystem: bound 20050000.vop (ops 0xb1184d74)
[    1.538459] dwhdmi-rockchip 200a0000.hdmi: supply avdd-0v9 not found, using dummy regulator
[    1.538893] dwhdmi-rockchip 200a0000.hdmi: supply avdd-1v8 not found, using dummy regulator
[    1.539447] dwhdmi-rockchip 200a0000.hdmi: Detected HDMI TX controller v2.01a with HDCP (inno_dw_hdmi_phy2)
[    1.540907] dwhdmi-rockchip 200a0000.hdmi: registered DesignWare HDMI I2C bus driver
[    1.541423] rockchip-drm display-subsystem: bound 200a0000.hdmi (ops 0xb1188a60)
[    1.542735] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[    1.543006] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    1.543222] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    1.544236] of_cfs_init
[    1.544317] of_cfs_init: OK
[    1.544885] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.571107] mmc2: new high speed MMC card at address 0001
[    1.572792] mmcblk2: mmc2:0001 P1J95K 7.28 GiB
[    1.580985]  mmcblk2: p1
[    1.582706] mmcblk2boot0: mmc2:0001 P1J95K 4.00 MiB
[    1.583203] mmc_host mmc1: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0)
[    1.586424] mmcblk2boot1: mmc2:0001 P1J95K 4.00 MiB
[    1.589622] mmcblk2rpmb: mmc2:0001 P1J95K 4.00 MiB, chardev (239:0)
[    1.591800] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.594233] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[    1.594541] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.594576] cfg80211: failed to load regulatory.db
[    1.594748] clk: Disabling unused clocks
[    1.597212] Freeing unused kernel image (initmem) memory: 1024K
[    1.597705] Run /init as init process
[    1.597723]   with arguments:
[    1.597731]     /init
[    1.597739]     earlyprintk
[    1.597747]   with environment:
[    1.597754]     HOME=/
[    1.597761]     TERM=linux
[    1.597769]     splash=verbose
[    1.597777]     ubootpart=7da90ab3-01
[    1.597784]     cgroup_enable=memory
[    1.597793]     cgroup_memory=1
[    1.647059] mmc_host mmc1: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
[    1.716294] mmc1: Failed to initialize a non-removable card
[    2.579203] rk_gmac-dwmac 30200000.ethernet end0: renamed from eth0
[    2.579493] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    3.639046] EXT4-fs (mmcblk2p1): mounted filesystem e0db9ddc-9849-4fef-a73a-4993f54f4693 ro with writeback data mode. Quota mode: none.
[    4.196626] systemd[1]: System time before build time, advancing clock.
[    4.256637] systemd[1]: systemd 252.22-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.256721] systemd[1]: Detected architecture arm.
[    4.263171] systemd[1]: Hostname set to <rk322x-box>.
[    4.553837] dw-apb-uart 11030000.serial: forbid DMA for kernel console
[    5.531897] systemd[1]: Queued start job for default target graphical.target.
[    5.560449] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[    5.565849] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[    5.570900] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[    5.574606] systemd[1]: Created slice user.slice - User and Session Slice.
[    5.576239] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch.
[    5.577490] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[    5.580057] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[    5.580993] systemd[1]: Expecting device dev-ttyS2.device - /dev/ttyS2...
[    5.581738] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
[    5.582614] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[    5.583776] systemd[1]: Reached target paths.target - Path Units.
[    5.584664] systemd[1]: Reached target remote-fs.target - Remote File Systems.
[    5.585371] systemd[1]: Reached target slices.target - Slice Units.
[    5.586217] systemd[1]: Reached target swap.target - Swaps.
[    5.586999] systemd[1]: Reached target time-set.target - System Time Set.
[    5.588543] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[    5.590759] systemd[1]: Listening on syslog.socket - Syslog Socket.
[    5.592899] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket.
[    5.594442] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[    5.597631] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket.
[    5.599880] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[    5.602099] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[    5.605742] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[    5.607911] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[    5.609986] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[    5.651575] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[    5.662976] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
[    5.665349] systemd[1]: sys-kernel-tracing.mount - Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[    5.683138] systemd[1]: Starting fake-hwclock.service - Restore / save the current clock...
[    5.695083] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout...
[    5.708862] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[    5.730491] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
[    5.746116] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[    5.761492] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
[    5.781061] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[    5.798307] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
[    5.815196] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
[    5.817598] 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).
[    5.839986] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[    5.854387] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[    5.857455] fuse: init (API version 7.39)
[    5.869279] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[    5.899816] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[    5.901915] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[    5.906515] systemd[1]: Finished fake-hwclock.service - Restore / save the current clock.
[    5.913711] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[    5.920942] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    5.924015] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
[    5.929895] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[    5.933592] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[    5.941806] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    5.944786] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
[    5.950608] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[    5.953737] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[    5.959804] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[    5.962069] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse.
[    5.968154] systemd[1]: modprobe@loop.service: Deactivated successfully.
[    5.970684] systemd[1]: Finished modprobe@loop.service - Load Kernel Module loop.
[    5.976161] systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules.
[    5.977192] EXT4-fs (mmcblk2p1): re-mounted e0db9ddc-9849-4fef-a73a-4993f54f4693 r/w. Quota mode: none.
[    5.989074] systemd[1]: Finished systemd-remount-fs.service - Remount Root and Kernel File Systems.
[    6.039956] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System...
[    6.053359] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System...
[    6.054939] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
[    6.068338] systemd[1]: Starting systemd-random-seed.service - Load/Save Random Seed...
[    6.069787] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger condition checks were met.
[    6.083259] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables...
[    6.100295] systemd[1]: Starting systemd-sysusers.service - Create System Users...
[    6.149667] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System.
[    6.152273] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System.
[    6.242601] systemd[1]: Finished systemd-sysusers.service - Create System Users.
[    6.247519] systemd[1]: Finished systemd-sysctl.service - Apply Kernel Variables.
[    6.284250] systemd[1]: Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev...
[    6.400751] systemd[1]: Finished systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev.
[    6.447972] systemd[1]: Starting systemd-udevd.service - Rule-based Manager for Device Events and Files...
[    6.467592] systemd[1]: Finished keyboard-setup.service - Set the console keyboard layout.
[    6.469460] systemd[1]: Reached target local-fs-pre.target - Preparation for Local File Systems.
[    6.742599] systemd[1]: Started systemd-udevd.service - Rule-based Manager for Device Events and Files.
[    6.811061] systemd[1]: Finished systemd-udev-trigger.service - Coldplug All udev Devices.
[    6.971875] systemd[1]: Mounting tmp.mount - /tmp...
[    7.100804] systemd[1]: Mounted tmp.mount - /tmp.
[    7.213973] systemd[1]: Found device dev-ttyS2.device - /dev/ttyS2.
[    7.559026] rk3288-crypto 100a0000.cypto-controller: will run requests pump with realtime priority
[    7.559239] rk3288-crypto 100a0000.cypto-controller: Register ecb(aes) as ecb-aes-rk
[    7.559328] rk3288-crypto 100a0000.cypto-controller: Register cbc(aes) as cbc-aes-rk
[    7.559364] rk3288-crypto 100a0000.cypto-controller: Register ecb(des) as ecb-des-rk
[    7.559393] rk3288-crypto 100a0000.cypto-controller: Register cbc(des) as cbc-des-rk
[    7.559424] rk3288-crypto 100a0000.cypto-controller: Register ecb(des3_ede) as ecb-des3-ede-rk
[    7.559453] rk3288-crypto 100a0000.cypto-controller: Register cbc(des3_ede) as cbc-des3-ede-rk
[    7.559482] rk3288-crypto 100a0000.cypto-controller: Register sha1 as rk-sha1
[    7.559513] rk3288-crypto 100a0000.cypto-controller: Register sha256 as rk-sha256
[    7.559544] rk3288-crypto 100a0000.cypto-controller: Register md5 as rk-md5
[    7.654079] dw_wdt 110a0000.watchdog: No valid TOPs array specified
[    7.729621] systemd[1]: Reached target local-fs.target - Local File Systems.
[    7.789258] systemd[1]: Starting armbian-zram-config.service - Armbian ZRAM config...
[    7.811658] rk3228-codec 12010000.codec: spk_depop_time use default value.
[    7.833664] systemd[1]: Starting console-setup.service - Set console font and keymap...
[    7.896388] rockchip-rga 20060000.rga: HW Version: 0x04.01
[    7.911399] lima 20000000.gpu: gp - mali400 version major 1 minor 1
[    7.911713] lima 20000000.gpu: pp0 - mali400 version major 1 minor 1
[    7.911950] lima 20000000.gpu: pp1 - mali400 version major 1 minor 1
[    7.912025] lima 20000000.gpu: l2 cache 64K, 4-way, 64byte cache line, 64bit external bus
[    7.917017] rockchip_vdec: module is from the staging directory, the quality is unknown, you have been warned.
[    7.922767] rkvdec 20030000.video-codec: Adding to iommu group 1
[    7.923034] rockchip-rga 20060000.rga: Registered rockchip-rga as /dev/video0
[    7.923947] lima 20000000.gpu: bus rate = 300000000
[    7.924023] lima 20000000.gpu: mod rate = 300000000
[    7.932104] systemd[1]: Starting systemd-binfmt.service - Set Up Additional Binary Formats...
[    7.947211] [drm] Initialized lima 1.1.0 20191231 for 20000000.gpu on minor 1
[    7.960240] rockchip-iep 20070000.iep: Adding to iommu group 3
[    7.968755] rockchip-iep 20070000.iep: Device rockchip-iep registered as /dev/video2
[    8.002027] systemd[1]: Finished console-setup.service - Set console font and keymap.
[    8.011735] hantro-vpu 20020000.video-codec: Adding to iommu group 0
[    8.025729] hantro-vpu 20020000.video-codec: registered rockchip,rk3399-vpu-enc as /dev/video3
[    8.035351] hantro-vpu 20020000.video-codec: registered rockchip,rk3399-vpu-dec as /dev/video4
[    8.127465] systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 332 (systemd-binfmt)
[    8.211288] systemd[1]: Mounting proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System...
[    8.297389] Registered IR keymap rc-rk322x-tvbox
[    8.363894] IR NEC protocol handler initialized
[    8.392923] rc rc0: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0
[    8.395135] rc rc0: lirc_dev: driver gpio_ir_recv registered at minor = 0, raw IR receiver, no transmitter
[    8.395613] input: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0/input1
[    8.436157] systemd[1]: Mounted proc-sys-fs-binfmt_misc.mount - Arbitrary Executable File Formats File System.
[    8.478392] systemd[1]: Finished systemd-binfmt.service - Set Up Additional Binary Formats.
[    8.531281] zram: Added device: zram0
[    8.532986] zram: Added device: zram1
[    8.536835] zram: Added device: zram2
[    8.778891] systemd[1]: Listening on systemd-rfkill.socket - Load/Save RF Kill Switch Status /dev/rfkill Watch.
[    8.869266] zram0: detected capacity change from 0 to 1000480
[    9.110593] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[    9.111556] systemd[1]: sys-kernel-tracing.mount - Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[    9.151972] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[    9.164252] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[    9.177744] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
[    9.185593] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[    9.188034] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[    9.193243] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[    9.195390] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[    9.197945] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
[    9.204164] systemd[1]: modprobe@loop.service: Deactivated successfully.
[    9.205761] systemd[1]: Finished modprobe@loop.service - Load Kernel Module loop.
[    9.208124] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger condition checks were met.
[    9.674826] random: crng init done
[    9.693914] systemd[1]: Finished systemd-random-seed.service - Load/Save Random Seed.
[    9.695745] systemd[1]: first-boot-complete.target - First Boot Complete was skipped because of an unmet condition check (ConditionFirstBoot=yes).
[    9.696273] 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).
[    9.702971] rc rc0: two consecutive events of type space
[    9.714677] Adding 500236k swap on /dev/zram0.  Priority:5 extents:1 across:500236k SS
[   10.047165] zram1: detected capacity change from 0 to 102400
[   10.122091] systemd[1]: Finished armbian-zram-config.service - Armbian ZRAM config.
[   10.152253] systemd[1]: Starting armbian-ramlog.service - Armbian memory supported logging...
[   10.265048] EXT4-fs (zram1): mounted filesystem c45c544f-91ac-4728-9235-714d6d90ed8a r/w without journal. Quota mode: none.
[   13.674405] systemd[1]: Finished armbian-ramlog.service - Armbian memory supported logging.
[   13.713216] systemd[1]: Starting systemd-journald.service - Journal Service...
[   14.173508] systemd[1]: Started systemd-journald.service - Journal Service.
[   14.270479] systemd-journald[502]: Received client request to flush runtime journal.
[   16.678724] systemd-journald[502]: Received client request to relinquish /var/log/journal/cf9ccfb225c74bcd9803627831f2212a access.
[   19.105431] rk_gmac-dwmac 30200000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   19.177194] rk_gmac-dwmac 30200000.ethernet end0: PHY [stmmac-0:00] driver [Rockchip integrated EPHY] (irq=POLL)
[   19.187136] rk_gmac-dwmac 30200000.ethernet end0: No Safety Features support found
[   19.187222] rk_gmac-dwmac 30200000.ethernet end0: PTP not supported by HW
[   19.201680] rk_gmac-dwmac 30200000.ethernet end0: configuring for phy/rmii link mode
[   21.251518] rk_gmac-dwmac 30200000.ethernet end0: Link is Up - 100Mbps/Full - flow control rx/tx
[   36.002475] systemd-journald[502]: Received client request to flush runtime journal.
[   36.227652] systemd-journald[502]: Received client request to relinquish /var/log/journal/cf9ccfb225c74bcd9803627831f2212a access.
[   45.086987] systemd[1284]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
 

 

 

Link to comment
Share on other sites

@Blyato From dmesg I see the wifi chip is just turned off:

 

[    1.716294] mmc1: Failed to initialize a non-removable card

 

I'm pretty confident that the issue is related to the GPIO power pin of the wifi chip being incorrectly set.

You mentioned you are using led-conf7, which is the right device tree for R29 boards, but it seems that your board is a different version/revision and requires some adjustment.

 

To do such adjustment, I definitely need the device tree or the backup of the stock android.

 

A possibility is to try other led-conf options and see if the wifi chip is at least recognized, but I don't suggest to do so because led-conf7 is vital for the stability of the R29 boards: without it, your board will probably be unable to boot at all.

Link to comment
Share on other sites

10 minutes ago, jock said:

I definitely need the device tree or the backup of the stock android.


I guess it's not really possible for me to get this device tree? I tried to backup the stock image but couldn't get multitool to read and I totally forgot to try doing with the rk tool... 

Link to comment
Share on other sites

@Blyato
this is the other coin side of cheap tvboxes : devilish behaviour is just around the corner. If someone wants reasonable functions one must buy sbc well supported.

That said unfortunately without original stock firmware, device tree or better the whole board in hands is quite impossible to guess what is going on

Try to search on google or ask vendor for the stock firmware

 

Link to comment
Share on other sites

3 hours ago, fabiobassa said:

Try to search on google or ask vendor for the stock firmware


I sent them a message, even sent an email and a whatsapp to the manufacture ( junuo ? hehe) , will see if I get a reply, google sadly doesn't help as seems it's the latest version of the board (v3.0), I really want to make this wifi work 😂 

The thing about SBC is that I already have one, the thing is that I spent some good time searching for a chip that would have multiple usb hosts instead of just one, and that's not easy to find, specially not below 50 euros, I came across the rk3228, that somehow is available at those tv boxes :(.

Link to comment
Share on other sites

hello, im new here, i want to flash armbian to my MXQ 4K 5G with rk3228a, i manage to boot it to multitool but when i select Backup or Flash, it said no suitable emmc,

 

what to do?

 

Link to comment
Share on other sites

14 hours ago, kuyadan said:

hello, im new here, i want to flash armbian to my MXQ 4K 5G with rk3228a, i manage to boot it to multitool but when i select Backup or Flash, it said no suitable emmc,

Perhaps you don't have an MMC but a NAND, so installing recent armbian won't work.

You should post the dmesg log here, the multitool saves a copy on the partition of the sdcard after the first boot

Link to comment
Share on other sites

- Please help me. I'm stuck 100% here after booting on mxq pro4k. (Rk3228a) Unable new reboot from sd card on tv box. 

 

- I think armbiam jammy not support in board. 
 

- How to boot sd card or command to boot.


 

https://silpakorn-my.sharepoint.com/:f:/g/personal/koosiriwanich_s_su_ac_th/EukZkSlhAyZKiP3mCGqwFR8BHyHl3i4euWPhGaXiqRvUEw?e=3GUsYW

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