Jump to content

CSC Armbian for RK3318/RK3328 TV box boards


jock

Recommended Posts

@RetroFan90  you are getting that message because of what the message is saying: WSL is not a supported build environment.  If you want to do a build on windows you will need to do it inside a VM like VirtualBox.  The supported build environments are discussed in the documentation on the website.

Link to comment
Share on other sites

Thank you so much for this method!
My TV box A95XF2R_V20 worked perfectly with Armbian_21. 08. 0-trunk_Rk3318-box_buster_current_5. 10.41_minimal. img
Only one problem in Armbian was determined by DDR3-2GB, and in my board 4GB.
What should I do to have 4GB?

Thanks.

Скрытый текст

d196ca04cbcd7f1dd37267b09e451f46.jpeg

 

Link to comment
Share on other sites

On 8/24/2021 at 12:46 AM, Wester_Minsk said:

Only one problem in Armbian was determined by DDR3-2GB, and in my board 4GB.

Are you sure it is 4gb? If it detects 2Gb probably it is 2gb, and 4gb is a faking spec from the vendor.

It's hard to tell how much memory you have, you have look into the datasheet for the memory chip and multiply for the number of chips.

Link to comment
Share on other sites

2 часа назад, jock сказал:

Are you sure it is 4gb? If it detects 2Gb probably it is 2gb, and 4gb is a faking spec from the vendor.

It's hard to tell how much memory you have, you have look into the datasheet for the memory chip and multiply for the number of chips.

maybe, but

I have 8 x h5tq2g43bfr-h9c chips,    datasheet  say 512M.

Скрытый текст

691e815f576d2262715de7310057f84d.jpeg

 

d196ca04cbcd7f1dd37267b09e451f46.jpeg

 

Link to comment
Share on other sites

3 часа назад, jock сказал:

@Wester_Minskno, you misread the datasheet.

Each chip is 2gbit, you have 8, then it's 16gbit / 8 = 2 gbyte, no way out. The specs given by the manufacturer are fake.

I understand.

For my server Home assistant, 2GB  is good.  

I did some tests https://pibenchmarks.com

Rk3318 got 3900 score.

For comparison my raspberry pi4 4gb + ssd got 7500 score.

Скрытый текст

RK3318 test:

1.4 GHZ *rk3318-box-emmc-hc200 *rk3328-opp-1,4 ghz      

Category                  Test                      Result
HDParm                    Disk Read                  110.55 MB/s
HDParm                    Cached Disk Read     105.40 MB/s
DD                           Disk Write                     61.5 MB/s
FIO                          4k random read            3957 IOPS (15829 KB/s)
FIO                          4k random write           5055 IOPS (20222 KB/s)
IOZone                    4k read                         26984 KB/s
IOZone                    4k write                        16903 KB/s
IOZone                    4k random read            13028 KB/s
IOZone                    4k random write           16851 KB/s

                          Score: 3938

 

 

Link to comment
Share on other sites

Hello again,

I would like to change the behavior of my IR remote POWER button.
Currently the system goes down when button pressed. I need to keep the system running, just I would like to switch off the HDMI output and probably some other parts (audio?..)

 

I changed the KEY_POWER to KEY_SUSPEND in the rc keymap, but now the system is rebooting...
 

Aug 30 17:50:17 hassio systemd[1]: Starting Show bootsplash on system halt, power off, reboot, or kexec...
Aug 30 17:50:17 hassio systemd[1]: Stopped target Timers.
Aug 30 17:50:17 hassio systemd[1]: Stopping Setup zram based device zram2...
Aug 30 17:50:17 hassio systemd[1]: Stopping Manage, Install and Generate Color Profiles...
Aug 30 17:50:17 hassio systemd[1]: Stopped target Graphical Interface.
Aug 30 17:50:17 hassio systemd[1]: Stopping Disk Manager...
Aug 30 17:50:17 hassio systemd[1]: man-db.timer: Succeeded.
Aug 30 17:50:17 hassio systemd[1]: Stopped Daily man-db regeneration.
Aug 30 17:50:17 hassio systemd[1]: Stopping Authorization Manager...
Aug 30 17:50:17 hassio systemd[1]: Stopping Setup zram based device zram1...
Aug 30 17:50:17 hassio systemd[1]: logrotate.timer: Succeeded.
Aug 30 17:50:17 hassio systemd[1]: Stopped Daily rotation of log files.
Aug 30 17:50:17 hassio systemd[1]: Stopped target Sound Card.
Aug 30 17:50:17 hassio systemd[1]: Stopping Session 85 of user root.
Aug 30 17:50:17 hassio systemd[1]: Stopped target Multi-User System.
Aug 30 17:50:17 hassio ModemManager[717]: <info>  Caught signal, shutting down...
Aug 30 17:50:17 hassio systemd[1]: Stopping Modem Manager...
Aug 30 17:50:17 hassio lircd[1173]: lircd-0.10.1[1173]: Notice: caught signal
Aug 30 17:50:17 hassio chronyd[1064]: chronyd exiting
Aug 30 17:50:17 hassio systemd[1]: Stopping LSB: Klipper daemon...
Aug 30 17:50:17 hassio chronyd[1064]: Could not open temporary driftfile /var/lib/chrony/chrony.drift.tmp for writing
Aug 30 17:50:17 hassio systemd[1]: Stopped target Login Prompts.
Aug 30 17:50:17 hassio systemd[1]: Stopping Getty on tty1...
Aug 30 17:50:17 hassio sh[12310]: /bin/sh: 1: echo: echo: I/O error
Aug 30 17:50:17 hassio lircd-0.10.1[1173]: Notice: caught signal
Aug 30 17:50:17 hassio systemd[1]: Stopping Serial Getty on ttyS2...
Aug 30 17:50:17 hassio systemd[1]: Stopping chrony, an NTP client/server...
Aug 30 17:50:17 hassio systemd[1]: Stopping OpenBSD Secure Shell server...
Aug 30 17:50:17 hassio systemd[1]: sysstat.service: Succeeded.
Aug 30 17:50:17 hassio systemd[1]: Stopped Resets System Activity Data Collector.
Aug 30 17:50:17 hassio systemd[1]: Stopping Flexible IR remote input/output application support...
Aug 30 17:50:49 hassio kernel: [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
... boot continues ...

 

Is some sleep mode supported? Or there is other way how to switch off some hardware?
 

Link to comment
Share on other sites

I see this in the syslog when connected via ssh, but after reboot these messages are not in any log file..
It means that reboot was unexpected... :-(

 

Aug 30 18:17:12 hassio NetworkManager[745]: <info>  [1630340232.0227] manager: sleep: sleep requested (sleeping: no  enabled: yes)
Aug 30 18:17:12 hassio NetworkManager[745]: <info>  [1630340232.0234] device (eth0): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Aug 30 18:17:12 hassio NetworkManager[745]: <info>  [1630340232.0394] manager: NetworkManager state is now ASLEEP
Aug 30 18:17:12 hassio systemd[1]: Reached target Sleep.
Aug 30 18:17:12 hassio systemd[1]: Starting Suspend...
Aug 30 18:17:12 hassio kernel: [ 1162.689452] PM: suspend entry (deep)
Aug 30 18:17:12 hassio systemd-sleep[6973]: Suspending system...
Aug 30 18:17:12 hassio kernel: [ 1162.703472] Filesystems sync: 0.013 seconds

 

Link to comment
Share on other sites

Suspend is totally untested, I don't know if any rk3328/3318 device could suspend and come back without issues, there are plenty of variables to take in account when this happens.

I would rather bind the power button to an unused keycode and then, via userspace, catch the keycode and run a script or something similar that does what I want.

 

Don't know how to turn HDMI off although, maybe unbinding the device...

Link to comment
Share on other sites

Hello, can anyone say what is the cause of these messages and how to get rid of it?

 

Sep  1 08:40:50 hassio kernel: [ 1026.900395] ieee80211 phy0: brcmf_fweh_event_worker: event handler failed (72)
Sep  1 08:40:56 hassio kernel: [ 1032.846542] ieee80211 phy0: brcmf_fweh_call_event_handler: no interface object
Sep  1 08:40:56 hassio kernel: [ 1032.846581] ieee80211 phy0: brcmf_fweh_event_worker: event handler failed (72)
Sep  1 08:41:02 hassio kernel: [ 1038.785176] ieee80211 phy0: brcmf_fweh_call_event_handler: no interface object
Sep  1 08:41:02 hassio kernel: [ 1038.785214] ieee80211 phy0: brcmf_fweh_event_worker: event handler failed (72)
Sep  1 08:41:02 hassio kernel: [ 1038.786917] ieee80211 phy0: brcmf_fweh_call_event_handler: no interface object
Sep  1 08:41:02 hassio kernel: [ 1038.786939] ieee80211 phy0: brcmf_fweh_event_worker: event handler failed (72)
Sep  1 08:41:08 hassio kernel: [ 1044.726928] ieee80211 phy0: brcmf_fweh_call_event_handler: no interface object
Sep  1 08:41:08 hassio kernel: [ 1044.726965] ieee80211 phy0: brcmf_fweh_event_worker: event handler failed (72)
Sep  1 08:41:08 hassio kernel: [ 1044.729080] ieee80211 phy0: brcmf_fweh_call_event_handler: no interface object
Sep  1 08:41:08 hassio kernel: [ 1044.729125] ieee80211 phy0: brcmf_fweh_event_worker: event handler failed (72)
Sep  1 08:41:14 hassio kernel: [ 1050.654195] ieee80211 phy0: brcmf_fweh_call_event_handler: no interface object
Sep  1 08:41:14 hassio kernel: [ 1050.654226] ieee80211 phy0: brcmf_fweh_event_worker: event handler failed (72)

 

Link to comment
Share on other sites

54 minutes ago, curse said:

@lucky62

It looks like it has problems with the Wi-Fi. 

but wifi is working normally... Box is connected to the wifi and it is accessible.(I am connected via SSH).

 

I am wondering if docker or home-assistant changed something...
If I remember these messages were not here before docker / HA installation.

 

Link to comment
Share on other sites

3 hours ago, lucky62 said:

but wifi is working normally... Box is connected to the wifi and it is accessible.(I am connected via SSH).

 

I am wondering if docker or home-assistant changed something...
If I remember these messages were not here before docker / HA installation.

 

There is some reference on the internet about this message as being a "harmless error message" due to some missing function in the firmware or whatever.

It is "normal": functionality and performance of the wifi does not suffer due to that.

Link to comment
Share on other sites

1 hour ago, jock said:

There is some reference on the internet about this message as being a "harmless error message" due to some missing function in the firmware or whatever.

It is "normal": functionality and performance of the wifi does not suffer due to that.

 

I understand, I have no problems with connection. Just the messages are repeating after each 6 seconds..
So it is annoying and due to a rotating buffer older important messages are lost...

Nobody else has this problem?...
 

Link to comment
Share on other sites

21 hours ago, lucky62 said:

 

I understand, I have no problems with connection. Just the messages are repeating after each 6 seconds..
So it is annoying and due to a rotating buffer older important messages are lost...

Nobody else has this problem?...
 

I think all people which have AP6330 (aka BCM4330) chip have this issue, including me on another rk3288 box

Link to comment
Share on other sites

Hello! I wanted to thank @jock and everyone that has contributed their time and effort on this project. I am quite happy to be able to use Armbian on my X88 Pro 10.

I am quite new to customizing linux in general, but learned quite a lot from all the info that was provided about devices trees ( their purpose / why android dtb is not compatible with current kernel device trees, etc ), u-boot and so much more about ARM linux. So thank you all for sharing that information.

 

I have tested all three images from the beginning of the post and they are working on my board ( Currently using the debian buster current ).

 

So far, wifi, bluetooth, and the os booting is all working as expected. The next steps for me is to get the front LED working, compiling the mali driver ( need to search how to do that ), making armbian recognize all 4G of RAM, soldering a serial cable on the pads ( quite scared as I have lifted pads on the past :lol:) and lightdm not working for some reason ( previously it was working on another installation of the same image :huh: ).

 

Here I attach the dtbs extracted using extract-dtb from the multiboot backup of the android stock image.

https://drive.google.com/file/d/1mktUvlYLj_csZhlFwG-A6sOa44bh1AEG/view?usp=sharing

 

As well images of my board.

https://drive.google.com/file/d/1iucHMLsZYqlLgxUFE5QediPYCQ_X3CvR/view?usp=sharing

 

https://drive.google.com/file/d/1isP5fU32dY0drpOaHhA9N31WQiwiXBCz/view?usp=sharing

 

And finally the dmesg output.

Spoiler
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.10.41-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 Sun May 30 16:09:59 UTC 2021
[    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 0x7fbba100-0x7fbbbfff]
[    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 totalpages: 523776
[    0.000000]   DMA zone: 8184 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 523776 pages, LIFO batch:63
[    0.000000] cma: Reserved 128 MiB at 0x0000000075000000
[    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.1
[    0.000000] percpu: Embedded 32 pages/cpu s94040 r8192 d28840 u131072
[    0.000000] pcpu-alloc: s94040 r8192 d28840 u131072 alloc=32*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] Built 1 zonelists, mobility grouping on.  Total pages: 515592
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: root=UUID=7fca5a67-cb2b-4b23-983b-6637e9a1e0a7 rootwait rootfstype=ext4 console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=1 ubootpart=135cc133-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[    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: 1882896K/2095104K available (14848K kernel code, 2632K rwdata, 5976K rodata, 4352K init, 580K bss, 81136K reserved, 131072K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    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] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x698/0x850 with crng_init=0
[    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.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000973] Console: colour dummy device 80x25
[    0.001033] printk: console [tty1] enabled
[    0.001190] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001213] pid_max: default: 32768 minimum: 301
[    0.001399] LSM: Security Framework initializing
[    0.001461] Yama: becoming mindful.
[    0.001632] AppArmor: AppArmor initialized
[    0.001740] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.001773] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.005469] rcu: Hierarchical SRCU implementation.
[    0.008812] EFI services will not be available.
[    0.009539] smp: Bringing up secondary CPUs ...
[    0.010664] Detected VIPT I-cache on CPU1
[    0.010773] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.012091] Detected VIPT I-cache on CPU2
[    0.012183] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.013648] Detected VIPT I-cache on CPU3
[    0.013742] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.013986] smp: Brought up 1 node, 4 CPUs
[    0.014004] SMP: Total of 4 processors activated.
[    0.014020] CPU features: detected: 32-bit EL0 Support
[    0.014033] CPU features: detected: CRC32 instructions
[    0.014044] CPU features: detected: 32-bit EL1 Support
[    0.034793] CPU: All CPU(s) started at EL2
[    0.034866] alternatives: patching kernel code
[    0.037903] devtmpfs: initialized
[    0.060334] Registered cp15_barrier emulation handler
[    0.060365] Registered setend emulation handler
[    0.060815] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.060925] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.067703] pinctrl core: initialized pinctrl subsystem
[    0.068931] DMI not present or invalid.
[    0.070003] NET: Registered protocol family 16
[    0.073947] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[    0.074873] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.076681] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.076885] audit: initializing netlink subsys (disabled)
[    0.077394] audit: type=2000 audit(0.076:1): state=initialized audit_enabled=0 res=1
[    0.079066] thermal_sys: Registered thermal governor 'fair_share'
[    0.079079] thermal_sys: Registered thermal governor 'bang_bang'
[    0.079092] thermal_sys: Registered thermal governor 'step_wise'
[    0.079103] thermal_sys: Registered thermal governor 'user_space'
[    0.079626] cpuidle: using governor menu
[    0.080240] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.080469] ASID allocator initialised with 65536 entries
[    0.082606] Serial: AMBA PL011 UART driver
[    0.157126] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.157148] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.157162] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.157177] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.164243] cryptd: max_cpu_qlen set to 1000
[    0.241682] raid6: neonx8   gen()  1055 MB/s
[    0.309833] raid6: neonx8   xor()   780 MB/s
[    0.378009] raid6: neonx4   gen()  1076 MB/s
[    0.446167] raid6: neonx4   xor()   772 MB/s
[    0.514327] raid6: neonx2   gen()  1014 MB/s
[    0.582503] raid6: neonx2   xor()   713 MB/s
[    0.650684] raid6: neonx1   gen()   885 MB/s
[    0.718843] raid6: neonx1   xor()   610 MB/s
[    0.786997] raid6: int64x8  gen()   753 MB/s
[    0.855190] raid6: int64x8  xor()   392 MB/s
[    0.923293] raid6: int64x4  gen()   828 MB/s
[    0.991453] raid6: int64x4  xor()   424 MB/s
[    1.059601] raid6: int64x2  gen()   707 MB/s
[    1.127754] raid6: int64x2  xor()   375 MB/s
[    1.195912] raid6: int64x1  gen()   526 MB/s
[    1.264074] raid6: int64x1  xor()   274 MB/s
[    1.264087] raid6: using algorithm neonx4 gen() 1076 MB/s
[    1.264095] raid6: .... xor() 772 MB/s, rmw enabled
[    1.264108] raid6: using neon recovery algorithm
[    1.268108] vcc_sd: supplied by vccio_3v3
[    1.269251] vcc_host_vbus: supplied by vcc_sys
[    1.270234] vcc_otg_vbus: supplied by vcc_sys
[    1.271112] iommu: Default domain type: Translated 
[    1.274892] vgaarb: loaded
[    1.275841] SCSI subsystem initialized
[    1.276254] libata version 3.00 loaded.
[    1.276909] usbcore: registered new interface driver usbfs
[    1.276987] usbcore: registered new interface driver hub
[    1.277065] usbcore: registered new device driver usb
[    1.277973] pps_core: LinuxPPS API ver. 1 registered
[    1.277983] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.278015] PTP clock support registered
[    1.278367] EDAC MC: Ver: 3.0.0
[    1.280816] NetLabel: Initializing
[    1.280833] NetLabel:  domain hash size = 128
[    1.280840] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.280981] NetLabel:  unlabeled traffic allowed by default
[    1.281942] clocksource: Switched to clocksource arch_sys_counter
[    1.520504] VFS: Disk quotas dquot_6.6.0
[    1.520640] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.522434] AppArmor: AppArmor Filesystem Enabled
[    1.537295] NET: Registered protocol family 2
[    1.537626] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    1.540550] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.540672] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.541099] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    1.541483] TCP: Hash tables configured (established 16384 bind 16384)
[    1.541800] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    1.541907] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    1.542438] NET: Registered protocol family 1
[    1.542490] NET: Registered protocol family 44
[    1.542512] PCI: CLS 0 bytes, default 64
[    1.542960] Trying to unpack rootfs image as initramfs...
[    2.778344] Freeing initrd memory: 11776K
[    2.780246] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    2.781228] kvm [1]: IPA Size Limit: 40 bits
[    2.783806] kvm [1]: vgic interrupt IRQ9
[    2.784061] kvm [1]: Hyp mode initialized successfully
[    2.798388] Initialise system trusted keyrings
[    2.798470] Key type blacklist registered
[    2.798877] workingset: timestamp_bits=44 max_order=19 bucket_order=0
[    2.810971] zbud: loaded
[    2.814232] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.815687] fuse: init (API version 7.32)
[    2.818237] integrity: Platform Keyring initialized
[    2.892887] xor: measuring software checksum speed
[    2.901023]    8regs           :  1220 MB/sec
[    2.908075]    32regs          :  1402 MB/sec
[    2.917117]    arm64_neon      :  1093 MB/sec
[    2.917128] xor: using function: 32regs (1402 MB/sec)
[    2.917151] Key type asymmetric registered
[    2.917163] Asymmetric key parser 'x509' registered
[    2.917266] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    2.917559] io scheduler mq-deadline registered
[    2.917572] io scheduler kyber registered
[    2.917848] io scheduler bfq registered
[    2.926217] rockchip-u3phy ff470000.usb3-phy: vbus_drv is not assigned
[    2.928976] rockchip-u3phy ff470000.usb3-phy: Rockchip u3phy initialized successfully
[    2.949636] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
[    2.949661] dma-pl330 ff1f0000.dmac: 	DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    2.958045] vdd_arm: supplied by regulator-dummy
[    2.959085] vdd_log: supplied by regulator-dummy
[    2.961170] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    2.966853] ff110000.serial: ttyS0 at MMIO 0xff110000 (irq = 23, base_baud = 1500000) is a 16550A
[    2.968886] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 24, base_baud = 1500000) is a 16550A
[    2.969160] printk: console [ttyS2] enabled
[    2.971240] Serial: AMBA driver
[    2.995818] loop: module loaded
[    3.003661] libphy: Fixed MDIO Bus: probed
[    3.004783] tun: Universal TUN/TAP device driver, 1.6
[    3.006559] thunder_xcv, ver 1.0
[    3.006651] thunder_bgx, ver 1.0
[    3.006730] nicpf, ver 1.0
[    3.008072] e1000e: Intel(R) PRO/1000 Network Driver
[    3.008082] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    3.008173] igb: Intel(R) Gigabit Ethernet Network Driver
[    3.008183] igb: Copyright (c) 2007-2014 Intel Corporation.
[    3.008256] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    3.008267] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    3.008624] sky2: driver version 1.30
[    3.009622] VFIO - User Level meta-driver version: 0.3
[    3.015063] dwc2 ff580000.usb: supply vusb_d not found, using dummy regulator
[    3.015372] dwc2 ff580000.usb: supply vusb_a not found, using dummy regulator
[    3.028437] dwc2 ff580000.usb: DWC OTG Controller
[    3.028490] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
[    3.028557] dwc2 ff580000.usb: irq 48, io mem 0xff580000
[    3.028975] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    3.028989] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.029002] usb usb1: Product: DWC OTG Controller
[    3.029016] usb usb1: Manufacturer: Linux 5.10.41-rockchip64 dwc2_hsotg
[    3.029030] usb usb1: SerialNumber: ff580000.usb
[    3.030101] hub 1-0:1.0: USB hub found
[    3.030168] hub 1-0:1.0: 1 port detected
[    3.032484] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.032536] ehci-pci: EHCI PCI platform driver
[    3.032609] ehci-platform: EHCI generic platform driver
[    3.035484] ehci-platform ff5c0000.usb: EHCI Host Controller
[    3.035540] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2
[    3.035796] ehci-platform ff5c0000.usb: irq 49, io mem 0xff5c0000
[    3.049963] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
[    3.050473] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    3.050490] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.050505] usb usb2: Product: EHCI Host Controller
[    3.050518] usb usb2: Manufacturer: Linux 5.10.41-rockchip64 ehci_hcd
[    3.050532] usb usb2: SerialNumber: ff5c0000.usb
[    3.051509] hub 2-0:1.0: USB hub found
[    3.051584] hub 2-0:1.0: 1 port detected
[    3.052551] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.052599] ohci-pci: OHCI PCI platform driver
[    3.052702] ohci-platform: OHCI generic platform driver
[    3.053545] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
[    3.053583] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3
[    3.053838] ohci-platform ff5d0000.usb: irq 50, io mem 0xff5d0000
[    3.114334] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    3.114354] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.114369] usb usb3: Product: Generic Platform OHCI controller
[    3.114382] usb usb3: Manufacturer: Linux 5.10.41-rockchip64 ohci_hcd
[    3.114397] usb usb3: SerialNumber: ff5d0000.usb
[    3.115352] hub 3-0:1.0: USB hub found
[    3.115417] hub 3-0:1.0: 1 port detected
[    3.117666] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.117711] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 4
[    3.118070] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    3.118185] xhci-hcd xhci-hcd.0.auto: irq 57, io mem 0xff600000
[    3.119003] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    3.119020] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.119033] usb usb4: Product: xHCI Host Controller
[    3.119045] usb usb4: Manufacturer: Linux 5.10.41-rockchip64 xhci-hcd
[    3.119060] usb usb4: SerialNumber: xhci-hcd.0.auto
[    3.120027] hub 4-0:1.0: USB hub found
[    3.120098] hub 4-0:1.0: 1 port detected
[    3.120743] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.120775] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 5
[    3.120807] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    3.120959] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.121204] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[    3.121220] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.121232] usb usb5: Product: xHCI Host Controller
[    3.121243] usb usb5: Manufacturer: Linux 5.10.41-rockchip64 xhci-hcd
[    3.121255] usb usb5: SerialNumber: xhci-hcd.0.auto
[    3.122278] hub 5-0:1.0: USB hub found
[    3.122345] hub 5-0:1.0: 1 port detected
[    3.123289] usbcore: registered new interface driver usb-storage
[    3.126624] mousedev: PS/2 mouse device common for all mice
[    3.128626] i2c /dev entries driver
[    3.133532] dw_wdt ff1a0000.watchdog: No valid TOPs array specified
[    3.137630] sdhci: Secure Digital Host Controller Interface driver
[    3.137646] sdhci: Copyright(c) Pierre Ossman
[    3.137697] Synopsys Designware Multimedia Card Interface Driver
[    3.139365] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.140336] dwmmc_rockchip ff500000.mmc: IDMAC supports 32-bit address mode.
[    3.140403] dwmmc_rockchip ff500000.mmc: Using internal DMA controller.
[    3.140423] dwmmc_rockchip ff500000.mmc: Version ID is 270a
[    3.140533] dwmmc_rockchip ff500000.mmc: DW MMC controller at irq 45,32 bit host data width,256 deep fifo
[    3.140657] dwmmc_rockchip ff520000.mmc: IDMAC supports 32-bit address mode.
[    3.140705] dwmmc_rockchip ff520000.mmc: Using internal DMA controller.
[    3.140724] dwmmc_rockchip ff520000.mmc: Version ID is 270a
[    3.140779] dwmmc_rockchip ff5f0000.dwmmc: IDMAC supports 32-bit address mode.
[    3.140816] dwmmc_rockchip ff5f0000.dwmmc: Using internal DMA controller.
[    3.140831] dwmmc_rockchip ff520000.mmc: DW MMC controller at irq 46,32 bit host data width,256 deep fifo
[    3.140836] dwmmc_rockchip ff5f0000.dwmmc: Version ID is 270a
[    3.140915] dwmmc_rockchip ff5f0000.dwmmc: DW MMC controller at irq 51,32 bit host data width,256 deep fifo
[    3.141217] dwmmc_rockchip ff500000.mmc: Got CD GPIO
[    3.141391] dwmmc_rockchip ff5f0000.dwmmc: allocated mmc-pwrseq
[    3.141407] mmc_host mmc3: card is non-removable.
[    3.141626] mmc_host mmc2: card is non-removable.
[    3.143399] ledtrig-cpu: registered to indicate activity on CPUs
[    3.144780] hid: raw HID events driver (C) Jiri Kosina
[    3.145031] usbcore: registered new interface driver usbhid
[    3.145041] usbhid: USB HID core driver
[    3.153218] drop_monitor: Initializing network drop monitor service
[    3.154412] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    3.154423] mmc_host mmc3: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    3.154678] NET: Registered protocol family 10
[    3.155025] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    3.183964] mmc3: queuing unknown CIS tuple 0x80 (2 bytes)
[    3.185589] mmc3: queuing unknown CIS tuple 0x80 (3 bytes)
[    3.187281] mmc3: queuing unknown CIS tuple 0x80 (3 bytes)
[    3.190209] mmc3: queuing unknown CIS tuple 0x80 (7 bytes)
[    3.199418] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    3.199578] mmc0: new high speed SDHC card at address 0001
[    3.201659] mmcblk0: mmc0:0001 SD16G 14.9 GiB 
[    3.206488]  mmcblk0: p1
[    3.226955] Segment Routing with IPv6
[    3.227145] NET: Registered protocol family 17
[    3.227418] 8021q: 802.1Q VLAN Support v1.8
[    3.227511] Key type dns_resolver registered
[    3.228531] registered taskstats version 1
[    3.228559] Loading compiled-in X.509 certificates
[    3.234846] Loaded X.509 cert 'Build time autogenerated kernel key: d510bb33798a27b51e57f9bfe2cdd3aac6300af8'
[    3.241277] zswap: loaded using pool zstd/z3fold
[    3.241470] mmc_host mmc3: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    3.242118] random: fast init done
[    3.244193] Key type ._fscrypt registered
[    3.244206] Key type .fscrypt registered
[    3.244216] Key type fscrypt-provisioning registered
[    3.245421] mmc3: new high speed SDIO card at address 0001
[    3.248752] Btrfs loaded, crc32c=crc32c-generic
[    3.272927] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0)
[    3.280632] Key type encrypted registered
[    3.280678] AppArmor: AppArmor sha1 policy hashing enabled
[    3.291361] mmc2: new DDR MMC card at address 0001
[    3.293363] mmcblk2: mmc2:0001 HBG4e  29.1 GiB 
[    3.294617] mmcblk2boot0: mmc2:0001 HBG4e  partition 1 4.00 MiB
[    3.295786] mmcblk2boot1: mmc2:0001 HBG4e  partition 2 4.00 MiB
[    3.296146] mmcblk2rpmb: mmc2:0001 HBG4e  partition 3 4.00 MiB, chardev (243:0)
[    3.345327] of_cfs_init
[    3.345406] of_cfs_init: OK
[    3.351084] Freeing unused kernel memory: 4352K
[    3.358132] Run /init as init process
[    3.358148]   with arguments:
[    3.358159]     /init
[    3.358170]   with environment:
[    3.358183]     HOME=/
[    3.358192]     TERM=linux
[    3.358200]     ubootpart=135cc133-01
[    3.358211]     cgroup_enable=memory
[    3.358223]     cgroup_memory=1
[    3.426053] usb 1-1: new low-speed USB device number 2 using dwc2
[    3.644409] usb 1-1: New USB device found, idVendor=046d, idProduct=c31c, bcdDevice=64.02
[    3.644434] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    3.644449] usb 1-1: Product: USB Keyboard
[    3.644460] usb 1-1: Manufacturer: Logitech
[    3.654300] input: Logitech USB Keyboard as /devices/platform/ff580000.usb/usb1/1-1/1-1:1.0/0003:046D:C31C.0001/input/input0
[    3.715781] hid-generic 0003:046D:C31C.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-ff580000.usb-1/input0
[    3.728634] input: Logitech USB Keyboard Consumer Control as /devices/platform/ff580000.usb/usb1/1-1/1-1:1.1/0003:046D:C31C.0002/input/input1
[    3.787078] input: Logitech USB Keyboard System Control as /devices/platform/ff580000.usb/usb1/1-1/1-1:1.1/0003:046D:C31C.0002/input/input2
[    3.788543] hid-generic 0003:046D:C31C.0002: input,hiddev96,hidraw1: USB HID v1.10 Device [Logitech USB Keyboard] on usb-ff580000.usb-1/input1
[    4.168954] input: adc-keys as /devices/platform/adc-keys/input/input3
[    4.217019] gpio-syscon ff100000.syscon:grf-gpio: can't read the data register offset!
[    4.286341] rk_gmac-dwmac ff550000.ethernet: IRQ eth_wake_irq not found
[    4.286372] rk_gmac-dwmac ff550000.ethernet: IRQ eth_lpi not found
[    4.286641] rk_gmac-dwmac ff550000.ethernet: PTP uses main clock
[    4.287209] rk_gmac-dwmac ff550000.ethernet: clock input or output? (output).
[    4.287238] rk_gmac-dwmac ff550000.ethernet: TX delay(0x30).
[    4.287254] rk_gmac-dwmac ff550000.ethernet: RX delay(0x10).
[    4.287297] rk_gmac-dwmac ff550000.ethernet: integrated PHY? (yes).
[    4.287441] rk_gmac-dwmac ff550000.ethernet: cannot get clock clk_mac_refout
[    4.287461] rk_gmac-dwmac ff550000.ethernet: cannot get clock clk_mac_speed
[    4.298576] rk_gmac-dwmac ff550000.ethernet: init for RMII
[    4.353751] rk_gmac-dwmac ff550000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    4.353786] rk_gmac-dwmac ff550000.ethernet: 	DWMAC1000
[    4.353801] rk_gmac-dwmac ff550000.ethernet: DMA HW capability register supported
[    4.353812] rk_gmac-dwmac ff550000.ethernet: RX Checksum Offload Engine supported
[    4.353822] rk_gmac-dwmac ff550000.ethernet: COE Type 2
[    4.353832] rk_gmac-dwmac ff550000.ethernet: TX Checksum insertion supported
[    4.353842] rk_gmac-dwmac ff550000.ethernet: Wake-Up On Lan supported
[    4.354220] rk_gmac-dwmac ff550000.ethernet: Normal descriptors
[    4.354240] rk_gmac-dwmac ff550000.ethernet: Ring mode enabled
[    4.354251] rk_gmac-dwmac ff550000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    4.355681] libphy: stmmac: probed
[    4.780220] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)
[    5.886635] systemd[1]: System time before build time, advancing clock.
[    5.922433] systemd[1]: Inserted module 'autofs4'
[    6.011973] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    6.013272] systemd[1]: Detected architecture arm64.
[    6.048282] systemd[1]: Set hostname to <rk3318-box>.
[    6.214896] dw-apb-uart ff130000.serial: forbid DMA for kernel console
[    7.056570] random: systemd: uninitialized urandom read (16 bytes read)
[    7.073097] random: systemd: uninitialized urandom read (16 bytes read)
[    7.074558] systemd[1]: Listening on fsck to fsckd communication Socket.
[    7.075657] random: systemd: uninitialized urandom read (16 bytes read)
[    7.080714] systemd[1]: Created slice User and Session Slice.
[    7.082814] systemd[1]: Listening on udev Control Socket.
[    7.084261] systemd[1]: Listening on udev Kernel Socket.
[    7.089706] systemd[1]: Created slice system-getty.slice.
[    7.090594] systemd[1]: Reached target Remote File Systems.
[    7.092527] systemd[1]: Listening on Journal Socket.
[    7.278375] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro
[    7.958792] systemd-journald[342]: Received request to flush runtime journal from PID 1
[   10.042229] random: crng init done
[   10.042254] random: 7 urandom warning(s) missed due to ratelimiting
[   10.266639] mc: Linux media interface: v0.10
[   10.395579] videodev: Linux video capture interface: v2.00
[   10.546523] lima ff300000.gpu: gp - mali450 version major 0 minor 0
[   10.546653] lima ff300000.gpu: pp0 - mali450 version major 0 minor 0
[   10.546730] lima ff300000.gpu: pp1 - mali450 version major 0 minor 0
[   10.546800] lima ff300000.gpu: l2 cache 8K, 4-way, 64byte cache line, 128bit external bus
[   10.546811] lima ff300000.gpu: l2 cache 64K, 4-way, 64byte cache line, 128bit external bus
[   10.647885] lima ff300000.gpu: bus rate = 491520000
[   10.647909] lima ff300000.gpu: mod rate = 491520000
[   10.684134] [drm] Initialized lima 1.1.0 20191231 for ff300000.gpu on minor 0
[   10.760450] rk3328-codec ff410000.codec: spk_depop_time use default value.
[   10.938122] Registered IR keymap rc-empty
[   10.938337] rc rc0: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0
[   10.944681] rc rc0: lirc_dev: driver gpio_ir_recv registered at minor = 0, raw IR receiver, no transmitter
[   10.945002] input: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0/input4
[   10.996958] hantro_vpu: module is from the staging directory, the quality is unknown, you have been warned.
[   11.011969] hantro-vpu ff350000.video-codec: Adding to iommu group 2
[   11.013288] hantro-vpu ff350000.video-codec: registered rockchip,rk3328-vpu-dec as /dev/video0
[   11.038247] rockchip-vop ff370000.vop: Adding to iommu group 4
[   11.214319] rockchip-drm display-subsystem: bound ff370000.vop (ops vop_component_ops [rockchipdrm])
[   11.215078] dwhdmi-rockchip ff3c0000.hdmi: Detected HDMI TX controller v2.11a with HDCP (inno_dw_hdmi_phy2)
[   11.239195] dwhdmi-rockchip ff3c0000.hdmi: registered DesignWare HDMI I2C bus driver
[   11.240657] rockchip-drm display-subsystem: bound ff3c0000.hdmi (ops dw_hdmi_rockchip_ops [rockchipdrm])
[   11.358559] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   11.363310] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   11.365171] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   11.365204] cfg80211: failed to load regulatory.db
[   11.492663] brcmfmac: F1 signature read @0x18000000=0x16044330
[   11.501039] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4330-sdio for chip BCM4330/4
[   11.501446] usbcore: registered new interface driver brcmfmac
[   11.662590] Console: switching to colour frame buffer device 240x67
[   11.846773] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device
[   11.847343] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4330-sdio for chip BCM4330/4
[   11.847602] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[   11.848548] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4330/4 wl0: Oct 25 2011 19:34:12 version 5.90.125.104
[   11.881821] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 1
[   11.959691] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 184
[   11.959711] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 188
[   11.959719] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 192
[   11.959728] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 196
[   11.959735] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 200
[   11.959743] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 204
[   11.959750] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 208
[   11.959757] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 212
[   11.959764] ieee80211 phy0: brcmf_construct_chaninfo: Ignoring unexpected firmware channel 216
[   12.393870] Registered IR keymap rc-cec
[   12.395297] rc rc1: dw_hdmi as /devices/platform/ff3c0000.hdmi/rc/rc1
[   12.395648] input: dw_hdmi as /devices/platform/ff3c0000.hdmi/rc/rc1/input5
[   13.130125] rc rc0: two consecutive events of type space
[   13.960897] rk_gmac-dwmac ff550000.ethernet eth0: PHY [stmmac-1:00] driver [Rockchip integrated EPHY] (irq=POLL)
[   13.982329] rk_gmac-dwmac ff550000.ethernet eth0: No Safety Features support found
[   13.982367] rk_gmac-dwmac ff550000.ethernet eth0: PTP not supported by HW
[   13.983567] rk_gmac-dwmac ff550000.ethernet eth0: configuring for phy/rmii link mode
[   16.066072] ieee80211 phy0: brcmf_p2p_create_p2pdev: timeout occurred
[   16.066109] ieee80211 phy0: brcmf_cfg80211_add_iface: add iface p2p-dev-wlan0 type 10 failed: err=-5
[   17.058483] rk_gmac-dwmac ff550000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   17.058561] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

 

 

If I am able to help with anything, I would be happy to! :D

Link to comment
Share on other sites

I'm asking for help.
I continue to test my box RK3318, there is a problem :(. which I can't handle. I don't have the necessary knowledge in linux.
Box constantly freezes, and several times it did not start, I had to restore it from multitool.

I am using the image of Arabian 21.08-Debian Buster minimal-mainline kernel 5.10.4 installed in eMMC.
All updates are installed.
Doker and homeassistance are installed.

 

what I tried:
in arm bin-config:
Scaling governor: performance, conservative, ondemand
cpu 1000 1300 1400
*rk3318-box-emmc-hc200
*rk3318-box-led-conf1

lastest Update:
arm bin-config linux-deb-current-rockchip 64 linux-image-current-rockchip 64 linux-libc-dev

only Lan
only wifi

cpu temperature 40-60 

all these changes do not affect the freezes in any way.

I put: Armbian 21.05-Debian Buster minimal-legacy kernel 4.4.213 - on this image is even worse, freezes  on the start setting..

 

Now I'm starting to study logs:

sudo ls /var/log
alternatives.log              bootstrap.log  dpkg.log        lost+found             rpimonitor.log
apparmor                      btmp           faillog         messages               syslog
apt                           chrony         fontconfig.log  nand-sata-install.log  sysstat
armbian-hardware-monitor.log  daemon.log     kern.log        openvpn                user.log
auth.log                      debug          lastlog         private                wtmp

 

sudo less /var/log/armbian-hardware-monitor.log

Скрытый текст

### Activated 1 lzo-rle zram swap devices with 991 MB each

### Activated Armbian ramlog partition with zstd compression

### Activated 1 lzo-rle zram swap devices with 991 MB each

### Activated Armbian ramlog partition with zstd compression

### Activated 1 lzo-rle zram swap devices with 991 MB each

### Activated Armbian ramlog partition with zstd compression


### Activated 1 lzo-rle zram swap devices with 991 MB each

### Activated Armbian ramlog partition with zstd compression

### Activated 1 lzo-rle zram swap devices with 991 MB each

### Activated Armbian ramlog partition with zstd compression

### Activated 1 lzo-rle zram swap devices with 991 MB each

### Activated Armbian ramlog partition with zstd compression

### Activated 1 lzo-rle zram swap devices with 991 MB each

### Activated Armbian ramlog partition with zstd compression

Mon 06 Sep 2021 07:17:35 PM UTC | RK3318 Box | 21.08.0-trunk | arm64 | aarch64 | 5.10.41-rockchip64

### dmesg:

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.10.41-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 Sun May 30 16:09:59 UTC 2021
[    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 0x7fbba100-0x7fbbbfff]
[    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 totalpages: 523776
[    0.000000]   DMA zone: 8184 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 523776 pages, LIFO batch:63
[    0.000000] cma: Reserved 128 MiB at 0x0000000075000000
[    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.1
[    0.000000] percpu: Embedded 32 pages/cpu s94040 r8192 d28840 u131072
[    0.000000] pcpu-alloc: s94040 r8192 d28840 u131072 alloc=32*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] Built 1 zonelists, mobility grouping on.  Total pages: 515592
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: root=UUID=7fca5a67-cb2b-4b23-983b-6637e9a1e0a7 rootwait rootfstype=ext4 console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=1 ubootpart=135cc133-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[    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: 1882896K/2095104K available (14848K kernel code, 2632K rwdata, 5976K rodata, 4352K init, 580K bss, 81136K reserved, 131072K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    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] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x698/0x850 with crng_init=0
[    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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000951] Console: colour dummy device 80x25
[    0.001008] printk: console [tty1] enabled
[    0.001173] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001198] pid_max: default: 32768 minimum: 301
[    0.001388] LSM: Security Framework initializing
[    0.001450] Yama: becoming mindful.
[    0.001624] AppArmor: AppArmor initialized
[    0.001729] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.001759] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.005445] rcu: Hierarchical SRCU implementation.
[    0.008784] EFI services will not be available.
[    0.009510] smp: Bringing up secondary CPUs ...
[    0.010637] Detected VIPT I-cache on CPU1
[    0.010747] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.012082] Detected VIPT I-cache on CPU2
[    0.012175] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.013645] Detected VIPT I-cache on CPU3
[    0.013740] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.013980] smp: Brought up 1 node, 4 CPUs
[    0.013999] SMP: Total of 4 processors activated.
[    0.014013] CPU features: detected: 32-bit EL0 Support
[    0.014027] CPU features: detected: CRC32 instructions
[    0.014041] CPU features: detected: 32-bit EL1 Support
[    0.034808] CPU: All CPU(s) started at EL2
[    0.034880] alternatives: patching kernel code
[    0.037920] devtmpfs: initialized
[    0.060393] Registered cp15_barrier emulation handler
[    0.060424] Registered setend emulation handler
[    0.060936] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.060993] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.067787] pinctrl core: initialized pinctrl subsystem
[    0.069084] DMI not present or invalid.
[    0.070100] NET: Registered protocol family 16
[    0.074044] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[    0.075003] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.076781] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.076986] audit: initializing netlink subsys (disabled)
[    0.077503] audit: type=2000 audit(0.076:1): state=initialized audit_enabled=0 res=1
[    0.079188] thermal_sys: Registered thermal governor 'fair_share'
[    0.079202] thermal_sys: Registered thermal governor 'bang_bang'
[    0.079211] thermal_sys: Registered thermal governor 'step_wise'
[    0.079223] thermal_sys: Registered thermal governor 'user_space'
[    0.079741] cpuidle: using governor menu
[    0.080356] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.080559] ASID allocator initialised with 65536 entries
[    0.082710] Serial: AMBA PL011 UART driver
[    0.157296] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.157316] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.157328] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.157339] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.164545] cryptd: max_cpu_qlen set to 1000
[    0.245695] raid6: neonx8   gen()  1053 MB/s
[    0.313830] raid6: neonx8   xor()   780 MB/s
[    0.381994] raid6: neonx4   gen()  1075 MB/s
[    0.450145] raid6: neonx4   xor()   774 MB/s
[    0.518289] raid6: neonx2   gen()  1013 MB/s
[    0.586435] raid6: neonx2   xor()   710 MB/s
[    0.654616] raid6: neonx1   gen()   885 MB/s
[    0.722763] raid6: neonx1   xor()   610 MB/s
[    0.790897] raid6: int64x8  gen()   754 MB/s
[    0.859098] raid6: int64x8  xor()   392 MB/s
[    0.927277] raid6: int64x4  gen()   828 MB/s
[    0.995439] raid6: int64x4  xor()   424 MB/s
[    1.063651] raid6: int64x2  gen()   707 MB/s
[    1.131807] raid6: int64x2  xor()   369 MB/s
[    1.200028] raid6: int64x1  gen()   526 MB/s
[    1.268213] raid6: int64x1  xor()   274 MB/s
[    1.268227] raid6: using algorithm neonx4 gen() 1075 MB/s
[    1.268236] raid6: .... xor() 774 MB/s, rmw enabled
[    1.268247] raid6: using neon recovery algorithm
[    1.272122] vcc_sd: supplied by vccio_3v3
[    1.273215] vcc_host_vbus: supplied by vcc_sys
[    1.274246] vcc_otg_vbus: supplied by vcc_sys
[    1.275093] iommu: Default domain type: Translated
[    1.278896] vgaarb: loaded
[    1.279854] SCSI subsystem initialized
[    1.280249] libata version 3.00 loaded.
[    1.280878] usbcore: registered new interface driver usbfs
[    1.280957] usbcore: registered new interface driver hub
[    1.281036] usbcore: registered new device driver usb
[    1.281950] pps_core: LinuxPPS API ver. 1 registered
[    1.281959] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.281990] PTP clock support registered
[    1.282365] EDAC MC: Ver: 3.0.0
[    1.284749] NetLabel: Initializing
[    1.284766] NetLabel:  domain hash size = 128
[    1.284773] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.284940] NetLabel:  unlabeled traffic allowed by default
[    1.285885] clocksource: Switched to clocksource arch_sys_counter
[    1.524365] VFS: Disk quotas dquot_6.6.0
[    1.524499] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.526280] AppArmor: AppArmor Filesystem Enabled
[    1.541098] NET: Registered protocol family 2
[    1.541408] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    1.544452] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.544583] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.545015] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    1.545399] TCP: Hash tables configured (established 16384 bind 16384)
[    1.545716] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    1.545822] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    1.546341] NET: Registered protocol family 1
[    1.546395] NET: Registered protocol family 44
[    1.546419] PCI: CLS 0 bytes, default 64
[    1.546839] Trying to unpack rootfs image as initramfs...
[    2.782032] Freeing initrd memory: 11776K
[    2.784015] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    2.784991] kvm [1]: IPA Size Limit: 40 bits
[    2.787566] kvm [1]: vgic interrupt IRQ9
[    2.787821] kvm [1]: Hyp mode initialized successfully
[    2.801637] Initialise system trusted keyrings
[    2.801717] Key type blacklist registered
[    2.802206] workingset: timestamp_bits=44 max_order=19 bucket_order=0
[    2.814297] zbud: loaded
[    2.817499] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.819046] fuse: init (API version 7.32)
[    2.821513] integrity: Platform Keyring initialized
[    2.893681] xor: measuring software checksum speed
[    2.901819]    8regs           :  1220 MB/sec
[    2.908875]    32regs          :  1402 MB/sec
[    2.917919]    arm64_neon      :  1088 MB/sec
[    2.917933] xor: using function: 32regs (1402 MB/sec)
[    2.917955] Key type asymmetric registered
[    2.917965] Asymmetric key parser 'x509' registered
[    2.918069] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    2.918388] io scheduler mq-deadline registered
[    2.918402] io scheduler kyber registered
[    2.918688] io scheduler bfq registered
[    2.927145] rockchip-u3phy ff470000.usb3-phy: vbus_drv is not assigned
[    2.929996] rockchip-u3phy ff470000.usb3-phy: Rockchip u3phy initialized successfully
[    2.950458] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
[    2.950482] dma-pl330 ff1f0000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    2.958784] vdd_arm: supplied by regulator-dummy
[    2.959774] vdd_log: supplied by regulator-dummy
[    2.961830] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    2.967578] ff110000.serial: ttyS0 at MMIO 0xff110000 (irq = 23, base_baud = 1500000) is a 16550A
[    2.969649] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 24, base_baud = 1500000) is a 16550A
[    2.970029] printk: console [ttyS2] enabled
[    2.972081] Serial: AMBA driver
[    2.996578] loop: module loaded
[    3.004389] libphy: Fixed MDIO Bus: probed
[    3.005488] tun: Universal TUN/TAP device driver, 1.6
[    3.007197] thunder_xcv, ver 1.0
[    3.007302] thunder_bgx, ver 1.0
[    3.007386] nicpf, ver 1.0
[    3.008677] e1000e: Intel(R) PRO/1000 Network Driver
[    3.008686] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    3.008776] igb: Intel(R) Gigabit Ethernet Network Driver
[    3.008786] igb: Copyright (c) 2007-2014 Intel Corporation.
[    3.008853] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    3.008863] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    3.009243] sky2: driver version 1.30
[    3.010363] VFIO - User Level meta-driver version: 0.3
[    3.015874] dwc2 ff580000.usb: supply vusb_d not found, using dummy regulator
[    3.016170] dwc2 ff580000.usb: supply vusb_a not found, using dummy regulator
[    3.029257] dwc2 ff580000.usb: DWC OTG Controller
[    3.029308] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
[    3.029379] dwc2 ff580000.usb: irq 49, io mem 0xff580000
[    3.029761] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    3.029778] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.029792] usb usb1: Product: DWC OTG Controller
[    3.029805] usb usb1: Manufacturer: Linux 5.10.41-rockchip64 dwc2_hsotg
[    3.029819] usb usb1: SerialNumber: ff580000.usb
[    3.030910] hub 1-0:1.0: USB hub found
[    3.030973] hub 1-0:1.0: 1 port detected
[    3.033231] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.033286] ehci-pci: EHCI PCI platform driver
[    3.033367] ehci-platform: EHCI generic platform driver
[    3.036333] ehci-platform ff5c0000.usb: EHCI Host Controller
[    3.036380] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2
[    3.036661] ehci-platform ff5c0000.usb: irq 50, io mem 0xff5c0000
[    3.049895] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
[    3.050392] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    3.050410] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.050426] usb usb2: Product: EHCI Host Controller
[    3.050436] usb usb2: Manufacturer: Linux 5.10.41-rockchip64 ehci_hcd
[    3.050451] usb usb2: SerialNumber: ff5c0000.usb
[    3.051417] hub 2-0:1.0: USB hub found
[    3.051485] hub 2-0:1.0: 1 port detected
[    3.052467] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.052516] ohci-pci: OHCI PCI platform driver
[    3.052619] ohci-platform: OHCI generic platform driver
[    3.053462] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
[    3.053501] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3
[    3.053763] ohci-platform ff5d0000.usb: irq 51, io mem 0xff5d0000
[    3.114281] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    3.114301] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.114315] usb usb3: Product: Generic Platform OHCI controller
[    3.114327] usb usb3: Manufacturer: Linux 5.10.41-rockchip64 ohci_hcd
[    3.114342] usb usb3: SerialNumber: ff5d0000.usb
[    3.115359] hub 3-0:1.0: USB hub found
[    3.115444] hub 3-0:1.0: 1 port detected
[    3.117710] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller

sudo less /var/log/bootstrap.log

Скрытый текст

### Activated 1 lzo-rle zram swap devices with 991 MB each

### Activated Armbian ramlog partition with zstd compression

### Activated 1 lzo-rle zram swap devices with 991 MB each

### Activated Armbian ramlog partition with zstd compression

### Activated 1 lzo-rle zram swap devices with 991 MB each

### Activated Armbian ramlog partition with zstd compression


### Activated 1 lzo-rle zram swap devices with 991 MB each

### Activated Armbian ramlog partition with zstd compression

### Activated 1 lzo-rle zram swap devices with 991 MB each

### Activated Armbian ramlog partition with zstd compression

### Activated 1 lzo-rle zram swap devices with 991 MB each

### Activated Armbian ramlog partition with zstd compression

### Activated 1 lzo-rle zram swap devices with 991 MB each

### Activated Armbian ramlog partition with zstd compression

Mon 06 Sep 2021 07:17:35 PM UTC | RK3318 Box | 21.08.0-trunk | arm64 | aarch64 | 5.10.41-rockchip64

### dmesg:

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.10.41-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 Sun May 30 16:09:59 UTC 2021
[    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 0x7fbba100-0x7fbbbfff]
[    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 totalpages: 523776
[    0.000000]   DMA zone: 8184 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 523776 pages, LIFO batch:63
[    0.000000] cma: Reserved 128 MiB at 0x0000000075000000
[    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.1
[    0.000000] percpu: Embedded 32 pages/cpu s94040 r8192 d28840 u131072
[    0.000000] pcpu-alloc: s94040 r8192 d28840 u131072 alloc=32*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] Built 1 zonelists, mobility grouping on.  Total pages: 515592
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: root=UUID=7fca5a67-cb2b-4b23-983b-6637e9a1e0a7 rootwait rootfstype=ext4 console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=1 ubootpart=135cc133-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[    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: 1882896K/2095104K available (14848K kernel code, 2632K rwdata, 5976K rodata, 4352K init, 580K bss, 81136K reserved, 131072K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    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] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x698/0x850 with crng_init=0
[    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.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000951] Console: colour dummy device 80x25
[    0.001008] printk: console [tty1] enabled
[    0.001173] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001198] pid_max: default: 32768 minimum: 301
[    0.001388] LSM: Security Framework initializing
[    0.001450] Yama: becoming mindful.
[    0.001624] AppArmor: AppArmor initialized
[    0.001729] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.001759] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.005445] rcu: Hierarchical SRCU implementation.
[    0.008784] EFI services will not be available.
[    0.009510] smp: Bringing up secondary CPUs ...
[    0.010637] Detected VIPT I-cache on CPU1
[    0.010747] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.012082] Detected VIPT I-cache on CPU2
[    0.012175] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.013645] Detected VIPT I-cache on CPU3
[    0.013740] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.013980] smp: Brought up 1 node, 4 CPUs
[    0.013999] SMP: Total of 4 processors activated.
[    0.014013] CPU features: detected: 32-bit EL0 Support
[    0.014027] CPU features: detected: CRC32 instructions
[    0.014041] CPU features: detected: 32-bit EL1 Support
[    0.034808] CPU: All CPU(s) started at EL2
[    0.034880] alternatives: patching kernel code
[    0.037920] devtmpfs: initialized
[    0.060393] Registered cp15_barrier emulation handler
[    0.060424] Registered setend emulation handler
[    0.060936] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.060993] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.067787] pinctrl core: initialized pinctrl subsystem
[    0.069084] DMI not present or invalid.
[    0.070100] NET: Registered protocol family 16
[    0.074044] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[    0.075003] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.076781] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.076986] audit: initializing netlink subsys (disabled)
[    0.077503] audit: type=2000 audit(0.076:1): state=initialized audit_enabled=0 res=1
[    0.079188] thermal_sys: Registered thermal governor 'fair_share'
[    0.079202] thermal_sys: Registered thermal governor 'bang_bang'
[    0.079211] thermal_sys: Registered thermal governor 'step_wise'
[    0.079223] thermal_sys: Registered thermal governor 'user_space'
[    0.079741] cpuidle: using governor menu
[    0.080356] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.080559] ASID allocator initialised with 65536 entries
[    0.082710] Serial: AMBA PL011 UART driver
[    0.157296] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.157316] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.157328] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.157339] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.164545] cryptd: max_cpu_qlen set to 1000
[    0.245695] raid6: neonx8   gen()  1053 MB/s
[    0.313830] raid6: neonx8   xor()   780 MB/s
[    0.381994] raid6: neonx4   gen()  1075 MB/s
[    0.450145] raid6: neonx4   xor()   774 MB/s
[    0.518289] raid6: neonx2   gen()  1013 MB/s
[    0.586435] raid6: neonx2   xor()   710 MB/s
[    0.654616] raid6: neonx1   gen()   885 MB/s
[    0.722763] raid6: neonx1   xor()   610 MB/s
[    0.790897] raid6: int64x8  gen()   754 MB/s
[    0.859098] raid6: int64x8  xor()   392 MB/s
[    0.927277] raid6: int64x4  gen()   828 MB/s
[    0.995439] raid6: int64x4  xor()   424 MB/s
[    1.063651] raid6: int64x2  gen()   707 MB/s
[    1.131807] raid6: int64x2  xor()   369 MB/s
[    1.200028] raid6: int64x1  gen()   526 MB/s
[    1.268213] raid6: int64x1  xor()   274 MB/s
[    1.268227] raid6: using algorithm neonx4 gen() 1075 MB/s
[    1.268236] raid6: .... xor() 774 MB/s, rmw enabled
[    1.268247] raid6: using neon recovery algorithm
[    1.272122] vcc_sd: supplied by vccio_3v3
[    1.273215] vcc_host_vbus: supplied by vcc_sys
[    1.274246] vcc_otg_vbus: supplied by vcc_sys
[    1.275093] iommu: Default domain type: Translated
[    1.278896] vgaarb: loaded
[    1.279854] SCSI subsystem initialized
[    1.280249] libata version 3.00 loaded.
[    1.280878] usbcore: registered new interface driver usbfs
[    1.280957] usbcore: registered new interface driver hub
[    1.281036] usbcore: registered new device driver usb
[    1.281950] pps_core: LinuxPPS API ver. 1 registered
[    1.281959] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.281990] PTP clock support registered
[    1.282365] EDAC MC: Ver: 3.0.0
[    1.284749] NetLabel: Initializing
[    1.284766] NetLabel:  domain hash size = 128
[    1.284773] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.284940] NetLabel:  unlabeled traffic allowed by default
[    1.285885] clocksource: Switched to clocksource arch_sys_counter
[    1.524365] VFS: Disk quotas dquot_6.6.0
[    1.524499] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.526280] AppArmor: AppArmor Filesystem Enabled
[    1.541098] NET: Registered protocol family 2
[    1.541408] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    1.544452] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.544583] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.545015] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    1.545399] TCP: Hash tables configured (established 16384 bind 16384)
[    1.545716] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    1.545822] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    1.546341] NET: Registered protocol family 1
[    1.546395] NET: Registered protocol family 44
[    1.546419] PCI: CLS 0 bytes, default 64
[    1.546839] Trying to unpack rootfs image as initramfs...
[    2.782032] Freeing initrd memory: 11776K
[    2.784015] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    2.784991] kvm [1]: IPA Size Limit: 40 bits
[    2.787566] kvm [1]: vgic interrupt IRQ9
[    2.787821] kvm [1]: Hyp mode initialized successfully
[    2.801637] Initialise system trusted keyrings
[    2.801717] Key type blacklist registered
[    2.802206] workingset: timestamp_bits=44 max_order=19 bucket_order=0
[    2.814297] zbud: loaded
[    2.817499] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.819046] fuse: init (API version 7.32)
[    2.821513] integrity: Platform Keyring initialized
[    2.893681] xor: measuring software checksum speed
[    2.901819]    8regs           :  1220 MB/sec
[    2.908875]    32regs          :  1402 MB/sec
[    2.917919]    arm64_neon      :  1088 MB/sec
[    2.917933] xor: using function: 32regs (1402 MB/sec)
[    2.917955] Key type asymmetric registered
[    2.917965] Asymmetric key parser 'x509' registered
[    2.918069] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    2.918388] io scheduler mq-deadline registered
[    2.918402] io scheduler kyber registered
[    2.918688] io scheduler bfq registered
[    2.927145] rockchip-u3phy ff470000.usb3-phy: vbus_drv is not assigned
[    2.929996] rockchip-u3phy ff470000.usb3-phy: Rockchip u3phy initialized successfully
[    2.950458] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
[    2.950482] dma-pl330 ff1f0000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    2.958784] vdd_arm: supplied by regulator-dummy
[    2.959774] vdd_log: supplied by regulator-dummy
[    2.961830] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    2.967578] ff110000.serial: ttyS0 at MMIO 0xff110000 (irq = 23, base_baud = 1500000) is a 16550A
[    2.969649] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 24, base_baud = 1500000) is a 16550A
[    2.970029] printk: console [ttyS2] enabled
[    2.972081] Serial: AMBA driver
[    2.996578] loop: module loaded
[    3.004389] libphy: Fixed MDIO Bus: probed
[    3.005488] tun: Universal TUN/TAP device driver, 1.6
[    3.007197] thunder_xcv, ver 1.0
[    3.007302] thunder_bgx, ver 1.0
[    3.007386] nicpf, ver 1.0
[    3.008677] e1000e: Intel(R) PRO/1000 Network Driver
[    3.008686] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    3.008776] igb: Intel(R) Gigabit Ethernet Network Driver
[    3.008786] igb: Copyright (c) 2007-2014 Intel Corporation.
[    3.008853] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    3.008863] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    3.009243] sky2: driver version 1.30
[    3.010363] VFIO - User Level meta-driver version: 0.3
[    3.015874] dwc2 ff580000.usb: supply vusb_d not found, using dummy regulator
[    3.016170] dwc2 ff580000.usb: supply vusb_a not found, using dummy regulator
[    3.029257] dwc2 ff580000.usb: DWC OTG Controller
[    3.029308] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
[    3.029379] dwc2 ff580000.usb: irq 49, io mem 0xff580000
[    3.029761] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    3.029778] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.029792] usb usb1: Product: DWC OTG Controller
[    3.029805] usb usb1: Manufacturer: Linux 5.10.41-rockchip64 dwc2_hsotg
[    3.029819] usb usb1: SerialNumber: ff580000.usb
[    3.030910] hub 1-0:1.0: USB hub found
[    3.030973] hub 1-0:1.0: 1 port detected
[    3.033231] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.033286] ehci-pci: EHCI PCI platform driver
[    3.033367] ehci-platform: EHCI generic platform driver
[    3.036333] ehci-platform ff5c0000.usb: EHCI Host Controller
[    3.036380] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2
[    3.036661] ehci-platform ff5c0000.usb: irq 50, io mem 0xff5c0000
[    3.049895] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
[    3.050392] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    3.050410] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.050426] usb usb2: Product: EHCI Host Controller
[    3.050436] usb usb2: Manufacturer: Linux 5.10.41-rockchip64 ehci_hcd
[    3.050451] usb usb2: SerialNumber: ff5c0000.usb
[    3.051417] hub 2-0:1.0: USB hub found
[    3.051485] hub 2-0:1.0: 1 port detected
[    3.052467] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.052516] ohci-pci: OHCI PCI platform driver
[    3.052619] ohci-platform: OHCI generic platform driver
[    3.053462] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
[    3.053501] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3
[    3.053763] ohci-platform ff5d0000.usb: irq 51, io mem 0xff5d0000
[    3.114281] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    3.114301] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.114315] usb usb3: Product: Generic Platform OHCI controller
[    3.114327] usb usb3: Manufacturer: Linux 5.10.41-rockchip64 ohci_hcd
[    3.114342] usb usb3: SerialNumber: ff5d0000.usb
[    3.115359] hub 3-0:1.0: USB hub found
[    3.115444] hub 3-0:1.0: 1 port detected
[    3.117710] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.117750] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 4
[    3.118141] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002

...skipping...
[    3.118141] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002

...skipping...
 

what can I do?

Link to comment
Share on other sites

@Wester_Minsk

 

Consider that I have plenty of 3318 faulty. Those that are faulty completely is a form of "good luck"

 

Those with intermittent fault are the worst , also because when they freeze nothing is written in logs.

 

This kind of freezing could be related to faulty emmc or/and DDR. Especially because you say that have to flash back every thing on emmc

 

One test , if you haven't already done , could be run every thing from SD. In other words erase emmc and do all the testing on SD.

if freezing doesn't occur you have your answer

 

 

Link to comment
Share on other sites

@Wester_Minsk
Actually you have android up and running on your box! This is a good new.

Now burn an image DIRECTLY on sd card, no multitool , nothing. JUST the armbian image on sd card. You can do with balena etcher or with win32diskimager
The box should run armbian ( linux then) on the board and you can do all the test you need.

I still suspect defective internal emmc or / and defective sd card

Link to comment
Share on other sites

2fabiobassa

 

With android, box does not start with SD cards, the "toothpick" method does not work.  I tried - multitool -> armbian in emmc -> didn't start with emnc -> start with sdcard armbian.  Box started up, passed apt aupdate, then froze. I get cpu metod - perfomance 1000. two hours later on the screen:

Скрытый текст

9f167ad75b03a837b972247606c6d09c.jpeg

 

I do not plan on tuning my RK anymore.  But if necessary for this topic, I can continue.

 

 p.s

sorry for my English, my native language is Russian.

Link to comment
Share on other sites

@Wester_Minsk It could be that your board has some peculiarities we did not ever yet encountered.

There could literally dozens of reasons you get a kernel crash, but probably CPU or DDR memories got badly configured.

Usually this is a matter of the device tree, but can be related to bootloader too.

 

Could you share the backup you did? It is ok also to share the first 100 megabytes if you don't want to upload the whole package and/or maybe you have some personal contents.

From there we can extract the dtb and the bootloader.

Remember to compress it before uploading

 

Also a couple or more detailed photos of the board and its main chips (front and back) are very useful.

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