Jump to content

CSC Armbian for RK3318/RK3328 TV box boards


jock
 Share

Recommended Posts

3 hours ago, jock said:

@Gausus You'd better try a specialized memory benchmark application like mbw rather than involving the linux filesystem subsystem and dd to do such kind of benchmarks.

 

Thank you for the tips @jock

 

 

I have 2 H96max+ RK3328 ∕ 4GB  tvboxes.

 

Armbian 22.08 - Debian Bullseye minimal - mainline kernel 5.18.10

 

BOX1 :  On internal eMMC

BOX2:   Boot Armbian from SDCARD  , Android on internal eMMC

 

Benchmark from terminal:

mbw 1000

 

Box1 : RAM 667Mhz CPU @ 1,3GHz

AVG    Method: MEMCPY    Elapsed: 0.82118    MiB: 1000.00000    Copy: 1217.764 MiB/s
AVG    Method: DUMB    Elapsed: 0.88632    MiB: 1000.00000    Copy: 1128.263 MiB/s
AVG    Method: MCBLOCK    Elapsed: 0.27756    MiB: 1000.00000    Copy: 3602.800 MiB/s

 

Box2 : RAM 333Mhz (Android uboot) CPU @ 1,3GHz

AVG    Method: MEMCPY    Elapsed: 1.51033    MiB: 1000.00000    Copy: 662.107 MiB/s
AVG    Method: DUMB    Elapsed: 1.62614    MiB: 1000.00000    Copy: 614.955 MiB/s
AVG    Method: MCBLOCK    Elapsed: 0.54709    MiB: 1000.00000    Copy: 1827.854 MiB/s

 

To boot from sdcard when Android on internal storage.

1. Flash Armbian on sdcard

2. Download Multitool.img 

3. Mount multitool.img on linuxpc or flash to another sdcard.

4. Copy  trustos.img and uboot.img from bsp folder to a folder on linuxpc,

5 . DD trustos.img and uboot.img to sdcard Armbian from linuxpc

 

sudo dd if=uboot.img of=/dev/SDCARD seek=16384 conv=fsync
sudo dd if=trustos.img of=/dev/SDCARD seek=24576 conv=fsync

 

 

 

Edited by Gausus
Link to comment
Share on other sites

Search Before Posting!

On 7/12/2022 at 1:01 PM, jock said:

Sorry for the bad experience 😥

No prob, I was counting on the possibility of bricking it, but it was just a 20€ crappy device laying around. And it is not bricked after all, yet it works faster than factory with Armbian, and even have WiFi, which I didn't expect 😆

I'm on vacation and I don't have any USB-OTG cable here, so I cannot use the RK flashing tool. There is an option to create an "upgrade SD card", but it only supports cards up to 16GB, not bigger (WTH?), and also requires a reset button which seems not to be present on the device.

 

This also motivates me to spend some time finishing the media integration for Mainline, so I can at least use Kodi on this 😄

 

Link to comment
Share on other sites

21 hours ago, JMCC said:

This also motivates me to spend some time finishing the media integration for Mainline, so I can at least use Kodi on this 😄

I have some old notes about compiling ffmpeg, kodi and mpv for mainline. ffmpeg and mpv worked out really well, kodi was bit of hit and miss.

If you need a hand with that I may send you those things.

Link to comment
Share on other sites

19 hours ago, jock said:

I may send you those things

Sure, you can PM them to me, please.

 

On a side note, I finally got to re-flash some image to my TV box, using a usb-c to usb-a cable on my laptop. This one seems to make the box run a bit hotter and maybe faster, I will try to investigate whether memory is clocked at 666MHz or not.

[EDIT: No, all dmc opp's 400MHz and above are disabled. But the CPU opp at 1104MHz is runnig at a voltage of 1275/1275/1350, hence the heat. This is crazy...]

Link to comment
Share on other sites

On 7/13/2022 at 9:39 PM, Gausus said:

I have 2 H96max+ RK3328 ∕ 4GB  tvboxes.

 

Armbian 22.08 - Debian Bullseye minimal - mainline kernel 5.18.10

 

To boot from sdcard when Android on internal storage.

1. Flash Armbian on sdcard

2. Download Multitool.img 

3. Mount multitool.img on linuxpc or flash to another sdcard.

4. Copy  trustos.img and uboot.img from bsp folder to a folder on linuxpc,

5 . DD trustos.img and uboot.img to sdcard Armbian from linuxpc

 

sudo dd if=uboot.img of=/dev/SDCARD seek=16384 conv=fsync
sudo dd if=trustos.img of=/dev/SDCARD seek=24576 conv=fsync

Could not get this to work with neither of the first post images.

X88 Pro 10 with in an tf card set up like this it does not do anything at all. How did you arrive at those seek values?

Edited by Aapo Tahkola
Link to comment
Share on other sites

Hi! Thanks for images at first.
I'm trying to launch docker on your image but get problems with cgroup.
dockerd --debug output:

Spoiler

INFO[2022-07-20T10:44:37.706776935Z] Starting up                                  
DEBU[2022-07-20T10:44:37.711125855Z] Listener created for HTTP on unix (/var/run/docker.sock)
DEBU[2022-07-20T10:44:37.714458053Z] Golang's threads limit set to 13140          
INFO[2022-07-20T10:44:37.718256322Z] parsed scheme: "unix"                         module=grpc
INFO[2022-07-20T10:44:37.718936178Z] scheme "unix" not registered, fallback to default scheme  module=grpc
INFO[2022-07-20T10:44:37.719264877Z] ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0  <nil>}] }  module=grpc
INFO[2022-07-20T10:44:37.719553327Z] ClientConn switching balancer to "pick_first"  module=grpc
INFO[2022-07-20T10:44:37.721256613Z] pickfirstBalancer: HandleSubConnStateChange: 0x400074adf0, CONNECTING  module=grpc
INFO[2022-07-20T10:44:37.722010842Z] blockingPicker: the picked transport is not ready, loop back to repick  module=grpc
INFO[2022-07-20T10:44:37.724737557Z] pickfirstBalancer: HandleSubConnStateChange: 0x400074adf0, READY  module=grpc
INFO[2022-07-20T10:44:37.730412648Z] parsed scheme: "unix"                         module=grpc
INFO[2022-07-20T10:44:37.730701098Z] scheme "unix" not registered, fallback to default scheme  module=grpc
INFO[2022-07-20T10:44:37.730943466Z] ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0  <nil>}] }  module=grpc
INFO[2022-07-20T10:44:37.731078212Z] ClientConn switching balancer to "pick_first"  module=grpc
INFO[2022-07-20T10:44:37.732039810Z] pickfirstBalancer: HandleSubConnStateChange: 0x400013eb20, CONNECTING  module=grpc
INFO[2022-07-20T10:44:37.732198764Z] blockingPicker: the picked transport is not ready, loop back to repick  module=grpc
INFO[2022-07-20T10:44:37.734156376Z] pickfirstBalancer: HandleSubConnStateChange: 0x400013eb20, READY  module=grpc
DEBU[2022-07-20T10:44:37.737798607Z] Using default logging driver json-file       
DEBU[2022-07-20T10:44:37.737868022Z] processing event stream                       module=libcontainerd namespace=plugins.moby
DEBU[2022-07-20T10:44:37.738984782Z] [graphdriver] priority list: [btrfs zfs overlay2 aufs overlay devicemapper vfs]
DEBU[2022-07-20T10:44:37.765748824Z] backingFs=extfs, projectQuotaSupported=false, indexOff="index=off,"  storage-driver=overlay2
INFO[2022-07-20T10:44:37.765964651Z] [graphdriver] using prior storage driver: overlay2
DEBU[2022-07-20T10:44:37.766114563Z] Initialized graph driver overlay2            
WARN[2022-07-20T10:44:37.776379192Z] Your kernel does not support cgroup memory limit
WARN[2022-07-20T10:44:37.776531438Z] Unable to find cpu cgroup in mounts          
WARN[2022-07-20T10:44:37.776584812Z] Unable to find blkio cgroup in mounts        
WARN[2022-07-20T10:44:37.776630602Z] Unable to find cpuset cgroup in mounts       
WARN[2022-07-20T10:44:37.776673767Z] mountpoint for pids not found                
DEBU[2022-07-20T10:44:37.778690878Z] Cleaning up old mountid : start.             
failed to start daemon: Devices cgroup isn't mounted

 

cgroupfs-mount:

Spoiler

mount: /sys/fs/cgroup/cpuset: cgroup already mounted or mount point busy.
mount: /sys/fs/cgroup/cpu: cgroup already mounted or mount point busy.
mount: /sys/fs/cgroup/blkio: cgroup already mounted on /sys/fs/cgroup/cpuacct.
mount: /sys/fs/cgroup/memory: cgroup already mounted on /sys/fs/cgroup/cpuacct.
mount: /sys/fs/cgroup/pids: cgroup already mounted on /sys/fs/cgroup/cpuacct.

 

I see this row in dmesg which looks suspectable for me: Unknown kernel command line parameters "ubootpart=534ffe7a-01 cgroup_enable=memory cgroup_memory=1", will be passed to user space.

Full dmesg:

Spoiler

[Jul20 09:47] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[  +0.000000] Linux version 5.18.10-rockchip64 (root@armbianbuild) (aarch64-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0, GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #trunk SMP PREEMPT Sat Jul 9 12:47:45 UTC 2022
[  +0.000000] Machine model: Rockchip RK3318 BOX
[  +0.000000] efi: UEFI not found.
[  +0.000000] NUMA: No NUMA configuration found
[  +0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x000000007fffffff]
[  +0.000000] NUMA: NODE_DATA [mem 0x7fbb1a80-0x7fbb3fff]
[  +0.000000] Zone ranges:
[  +0.000000]   DMA      [mem 0x0000000000200000-0x000000007fffffff]
[  +0.000000]   DMA32    empty
[  +0.000000]   Normal   empty
[  +0.000000] Movable zone start for each node
[  +0.000000] Early memory node ranges
[  +0.000000]   node   0: [mem 0x0000000000200000-0x000000007fffffff]
[  +0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000007fffffff]
[  +0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[  +0.000000] cma: Reserved 128 MiB at 0x0000000075800000
[  +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: MIGRATE_INFO_TYPE not supported.
[  +0.000000] psci: SMC Calling Convention v1.2
[  +0.000000] percpu: Embedded 30 pages/cpu s82216 r8192 d32472 u122880
[  +0.000000] pcpu-alloc: s82216 r8192 d32472 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: ARM erratum 845719
[  +0.000000] Fallback order for Node 0: 0
[  +0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 515592
[  +0.000000] Policy zone: DMA
[  +0.000000] Kernel command line: root=UUID=555d5f40-230b-479b-a5a2-3add1353d307 rootwait rootfstype=ext4 console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=1 ubootpart=534ffe7a-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[  +0.000000] Unknown kernel command line parameters "ubootpart=534ffe7a-01 cgroup_enable=memory cgroup_memory=1", will be passed to user space.
[  +0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[  +0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[  +0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[  +0.000000] Memory: 1876236K/2095104K available (16320K kernel code, 2714K rwdata, 6636K rodata, 4480K init, 571K bss, 87796K reserved, 131072K 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] rcu: Preemptible hierarchical RCU implementation.
[  +0.000000] rcu:     RCU event tracing is enabled.
[  +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]     Rude 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] Root IRQ handler: gic_handle_irq
[  +0.000000] GIC: Using split EOI/Deactivate mode
[  +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.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[  +0.001583] Console: colour dummy device 80x25
[  +0.000066] printk: console [tty1] enabled
[  +0.000157] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[  +0.000024] pid_max: default: 32768 minimum: 301
[  +0.000175] LSM: Security Framework initializing
[  +0.000068] Yama: becoming mindful.
[  +0.000180] AppArmor: AppArmor initialized
[  +0.000079] Stack Depot allocating hash table with kvmalloc
[  +0.010005] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[  +0.000048] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[  +0.003419] cblist_init_generic: Setting adjustable number of callback queues.
[  +0.000036] cblist_init_generic: Setting shift to 2 and lim to 1.
[  +0.000208] cblist_init_generic: Setting shift to 2 and lim to 1.
[  +0.000183] cblist_init_generic: Setting shift to 2 and lim to 1.
[  +0.000396] rcu: Hierarchical SRCU implementation.
[  +0.003804] EFI services will not be available.
[  +0.000846] smp: Bringing up secondary CPUs ...
[  +0.001245] Detected VIPT I-cache on CPU1
[  +0.000118] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[  +0.001489] Detected VIPT I-cache on CPU2
[  +0.000117] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[  +0.001477] Detected VIPT I-cache on CPU3
[  +0.000102] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[  +0.000207] smp: Brought up 1 node, 4 CPUs
[  +0.000029] SMP: Total of 4 processors activated.
[  +0.000012] CPU features: detected: 32-bit EL0 Support
[  +0.000007] CPU features: detected: 32-bit EL1 Support
[  +0.000014] CPU features: detected: CRC32 instructions
[  +0.001149] CPU: All CPU(s) started at EL2
[  +0.000054] alternatives: patching kernel code
[  +0.002857] devtmpfs: initialized
[  +0.023635] Registered cp15_barrier emulation handler
[  +0.000041] Registered setend emulation handler
[  +0.000434] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[  +0.000064] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[  +0.006621] pinctrl core: initialized pinctrl subsystem
[  +0.001273] DMI not present or invalid.
[  +0.001381] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[  +0.005513] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[  +0.001974] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[  +0.003290] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[  +0.000156] audit: initializing netlink subsys (disabled)
[  +0.000504] audit: type=2000 audit(0.072:1): state=initialized audit_enabled=0 res=1
[  +0.001534] thermal_sys: Registered thermal governor 'fair_share'
[  +0.000018] thermal_sys: Registered thermal governor 'bang_bang'
[  +0.000009] thermal_sys: Registered thermal governor 'step_wise'
[  +0.000073] thermal_sys: Registered thermal governor 'user_space'
[  +0.000586] cpuidle: using governor menu
[  +0.000555] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[  +0.000220] ASID allocator initialised with 65536 entries
[  +0.002047] Serial: AMBA PL011 UART driver
[  +0.023178] platform ff3c0000.hdmi: Fixing up cyclic dependency with ff370000.vop
[  +0.030809] rockchip-gpio ff210000.gpio: probed /pinctrl/gpio@ff210000
[  +0.001548] rockchip-gpio ff220000.gpio: probed /pinctrl/gpio@ff220000
[  +0.001305] rockchip-gpio ff230000.gpio: probed /pinctrl/gpio@ff230000
[  +0.001481] rockchip-gpio ff240000.gpio: probed /pinctrl/gpio@ff240000
[  +0.035811] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[  +0.000031] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[  +0.000011] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[  +0.000016] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[  +0.001467] cryptd: max_cpu_qlen set to 1000
[  +0.066614] raid6: neonx8   gen()  1044 MB/s
[  +0.068171] raid6: neonx4   gen()  1069 MB/s
[  +0.068200] raid6: neonx2   gen()  1009 MB/s
[  +0.068203] raid6: neonx1   gen()   885 MB/s
[  +0.068157] raid6: int64x8  gen()   744 MB/s
[  +0.068166] raid6: int64x4  gen()   830 MB/s
[  +0.068192] raid6: int64x2  gen()   707 MB/s
[  +0.068172] raid6: int64x1  gen()   525 MB/s
[  +0.000015] raid6: using algorithm neonx4 gen() 1069 MB/s
[  +0.068148] raid6: .... xor() 768 MB/s, rmw enabled
[  +0.000014] raid6: using neon recovery algorithm
[  +0.007096] iommu: Default domain type: Translated
[  +0.000029] iommu: DMA domain TLB invalidation policy: strict mode
[  +0.000842] SCSI subsystem initialized
[  +0.000453] libata version 3.00 loaded.
[  +0.000499] usbcore: registered new interface driver usbfs
[  +0.000103] usbcore: registered new interface driver hub
[  +0.000081] usbcore: registered new device driver usb
[  +0.001072] pps_core: LinuxPPS API ver. 1 registered
[  +0.000014] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[  +0.000033] PTP clock support registered
[  +0.000429] EDAC MC: Ver: 3.0.0
[  +0.002984] NetLabel: Initializing
[  +0.000024] NetLabel:  domain hash size = 128
[  +0.000011] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[  +0.000155] NetLabel:  unlabeled traffic allowed by default
[  +0.000315] vgaarb: loaded
[  +0.001089] clocksource: Switched to clocksource arch_sys_counter
[  +0.110985] VFS: Disk quotas dquot_6.6.0
[  +0.000127] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[  +0.001756] AppArmor: AppArmor Filesystem Enabled
[  +0.014898] NET: Registered PF_INET protocol family
[  +0.000481] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[  +0.002553] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[  +0.000189] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[  +0.000186] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[  +0.000333] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[  +0.000388] TCP: Hash tables configured (established 16384 bind 16384)
[  +0.000345] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[  +0.000123] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[  +0.000495] NET: Registered PF_UNIX/PF_LOCAL protocol family
[  +0.000071] NET: Registered PF_XDP protocol family
[  +0.000022] PCI: CLS 0 bytes, default 64
[  +0.000994] Trying to unpack rootfs image as initramfs...
[  +0.011416] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[  +0.001330] kvm [1]: IPA Size Limit: 40 bits
[  +0.002800] kvm [1]: vgic interrupt IRQ9
[  +0.000288] kvm [1]: Hyp mode initialized successfully
[  +0.004243] Initialise system trusted keyrings
[  +0.000151] Key type blacklist registered
[  +0.000566] workingset: timestamp_bits=44 max_order=19 bucket_order=0
[  +0.013003] zbud: loaded
[  +0.003723] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[  +0.001858] fuse: init (API version 7.36)
[  +0.004979] integrity: Platform Keyring initialized
[  +0.072986] xor: measuring software checksum speed
[  +0.008195]    8regs           :  1221 MB/sec
[  +0.007932]    32regs          :  1261 MB/sec
[  +0.009303]    arm64_neon      :  1061 MB/sec
[  +0.000028] xor: using function: 32regs (1261 MB/sec)
[  +0.000025] Key type asymmetric registered
[  +0.000012] Asymmetric key parser 'x509' registered
[  +1.507497] Freeing initrd memory: 16072K
[  +0.031971] alg: self-tests for CTR-KDF (hmac(sha256)) passed
[  +0.000265] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[  +0.000294] io scheduler mq-deadline registered
[  +0.000017] io scheduler kyber registered
[  +0.000275] io scheduler bfq registered
[  +0.034031] dma-pl330 ff1f0000.dma-controller: Loaded driver for PL330 DMAC-241330
[  +0.000037] dma-pl330 ff1f0000.dma-controller:     DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[  +0.011888] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[  +0.005658] ff110000.serial: ttyS0 at MMIO 0xff110000 (irq = 21, base_baud = 1500000) is a 16550A
[  +0.001868] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 22, base_baud = 1500000) is a 16550A
[  +0.000289] printk: console [ttyS2] enabled
[  +0.002185] Serial: AMBA driver
[  +0.007103] rockchip-vop ff370000.vop: Adding to iommu group 4
[  +0.025738] loop: module loaded
[  +0.009827] tun: Universal TUN/TAP device driver, 1.6
[  +0.001993] thunder_xcv, ver 1.0
[  +0.000117] thunder_bgx, ver 1.0
[  +0.000091] nicpf, ver 1.0
[  +0.001528] e1000e: Intel(R) PRO/1000 Network Driver
[  +0.000010] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[  +0.000144] igb: Intel(R) Gigabit Ethernet Network Driver
[  +0.000010] igb: Copyright (c) 2007-2014 Intel Corporation.
[  +0.000073] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[  +0.000010] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[  +0.000517] sky2: driver version 1.30
[  +0.001142] VFIO - User Level meta-driver version: 0.3
[  +0.004262] dwc2 ff580000.usb: supply vusb_d not found, using dummy regulator
[  +0.000313] dwc2 ff580000.usb: supply vusb_a not found, using dummy regulator
[  +0.014569] dwc2 ff580000.usb: DWC OTG Controller
[  +0.000067] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
[  +0.000069] dwc2 ff580000.usb: irq 50, io mem 0xff580000
[  +0.000388] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.18
[  +0.000023] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  +0.000017] usb usb1: Product: DWC OTG Controller
[  +0.000014] usb usb1: Manufacturer: Linux 5.18.10-rockchip64 dwc2_hsotg
[  +0.000017] usb usb1: SerialNumber: ff580000.usb
[  +0.001059] hub 1-0:1.0: USB hub found
[  +0.000074] hub 1-0:1.0: 1 port detected
[  +0.002354] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[  +0.000070] ehci-pci: EHCI PCI platform driver
[  +0.000070] ehci-platform: EHCI generic platform driver
[  +0.002914] ehci-platform ff5c0000.usb: EHCI Host Controller
[  +0.000045] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2
[  +0.000272] ehci-platform ff5c0000.usb: irq 51, io mem 0xff5c0000
[  +0.016073] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
[  +0.000457] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.18
[  +0.000023] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  +0.000017] usb usb2: Product: EHCI Host Controller
[  +0.000015] usb usb2: Manufacturer: Linux 5.18.10-rockchip64 ehci_hcd
[  +0.000017] usb usb2: SerialNumber: ff5c0000.usb
[  +0.001046] hub 2-0:1.0: USB hub found
[  +0.000071] hub 2-0:1.0: 1 port detected
[  +0.000903] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[  +0.000049] ohci-pci: OHCI PCI platform driver
[  +0.000113] ohci-platform: OHCI generic platform driver
[  +0.000832] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
[  +0.000038] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3
[  +0.000296] ohci-platform ff5d0000.usb: irq 52, io mem 0xff5d0000
[  +0.060448] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.18
[  +0.000037] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  +0.000015] usb usb3: Product: Generic Platform OHCI controller
[  +0.000014] usb usb3: Manufacturer: Linux 5.18.10-rockchip64 ohci_hcd
[  +0.000016] usb usb3: SerialNumber: ff5d0000.usb
[  +0.001049] hub 3-0:1.0: USB hub found
[  +0.000074] hub 3-0:1.0: 1 port detected
[  +0.002210] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[  +0.000053] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 4
[  +0.000365] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x8000000002010010
[  +0.000128] xhci-hcd xhci-hcd.0.auto: irq 53, io mem 0xff600000
[  +0.000496] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[  +0.000030] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 5
[  +0.000038] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[  +0.000379] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.18
[  +0.000021] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  +0.000017] usb usb4: Product: xHCI Host Controller
[  +0.000015] usb usb4: Manufacturer: Linux 5.18.10-rockchip64 xhci-hcd
[  +0.000018] usb usb4: SerialNumber: xhci-hcd.0.auto
[  +0.001001] hub 4-0:1.0: USB hub found
[  +0.000072] hub 4-0:1.0: 1 port detected
[  +0.000770] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[  +0.000289] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.18
[  +0.000025] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  +0.000015] usb usb5: Product: xHCI Host Controller
[  +0.000012] usb usb5: Manufacturer: Linux 5.18.10-rockchip64 xhci-hcd
[  +0.000018] usb usb5: SerialNumber: xhci-hcd.0.auto
[  +0.001088] hub 5-0:1.0: USB hub found
[  +0.000087] hub 5-0:1.0: 1 port detected
[  +0.000970] usbcore: registered new interface driver usb-storage
[  +0.004025] mousedev: PS/2 mouse device common for all mice
[  +0.002244] i2c_dev: i2c /dev entries driver
[  +0.005444] dw_wdt ff1a0000.watchdog: No valid TOPs array specified
[  +0.004196] sdhci: Secure Digital Host Controller Interface driver
[  +0.000026] sdhci: Copyright(c) Pierre Ossman
[  +0.000071] Synopsys Designware Multimedia Card Interface Driver
[  +0.001755] sdhci-pltfm: SDHCI platform and OF driver helper
[  +0.000839] dwmmc_rockchip ff510000.mmc: IDMAC supports 32-bit address mode.
[  +0.000057] dwmmc_rockchip ff500000.mmc: IDMAC supports 32-bit address mode.
[  +0.000031] dwmmc_rockchip ff510000.mmc: Using internal DMA controller.
[  +0.000011] dwmmc_rockchip ff500000.mmc: Using internal DMA controller.
[  +0.000009] dwmmc_rockchip ff510000.mmc: Version ID is 270a
[  +0.000010] dwmmc_rockchip ff500000.mmc: Version ID is 270a
[  +0.000150] dwmmc_rockchip ff510000.mmc: DW MMC controller at irq 46,32 bit host data width,256 deep fifo
[  +0.000048] dwmmc_rockchip ff500000.mmc: DW MMC controller at irq 45,32 bit host data width,256 deep fifo
[  +0.000661] dwmmc_rockchip ff510000.mmc: allocated mmc-pwrseq
[  +0.000035] mmc_host mmc1: card is non-removable.
[  +0.000094] dwmmc_rockchip ff500000.mmc: Got CD GPIO
[  +0.000569] dwmmc_rockchip ff520000.mmc: IDMAC supports 32-bit address mode.
[  +0.000078] dwmmc_rockchip ff520000.mmc: Using internal DMA controller.
[  +0.000019] dwmmc_rockchip ff520000.mmc: Version ID is 270a
[  +0.000114] dwmmc_rockchip ff520000.mmc: DW MMC controller at irq 47,32 bit host data width,256 deep fifo
[  +0.000867] mmc_host mmc2: card is non-removable.
[  +0.000259] dwmmc_rockchip ff5f0000.dwmmc: IDMAC supports 32-bit address mode.
[  +0.000066] dwmmc_rockchip ff5f0000.dwmmc: Using internal DMA controller.
[  +0.000019] dwmmc_rockchip ff5f0000.dwmmc: Version ID is 270a
[  +0.000110] dwmmc_rockchip ff5f0000.dwmmc: DW MMC controller at irq 48,32 bit host data width,256 deep fifo
[  +0.000702] dwmmc_rockchip ff5f0000.dwmmc: Got CD GPIO
[  +0.000898] ledtrig-cpu: registered to indicate activity on CPUs
[  +0.001957] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[  +0.000459] hid: raw HID events driver (C) Jiri Kosina
[  +0.000263] usbcore: registered new interface driver usbhid
[  +0.000012] usbhid: USB HID core driver
[  +0.006480] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[  +0.000000] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[  +0.000107] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[  +0.002496] drop_monitor: Initializing network drop monitor service
[  +0.000409] mmc_host mmc3: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[  +0.000910] NET: Registered PF_INET6 protocol family
[  +0.032027] Segment Routing with IPv6
[  +0.000129] In-situ OAM (IOAM) with IPv6
[  +0.000172] NET: Registered PF_PACKET protocol family
[  +0.000291] 8021q: 802.1Q VLAN Support v1.8
[  +0.000125] Key type dns_resolver registered
[  +0.002243] registered taskstats version 1
[  +0.000053] Loading compiled-in X.509 certificates
[  +0.006806] Loaded X.509 cert 'Build time autogenerated kernel key: 194c40fba43f5ec547622597dcde9efb923f066c'
[  +0.005474] zswap: loaded using pool zstd/z3fold
[  +0.001143] Key type ._fscrypt registered
[  +0.000026] Key type .fscrypt registered
[  +0.000009] Key type fscrypt-provisioning registered
[  +0.004522] Btrfs loaded, crc32c=crc32c-generic, zoned=yes, fsverity=yes
[  +0.000713] Key type encrypted registered
[  +0.000051] AppArmor: AppArmor sha1 policy hashing enabled
[  +0.011336] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0)
[  +0.000357] mmc2: new high speed MMC card at address 0001
[  +0.002255] mmcblk2: mmc2:0001 MAG2GC 14.6 GiB
[  +0.005539]  mmcblk2: p1
[  +0.002515] mmcblk2boot0: mmc2:0001 MAG2GC 4.00 MiB
[  +0.007579] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[  +0.002580] mmc1: new high speed SDIO card at address 0001
[  +0.002544] mmcblk2boot1: mmc2:0001 MAG2GC 4.00 MiB
[  +0.015496] mmcblk2rpmb: mmc2:0001 MAG2GC 4.00 MiB, chardev (241:0)
[  +0.050271] rockchip-drm display-subsystem: bound ff370000.vop (ops vop_component_ops)
[  +0.000197] dwhdmi-rockchip ff3c0000.hdmi: supply avdd-0v9 not found, using dummy regulator
[  +0.000376] dwhdmi-rockchip ff3c0000.hdmi: supply avdd-1v8 not found, using dummy regulator
[  +0.000602] dwhdmi-rockchip ff3c0000.hdmi: Detected HDMI TX controller v2.11a with HDCP (inno_dw_hdmi_phy2)
[  +0.001210] dwhdmi-rockchip ff3c0000.hdmi: registered DesignWare HDMI I2C bus driver
[  +0.001231] rockchip-drm display-subsystem: bound ff3c0000.hdmi (ops dw_hdmi_rockchip_ops)
[  +0.001288] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[  +0.006691] usb 1-1: new full-speed USB device number 2 using dwc2
[  +0.048014] usb 4-1: new high-speed USB device number 2 using xhci-hcd
[  +0.161180] usb 1-1: New USB device found, idVendor=1a86, idProduct=e2e3, bcdDevice= 0.00
[  +0.000033] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  +0.000017] usb 1-1: Product: USB2IIC_CTP_CONTROL
[  +0.000014] usb 1-1: Manufacturer: wch.cn
[  +0.014627] input: wch.cn USB2IIC_CTP_CONTROL Touchscreen as /devices/platform/ff580000.usb/usb1/1-1/1-1:1.0/0003:1A86:E2E3.0001/input/input0
[  +0.000766] input: wch.cn USB2IIC_CTP_CONTROL as /devices/platform/ff580000.usb/usb1/1-1/1-1:1.0/0003:1A86:E2E3.0001/input/input1
[  +0.000817] hid-generic 0003:1A86:E2E3.0001: input,hiddev96,hidraw0: USB HID v1.00 Device [wch.cn USB2IIC_CTP_CONTROL] on usb-ff580000.usb-1/input0
[  +0.010705] usb 4-1: New USB device found, idVendor=058f, idProduct=3822, bcdDevice= 0.00
[  +0.000036] usb 4-1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[  +0.000017] usb 4-1: Product: USB 2.0 HD Camera
[  +0.034656] Console: switching to colour frame buffer device 128x37
[  +0.043980] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device
[  +0.001732] WCN: marlin_init entry!
[  +0.000960] of_cfs_init
[  +0.000115] of_cfs_init: OK
[  +0.004242] Freeing unused kernel memory: 4480K
[  +0.000162] Run /init as init process
[  +0.000011]   with arguments:
[  +0.000012]     /init
[  +0.000011]   with environment:
[  +0.000008]     HOME=/
[  +0.000010]     TERM=linux
[  +0.000010]     ubootpart=534ffe7a-01
[  +0.000010]     cgroup_enable=memory
[  +0.000011]     cgroup_memory=1
[  +0.010417] rockchip-pm-domain ff100000.syscon:power-controller: failed to get ack on domain 'hevc', val=0x88220
[  +0.031533] dwmmc_rockchip ff5f0000.dwmmc: Busy; trying anyway
[  +0.500058] mmc_host mmc3: Timeout sending command (cmd 0x202000 arg 0x0 status 0x80202000)
[  +0.020012] mmc_host mmc3: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)
[  +0.396675] input: adc-keys as /devices/platform/adc-keys/input/input2
[  +0.073385] gpio-syscon ff100000.syscon:gpio: can't read the data register offset!
[  +0.061849] dwmmc_rockchip ff5f0000.dwmmc: Busy; trying anyway
[  +0.072120] rk_gmac-dwmac ff550000.ethernet: IRQ eth_wake_irq not found
[  +0.000037] rk_gmac-dwmac ff550000.ethernet: IRQ eth_lpi not found
[  +0.000234] rk_gmac-dwmac ff550000.ethernet: PTP uses main clock
[  +0.000449] rk_gmac-dwmac ff550000.ethernet: clock input or output? (output).
[  +0.000033] rk_gmac-dwmac ff550000.ethernet: TX delay(0x30).
[  +0.000017] rk_gmac-dwmac ff550000.ethernet: RX delay(0x10).
[  +0.000045] rk_gmac-dwmac ff550000.ethernet: integrated PHY? (yes).
[  +0.000191] rk_gmac-dwmac ff550000.ethernet: cannot get clock clk_mac_refout
[  +0.000022] rk_gmac-dwmac ff550000.ethernet: cannot get clock clk_mac_speed
[  +0.007781] rk_gmac-dwmac ff550000.ethernet: init for RMII
[  +0.052354] rk_gmac-dwmac ff550000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[  +0.000052] rk_gmac-dwmac ff550000.ethernet:     DWMAC1000
[  +0.000015] rk_gmac-dwmac ff550000.ethernet: DMA HW capability register supported
[  +0.000014] rk_gmac-dwmac ff550000.ethernet: RX Checksum Offload Engine supported
[  +0.000011] rk_gmac-dwmac ff550000.ethernet: COE Type 2
[  +0.000012] rk_gmac-dwmac ff550000.ethernet: TX Checksum insertion supported
[  +0.000011] rk_gmac-dwmac ff550000.ethernet: Wake-Up On Lan supported
[  +0.000231] rk_gmac-dwmac ff550000.ethernet: Normal descriptors
[  +0.000023] rk_gmac-dwmac ff550000.ethernet: Ring mode enabled
[  +0.000012] rk_gmac-dwmac ff550000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[  +0.366401] mmc_host mmc3: Timeout sending command (cmd 0x202000 arg 0x0 status 0x80202000)
[  +0.014212] mmc_host mmc3: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0)
[  +0.256478] EXT4-fs (mmcblk2p1): mounted filesystem with writeback data mode. Quota mode: none.
[  +0.277186] dwmmc_rockchip ff5f0000.dwmmc: Busy; trying anyway
[  +0.453873] systemd[1]: System time before build time, advancing clock.
[  +0.031559] systemd[1]: Inserted module 'autofs4'
[  +0.014625] mmc_host mmc3: Timeout sending command (cmd 0x202000 arg 0x0 status 0x80202000)
[  +0.014057] mmc_host mmc3: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
[  +0.063399] systemd[1]: systemd 249.11-0ubuntu3 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 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[  +0.001527] systemd[1]: Detected architecture arm64.
[  +0.005083] systemd[1]: Hostname set to <rk3318-box>.
[  +0.266284] dw-apb-uart ff130000.serial: forbid DMA for kernel console
[  +0.201594] dwmmc_rockchip ff5f0000.dwmmc: Busy; trying anyway
[  +0.500053] mmc_host mmc3: Timeout sending command (cmd 0x202000 arg 0x0 status 0x80202000)
[  +0.373292] systemd[1]: Queued start job for default target Graphical Interface.
[  +1.554618] random: crng init done
[  +0.008157] systemd[1]: Created slice Slice /system/modprobe.
[  +0.005705] systemd[1]: Created slice Slice /system/serial-getty.
[  +0.003765] systemd[1]: Created slice User and Session Slice.
[  +0.001860] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  +0.003204] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  +0.002002] systemd[1]: Reached target Remote File Systems.
[  +0.000932] systemd[1]: Reached target Slice Units.
[  +0.000853] systemd[1]: Reached target Swaps.
[  +0.000809] systemd[1]: Reached target System Time Set.
[  +0.001387] systemd[1]: Reached target Local Verity Protected Volumes.
[  +0.002353] systemd[1]: Listening on Syslog Socket.
[  +0.003689] systemd[1]: Listening on fsck to fsckd communication Socket.
[  +0.001747] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  +0.003082] systemd[1]: Listening on Journal Audit Socket.
[  +0.002383] systemd[1]: Listening on Journal Socket (/dev/log).
[  +0.002566] systemd[1]: Listening on Journal Socket.
[  +0.005675] systemd[1]: Listening on udev Control Socket.
[  +0.002399] systemd[1]: Listening on udev Kernel Socket.
[  +0.009924] systemd[1]: Mounting Huge Pages File System...
[  +0.011573] systemd[1]: Mounting POSIX Message Queue File System...
[  +0.014103] systemd[1]: Mounting Kernel Debug File System...
[  +0.013451] systemd[1]: Mounting Kernel Trace File System...
[  +0.019271] systemd[1]: Starting Restore / save the current clock...
[  +0.015601] systemd[1]: Starting Set the console keyboard layout...
[  +0.016602] systemd[1]: Starting Create List of Static Device Nodes...
[  +0.017608] systemd[1]: Starting Load Kernel Module configfs...
[  +0.020209] systemd[1]: Starting Load Kernel Module drm...
[  +0.015907] systemd[1]: Starting Load Kernel Module fuse...
[  +0.017735] systemd[1]: Started Nameserver information manager.
[  +0.005147] systemd[1]: Reached target Preparation for Network.
[  +0.004515] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[  +0.016744] systemd[1]: Starting Load Kernel Modules...
[  +0.015128] systemd[1]: Starting Remount Root and Kernel File Systems...
[  +0.017178] systemd[1]: Starting Coldplug All udev Devices...
[  +0.034058] systemd[1]: Mounted Huge Pages File System.
[  +0.005454] systemd[1]: Mounted POSIX Message Queue File System.
[  +0.005572] systemd[1]: Mounted Kernel Debug File System.
[  +0.004790] systemd[1]: Mounted Kernel Trace File System.
[  +0.007122] EXT4-fs (mmcblk2p1): re-mounted. Quota mode: none.
[  +0.000386] systemd[1]: Finished Restore / save the current clock.
[  +0.015974] systemd[1]: Finished Create List of Static Device Nodes.
[  +0.006185] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[  +0.003775] systemd[1]: Finished Load Kernel Module configfs.
[  +0.007998] systemd[1]: modprobe@drm.service: Deactivated successfully.
[  +0.003287] systemd[1]: Finished Load Kernel Module drm.
[  +0.007689] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[  +0.003318] systemd[1]: Finished Load Kernel Module fuse.
[  +0.010826] systemd[1]: Finished Load Kernel Modules.
[  +0.006895] systemd[1]: Finished Remount Root and Kernel File Systems.
[  +0.017933] systemd[1]: Mounting FUSE Control File System...
[  +0.013068] systemd[1]: Mounting Kernel Configuration File System...
[  +0.003591] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[  +0.012381] systemd[1]: Starting Load/Save Random Seed...
[  +0.020722] systemd[1]: Starting Apply Kernel Variables...
[  +0.015511] systemd[1]: Starting Create System Users...
[  +0.030979] systemd[1]: Mounted FUSE Control File System.
[  +0.005645] systemd[1]: Mounted Kernel Configuration File System.
[  +0.059441] systemd[1]: Finished Load/Save Random Seed.
[  +0.004325] systemd[1]: Condition check resulted in First Boot Complete being skipped.
[  +0.033715] systemd[1]: Finished Create System Users.
[  +0.018461] systemd[1]: Starting Create Static Device Nodes in /dev...
[  +0.010140] systemd[1]: Finished Apply Kernel Variables.
[  +0.084254] systemd[1]: Finished Set the console keyboard layout.
[  +0.007821] systemd[1]: Finished Create Static Device Nodes in /dev.
[  +0.004038] systemd[1]: Reached target Preparation for Local File Systems.
[  +0.012572] systemd[1]: Mounting /tmp...
[  +0.025240] systemd[1]: Starting Rule-based Manager for Device Events and Files...
[  +0.021798] systemd[1]: Mounted /tmp.
[  +0.004860] systemd[1]: Reached target Local File Systems.
[  +0.014397] systemd[1]: Starting Load AppArmor profiles...
[  +0.016206] systemd[1]: Starting Armbian leds state...
[  +0.015767] systemd[1]: Starting Armbian ZRAM config...
[  +0.017815] systemd[1]: Starting Set console font and keymap...
[  +0.029761] systemd[1]: Starting Tell Plymouth To Write Out Runtime Data...
[  +0.040029] systemd[1]: Starting Set Up Additional Binary Formats...
[  +0.006445] systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped.
[  +0.000725] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.
[  +0.009423] systemd[1]: Finished Set console font and keymap.
[  +0.009683] systemd[1]: Finished Tell Plymouth To Write Out Runtime Data.
[  +0.033999] systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 375 (systemd-binfmt)
[  +0.014065] systemd[1]: Mounting Arbitrary Executable File Formats File System...
[  +0.012539] systemd[1]: Finished Armbian leds state.
[  +0.053842] systemd[1]: Mounted Arbitrary Executable File Formats File System.
[  +0.045268] systemd[1]: Finished Set Up Additional Binary Formats.
[  +0.132511] audit: type=1400 audit(1658310445.076:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=386 comm="apparmor_parser"
[  +0.025774] audit: type=1400 audit(1658310445.100:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=387 comm="apparmor_parser"
[  +0.000068] audit: type=1400 audit(1658310445.100:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=387 comm="apparmor_parser"
[  +0.119664] audit: type=1400 audit(1658310445.220:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/lightdm/lightdm-guest-session" pid=385 comm="apparmor_parser"
[  +0.000063] audit: type=1400 audit(1658310445.220:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/lightdm/lightdm-guest-session//chromium" pid=385 comm="apparmor_parser"
[  +0.027744] audit: type=1400 audit(1658310445.248:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=391 comm="apparmor_parser"
[  +0.000069] audit: type=1400 audit(1658310445.248:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=391 comm="apparmor_parser"
[  +0.000217] audit: type=1400 audit(1658310445.248:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=391 comm="apparmor_parser"
[  +0.008361] systemd[1]: Started Rule-based Manager for Device Events and Files.
[  +0.051502] audit: type=1400 audit(1658310445.308:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=388 comm="apparmor_parser"
[  +0.000065] audit: type=1400 audit(1658310445.308:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=388 comm="apparmor_parser"
[  +0.218133] zram: Added device: zram0
[  +0.003574] zram: Added device: zram1
[  +0.002153] zram: Added device: zram2
[  +0.118769] systemd[1]: Finished Coldplug All udev Devices.
[  +0.030102] systemd[1]: Starting Helper to synchronize boot up for ifupdown...
[  +0.008436] systemd[1]: Condition check resulted in Show Plymouth Boot Screen being skipped.
[  +0.001633] systemd[1]: Started Dispatch Password Requests to Console Directory Watch when bootsplash is active.
[  +0.010475] systemd[1]: Condition check resulted in Forward Password Requests to Plymouth Directory Watch being skipped.
[  +0.000301] systemd[1]: Reached target Local Encrypted Volumes.
[  +0.020700] systemd[1]: Finished Helper to synchronize boot up for ifupdown.
[  +0.015688] zram0: detected capacity change from 0 to 2027864
[  +0.083321] Adding 1013928k swap on /dev/zram0.  Priority:5 extents:1 across:1013928k SSFS
[  +0.300672] zram1: detected capacity change from 0 to 102400
[  +0.099515] systemd[1]: Finished Load AppArmor profiles.
[  +0.009877] systemd[1]: Finished Armbian ZRAM config.
[  +0.016892] systemd[1]: Starting Armbian memory supported logging...
[  +0.021640] systemd[1]: Starting Raise network interfaces...
[  +0.022098] systemd[1]: Starting Load AppArmor profiles managed internally by snapd...
[  +0.134702] systemd[1]: Finished Load AppArmor profiles managed internally by snapd.
[  +0.050910] EXT4-fs (zram1): mounted filesystem without journal. Quota mode: none.
[  +0.979434] systemd[1]: Found device /dev/ttyS2.
[  +0.029565] systemd[1]: Finished Raise network interfaces.
[  +0.320515] lima ff300000.gpu: gp - mali450 version major 0 minor 0
[  +0.000088] lima ff300000.gpu: pp0 - mali450 version major 0 minor 0
[  +0.000069] lima ff300000.gpu: pp1 - mali450 version major 0 minor 0
[  +0.000070] lima ff300000.gpu: l2 cache 8K, 4-way, 64byte cache line, 128bit external bus
[  +0.000014] lima ff300000.gpu: l2 cache 64K, 4-way, 64byte cache line, 128bit external bus
[  +0.004158] lima ff300000.gpu: bus rate = 491520000
[  +0.000039] lima ff300000.gpu: mod rate = 491520000
[  +0.002684] [drm] Initialized lima 1.1.0 20191231 for ff300000.gpu on minor 1
[  +0.009439] rk3328-codec ff410000.codec: spk_depop_time use default value.
[  +0.055055] mc: Linux media interface: v0.10
[  +0.084408] videodev: Linux video capture interface: v2.00
[  +0.334624] rockchip-rga ff390000.rga: HW Version: 0x04.00
[  +0.011795] rockchip-rga ff390000.rga: Registered rockchip-rga as /dev/video0
[  +0.008930] usb 4-1: Found UVC 1.00 device USB 2.0 HD Camera  (058f:3822)
[  +0.028112] input: USB 2.0 HD Camera : USB 2.0 HD  as /devices/platform/ff600000.usb/xhci-hcd.0.auto/usb4/4-1/4-1:1.0/input/input3
[  +0.005359] Registered IR keymap rc-empty
[  +0.000190] rc rc0: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0
[  +0.004290] rc rc0: lirc_dev: driver gpio_ir_recv registered at minor = 0, raw IR receiver, no transmitter
[  +0.015253] rockchip_vdec: module is from the staging directory, the quality is unknown, you have been warned.
[  +0.003986] input: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0/input4
[  +0.009579] usbcore: registered new interface driver uvcvideo
[  +0.000837] rkvdec ff360000.video-codec: Adding to iommu group 3
[  +0.020350] input: wch.cn USB2IIC_CTP_CONTROL as /devices/platform/ff580000.usb/usb1/1-1/1-1:1.0/0003:1A86:E2E3.0001/input/input5
[  +0.001811] input: wch.cn USB2IIC_CTP_CONTROL UNKNOWN as /devices/platform/ff580000.usb/usb1/1-1/1-1:1.0/0003:1A86:E2E3.0001/input/input6
[  +0.003400] hid-multitouch 0003:1A86:E2E3.0001: input,hiddev96,hidraw0: USB HID v1.00 Device [wch.cn USB2IIC_CTP_CONTROL] on usb-ff580000.usb-1/input0
[  +0.048897] hantro_vpu: module is from the staging directory, the quality is unknown, you have been warned.
[  +0.004772] hantro-vpu ff350000.video-codec: Adding to iommu group 2
[  +0.011885] hantro-vpu ff350000.video-codec: registered rockchip,rk3328-vpu-dec as /dev/video4
[  +0.005687] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[  +0.003286] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[  +0.145086] brcmfmac: F1 signature read @0x18000000=0x16044330
[  +0.032012] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4330-sdio for chip BCM4330/4
[  +0.003854] usbcore: registered new interface driver brcmfmac
[  +0.001569] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac4330-sdio.rockchip,rk3318-box.bin failed with error -2
[  +0.295218] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4330-sdio for chip BCM4330/4
[  +0.000225] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[  +0.000814] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4330/4 wl0: Oct 25 2011 19:34:12 version 5.90.125.104
[  +0.039685] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 184
[  +0.000043] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 188
[  +0.000010] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 192
[  +0.000008] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 196
[  +0.000008] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 200
[  +0.000009] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 204
[  +0.000008] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 208
[  +0.000008] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 212
[  +0.000009] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 216
[  +0.242772] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  +0.129082] systemd[1]: Starting Load/Save RF Kill Switch Status...
[  +0.242657] systemd[1]: Started Load/Save RF Kill Switch Status.
[  +0.113252] systemd[1]: Condition check resulted in Show Plymouth Boot Screen being skipped.
[  +0.001374] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  +0.005473] systemd[1]: Condition check resulted in Forward Password Requests to Plymouth Directory Watch being skipped.
[  +0.000368] systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped.
[  +0.000438] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.
[  +0.000392] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[  +2.116880] systemd[1]: Finished Armbian memory supported logging.
[  +0.016348] systemd[1]: Starting Journal Service...
[  +0.331318] systemd[1]: Started Journal Service.
[  +0.052838] systemd-journald[726]: Received client request to flush runtime journal.
[Jul20 09:48] PPP generic driver version 2.4.2
[  +0.079233] NET: Registered PF_PPPOX protocol family
[  +0.171409] l2tp_core: L2TP core driver, V2.0
[  +0.043863] kauditd_printk_skb: 17 callbacks suppressed
[  +0.000029] audit: type=1400 audit(1658310472.532:29): apparmor="DENIED" operation="capable" profile="/usr/sbin/cupsd" pid=1804 comm="cupsd" capability=12  capname="net_admin"
[  +0.016417] l2tp_netlink: L2TP netlink interface
[  +0.046050] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[  +0.018626] Initializing XFRM netlink socket
[  +0.650834] loop0: detected capacity change from 0 to 8
[  +0.979259] rk_gmac-dwmac ff550000.ethernet eth0: PHY [stmmac-1:00] driver [Rockchip integrated EPHY] (irq=POLL)
[  +0.006077] rk_gmac-dwmac ff550000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[  +0.013117] rk_gmac-dwmac ff550000.ethernet eth0: No Safety Features support found
[  +0.000059] rk_gmac-dwmac ff550000.ethernet eth0: PTP not supported by HW
[  +0.013509] rk_gmac-dwmac ff550000.ethernet eth0: configuring for phy/rmii link mode
[  +2.628767] ieee80211 phy0: brcmf_p2p_create_p2pdev: timeout occurred
[  +0.000050] ieee80211 phy0: brcmf_cfg80211_add_iface: add iface p2p-dev-wlan0 type 10 failed: err=-5
[  +4.814823] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  +4.033263] hdmi-audio-codec hdmi-audio-codec.3.auto: Only one simultaneous stream supported!
[  +0.000039] hdmi-audio-codec hdmi-audio-codec.3.auto: ASoC: error at snd_soc_dai_startup on i2s-hifi: -22
[  +0.000028]  ff000000.i2s-i2s-hifi: __soc_pcm_open() failed (-22)

 

I tried 22.05 version of the image first and then uninstalled docker and updated to 22.08 through installing packages from "upgrade" folder. After installation I still have this issue.
Can somebody help, please?

Link to comment
Share on other sites

On 7/11/2022 at 8:46 PM, JMCC said:

@jock Thanks for the info. On a side note, I found a small bug: when making the emmc backup, if the resulting file is bigger than 4Gb it will just stop there (because of the FAT size limit) and you will get a broken backup.

 

Probably could be solved by splitting the backup, for example along these lines:

# Split backup in 2Gb parts, with two-character suffixes
dd if=/dev/mmcblk1 | gzip -c | split -b 2000m - tvbox-backup.img.gz.

# Restore the backup
cat tvbox-backup.img.gz.* | gzip -dc | dd of=/dev/mmcblk1

 

Armbian_22.08.0-trunk_Rk3318-box_jammy_edge_5.18.6_xfce_desktop.img is hair over 4GB so trying to flash that also fails. Seems like the files sizes are going to be a problem.

I flashed Armbian_22.08.0-trunk_Rk3318-box_bullseye_edge_5.18.10_minimal.img to my X88 pro 10 with 4 gb ram and 32gb emmc after first erasing emmc(is this ok?) and I cannot get a beep out of it anymore. Soldered uart but I cannot seem to find a working baud rate. Tried every commonly used rate. It just shows as short beep of garbage with picocom after powering up. What should I do now?

 

I got sent couple weeks old new firmware for this box if anyone is interested. The new fw has working 5 ghz wifi on the upper band and connecting bluetooth to speakers works unlike before. Youtube app crashed once on it so pretty sure the clocks are too high though.

 

https://drive.google.com/u/0/uc?id=17sG7TnQbw3YH2XdHnwHDbgyzMRubwZtG&export=download

https://drive.google.com/drive/folders/1y9rBkpD_FenjvAwmiehnRL8OhzTt3mwX

Edited by Aapo Tahkola
updates2
Link to comment
Share on other sites

9 hours ago, Aapo Tahkola said:

Seems like the files sizes are going to be a problem.

yes, it looks like they are becoming a real problem. multitool was early meant for rk322x devices, which have smaller eMMC and usually the whole compressed backup fits in 4gb, but rk3318 have up to 64gb eMMC and things don't work anymore.

 

Uart is 1.5Mbps, it should talk telling you what's wrong.

If it does not give you anything at all you may try to connect a USB Male-to-Male cable to the OTG Usb port of the box and to a computer and see if lsusb shows a rockchip device in maskrom mode.

Link to comment
Share on other sites

15 hours ago, jock said:

yes, it looks like they are becoming a real problem. multitool was early meant for rk322x devices, which have smaller eMMC and usually the whole compressed backup fits in 4gb, but rk3318 have up to 64gb eMMC and things don't work anymore.

 

Uart is 1.5Mbps, it should talk telling you what's wrong.

If it does not give you anything at all you may try to connect a USB Male-to-Male cable to the OTG Usb port of the box and to a computer and see if lsusb shows a rockchip device in maskrom mode.

None of these picocom supported speeds make sense out of the output:

576000, 921600, 1000000, 1152000, 1500000, 2000000, 2500000, 3000000, 3500000, 4000000

I found out that the factory flash tool does not work anymore even when pressing the hidden button.

I have been trying to get https://github.com/pico-coder/sigrok-pico work on rpi pico or rpi pico w but there is a bug somewhere so I cannot used it yet. I did have not much trouble compiling it under linux. Should I get that to work, it should be fairly easy to figure out what is going on with the uart. There is an open issue on sigrok-pico about it.

 

So I did a backup restore and factory tool started working again. So I used factory tool again and I am basically back at day one. I do find it a bit strange that the factory tool did not work anymore after flashing. Cannot really think of anything I could do at this point though.

 

 

I think 5.15 kernel has writable ntfs support. I think ntfs-3g with write support has been stable for a long time by now. I cannot say I like the split file approach. Just to be clear, I think there is a good chance that the incomplete backups still manage to boot it is just that the backup being incomplete almost certainly breaks something.

Wifi is sp6330 on this board, ddr3 are samsung k4b4g0446c

 

Edited by Aapo Tahkola
update
Link to comment
Share on other sites

Hi.
I bricked my plate and want to unbrick it. But can't find clock pin.
Here is the emmc chip and it's back. Can somebody tell what should I short here to erase emmc?
Thanks in advance.

Spoiler

 

photo_2022-07-22_16-23-36.jpg

 

photo_2022-07-22_16-23-43.jpg

photo_2022-07-22_16-26-06.jpg

photo_2022-07-22_16-26-06 (2).jpg

 

P.S. What should I do after going into maskrom mode? Should I attach box to a computer with usb? Should I plug usb after enabling maskrom or before?

Edited by DmitryS
Link to comment
Share on other sites

@DmitryS The MCC is U2300 and on the underside of the PCB you have 2 test points TP2300 and TP2301 (GND).

You can trying shutting them with one high ohm resistor for being safe (or only some metal if not playing safe and can damage the board) and putting in one USB cable from your PC in the OTG port and see if the SOC is booting in masc rom more.

 

Some of the hardware specialist here is knowing more but im 95% sure its the masc rom TPs on your board but no one can grantee it before have testing it and its all on your own risk !!

 

Its also looks you is having one unpopulated pin row for console that can being good if need doing more debug (after getting your board booting OK).

Link to comment
Share on other sites

Quote

• Mainline u-boot

 

 

Please write instructions on how you make the mainline u-boot. I collect according to thisinstructions and see:

U-Boot TPL 2022.07-rc6-00006-g2d2c61ff04 (Jul 23 2022 - 00:45:42)
DDR3, 333MHz
BW=32 Col=11 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=4096MB
Trying to boot from BOOTROM
Returning to boot ROM...

<debug_uart>
<debug_uart>

U-Boot SPL 2022.07-rc6-00006-g2d2c61ff04 (Jul 23 2022 - 00:45:42 +0300)
Trying to boot from MMC2
mmc_load_image_raw_sector: mmc block read error
Trying to boot from MMC1
mmc_load_image_raw_sector: mmc block read error
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

 

Edited by buratino
Link to comment
Share on other sites

On 7/23/2022 at 8:31 AM, MattWestB said:

@DmitryS The MCC is U2300 and on the underside of the PCB you have 2 test points TP2300 and TP2301 (GND).

You can trying shutting them with one high ohm resistor for being safe (or only some metal if not playing safe and can damage the board) and putting in one USB cable from your PC in the OTG port and see if the SOC is booting in masc rom more.

 

Some of the hardware specialist here is knowing more but im 95% sure its the masc rom TPs on your board but no one can grantee it before have testing it and its all on your own risk !!

 

Its also looks you is having one unpopulated pin row for console that can being good if need doing more debug (after getting your board booting OK).

Hi! Sorry for the long reply and thanks!
I shortened TP2300 and TP2301 before plugging cable and, as said in the instruction, blue led started blinking but I don't see any new device in lsusb on the host computer.

Link to comment
Share on other sites

50 minutes ago, DmitryS said:

Hi! Sorry for the long reply and thanks!
I shortened TP2300 and TP2301 before plugging cable and, as said in the instruction, blue led started blinking but I don't see any new device in lsusb on the host computer.

Multitool and armbian pristine images are configured to set the led to blink continously (it is useful to understand if the kernel is alive or freezed).

Maybe you left an sdcard in the sd card slot with multitool/armbian image on it? Shorting the eMMC clock pin just makes the eMMC undetectable by SoC, so the SoC will continue with other boot options (ie: sdcard), and will go in maskrom mode only if there is not other valid boot option.

Link to comment
Share on other sites

On 7/23/2022 at 12:06 PM, buratino said:

Please write instructions on how you make the mainline u-boot. I collect according to thisinstructions and see:

Armbian source code is there for your interest.

Link to comment
Share on other sites

On 7/12/2022 at 1:16 AM, Seth said:

 

Hello again.

manual upgrade from 5.15 to 5.18 kernel and dtb works flawlessly. everything works except hdmi. im currently running my h96 max box with board version rk3318_v1.4. my procedure was install armbian with kernel 5.15 using multitool and sd card while plugged in to an hdmi monitor/tv since multitool and 5.15 kernel works with hdmi. after configuring with rk3318-config, i plug it in to lan and continue running the box headless, then i manually upgrade to 5.18 kernel and dtb. config was 1.1GHz, ddr and emmc is option 1 (typical speeds), led conf i used is led-conf1 (YK led conf i think). seems to work fine and stable apart from the hdmi. i have attached dmesg for 5.15 and 5.18 logs if anyone can spot differences.

dmesg-5.15-kernel.log dmesg-5.18-kernel.log

Edited by Seth
Link to comment
Share on other sites

19 hours ago, jock said:

Multitool and armbian pristine images are configured to set the led to blink continously (it is useful to understand if the kernel is alive or freezed).

Maybe you left an sdcard in the sd card slot with multitool/armbian image on it? Shorting the eMMC clock pin just makes the eMMC undetectable by SoC, so the SoC will continue with other boot options (ie: sdcard), and will go in maskrom mode only if there is not other valid boot option.

Thanks for the explanation. I finally unbricked it. What I figured out is that I should put a sd-card. I put it into the board, shortened contacts which MattWestB helped me to find and it booted into multitool where I choose to burn another image and now it boots into it from emmc! Thank you guys!

Link to comment
Share on other sites

18 hours ago, paradigman said:

I would like to ask, is it possible to set a higher transmitter power for bluetooth? Now it can only transmit audio at a distance of 60 cm from the box.

Thanks.

don't know, all my bluetooth chips (AP6330, AP6334 and rtl8703bs) never had distance issues and never had to tweak anything, can stream audio 3 meters away without issues.

Link to comment
Share on other sites

@Seth the HDMI disappearing is quite disappointing, since I did not tweak that part in 5.18.

 

Anyway this looks very suspicious to me:

[    2.099836] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    2.100004] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes

 and maybe is somehow related to EDID or alike

Link to comment
Share on other sites

On 7/12/2022 at 7:10 AM, JMCC said:

Sorry, anybody has a stock-android flash backup for X88 Pro 10, made with jock's Multitool? I have been trying to use the official Rockchip tool to flash the firmware, but no luck, these devices are so crappy...

 

(More info: I made a backup, but it is corrupted due to the 4Gb bug)

 

@JMCC

I think I have another one of these X88 Pro 10 TV box lying around (actually I managed to acquire quite a few RK3318/RK3328 TV boxes at a bargain sale store).

It's of the model 4GB RAM + 128 EMMC storage.    Do you still want it?

 

UPDATE:  It looks @Aapo Tahkola already posted a new firmware for X88 Pro 10 TV box.  Would that help you?

 

Edited by Willy Moto
Update with new firmware version discussion
Link to comment
Share on other sites

Hi. It's me again. I want to know: is there any way to install opencl on rk3328 with your image? I tried to install libs from here and after that I see these files in my system:

/opt/libmali-gbm/libOpenCL.so
/usr/lib/arm-linux-gnueabihf/libOpenCL.so
/usr/lib/aarch64-linux-gnu/libOpenCL.so

 

But clpeak fails to build with error:

No rule to make target «/usr/lib/aarch64-linux-gnu/libOpenCL.so».

 

UPD: I reinstalled packages from the link and did a little clearing in the system and now clpeak launches and says:

clGetPlatformIDs (-1001)
no platforms found

Edited by DmitryS
Link to comment
Share on other sites

@DmitryS There is no opensource OpenCL driver in mesa, what you want to use is the closed source binary.

The closed source binary requires the closed source drivers; it can be installed and probably brought into working state, but it is a real PITA  since it requires the proprietary mali kernel driver first, then the closed source blobs and finally the closed source OpenCL driver. I hope I scared you enough, because that way is very scary by itself.

 

Just a side consideration: people, in general, should be very thankful for opensource drivers that make things work out of the box  and should heavily blame companies that put obstacles - like ARM does.

Link to comment
Share on other sites

9 hours ago, DmitryS said:

@jock that's sad. Thanks for the answer.

You're welcome. I hope someone will try to bring an open Vulkan driver over Mali hardware, that would be very nice when will happen.

Link to comment
Share on other sites

7 hours ago, usual user said:

I think I have to disappoint you, see here.

Well I didn't expect a fully conformant Vulkan driver since hardware is not thought for such API.

I expected something more like this https://github.com/Yours3lf/rpi-vk-driver as long as Videocore IV is way older and limited than Midgard or Bifrost (which, according to Alyssa, has been sawed away from PanVK as well... 😕 )

Link to comment
Share on other sites

On 7/19/2022 at 3:54 PM, Aapo Tahkola said:

Could not get this to work with neither of the first post images.

X88 Pro 10 with in an tf card set up like this it does not do anything at all. How did you arrive at those seek values?

 

Found info from this post:

 

Some general info her on u-boot for RK. https://u-boot.readthedocs.io/en/latest/board/rockchip/rockchip.html

 

1. Can you boot from Multitool.img ? , IF no then its will not be possible to boot Armbian from sdcard.

2. If you can , burn Armbian 22.08 - Debian image found inn first post  to sdcard.

3. Burn Multitool.img to another sdcard or mount image on Linuxpc

 

Manuel mount multitool.img

From terminal.

 

cd $HOME/Downloads/

 

# find first unused device  , /dev/loop(24)

losetup -f

 

# Mount img on /dev/loop24

 

sudo losetup -P /dev/loop24 multitool.img   

 

# Open file-browser  MULTITOOL/bsp/

# copy uboot.img and trustos.img to $HOME/Download Linuxpc

# Insert sdcard to linuxpc and find dev of sdcard / often last sdX

 

lsblk -f  

 

# My sdcard is assigned /dev/sdf

 

# DD uboot and trust IMG to sdcard armbian

# Replace /dev/SDCARD  to your dev for sdcard like sdf


 

sudo dd if=uboot.img of=/dev/SDCARD seek=16384 conv=fsync 
sudo dd if=trustos.img of=/dev/SDCARD seek=24576 conv=fsync

 

If this not work you can copy the generic DTB rk3318-box.dtb form multitool.img to sdcard.

You find generic DTB on root /  multitool.

Copy this to /boot/dtb/rockchip SDCARD to overwrite DTB on Armbian image.

 

Or burn older Armbian img to test if they boots form sdcard when Android on internal storage.

 

Happy booting!!

 

 

Edited by Gausus
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...
 Share

×
×
  • Create New...