Jump to content

Recommended Posts

Posted

@tommy

post scriptum.. I usually dont like or play games but i have had 29 giga of arcade games  that run on amlogin 905 . it is aarch64 and our little box is armhf 32 bit but i guess games are no-arch so if you go further on the process of emulation please share your experience

 

Posted

@tommy

I would say you to give a chance to the mainline kernel too. Lima driver has decent performance and you don't have to lose time around proprietary Mali OpenGLES-only drivers swapping links under the hood. (BTW for legacy kernel there is the media script link on first page that should install the libraries in the right places).

 

For snes9x you should not need particular load on the GPU since it has just to render the framebuffer. Lima performances should suffice.

 

Posted

hi, i have several boxes that on 5 mainline kernel reboots (on legacy works good)

Скрытый текст
DDR Version V1.10 20190926
In
ID:0xFFF
330MHz
DDR3
Bus Width=16 Col=11 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=2048MB
mach:3
OUT

U-Boot SPL 2021.04-armbian (Aug 08 2021 - 18:02:15 +0200)
Trying to boot from MMC2
INF [0x0] TEE-CORE:init_primary_helper:377: Initializing (1.1.0-333-gc9d95d1 #2 2018年 08月 17日 星期五 03:32:22 UTC arm)

INF [0x0] TEE-CORE:init_primary_helper:378: Release version: 2.0

INF [0x0] TEE-CORE:init_primary_helper:379: Next entry point address: 0x61000000

INF [0x0] TEE-CORE:init_teecore:83: teecore inits done


U-Boot 2021.04-armbian (Aug 08 2021 - 18:02:15 +0200)

Model: Generic Rockchip rk322x TV Box board
DRAM:  2 GiB
MMC:   dwmmc@30000000: 1, dwmmc@30020000: 0
Loading Environment from EXT4... ** File not found /boot/boot.env **

** Unable to read "/boot/boot.env" from mmc0:1 **
In:    serial@11030000
Out:   serial@11030000
Err:   serial@11030000
Model: Generic Rockchip rk322x TV Box board
Net:   eth0: ethernet@30200000
starting USB...
Bus usb@30040000: USB DWC2
Bus usb@30080000: USB EHCI 1.00
Bus usb@300c0000: USB EHCI 1.00
Bus usb@30100000: USB EHCI 1.00
scanning bus usb@30040000 for devices... 1 USB Device(s) found
scanning bus usb@30080000 for devices... 1 USB Device(s) found
scanning bus usb@300c0000 for devices... 1 USB Device(s) found
scanning bus usb@30100000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
Card did not respond to voltage select! : -110

Device 0: unknown device
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2909 bytes read in 5 ms (567.4 KiB/s)
## Executing script at 60000000
Boot script loaded from mmc 0
165 bytes read in 5 ms (32.2 KiB/s)
8843579 bytes read in 223 ms (37.8 MiB/s)
9951296 bytes read in 250 ms (38 MiB/s)
41526 bytes read in 8 ms (4.9 MiB/s)
232 bytes read in 7 ms (32.2 KiB/s)
Applying kernel provided DT fixup script (rk322x-fixup.scr)
## Executing script at 600f0000
## Loading init Ramdisk from Legacy Image at 64000000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    8843515 Bytes = 8.4 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 61f00000
   Booting using the fdt blob at 0x61f00000
EHCI failed to shut down host controller.
EHCI failed to shut down host controller.
   Using Device Tree in place at 61f00000, end 61f72fff

Starting kernel ...

 

 

and after "finished load/save random seed" box rebooting

 

any ideas?

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

12.jpg

13.jpg

11.jpg

14.jpg

Posted

I have a box like this and I got stuck with it, please help! For CPU RK3228A, I attached images and UART log. I try multitool, I see the best result with 'rk3228b-box-mkv809vii.dtb', only with this will the LED light turn blue in the end. There is no picture on HDMI and I don't get to the point in the UART log.

 

The outside of the box
 

Spoiler

box-1.thumb.jpg.4c5fb4117ccc28e8c366867d3eb892a4.jpg

 

The board:
 

Spoiler

pcb_1.thumb.jpg.919afff7d1ee6c632a6068ef7bd85b41.jpg

 

pcb_3.thumb.jpg.17fbdce39867c516d74640f16611877b.jpgpcb_2.thumb.jpg.fb1a3a392f4454a180ded37df5ba1bdf.jpg

 

 

 

The UART log:
 

Spoiler

U-Boot 2020.10-armbian+ (Mar 12 2021 - 13:38:05 +0000)

Model: Generic Rockchip rk322x TV Box board
DRAM:  1010 MiB
MMC:   dwmmc@30000000: 1, dwmmc@30020000: 0
Loading Environment from EXT4...
** Unable to use mmc 0:auto for loading the env **
In:    serial@11030000
Out:   serial@11030000
Err:   serial@11030000
Model: Generic Rockchip rk322x TV Box board
Net:   eth0: ethernet@30200000
starting USB...
Bus usb@30040000: USB DWC2
Bus usb@30080000: USB EHCI 1.00
Bus usb@300c0000: USB EHCI 1.00
Bus usb@30100000: USB EHCI 1.00
scanning bus usb@30040000 for devices... 1 USB Device(s) found
scanning bus usb@30080000 for devices... 1 USB Device(s) found
scanning bus usb@300c0000 for devices... 1 USB Device(s) found
scanning bus usb@30100000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
175 bytes read in 9 ms (18.6 KiB/s)
1:      Multitool
Retrieving file: /kernel.img
8719272 bytes read in 384 ms (21.7 MiB/s)
append: boot=PARTUUID=21fcd12b-01 root=PARTUUID=21fcd12b-02 rootwait console=ttyS2,115200 verbose=1 consoleblank=0
Retrieving file: /rk322x-box.dtb
37259 bytes read in 8 ms (4.4 MiB/s)
## Flattened Device Tree blob at 61f00000
   Booting using the fdt blob at 0x61f00000
EHCI failed to shut down host controller.
EHCI failed to shut down host controller.
   Loading Device Tree to 683f3000, end 683ff18a ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0xf00
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.194-rk322x (root@armbianbuild) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) ) #47 SMP Thu Apr 9 17:37:46 UTC 2020
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: RK3228B MK809IV HDMI Stick
[    0.000000] cma: Reserved 128 MiB at 0x98000000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv65535.65535 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] PERCPU: Embedded 14 pages/cpu @e765c000 s24856 r8192 d24296 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 256256
[    0.000000] Kernel command line: boot=PARTUUID=21fcd12b-01 root=PARTUUID=21fcd12b-02 rootwait console=ttyS2,115200 verbose=1 consoleblank=0
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 871720K/1034240K available (12820K kernel code, 875K rwdata, 3224K rodata, 796K init, 1219K bss, 31448K reserved, 131072K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xb0000000 - 0xf0000000   (1024 MB)
[    0.000000]     pkmap   : 0xafe00000 - 0xb0000000   (   2 MB)
[    0.000000]     modules : 0xaf000000 - 0xafe00000   (  14 MB)
[    0.000000]       .text : 0xb0008000 - 0xb0c8d53c   (12822 kB)
[    0.000000]       .init : 0xb10a1000 - 0xb1168000   ( 796 kB)
[    0.000000]       .data : 0xb1168000 - 0xb1242e94   ( 876 kB)
[    0.000000]        .bss : 0xb1244000 - 0xb1374ee4   (1220 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000025] Switching to timer-based delay loop, resolution 41ns
[    0.001672] Console: colour dummy device 80x30
[    0.001713] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001733] pid_max: default: 32768 minimum: 301
[    0.001884] Security Framework initialized
[    0.001900] Yama: becoming mindful.
[    0.001987] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002004] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003025] Initializing cgroup subsys io
[    0.003067] Initializing cgroup subsys memory
[    0.003117] Initializing cgroup subsys devices
[    0.003140] Initializing cgroup subsys freezer
[    0.003159] Initializing cgroup subsys net_cls
[    0.003176] Initializing cgroup subsys perf_event
[    0.003194] Initializing cgroup subsys net_prio
[    0.003228] Initializing cgroup subsys pids
[    0.003306] CPU: Testing write buffer coherency: ok
[    0.003364] ftrace: allocating 41720 entries in 123 pages
[    0.086637] /cpus/cpu@f00 missing clock-frequency property
[    0.086678] /cpus/cpu@f01 missing clock-frequency property
[    0.086698] /cpus/cpu@f02 missing clock-frequency property
[    0.086718] /cpus/cpu@f03 missing clock-frequency property
[    0.086731] CPU0: update cpu_capacity 430
[    0.086743] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.086844] Setting up static identity map for 0x60008280 - 0x600082d8
[    0.090213] CPU1: update cpu_capacity 430
[    0.090223] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.091512] CPU2: update cpu_capacity 430
[    0.091522] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.092777] CPU3: update cpu_capacity 430
[    0.092786] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.092945] Brought up 4 CPUs
[    0.092988] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.092997] CPU: All CPU(s) started in SVC mode.
[    0.094794] devtmpfs: initialized
[    0.111056] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.111694] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.111741] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.118404] xor: measuring software checksum speed
[    0.158631]    arm4regs  :  1011.000 MB/sec
[    0.198738]    8regs     :   705.000 MB/sec
[    0.238840]    32regs    :   684.000 MB/sec
[    0.278946]    neon      :  1018.000 MB/sec
[    0.278957] xor: using function: neon (1018.000 MB/sec)
[    0.279003] pinctrl core: initialized pinctrl subsystem
[    0.280868] NET: Registered protocol family 16
[    0.283300] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.295150] cpuidle: using governor ladder
[    0.307155] cpuidle: using governor menu
[    0.330753] console [pstore-1] enabled
[    0.330765] pstore: Registered ramoops as persistent store backend
[    0.330778] ramoops: attached 0xf0000@0x62e00000, ecc: 0/0
[    0.334416] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.334440] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.432399] raid6: int32x1  gen()   133 MB/s
[    0.500357] raid6: int32x1  xor()   131 MB/s
[    0.568672] raid6: int32x2  gen()   166 MB/s
[    0.636767] raid6: int32x2  xor()   136 MB/s
[    0.705161] raid6: int32x4  gen()   163 MB/s
[    0.773370] raid6: int32x4  xor()   137 MB/s
[    0.841629] raid6: int32x8  gen()   166 MB/s
[    0.909921] raid6: int32x8  xor()   113 MB/s
[    0.978090] raid6: neonx1   gen()   382 MB/s
[    1.046240] raid6: neonx1   xor()   290 MB/s
[    1.114493] raid6: neonx2   gen()   519 MB/s
[    1.182673] raid6: neonx2   xor()   376 MB/s
[    1.250969] raid6: neonx4   gen()   581 MB/s
[    1.319161] raid6: neonx4   xor()   400 MB/s
[    1.387479] raid6: neonx8   gen()   559 MB/s
[    1.455713] raid6: neonx8   xor()   391 MB/s
[    1.455727] raid6: using algorithm neonx4 gen() 581 MB/s
[    1.455737] raid6: .... xor() 400 MB/s, rmw enabled
[    1.455748] raid6: using intx1 recovery algorithm
[    1.456905] rockchip-pm rockchip-suspend: not set wakeup-config
[    1.456932] rockchip-pm rockchip-suspend: not set pwm-regulator-config
[    1.460924] iommu: Adding device 20020000.vpu-service to group 0
[    1.461043] iommu: Adding device 20030000.rkvdec to group 1
[    1.461145] iommu: Adding device 20050000.vop to group 2
[    1.461240] iommu: Adding device 20070000.iep to group 3
[    1.461856] rk_iommu 20020800.iommu: can't get sclk
[    1.462621] rk_iommu 20030480.iommu: can't get sclk
[    1.462902] rk_iommu 20053f00.iommu: can't get sclk
[    1.463059] rk_iommu 20070800.iommu: can't get aclk
[    1.463079] rk_iommu 20070800.iommu: can't get hclk
[    1.463097] rk_iommu 20070800.iommu: can't get sclk
[    1.464082] SCSI subsystem initialized
[    1.464517] usbcore: registered new interface driver usbfs
[    1.464621] usbcore: registered new interface driver hub
[    1.464771] usbcore: registered new device driver usb
[    1.464997] media: Linux media interface: v0.10
[    1.465076] Linux video capture interface: v2.00
[    1.465299] pps_core: LinuxPPS API ver. 1 registered
[    1.465313] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.465354] PTP clock support registered
[    1.467506] Advanced Linux Sound Architecture Driver Initialized.
[    1.468754] Bluetooth: Core ver 2.21
[    1.468840] NET: Registered protocol family 31
[    1.468855] Bluetooth: HCI device and connection manager initialized
[    1.468878] Bluetooth: HCI socket layer initialized
[    1.468896] Bluetooth: L2CAP socket layer initialized
[    1.468965] Bluetooth: SCO socket layer initialized
[    1.469875] NetLabel: Initializing
[    1.469901] NetLabel:  domain hash size = 128
[    1.469911] NetLabel:  protocols = UNLABELED CIPSOv4
[    1.469997] NetLabel:  unlabeled traffic allowed by default
[    1.471227] clocksource: Switched to clocksource arch_sys_counter
[    1.574380] NET: Registered protocol family 2
[    1.575532] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    1.575660] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[    1.576017] TCP: Hash tables configured (established 8192 bind 8192)
[    1.576142] UDP hash table entries: 512 (order: 2, 24576 bytes)
[    1.576214] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[    1.576598] NET: Registered protocol family 1
[    1.577447] RPC: Registered named UNIX socket transport module.
[    1.577474] RPC: Registered udp transport module.
[    1.577484] RPC: Registered tcp transport module.
[    1.577495] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.578545] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    1.581799] Initialise system trusted keyring
[    1.596657] VFS: Disk quotas dquot_6.6.0
[    1.596996] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.599924] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.603807] NFS: Registering the id_resolver key type
[    1.603899] Key type id_resolver registered
[    1.603912] Key type id_legacy registered
[    1.603948] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.604049] ntfs: driver 2.1.32 [Flags: R/W].
[    1.604998] JFS: nTxBlock = 7834, nTxLock = 62674
[    1.617400] SGI XFS with security attributes, no debug enabled
[    1.627112] NET: Registered protocol family 38
[    1.627282] Key type asymmetric registered
[    1.627322] Asymmetric key parser 'x509' registered
[    1.627779] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    1.628113] io scheduler noop registered
[    1.628145] io scheduler deadline registered
[    1.628242] io scheduler cfq registered (default)
[    1.631787] phy phy-11000000.syscon:usb2-phy@800.2: Failed to get VBUS supply regulator
[    1.637608] rk-vcodec 20020000.vpu-service: no regulator for vcodec
[    1.638192] rk-vcodec 20020000.vpu-service: probe device
[    1.638717] rk-vcodec 20020000.vpu-service: drm allocator with mmu enabled
[    1.640961] rk-vcodec 20020000.vpu-service: could not find power_model node
[    1.640994] rk-vcodec 20020000.vpu-service: init success
[    1.641396] rk-vcodec 20030000.rkvdec: vcodec regulator not ready, retry
[    1.646068] dma-pl330 110f0000.pdma: Loaded driver for PL330 DMAC-241330
[    1.646104] dma-pl330 110f0000.pdma:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    1.647421] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[    1.650063] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.651142] 11020000.serial: ttyS0 at MMIO 0x11020000 (irq = 31, base_baud = 1500000) is a 16550A
[    1.652313] 11030000.serial: ttyS2 at MMIO 0x11030000 (irq = 32, base_baud = 1500000) is a 16550A
[    2.693304] console [ttyS2] enabled
[    2.698849] [drm] Initialized drm 1.1.0 20060810
[    2.706187] [drm] Rockchip DRM driver version: v1.0.1
[    2.711634] rockchip-drm display-subsystem: devfreq is not set
[    2.718383] rockchip-drm display-subsystem: bound 20050000.vop (ops 0xb0d111b0)
[    2.726215] i2c i2c-0: of_i2c: modalias failure on /hdmi@200a0000/ports
[    2.732904] dwhdmi-rockchip 200a0000.hdmi: registered DesignWare HDMI I2C bus driver
[    2.740781] dwhdmi-rockchip 200a0000.hdmi: Detected HDMI TX controller v2.01a with HDCP (inno_dw_hdmi_phy)
[    2.752044] rockchip-drm display-subsystem: bound 200a0000.hdmi (ops 0xb0d09708)
[    2.759526] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.766168] [drm] No driver support for vblank timestamp query.
[    2.772261] rockchip-drm display-subsystem: failed to parse display resources
[    3.403640] rockchip-vop 20050000.vop: [drm:vop_crtc_enable] Update mode to 1920x1080p60, type: 11
[    3.404330] dwhdmi-rockchip 200a0000.hdmi: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
[    3.404339] dwhdmi-rockchip 200a0000.hdmi:     colorspace: RGB
[    3.404347] dwhdmi-rockchip 200a0000.hdmi:     scan mode: Underscan
[    3.404354] dwhdmi-rockchip 200a0000.hdmi:     colorimetry: No Data
[    3.404361] dwhdmi-rockchip 200a0000.hdmi:     picture aspect: 16:9
[    3.404368] dwhdmi-rockchip 200a0000.hdmi:     active aspect: Same as Picture
[    3.404374] dwhdmi-rockchip 200a0000.hdmi:     itc: IT Content
[    3.404381] dwhdmi-rockchip 200a0000.hdmi:     extended colorimetry: xvYCC 601
[    3.404388] dwhdmi-rockchip 200a0000.hdmi:     quantization range: Full
[    3.404394] dwhdmi-rockchip 200a0000.hdmi:     nups: Unknown Non-uniform Scaling
[    3.404401] dwhdmi-rockchip 200a0000.hdmi:     video code: 16
[    3.404407] dwhdmi-rockchip 200a0000.hdmi:     ycc quantization range: Full
[    3.404414] dwhdmi-rockchip 200a0000.hdmi:     hdmi content type: Graphics
[    3.404421] dwhdmi-rockchip 200a0000.hdmi:     pixel repeat: 0
[    3.404429] dwhdmi-rockchip 200a0000.hdmi:     bar top 0, bottom 0, left 0, right 0
[    3.484064] Console: switching to colour frame buffer device 240x67
[    3.651909] rockchip-drm display-subsystem: fb0:  frame buffer device
[    3.676434] brd: module loaded
[    3.694386] loop: module loaded
[    3.697720] lkdtm: No crash points registered, enable through debugfs
[    3.707650] libphy: Fixed MDIO Bus: probed
[    3.711871] tun: Universal TUN/TAP device driver, 1.6
[    3.716961] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    3.723832] CAN device driver interface
[    3.729571] rk_gmac-dwmac 30200000.ethernet: clock input or output? (output).
[    3.736798] rk_gmac-dwmac 30200000.ethernet: Can not read property: tx_delay.
[    3.744005] rk_gmac-dwmac 30200000.ethernet: set tx_delay to 0x30
[    3.750126] rk_gmac-dwmac 30200000.ethernet: Can not read property: rx_delay.
[    3.757300] rk_gmac-dwmac 30200000.ethernet: set rx_delay to 0x10
[    3.763477] rk_gmac-dwmac 30200000.ethernet: integrated PHY? (yes).
[    3.769961] rk_gmac-dwmac 30200000.ethernet: cannot get clock clk_mac_speed
[    3.782064] rk_gmac-dwmac 30200000.ethernet: init for RMII
[    3.823390] stmmac - user ID: 0x10, Synopsys ID: 0x35
[    3.828506]  Ring mode enabled
[    3.831604]  DMA HW capability register supported
[    3.836167]  Normal descriptors
[    3.839539]  RX Checksum Offload Engine supported (type 2)
[    3.845043]  TX Checksum insertion supported
[    3.849337]  Wake-Up On Lan supported
[    3.853135]  Enable RX Mitigation via HW Watchdog Timer
[    3.881227] libphy: stmmac: probed
[    3.884902] eth%d: PHY ID 1234d400 at 0 IRQ POLL (stmmac-0:00) active
[    3.891441] eth%d: PHY ID 00000000 at 1 IRQ POLL (stmmac-0:01)
[    3.897305] eth%d: PHY ID 00000000 at 2 IRQ POLL (stmmac-0:02)
[    3.903162] eth%d: PHY ID 00000000 at 3 IRQ POLL (stmmac-0:03)
[    3.909031] eth%d: PHY ID 00000000 at 4 IRQ POLL (stmmac-0:04)
[    3.914886] eth%d: PHY ID 00000000 at 5 IRQ POLL (stmmac-0:05)
[    3.920741] eth%d: PHY ID 00000000 at 6 IRQ POLL (stmmac-0:06)
[    3.926603] eth%d: PHY ID 00000000 at 7 IRQ POLL (stmmac-0:07)
[    3.932456] eth%d: PHY ID 00000000 at 8 IRQ POLL (stmmac-0:08)
[    3.938320] eth%d: PHY ID 00000000 at 9 IRQ POLL (stmmac-0:09)
[    3.944173] eth%d: PHY ID 00000000 at 10 IRQ POLL (stmmac-0:0a)
[    3.950113] eth%d: PHY ID 00000000 at 11 IRQ POLL (stmmac-0:0b)
[    3.956060] eth%d: PHY ID 00000000 at 12 IRQ POLL (stmmac-0:0c)
[    3.962001] eth%d: PHY ID 00000000 at 13 IRQ POLL (stmmac-0:0d)
[    3.967941] eth%d: PHY ID 00000000 at 14 IRQ POLL (stmmac-0:0e)
[    3.973892] eth%d: PHY ID 00000000 at 15 IRQ POLL (stmmac-0:0f)
[    3.979833] eth%d: PHY ID 00000000 at 16 IRQ POLL (stmmac-0:10)
[    3.985774] eth%d: PHY ID 00000000 at 17 IRQ POLL (stmmac-0:11)
[    3.991719] eth%d: PHY ID 00000000 at 18 IRQ POLL (stmmac-0:12)
[    3.997660] eth%d: PHY ID 00000000 at 19 IRQ POLL (stmmac-0:13)
[    4.003601] eth%d: PHY ID 00000000 at 20 IRQ POLL (stmmac-0:14)
[    4.009551] eth%d: PHY ID 00000000 at 21 IRQ POLL (stmmac-0:15)
[    4.015520] eth%d: PHY ID 00000000 at 22 IRQ POLL (stmmac-0:16)
[    4.021478] eth%d: PHY ID 00000000 at 23 IRQ POLL (stmmac-0:17)
[    4.027426] eth%d: PHY ID 00000000 at 24 IRQ POLL (stmmac-0:18)
[    4.033374] eth%d: PHY ID 00000000 at 25 IRQ POLL (stmmac-0:19)
[    4.039335] eth%d: PHY ID 00000000 at 26 IRQ POLL (stmmac-0:1a)
[    4.045288] eth%d: PHY ID 00000000 at 27 IRQ POLL (stmmac-0:1b)
[    4.051234] eth%d: PHY ID 00000000 at 28 IRQ POLL (stmmac-0:1c)
[    4.057190] eth%d: PHY ID 00000000 at 29 IRQ POLL (stmmac-0:1d)
[    4.063135] eth%d: PHY ID 00000000 at 30 IRQ POLL (stmmac-0:1e)
[    4.069076] eth%d: PHY ID 00000000 at 31 IRQ POLL (stmmac-0:1f)
[    4.077212] PPP generic driver version 2.4.2
[    4.082148] Atmel at76x USB Wireless LAN Driver 0.17 loading
[    4.088047] usbcore: registered new interface driver at76c50x-usb
[    4.094370] usbcore: registered new interface driver rtl8187
[    4.100291] usbcore: registered new interface driver rndis_wlan
[    4.106404] usbcore: registered new interface driver zd1201
[    4.112602] usbcore: registered new interface driver rt2800usb
[    4.118736] Rockchip WiFi SYS interface (V1.00) ...
[    4.123867] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    4.131437] usbcore: registered new interface driver pegasus
[    4.137239] usbcore: registered new interface driver rtl8150
[    4.143035] usbcore: registered new interface driver r8152
[    4.148680] usbcore: registered new interface driver asix
[    4.154195] usbcore: registered new interface driver ax88179_178a
[    4.160403] usbcore: registered new interface driver cdc_ether
[    4.166376] usbcore: registered new interface driver dm9601
[    4.172139] usbcore: registered new interface driver smsc75xx
[    4.178048] usbcore: registered new interface driver smsc95xx
[    4.183924] usbcore: registered new interface driver net1080
[    4.189701] usbcore: registered new interface driver rndis_host
[    4.195747] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[    4.203375] usbcore: registered new interface driver cdc_ncm
[    4.209169] usbcore: registered new interface driver cdc_mbim
[    4.215719] 30040000.usb supply vusb_d not found, using dummy regulator
[    4.222557] 30040000.usb supply vusb_a not found, using dummy regulator
[    4.242978] dwc2 30040000.usb: DWC OTG Controller
[    4.247894] dwc2 30040000.usb: new USB bus registered, assigned bus number 1
[    4.255056] dwc2 30040000.usb: irq 50, io mem 0x30040000
[    4.260894] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.267758] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.275010] usb usb1: Product: DWC OTG Controller
[    4.279751] usb usb1: Manufacturer: Linux 4.4.194-rk322x dwc2_hsotg
[    4.286047] usb usb1: SerialNumber: 30040000.usb
[    4.292150] hub 1-0:1.0: USB hub found
[    4.296073] hub 1-0:1.0: 1 port detected
[    4.302428] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.309051] ehci-platform: EHCI generic platform driver
[    4.317124] ehci-platform 30080000.usb: EHCI Host Controller
[    4.323471] ehci-platform 30080000.usb: new USB bus registered, assigned bus number 2
[    4.331826] ehci-platform 30080000.usb: irq 51, io mem 0x30080000
[    4.347326] ehci-platform 30080000.usb: USB 2.0 started, EHCI 1.00
[    4.353986] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    4.360859] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.368116] usb usb2: Product: EHCI Host Controller
[    4.373023] usb usb2: Manufacturer: Linux 4.4.194-rk322x ehci_hcd
[    4.379142] usb usb2: SerialNumber: 30080000.usb
[    4.385198] hub 2-0:1.0: USB hub found
[    4.389114] hub 2-0:1.0: 1 port detected
[    4.396351] ehci-platform 300c0000.usb: EHCI Host Controller
[    4.402979] ehci-platform 300c0000.usb: new USB bus registered, assigned bus number 3
[    4.411418] ehci-platform 300c0000.usb: irq 53, io mem 0x300c0000
[    4.427290] ehci-platform 300c0000.usb: USB 2.0 started, EHCI 1.00
[    4.433911] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    4.440770] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.448026] usb usb3: Product: EHCI Host Controller
[    4.452930] usb usb3: Manufacturer: Linux 4.4.194-rk322x ehci_hcd
[    4.459047] usb usb3: SerialNumber: 300c0000.usb
[    4.464952] hub 3-0:1.0: USB hub found
[    4.468864] hub 3-0:1.0: 1 port detected
[    4.476091] ehci-platform 30100000.usb: EHCI Host Controller
[    4.482359] ehci-platform 30100000.usb: new USB bus registered, assigned bus number 4
[    4.490709] ehci-platform 30100000.usb: irq 55, io mem 0x30100000
[    4.507315] ehci-platform 30100000.usb: USB 2.0 started, EHCI 1.00
[    4.513921] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    4.520779] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.528033] usb usb4: Product: EHCI Host Controller
[    4.532937] usb usb4: Manufacturer: Linux 4.4.194-rk322x ehci_hcd
[    4.539051] usb usb4: SerialNumber: 30100000.usb
[    4.544952] hub 4-0:1.0: USB hub found
[    4.548861] hub 4-0:1.0: 1 port detected
[    4.553868] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.560162] ohci-platform: OHCI generic platform driver
[    4.566070] ohci-platform 300a0000.usb: Generic Platform OHCI controller
[    4.574220] ohci-platform 300a0000.usb: new USB bus registered, assigned bus number 5
[    4.582566] ohci-platform 300a0000.usb: irq 52, io mem 0x300a0000
[    4.647672] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[    4.654527] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.661799] usb usb5: Product: Generic Platform OHCI controller
[    4.667758] usb usb5: Manufacturer: Linux 4.4.194-rk322x ohci_hcd
[    4.673884] usb usb5: SerialNumber: 300a0000.usb
[    4.680324] hub 5-0:1.0: USB hub found
[    4.684237] hub 5-0:1.0: 1 port detected
[    4.689345] ohci-platform 300e0000.usb: Generic Platform OHCI controller
[    4.696665] ohci-platform 300e0000.usb: new USB bus registered, assigned bus number 6
[    4.704850] ohci-platform 300e0000.usb: irq 54, io mem 0x300e0000
[    4.767685] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[    4.774549] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.781812] usb usb6: Product: Generic Platform OHCI controller
[    4.787772] usb usb6: Manufacturer: Linux 4.4.194-rk322x ohci_hcd
[    4.793901] usb usb6: SerialNumber: 300e0000.usb
[    4.800236] hub 6-0:1.0: USB hub found
[    4.804139] hub 6-0:1.0: 1 port detected
[    4.809255] ohci-platform 30120000.usb: Generic Platform OHCI controller
[    4.816535] ohci-platform 30120000.usb: new USB bus registered, assigned bus number 7
[    4.824856] ohci-platform 30120000.usb: irq 56, io mem 0x30120000
[    4.887603] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[    4.894464] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.901716] usb usb7: Product: Generic Platform OHCI controller
[    4.907683] usb usb7: Manufacturer: Linux 4.4.194-rk322x ohci_hcd
[    4.913817] usb usb7: SerialNumber: 30120000.usb
[    4.920115] hub 7-0:1.0: USB hub found
[    4.924024] hub 7-0:1.0: 1 port detected
[    4.929273] usbcore: registered new interface driver cdc_acm
[    4.935008] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    4.943239] usbcore: registered new interface driver cdc_wdm
[    4.949285] usbcore: registered new interface driver usb-storage
[    4.955581] usbcore: registered new interface driver usbserial
[    4.961571] usbcore: registered new interface driver usbserial_generic
[    4.968218] usbserial: USB Serial support registered for generic
[    4.974402] usbcore: registered new interface driver keyspan
[    4.980168] usbserial: USB Serial support registered for Keyspan - (without firmware)
[    4.988076] usbserial: USB Serial support registered for Keyspan 1 port adapter
[    4.995477] usbserial: USB Serial support registered for Keyspan 2 port adapter
[    5.002870] usbserial: USB Serial support registered for Keyspan 4 port adapter
[    5.010356] usbcore: registered new interface driver option
[    5.016030] usbserial: USB Serial support registered for GSM modem (1-port)
[    5.023813] usbcore: registered new interface driver oti6858
[    5.029928] usbserial: USB Serial support registered for oti6858
[    5.036158] usbcore: registered new interface driver qcserial
[    5.042015] usbserial: USB Serial support registered for Qualcomm USB modem
[    5.049227] usbcore: registered new interface driver sierra
[    5.054881] usbserial: USB Serial support registered for Sierra USB modem
[    5.063039] usbcore: registered new interface driver iforce
[    5.068905] usbcore: registered new interface driver xpad
[    5.074701] usbcore: registered new interface driver usbtouchscreen
[    5.082620] i2c /dev entries driver
[    5.089706] usbcore: registered new interface driver uvcvideo
[    5.095556] USB Video Class driver (1.1.1)
[    5.102136] Boot mode: normal
[    5.106994] rockchip-thermal 11150000.tsadc: tsadc is probed successfully!
[    5.116301] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[    5.125319] Bluetooth: Virtual HCI driver ver 1.5
[    5.130473] Bluetooth: HCI UART driver ver 2.3
[    5.134990] Bluetooth: HCI UART protocol H4 registered
[    5.140195] Bluetooth: HCI UART protocol LL registered
[    5.145372] Bluetooth: HCI UART protocol ATH3K registered
[    5.150795] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    5.157354] Bluetooth: HCI UART protocol BCM registered
[    5.162835] usbcore: registered new interface driver bfusb
[    5.168561] usbcore: registered new interface driver btusb
[    5.174116] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    5.180707] cpu cpu0: leakage=9
[    5.183986] cpu cpu0: leakage-volt-sel=1
[    5.188179] cpu cpu0: Failed to get pvtm
[    5.194502] cpu cpu0: avs=0
[    5.197581] cpu cpu0: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0
[    5.204601] cpu cpu0: failed to read out thermal zone (-22)
[    5.211107] cpu cpu0: failed to find power_model node
[    5.217760] Synopsys Designware Multimedia Card Interface Driver
[    5.224750] dwmmc_rockchip 30000000.dwmmc: IDMAC supports 32-bit address mode.
[    5.232250] dwmmc_rockchip 30000000.dwmmc: Using internal DMA controller.
[    5.239092] dwmmc_rockchip 30000000.dwmmc: Version ID is 270a
[    5.244981] dwmmc_rockchip 30000000.dwmmc: DW MMC controller at irq 47,32 bit host data width,256 deep fifo
[    5.254790] dwmmc_rockchip 30000000.dwmmc: No vmmc regulator found
[    5.261003] dwmmc_rockchip 30000000.dwmmc: No vqmmc regulator found
[    5.267447] dwmmc_rockchip 30000000.dwmmc: Got CD GPIO
[    5.285629] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    5.308072] dwmmc_rockchip 30000000.dwmmc: 1 slots initialized
[    5.314701] dwmmc_rockchip 30010000.dwmmc: num-slots property not found, assuming 1 slot is available
[    5.324168] dwmmc_rockchip 30010000.dwmmc: IDMAC supports 32-bit address mode.
[    5.331669] dwmmc_rockchip 30010000.dwmmc: Using internal DMA controller.
[    5.338529] dwmmc_rockchip 30010000.dwmmc: Version ID is 270a
[    5.344447] dwmmc_rockchip 30010000.dwmmc: DW MMC controller at irq 48,32 bit host data width,256 deep fifo
[    5.354342] dwmmc_rockchip 30010000.dwmmc: No vmmc regulator found
[    5.360575] dwmmc_rockchip 30010000.dwmmc: No vqmmc regulator found
[    5.367099] dwmmc_rockchip 30010000.dwmmc: allocated mmc-pwrseq
[    5.386286] mmc_host mmc1: Bus speed (slot 0) = 976562Hz (slot req 400000Hz, actual 244140HZ div = 2)
[    5.404886] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    5.414824] dwmmc_rockchip 30010000.dwmmc: 1 slots initialized
[    5.421038] dwmmc_rockchip 30020000.dwmmc: IDMAC supports 32-bit address mode.
[    5.428536] mmc0: new high speed SDHC card at address 59b4
[    5.434322] dwmmc_rockchip 30020000.dwmmc: Using internal DMA controller.
[    5.435637] mmcblk0: mmc0:59b4 SD    7.36 GiB
[    5.443093]  mmcblk0: p1 p2
[    5.448618] dwmmc_rockchip 30020000.dwmmc: Version ID is 270a
[    5.454491] dwmmc_rockchip 30020000.dwmmc: DW MMC controller at irq 49,32 bit host data width,256 deep fifo
[    5.457204] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    5.458532] mmc1: new high speed SDIO card at address 0001
[    5.479625] dwmmc_rockchip 30020000.dwmmc: 'clock-freq-min-max' property was deprecated.
[    5.487770] dwmmc_rockchip 30020000.dwmmc: No vmmc regulator found
[    5.493984] dwmmc_rockchip 30020000.dwmmc: No vqmmc regulator found
[    5.513346] mmc_host mmc2: Bus speed (slot 0) = 2343750Hz (slot req 400000Hz, actual 390625HZ div = 3)
[    5.535441] dwmmc_rockchip 30020000.dwmmc: 1 slots initialized
[    5.542825] ledtrig-cpu: registered to indicate activity on CPUs
[    5.549186] hidraw: raw HID events driver (C) Jiri Kosina
[    5.555427] usbcore: registered new interface driver usbhid
[    5.561092] usbhid: USB HID core driver
[    5.565603] ashmem: initialized
[    5.570017] rockchip-dmc dmc: failed to get the count of devfreq-event in /dmc node
[    5.587919] rockchip-dmc dmc: leakage=6
[    5.591931] rockchip-dmc dmc: leakage-volt-sel=1
[    5.596919] rockchip-dmc dmc: Failed to get pvtm
[    5.602136] rockchip-dmc dmc: _opp_add: duplicate OPPs detected. Existing: freq: 600000000, volt: 1200000, enabled: 1. New: freq: 600000000, volt: 1200000, enabled: 1
[    5.617153] rockchip-dmc dmc: _opp_add: duplicate OPPs detected. Existing: freq: 600000000, volt: 1200000, enabled: 1. New: freq: 600000000, volt: 1200000, enabled: 1
[    5.632843] rockchip-dmc dmc: avs=0
[    5.636476] rockchip-dmc dmc: failed to get vop bandwidth to dmc rate
[    5.642968] rockchip-dmc dmc: failed to get vop pn to msch rl
[    5.649272] rockchip-dmc dmc: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0
[    5.672189] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0)
[    5.673078] rknandbase v1.2 2018-05-08
[    5.674344] usbcore: registered new interface driver snd-usb-audio
[    5.674453] usbcore: registered new interface driver snd-ua101
[    5.674549] usbcore: registered new interface driver snd-usb-caiaq
[    5.674651] usbcore: registered new interface driver snd-usb-6fire
[    5.674755] usbcore: registered new interface driver snd-usb-hiface
[    5.674829] usbcore: registered new interface driver snd-bcd2000
[    5.674902] usbcore: registered new interface driver snd_usb_pod
[    5.674976] usbcore: registered new interface driver snd_usb_podhd
[    5.675045] usbcore: registered new interface driver snd_usb_toneport
[    5.675109] usbcore: registered new interface driver snd_usb_variax
[    5.680628] u32 classifier
[    5.680633]     input device check on
[    5.680635]     Actions configured
[    5.680650] Netfilter messages via NETLINK v0.30.
[    5.680677] nfnl_acct: registering with nfnetlink.
[    5.680779] nf_conntrack version 0.5.0 (15668 buckets, 62672 max)
[    5.681636] Initializing XFRM netlink socket
[    5.682545] NET: Registered protocol family 10
[    5.684128] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    5.684559] sit: IPv6 over IPv4 tunneling driver
[    5.685436] NET: Registered protocol family 17
[    5.685473] NET: Registered protocol family 15
[    5.685542] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    5.685581] Bridge firewalling registered
[    5.685588] can: controller area network core (rev 20120528 abi 9)
[    5.685667] NET: Registered protocol family 29
[    5.685679] can: raw protocol (rev 20120528)
[    5.685689] can: broadcast manager protocol (rev 20120528 t)
[    5.685704] can: netlink gateway (rev 20130117) max_hops=1
[    5.686207] Bluetooth: RFCOMM TTY layer initialized
[    5.686230] Bluetooth: RFCOMM socket layer initialized
[    5.686263] Bluetooth: RFCOMM ver 1.11
[    5.686285] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    5.686300] Bluetooth: HIDP socket layer initialized
[    5.686375] 8021q: 802.1Q VLAN Support v1.8
[    5.686417] lib80211: common routines for IEEE802.11 drivers
[    5.686459] [WLAN_RFKILL]: Enter rfkill_wlan_init
[    5.686857] [WLAN_RFKILL]: Enter rfkill_wlan_probe
[    5.686881] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = [00]
[    5.686884] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
[    5.686888] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
[    5.686947] [WLAN_RFKILL]: wlan_platdata_parse_dt: get property: WIFI,host_wake_irq = 28, flags = 0.
[    5.686958] [WLAN_RFKILL]: wlan_platdata_parse_dt: The ref_wifi_clk not found !
[    5.686963] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
[    5.686974] [WLAN_RFKILL]: Exit rfkill_wlan_probe
[    5.687072] [BT_RFKILL]: Enter rfkill_rk_init
[    5.687641] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 102.
[    5.687672] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,power_gpio = 93.
[    5.687697] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_host_irq = 123.
[    5.687707] [BT_RFKILL]: bluetooth_platdata_parse_dt: clk_get failed!!!.
[    5.687803] [BT_RFKILL]: Request irq for bt wakeup host
[    5.687874] [BT_RFKILL]: ** disable irq
[    5.688105] [BT_RFKILL]: bt_default device registered.
[    5.688253] Key type dns_resolver registered
[    5.688641] flash vendor_init_thread!
[    5.688649] flash vendor storage:20170308 ret = -1
[    5.688727] Error: Driver 'sc031gs' is already registered, aborting...
[    5.689342] Registering SWP/SWPB emulation handler
[    5.690504] registered taskstats version 1
[    5.690522] Loading compiled-in X.509 certificates
[    5.693582] Btrfs loaded
[    5.694833] rga2: Driver loaded successfully ver:4.01
[    5.695115] rga2: Module initialized.
[    5.695144] pvtm list NULL
[    5.696516] rk-vcodec 20030000.rkvdec: leakage=6
[    5.696534] rk-vcodec 20030000.rkvdec: leakage-volt-sel=1
[    5.696641] rk-vcodec 20030000.rkvdec: Failed to get pvtm
[    5.697085] rk-vcodec 20030000.rkvdec: avs=0
[    5.697394] rk-vcodec 20030000.rkvdec: probe device
[    5.697894] rk-vcodec 20030000.rkvdec: drm allocator with mmu enabled
[    5.699455] rk-vcodec 20030000.rkvdec: init success
[    5.704547] asoc-simple-card hdmi-sound: i2s-hifi <-> 100c0000.i2s0 mapping ok
[    5.707796] asoc-simple-card spdif-sound: dit-hifi <-> 100d0000.spdif mapping ok
[    5.710958] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[    5.711728] hctosys: unable to open rtc device (rtc0)
[    5.725493] ALSA device list:
[    5.725502]   #0: HDMI
[    5.725507]   #1: ROCKCHIP,SPDIF
[    6.102840] ttyS2 - failed to request DMA, use interrupt mode
[    6.115878] VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
[    6.126044] devtmpfs: mounted
[    6.129927] Freeing unused kernel memory: 796K
[    6.134426] This architecture does not have kernel memory protection.
[    6.254831] random: nonblocking pool is initialized
[    6.363303] mmc2: Card stuck in programming state! __mmc_switch
[    6.369329] mmc2: error -110 whilst initialising MMC card

Debian GNU/Linux 10 localhost ttyS2

localhost login: root (automatic login)

sh: 1: cannot create /run/motd.dynamic.new: Read-only file system

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
-bash: cannot set terminal process group (-1): Inappropriate ioctl for device
-bash: no job control in this shell
root@localhost:~# [    7.090011] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    8.711327] vendor storage:20190527 ret = -1
 

 

Thanks

Posted
1 час назад, jock сказал:

@nafanovich Hello!

You may try to add cpu-stability overlay in /boot/armbianEnv.txt. Just edit the file and append it to other overlays in overlays= line

box cycle reboots right after install image from sd. i need to repack image to add this? or exist other way?

Posted
15.01.2021 в 02:00, jock сказал:

you should be able to burn the armbian image on an USB stick...

Once done, put the USB stick in the OTG port of the board and power on. U-boot should then boot from USB instead of eMMC...

by this way (from usb-running image) i can access to emmc?

Posted

@nafanovich Well it's strange your image works on the sdcard and does not work when you install it on eMMC.

You can use armbian  (or the multitool) on SD/USB to mount the internal eMMC and modify armbianEnv.txt from there.

Change verbosity=1 to verbosity=7 too, so you see the kernel log on the serial which is way important for your situation.

 

Posted
13 hours ago, paradigman said:

I have a box like this and I got stuck with it, please help! For CPU RK3228A, I attached images and UART log. I try multitool, I see the best result with 'rk3228b-box-mkv809vii.dtb', only with this will the LED light turn blue in the end. There is no picture on HDMI and I don't get to the point in the UART log.

Good you posted logs, bad you changed the dtb.

From the log I see, your sdcard/emmc is mounted read-only by kernel. Maybe it is faulty? Can't say for sure, since you changed the dtb and who knows what's happening...

 

Follow the instructions, use another sdcard if you can, then came back with fresh logs if you still have problems.

Posted (edited)
7 hours ago, jock said:

Good you posted logs, bad you changed the dtb.

From the log I see, your sdcard/emmc is mounted read-only by kernel. Maybe it is faulty? Can't say for sure, since you changed the dtb and who knows what's happening...

 

Follow the instructions, use another sdcard if you can, then came back with fresh logs if you still have problems.

 

Thank you for your reply.
I don’t think the problem is unique because I have multiple boxes and each one behaves the same if I want to boot with multitool from an SD card.

I made a fresh log with the original dtb that comes with multitool.

The difference compared to the other dtb is that instead of the blue led, the red one lights up and the yellow one flashes at the end.

 

The fresh uart log:

 

Spoiler

U-Boot 2020.10-armbian+ (Mar 12 2021 - 13:38:05 +0000)

Model: Generic Rockchip rk322x TV Box board
DRAM:  1010 MiB
MMC:   dwmmc@30000000: 1, dwmmc@30020000: 0
Loading Environment from EXT4...
** Unable to use mmc 0:auto for loading the env **
In:    serial@11030000
Out:   serial@11030000
Err:   serial@11030000
Model: Generic Rockchip rk322x TV Box board
Net:   eth0: ethernet@30200000
starting USB...
Bus usb@30040000: USB DWC2
Bus usb@30080000: USB EHCI 1.00
Bus usb@300c0000: USB EHCI 1.00
Bus usb@30100000: USB EHCI 1.00
scanning bus usb@30040000 for devices... 1 USB Device(s) found
scanning bus usb@30080000 for devices... 1 USB Device(s) found
scanning bus usb@300c0000 for devices... 1 USB Device(s) found
scanning bus usb@30100000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
175 bytes read in 9 ms (18.6 KiB/s)
1:      Multitool
Retrieving file: /kernel.img
8719272 bytes read in 383 ms (21.7 MiB/s)
append: boot=PARTUUID=21fcd12b-01 root=PARTUUID=21fcd12b-02 rootwait console=ttyS2,115200 verbose=1 consoleblank=0
Retrieving file: /rk322x-box.dtb
46636 bytes read in 8 ms (5.6 MiB/s)
## Flattened Device Tree blob at 61f00000
   Booting using the fdt blob at 0x61f00000
EHCI failed to shut down host controller.
EHCI failed to shut down host controller.
   Loading Device Tree to 683f1000, end 683ff62b ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0xf00
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.194-rk322x (root@armbianbuild) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) ) #47 SMP Thu Apr 9 17:37:46 UTC 2020
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Generic RK322x TV Box board
[    0.000000] cma: Reserved 128 MiB at 0x98000000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv65535.65535 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] PERCPU: Embedded 14 pages/cpu @e7659000 s24856 r8192 d24296 u57344
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 256256
[    0.000000] Kernel command line: boot=PARTUUID=21fcd12b-01 root=PARTUUID=21fcd12b-02 rootwait console=ttyS2,115200 verbose=1 consoleblank=0
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 871700K/1034240K available (12820K kernel code, 875K rwdata, 3224K rodata, 796K init, 1219K bss, 31468K reserved, 131072K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xb0000000 - 0xf0000000   (1024 MB)
[    0.000000]     pkmap   : 0xafe00000 - 0xb0000000   (   2 MB)
[    0.000000]     modules : 0xaf000000 - 0xafe00000   (  14 MB)
[    0.000000]       .text : 0xb0008000 - 0xb0c8d53c   (12822 kB)
[    0.000000]       .init : 0xb10a1000 - 0xb1168000   ( 796 kB)
[    0.000000]       .data : 0xb1168000 - 0xb1242e94   ( 876 kB)
[    0.000000]        .bss : 0xb1244000 - 0xb1374ee4   (1220 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Architected 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.000025] Switching to timer-based delay loop, resolution 41ns
[    0.001755] Console: colour dummy device 80x30
[    0.001796] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001816] pid_max: default: 32768 minimum: 301
[    0.001967] Security Framework initialized
[    0.001983] Yama: becoming mindful.
[    0.002071] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002089] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003100] Initializing cgroup subsys io
[    0.003142] Initializing cgroup subsys memory
[    0.003191] Initializing cgroup subsys devices
[    0.003216] Initializing cgroup subsys freezer
[    0.003235] Initializing cgroup subsys net_cls
[    0.003252] Initializing cgroup subsys perf_event
[    0.003270] Initializing cgroup subsys net_prio
[    0.003306] Initializing cgroup subsys pids
[    0.003390] CPU: Testing write buffer coherency: ok
[    0.003448] ftrace: allocating 41720 entries in 123 pages
[    0.086740] /cpus/cpu@f00 missing clock-frequency property
[    0.086781] /cpus/cpu@f01 missing clock-frequency property
[    0.086802] /cpus/cpu@f02 missing clock-frequency property
[    0.086822] /cpus/cpu@f03 missing clock-frequency property
[    0.086837] CPU0: update cpu_capacity 430
[    0.086848] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.086950] Setting up static identity map for 0x60008280 - 0x600082d8
[    0.090325] CPU1: update cpu_capacity 430
[    0.090336] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.091616] CPU2: update cpu_capacity 430
[    0.091625] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.092876] CPU3: update cpu_capacity 430
[    0.092885] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.093038] Brought up 4 CPUs
[    0.093081] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.093089] CPU: All CPU(s) started in SVC mode.
[    0.094913] devtmpfs: initialized
[    0.113100] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.113710] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.113754] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.120420] xor: measuring software checksum speed
[    0.158701]    arm4regs  :  1011.000 MB/sec
[    0.198808]    8regs     :   705.000 MB/sec
[    0.238911]    32regs    :   684.000 MB/sec
[    0.279015]    neon      :  1018.000 MB/sec
[    0.279026] xor: using function: neon (1018.000 MB/sec)
[    0.279069] pinctrl core: initialized pinctrl subsystem
[    0.280881] NET: Registered protocol family 16
[    0.283305] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.295213] cpuidle: using governor ladder
[    0.307222] cpuidle: using governor menu
[    0.330536] console [pstore-1] enabled
[    0.330549] pstore: Registered ramoops as persistent store backend
[    0.330562] ramoops: attached 0xf0000@0x62e00000, ecc: 0/0
[    0.333578] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.333604] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.432403] raid6: int32x1  gen()   133 MB/s
[    0.500345] raid6: int32x1  xor()   131 MB/s
[    0.568608] raid6: int32x2  gen()   166 MB/s
[    0.636676] raid6: int32x2  xor()   136 MB/s
[    0.705033] raid6: int32x4  gen()   163 MB/s
[    0.773298] raid6: int32x4  xor()   137 MB/s
[    0.841447] raid6: int32x8  gen()   166 MB/s
[    0.909709] raid6: int32x8  xor()   113 MB/s
[    0.977851] raid6: neonx1   gen()   382 MB/s
[    1.045972] raid6: neonx1   xor()   290 MB/s
[    1.114211] raid6: neonx2   gen()   519 MB/s
[    1.182353] raid6: neonx2   xor()   376 MB/s
[    1.250628] raid6: neonx4   gen()   581 MB/s
[    1.318805] raid6: neonx4   xor()   400 MB/s
[    1.387065] raid6: neonx8   gen()   559 MB/s
[    1.455292] raid6: neonx8   xor()   391 MB/s
[    1.455306] raid6: using algorithm neonx4 gen() 581 MB/s
[    1.455317] raid6: .... xor() 400 MB/s, rmw enabled
[    1.455328] raid6: using intx1 recovery algorithm
[    1.456446] rockchip-pm rockchip-suspend: not set wakeup-config
[    1.456476] rockchip-pm rockchip-suspend: not set pwm-regulator-config
[    1.460368] iommu: Adding device 20020000.vpu-service to group 0
[    1.460482] iommu: Adding device 20030000.rkvdec to group 1
[    1.460579] iommu: Adding device 20050000.vop to group 2
[    1.460672] iommu: Adding device 20070000.iep to group 3
[    1.461284] rk_iommu 20020800.iommu: can't get sclk
[    1.462024] rk_iommu 20030480.iommu: can't get sclk
[    1.462292] rk_iommu 20053f00.iommu: can't get sclk
[    1.462445] rk_iommu 20070800.iommu: can't get aclk
[    1.462465] rk_iommu 20070800.iommu: can't get hclk
[    1.462481] rk_iommu 20070800.iommu: can't get sclk
[    1.463459] SCSI subsystem initialized
[    1.463904] usbcore: registered new interface driver usbfs
[    1.464005] usbcore: registered new interface driver hub
[    1.464145] usbcore: registered new device driver usb
[    1.464383] media: Linux media interface: v0.10
[    1.464465] Linux video capture interface: v2.00
[    1.464693] pps_core: LinuxPPS API ver. 1 registered
[    1.464709] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.464750] PTP clock support registered
[    1.466845] Advanced Linux Sound Architecture Driver Initialized.
[    1.468113] Bluetooth: Core ver 2.21
[    1.468194] NET: Registered protocol family 31
[    1.468208] Bluetooth: HCI device and connection manager initialized
[    1.468231] Bluetooth: HCI socket layer initialized
[    1.468249] Bluetooth: L2CAP socket layer initialized
[    1.468312] Bluetooth: SCO socket layer initialized
[    1.469296] NetLabel: Initializing
[    1.469322] NetLabel:  domain hash size = 128
[    1.469331] NetLabel:  protocols = UNLABELED CIPSOv4
[    1.469417] NetLabel:  unlabeled traffic allowed by default
[    1.470609] clocksource: Switched to clocksource arch_sys_counter
[    1.573503] NET: Registered protocol family 2
[    1.574511] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    1.574750] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[    1.575112] TCP: Hash tables configured (established 8192 bind 8192)
[    1.575236] UDP hash table entries: 512 (order: 2, 24576 bytes)
[    1.575309] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[    1.575733] NET: Registered protocol family 1
[    1.576540] RPC: Registered named UNIX socket transport module.
[    1.576568] RPC: Registered udp transport module.
[    1.576579] RPC: Registered tcp transport module.
[    1.576590] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.577624] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    1.580885] Initialise system trusted keyring
[    1.595806] VFS: Disk quotas dquot_6.6.0
[    1.596150] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.599081] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.602889] NFS: Registering the id_resolver key type
[    1.602984] Key type id_resolver registered
[    1.602997] Key type id_legacy registered
[    1.603033] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.603137] ntfs: driver 2.1.32 [Flags: R/W].
[    1.604104] JFS: nTxBlock = 7834, nTxLock = 62673
[    1.616477] SGI XFS with security attributes, no debug enabled
[    1.626214] NET: Registered protocol family 38
[    1.626281] Key type asymmetric registered
[    1.626304] Asymmetric key parser 'x509' registered
[    1.626932] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    1.627271] io scheduler noop registered
[    1.627304] io scheduler deadline registered
[    1.627400] io scheduler cfq registered (default)
[    1.631190] phy phy-11000000.syscon:usb2-phy@800.2: Failed to get VBUS supply regulator
[    1.636877] rk-vcodec 20020000.vpu-service: no regulator for vcodec
[    1.637417] rk-vcodec 20020000.vpu-service: probe device
[    1.637927] rk-vcodec 20020000.vpu-service: drm allocator with mmu enabled
[    1.639710] rk-vcodec 20020000.vpu-service: could not find power_model node
[    1.639744] rk-vcodec 20020000.vpu-service: init success
[    1.640149] rk-vcodec 20030000.rkvdec: vcodec regulator not ready, retry
[    1.644772] dma-pl330 110f0000.pdma: Loaded driver for PL330 DMAC-241330
[    1.644806] dma-pl330 110f0000.pdma:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    1.645977] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[    1.648735] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.649694] 11030000.serial: ttyS2 at MMIO 0x11030000 (irq = 30, base_baud = 1500000) is a 16550A
[    2.681732] console [ttyS2] enabled
[    2.687296] [drm] Initialized drm 1.1.0 20060810
[    2.694476] [drm] Rockchip DRM driver version: v1.0.1
[    2.699902] rockchip-drm display-subsystem: devfreq is not set
[    2.706754] rockchip-drm display-subsystem: bound 20050000.vop (ops 0xb0d111b0)
[    2.714543] i2c i2c-0: of_i2c: modalias failure on /hdmi@200a0000/ports
[    2.721225] dwhdmi-rockchip 200a0000.hdmi: registered DesignWare HDMI I2C bus driver
[    2.729101] dwhdmi-rockchip 200a0000.hdmi: Detected HDMI TX controller v2.01a with HDCP (inno_dw_hdmi_phy)
[    2.740327] rockchip-drm display-subsystem: bound 200a0000.hdmi (ops 0xb0d09708)
[    2.747838] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.754483] [drm] No driver support for vblank timestamp query.
[    2.760582] rockchip-drm display-subsystem: failed to parse display resources
[    3.391410] rockchip-vop 20050000.vop: [drm:vop_crtc_enable] Update mode to 1920x1080p60, type: 11
[    3.392103] dwhdmi-rockchip 200a0000.hdmi: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
[    3.392112] dwhdmi-rockchip 200a0000.hdmi:     colorspace: RGB
[    3.392120] dwhdmi-rockchip 200a0000.hdmi:     scan mode: Underscan
[    3.392126] dwhdmi-rockchip 200a0000.hdmi:     colorimetry: No Data
[    3.392133] dwhdmi-rockchip 200a0000.hdmi:     picture aspect: 16:9
[    3.392139] dwhdmi-rockchip 200a0000.hdmi:     active aspect: Same as Picture
[    3.392146] dwhdmi-rockchip 200a0000.hdmi:     itc: IT Content
[    3.392153] dwhdmi-rockchip 200a0000.hdmi:     extended colorimetry: xvYCC 601
[    3.392160] dwhdmi-rockchip 200a0000.hdmi:     quantization range: Full
[    3.392167] dwhdmi-rockchip 200a0000.hdmi:     nups: Unknown Non-uniform Scaling
[    3.392173] dwhdmi-rockchip 200a0000.hdmi:     video code: 16
[    3.392180] dwhdmi-rockchip 200a0000.hdmi:     ycc quantization range: Full
[    3.392186] dwhdmi-rockchip 200a0000.hdmi:     hdmi content type: Graphics
[    3.392192] dwhdmi-rockchip 200a0000.hdmi:     pixel repeat: 0
[    3.392201] dwhdmi-rockchip 200a0000.hdmi:     bar top 0, bottom 0, left 0, right 0
[    3.471842] Console: switching to colour frame buffer device 240x67
[    3.639583] rockchip-drm display-subsystem: fb0:  frame buffer device
[    3.663596] brd: module loaded
[    3.681922] loop: module loaded
[    3.685241] lkdtm: No crash points registered, enable through debugfs
[    3.695405] libphy: Fixed MDIO Bus: probed
[    3.699633] tun: Universal TUN/TAP device driver, 1.6
[    3.704735] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    3.711544] CAN device driver interface
[    3.717552] rk_gmac-dwmac 30200000.ethernet: clock input or output? (output).
[    3.724881] rk_gmac-dwmac 30200000.ethernet: TX delay(0x30).
[    3.730627] rk_gmac-dwmac 30200000.ethernet: RX delay(0x10).
[    3.736389] rk_gmac-dwmac 30200000.ethernet: integrated PHY? (yes).
[    3.742892] rk_gmac-dwmac 30200000.ethernet: cannot get clock clk_mac_speed
[    3.754981] rk_gmac-dwmac 30200000.ethernet: init for RMII
[    3.794773] stmmac - user ID: 0x10, Synopsys ID: 0x35
[    3.799876]  Ring mode enabled
[    3.802973]  DMA HW capability register supported
[    3.807528]  Normal descriptors
[    3.810886]  RX Checksum Offload Engine supported (type 2)
[    3.816386]  TX Checksum insertion supported
[    3.820677]  Wake-Up On Lan supported
[    3.824526] rk_gmac-dwmac 30200000.ethernet: rk_get_eth_addr: mac address: be:72:f1:48:18:63
[    3.833004] eth%d: device MAC address be:72:f1:48:18:63
[    3.838256]  Enable RX Mitigation via HW Watchdog Timer
[    3.864909] libphy: stmmac: probed
[    3.868434] eth%d: PHY ID 1234d400 at 0 IRQ POLL (stmmac-0:00) active
[    3.874931] eth%d: PHY ID 00000000 at 1 IRQ POLL (stmmac-0:01)
[    3.880808] eth%d: PHY ID 00000000 at 2 IRQ POLL (stmmac-0:02)
[    3.886670] eth%d: PHY ID 00000000 at 3 IRQ POLL (stmmac-0:03)
[    3.892525] eth%d: PHY ID 00000000 at 4 IRQ POLL (stmmac-0:04)
[    3.898381] eth%d: PHY ID 00000000 at 5 IRQ POLL (stmmac-0:05)
[    3.904240] eth%d: PHY ID 00000000 at 6 IRQ POLL (stmmac-0:06)
[    3.910098] eth%d: PHY ID 00000000 at 7 IRQ POLL (stmmac-0:07)
[    3.915957] eth%d: PHY ID 00000000 at 8 IRQ POLL (stmmac-0:08)
[    3.921817] eth%d: PHY ID 00000000 at 9 IRQ POLL (stmmac-0:09)
[    3.927677] eth%d: PHY ID 00000000 at 10 IRQ POLL (stmmac-0:0a)
[    3.933619] eth%d: PHY ID 00000000 at 11 IRQ POLL (stmmac-0:0b)
[    3.939560] eth%d: PHY ID 00000000 at 12 IRQ POLL (stmmac-0:0c)
[    3.945501] eth%d: PHY ID 00000000 at 13 IRQ POLL (stmmac-0:0d)
[    3.951445] eth%d: PHY ID 00000000 at 14 IRQ POLL (stmmac-0:0e)
[    3.957387] eth%d: PHY ID 00000000 at 15 IRQ POLL (stmmac-0:0f)
[    3.963329] eth%d: PHY ID 00000000 at 16 IRQ POLL (stmmac-0:10)
[    3.969269] eth%d: PHY ID 00000000 at 17 IRQ POLL (stmmac-0:11)
[    3.975210] eth%d: PHY ID 00000000 at 18 IRQ POLL (stmmac-0:12)
[    3.981153] eth%d: PHY ID 00000000 at 19 IRQ POLL (stmmac-0:13)
[    3.987098] eth%d: PHY ID 00000000 at 20 IRQ POLL (stmmac-0:14)
[    3.993038] eth%d: PHY ID 00000000 at 21 IRQ POLL (stmmac-0:15)
[    3.998981] eth%d: PHY ID 00000000 at 22 IRQ POLL (stmmac-0:16)
[    4.004928] eth%d: PHY ID 00000000 at 23 IRQ POLL (stmmac-0:17)
[    4.010869] eth%d: PHY ID 00000000 at 24 IRQ POLL (stmmac-0:18)
[    4.016818] eth%d: PHY ID 00000000 at 25 IRQ POLL (stmmac-0:19)
[    4.022759] eth%d: PHY ID 00000000 at 26 IRQ POLL (stmmac-0:1a)
[    4.028705] eth%d: PHY ID 00000000 at 27 IRQ POLL (stmmac-0:1b)
[    4.034646] eth%d: PHY ID 00000000 at 28 IRQ POLL (stmmac-0:1c)
[    4.040594] eth%d: PHY ID 00000000 at 29 IRQ POLL (stmmac-0:1d)
[    4.046556] eth%d: PHY ID 00000000 at 30 IRQ POLL (stmmac-0:1e)
[    4.052505] eth%d: PHY ID 00000000 at 31 IRQ POLL (stmmac-0:1f)
[    4.060285] PPP generic driver version 2.4.2
[    4.065252] Atmel at76x USB Wireless LAN Driver 0.17 loading
[    4.071223] usbcore: registered new interface driver at76c50x-usb
[    4.077572] usbcore: registered new interface driver rtl8187
[    4.083433] usbcore: registered new interface driver rndis_wlan
[    4.089517] usbcore: registered new interface driver zd1201
[    4.095729] usbcore: registered new interface driver rt2800usb
[    4.101862] Rockchip WiFi SYS interface (V1.00) ...
[    4.106986] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    4.114555] usbcore: registered new interface driver pegasus
[    4.120432] usbcore: registered new interface driver rtl8150
[    4.126245] usbcore: registered new interface driver r8152
[    4.131903] usbcore: registered new interface driver asix
[    4.137442] usbcore: registered new interface driver ax88179_178a
[    4.143680] usbcore: registered new interface driver cdc_ether
[    4.149657] usbcore: registered new interface driver dm9601
[    4.155381] usbcore: registered new interface driver smsc75xx
[    4.161310] usbcore: registered new interface driver smsc95xx
[    4.167203] usbcore: registered new interface driver net1080
[    4.172985] usbcore: registered new interface driver rndis_host
[    4.179029] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[    4.186657] usbcore: registered new interface driver cdc_ncm
[    4.192416] usbcore: registered new interface driver cdc_mbim
[    4.198945] 30040000.usb supply vusb_d not found, using dummy regulator
[    4.205783] 30040000.usb supply vusb_a not found, using dummy regulator
[    4.226026] dwc2 30040000.usb: DWC OTG Controller
[    4.230943] dwc2 30040000.usb: new USB bus registered, assigned bus number 1
[    4.238138] dwc2 30040000.usb: irq 49, io mem 0x30040000
[    4.243988] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.250849] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.258099] usb usb1: Product: DWC OTG Controller
[    4.262834] usb usb1: Manufacturer: Linux 4.4.194-rk322x dwc2_hsotg
[    4.269121] usb usb1: SerialNumber: 30040000.usb
[    4.275242] hub 1-0:1.0: USB hub found
[    4.279164] hub 1-0:1.0: 1 port detected
[    4.285190] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.291829] ehci-platform: EHCI generic platform driver
[    4.299931] ehci-platform 30080000.usb: EHCI Host Controller
[    4.306173] ehci-platform 30080000.usb: new USB bus registered, assigned bus number 2
[    4.314551] ehci-platform 30080000.usb: irq 50, io mem 0x30080000
[    4.330702] ehci-platform 30080000.usb: USB 2.0 started, EHCI 1.00
[    4.337324] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    4.344185] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.351439] usb usb2: Product: EHCI Host Controller
[    4.356345] usb usb2: Manufacturer: Linux 4.4.194-rk322x ehci_hcd
[    4.362455] usb usb2: SerialNumber: 30080000.usb
[    4.368364] hub 2-0:1.0: USB hub found
[    4.372315] hub 2-0:1.0: 1 port detected
[    4.379537] ehci-platform 300c0000.usb: EHCI Host Controller
[    4.386099] ehci-platform 300c0000.usb: new USB bus registered, assigned bus number 3
[    4.394436] ehci-platform 300c0000.usb: irq 52, io mem 0x300c0000
[    4.410674] ehci-platform 300c0000.usb: USB 2.0 started, EHCI 1.00
[    4.417277] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    4.424130] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.431384] usb usb3: Product: EHCI Host Controller
[    4.436287] usb usb3: Manufacturer: Linux 4.4.194-rk322x ehci_hcd
[    4.442395] usb usb3: SerialNumber: 300c0000.usb
[    4.448318] hub 3-0:1.0: USB hub found
[    4.452270] hub 3-0:1.0: 1 port detected
[    4.459493] ehci-platform 30100000.usb: EHCI Host Controller
[    4.465769] ehci-platform 30100000.usb: new USB bus registered, assigned bus number 4
[    4.474122] ehci-platform 30100000.usb: irq 54, io mem 0x30100000
[    4.490689] ehci-platform 30100000.usb: USB 2.0 started, EHCI 1.00
[    4.497281] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    4.504136] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.511391] usb usb4: Product: EHCI Host Controller
[    4.516298] usb usb4: Manufacturer: Linux 4.4.194-rk322x ehci_hcd
[    4.522418] usb usb4: SerialNumber: 30100000.usb
[    4.528348] hub 4-0:1.0: USB hub found
[    4.532298] hub 4-0:1.0: 1 port detected
[    4.537313] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.543665] ohci-platform: OHCI generic platform driver
[    4.549588] ohci-platform 300a0000.usb: Generic Platform OHCI controller
[    4.558260] ohci-platform 300a0000.usb: new USB bus registered, assigned bus number 5
[    4.566678] ohci-platform 300a0000.usb: irq 51, io mem 0x300a0000
[    4.630995] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[    4.637888] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.645160] usb usb5: Product: Generic Platform OHCI controller
[    4.651116] usb usb5: Manufacturer: Linux 4.4.194-rk322x ohci_hcd
[    4.657240] usb usb5: SerialNumber: 300a0000.usb
[    4.663707] hub 5-0:1.0: USB hub found
[    4.667654] hub 5-0:1.0: 1 port detected
[    4.672782] ohci-platform 300e0000.usb: Generic Platform OHCI controller
[    4.680116] ohci-platform 300e0000.usb: new USB bus registered, assigned bus number 6
[    4.688406] ohci-platform 300e0000.usb: irq 53, io mem 0x300e0000
[    4.751025] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[    4.757885] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.765142] usb usb6: Product: Generic Platform OHCI controller
[    4.771115] usb usb6: Manufacturer: Linux 4.4.194-rk322x ohci_hcd
[    4.777240] usb usb6: SerialNumber: 300e0000.usb
[    4.783550] hub 6-0:1.0: USB hub found
[    4.787518] hub 6-0:1.0: 1 port detected
[    4.792544] ohci-platform 30120000.usb: Generic Platform OHCI controller
[    4.799849] ohci-platform 30120000.usb: new USB bus registered, assigned bus number 7
[    4.808184] ohci-platform 30120000.usb: irq 55, io mem 0x30120000
[    4.871002] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[    4.877857] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.885114] usb usb7: Product: Generic Platform OHCI controller
[    4.891086] usb usb7: Manufacturer: Linux 4.4.194-rk322x ohci_hcd
[    4.897217] usb usb7: SerialNumber: 30120000.usb
[    4.903502] hub 7-0:1.0: USB hub found
[    4.907450] hub 7-0:1.0: 1 port detected
[    4.912730] usbcore: registered new interface driver cdc_acm
[    4.918494] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    4.926738] usbcore: registered new interface driver cdc_wdm
[    4.932825] usbcore: registered new interface driver usb-storage
[    4.939159] usbcore: registered new interface driver usbserial
[    4.945153] usbcore: registered new interface driver usbserial_generic
[    4.951796] usbserial: USB Serial support registered for generic
[    4.957953] usbcore: registered new interface driver keyspan
[    4.963713] usbserial: USB Serial support registered for Keyspan - (without firmware)
[    4.971637] usbserial: USB Serial support registered for Keyspan 1 port adapter
[    4.979069] usbserial: USB Serial support registered for Keyspan 2 port adapter
[    4.986465] usbserial: USB Serial support registered for Keyspan 4 port adapter
[    4.993928] usbcore: registered new interface driver option
[    4.999607] usbserial: USB Serial support registered for GSM modem (1-port)
[    5.007395] usbcore: registered new interface driver oti6858
[    5.013514] usbserial: USB Serial support registered for oti6858
[    5.019746] usbcore: registered new interface driver qcserial
[    5.025577] usbserial: USB Serial support registered for Qualcomm USB modem
[    5.032750] usbcore: registered new interface driver sierra
[    5.038421] usbserial: USB Serial support registered for Sierra USB modem
[    5.046554] usbcore: registered new interface driver iforce
[    5.052441] usbcore: registered new interface driver xpad
[    5.058216] usbcore: registered new interface driver usbtouchscreen
[    5.066049] i2c /dev entries driver
[    5.072975] usbcore: registered new interface driver uvcvideo
[    5.078812] USB Video Class driver (1.1.1)
[    5.085313] Boot mode: normal
[    5.090215] rockchip-thermal 11150000.tsadc: tsadc is probed successfully!
[    5.099428] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[    5.108480] Bluetooth: Virtual HCI driver ver 1.5
[    5.113641] Bluetooth: HCI UART driver ver 2.3
[    5.118181] Bluetooth: HCI UART protocol H4 registered
[    5.123383] Bluetooth: HCI UART protocol LL registered
[    5.128565] Bluetooth: HCI UART protocol ATH3K registered
[    5.133993] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    5.140545] Bluetooth: HCI UART protocol BCM registered
[    5.146029] usbcore: registered new interface driver bfusb
[    5.151742] usbcore: registered new interface driver btusb
[    5.157281] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    5.163894] cpu cpu0: leakage=9
[    5.167157] cpu cpu0: leakage-volt-sel=1
[    5.171480] cpu cpu0: Failed to get pvtm
[    5.177225] cpu cpu0: avs=0
[    5.180284] cpu cpu0: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0
[    5.187328] cpu cpu0: failed to read out thermal zone (-22)
[    5.193858] cpu cpu0: failed to find power_model node
[    5.199973] Synopsys Designware Multimedia Card Interface Driver
[    5.207092] dwmmc_rockchip 30000000.dwmmc: IDMAC supports 32-bit address mode.
[    5.214715] dwmmc_rockchip 30000000.dwmmc: Using internal DMA controller.
[    5.221592] dwmmc_rockchip 30000000.dwmmc: Version ID is 270a
[    5.227463] dwmmc_rockchip 30000000.dwmmc: DW MMC controller at irq 45,32 bit host data width,256 deep fifo
[    5.237317] dwmmc_rockchip 30000000.dwmmc: No vmmc regulator found
[    5.243532] dwmmc_rockchip 30000000.dwmmc: No vqmmc regulator found
[    5.249992] dwmmc_rockchip 30000000.dwmmc: Got CD GPIO
[    5.268248] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    5.291005] dwmmc_rockchip 30000000.dwmmc: 1 slots initialized
[    5.297661] dwmmc_rockchip 30010000.dwmmc: num-slots property not found, assuming 1 slot is available
[    5.307177] dwmmc_rockchip 30010000.dwmmc: IDMAC supports 32-bit address mode.
[    5.314733] dwmmc_rockchip 30010000.dwmmc: Using internal DMA controller.
[    5.321612] dwmmc_rockchip 30010000.dwmmc: Version ID is 270a
[    5.327561] dwmmc_rockchip 30010000.dwmmc: DW MMC controller at irq 46,32 bit host data width,256 deep fifo
[    5.337507] dwmmc_rockchip 30010000.dwmmc: No vmmc regulator found
[    5.343758] dwmmc_rockchip 30010000.dwmmc: No vqmmc regulator found
[    5.363140] mmc_host mmc1: Bus speed (slot 0) = 976562Hz (slot req 400000Hz, actual 244140HZ div = 2)
[    5.381771] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    5.391785] dwmmc_rockchip 30010000.dwmmc: 1 slots initialized
[    5.398092] dwmmc_rockchip 30020000.dwmmc: IDMAC supports 32-bit address mode.
[    5.405552] mmc0: new high speed SDHC card at address 59b4
[    5.412205] dwmmc_rockchip 30020000.dwmmc: Using internal DMA controller.
[    5.419203] dwmmc_rockchip 30020000.dwmmc: Version ID is 270a
[    5.425275] mmcblk0: mmc0:59b4 SD    7.36 GiB
[    5.425309] dwmmc_rockchip 30020000.dwmmc: DW MMC controller at irq 47,32 bit host data width,256 deep fifo
[    5.425344] dwmmc_rockchip 30020000.dwmmc: 'clock-freq-min-max' property was deprecated.
[    5.425388] dwmmc_rockchip 30020000.dwmmc: No vmmc regulator found
[    5.425394] dwmmc_rockchip 30020000.dwmmc: No vqmmc regulator found
[    5.438424] mmc_host mmc2: Bus speed (slot 0) = 2343750Hz (slot req 400000Hz, actual 390625HZ div = 3)
[    5.451204] dwmmc_rockchip 30020000.dwmmc: 1 slots initialized
[    5.453041] ledtrig-cpu: registered to indicate activity on CPUs
[    5.453208] hidraw: raw HID events driver (C) Jiri Kosina
[    5.455723] usbcore: registered new interface driver usbhid
[    5.455727] usbhid: USB HID core driver
[    5.456509] ashmem: initialized
[    5.459347] rknandbase v1.2 2018-05-08
[    5.459933] rknand 30030000.nandc: rknand_probe clk rate = 150000000
[    5.460269] ftl_init fffffffe
[    5.460272] rk_ftl_init fail
[    5.461889] usbcore: registered new interface driver snd-usb-audio
[    5.462027] usbcore: registered new interface driver snd-ua101
[    5.462151] usbcore: registered new interface driver snd-usb-caiaq
[    5.462288] usbcore: registered new interface driver snd-usb-6fire
[    5.462561] usbcore: registered new interface driver snd-usb-hiface
[    5.462765] usbcore: registered new interface driver snd-bcd2000
[    5.462868] usbcore: registered new interface driver snd_usb_pod
[    5.462969] usbcore: registered new interface driver snd_usb_podhd
[    5.463064] usbcore: registered new interface driver snd_usb_toneport
[    5.463152] usbcore: registered new interface driver snd_usb_variax
[    5.471047] u32 classifier
[    5.471055]     input device check on
[    5.471057]     Actions configured
[    5.471073] Netfilter messages via NETLINK v0.30.
[    5.471149] nfnl_acct: registering with nfnetlink.
[    5.471271] nf_conntrack version 0.5.0 (15668 buckets, 62672 max)
[    5.472345] Initializing XFRM netlink socket
[    5.473507] NET: Registered protocol family 10
[    5.475728] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    5.476199] sit: IPv6 over IPv4 tunneling driver
[    5.477330] NET: Registered protocol family 17
[    5.477383] NET: Registered protocol family 15
[    5.477495] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    5.477544] Bridge firewalling registered
[    5.477553] can: controller area network core (rev 20120528 abi 9)
[    5.477653] NET: Registered protocol family 29
[    5.477669] can: raw protocol (rev 20120528)
[    5.477682] can: broadcast manager protocol (rev 20120528 t)
[    5.477699] can: netlink gateway (rev 20130117) max_hops=1
[    5.478391] Bluetooth: RFCOMM TTY layer initialized
[    5.478422] Bluetooth: RFCOMM socket layer initialized
[    5.478477] Bluetooth: RFCOMM ver 1.11
[    5.478510] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    5.478529] Bluetooth: HIDP socket layer initialized
[    5.478768] 8021q: 802.1Q VLAN Support v1.8
[    5.478825] lib80211: common routines for IEEE802.11 drivers
[    5.478884] [WLAN_RFKILL]: Enter rfkill_wlan_init
[    5.479338] [BT_RFKILL]: Enter rfkill_rk_init
[    5.479632] Key type dns_resolver registered
[    5.480084] flash vendor_init_thread!
[    5.480093] flash vendor storage:20170308 ret = -1
[    5.480217] Error: Driver 'sc031gs' is already registered, aborting...
[    5.480928] Registering SWP/SWPB emulation handler
[    5.482944] registered taskstats version 1
[    5.482968] Loading compiled-in X.509 certificates
[    5.483550] mmc_host mmc2: Bus speed (slot 0) = 37500000Hz (slot req 37500000Hz, actual 37500000HZ div = 0)
[    5.531848] Btrfs loaded
[    5.540511] rga2: Driver loaded successfully ver:4.01
[    5.540788] rga2: Module initialized.
[    5.540825] pvtm list NULL
[    5.544245] rk-vcodec 20030000.rkvdec: leakage=6
[    5.544265] rk-vcodec 20030000.rkvdec: leakage-volt-sel=1
[    5.544397] rk-vcodec 20030000.rkvdec: Failed to get pvtm
[    5.544879] rk-vcodec 20030000.rkvdec: avs=0
[    5.545254] rk-vcodec 20030000.rkvdec: probe device
[    5.545816] rk-vcodec 20030000.rkvdec: drm allocator with mmu enabled
[    5.547770] rk-vcodec 20030000.rkvdec: init success
[    5.553405] asoc-simple-card hdmi-sound: i2s-hifi <-> 100c0000.i2s0 mapping ok
[    5.557618] asoc-simple-card spdif-sound: dit-hifi <-> 100d0000.spdif mapping ok
[    5.560432] hctosys: unable to open rtc device (rtc0)
[    5.576319] ALSA device list:
[    5.576333]   #0: DW-I2S-HDMI
[    5.576337]   #1: SPDIF
[    5.684095] random: nonblocking pool is initialized
[    5.750628] mmc2: Card stuck in programming state! __mmc_switch
[    5.750657] mmc2: error -110 whilst initialising MMC card
[    5.855027] ttyS2 - failed to request DMA, use interrupt mode
[    5.856897]  mmcblk0: p1 p2
[    5.872426] VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
[    5.875338] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    5.876468] mmc1: new high speed SDIO card at address 0001
[    5.898112] devtmpfs: mounted
[    5.902097] Freeing unused kernel memory: 796K
[    5.906583] This architecture does not have kernel memory protection.

Debian GNU/Linux 10 localhost ttyS2

localhost login: root (automatic login)

sh: 1: cannot create /run/motd.dynamic.new: Read-only file system

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
-bash: cannot set terminal process group (-1): Inappropriate ioctl for device
-bash: no job control in this shell
root@localhost:~# fatresize 1.0.2 (06/16/18)
sh: 1: udevadm: not found
sh: 1: udevadm: not found
[    8.498805] vendor storage:20190527 ret = -1

 

Thanks

Edited by paradigman
add plus information
Posted

@paradigman ah ok, now I get it... you posted the multitool uart log.

Anyway, changing dtb is not useful. multitool dtb is made on purpose to have the main blinking led to show that the board and kernel are functioning.

Also multitool dtb is made to boot with very conservative options to increase compatibility and stability with boards, since its purpose is to do maintenance.

 

The problem that you don't see anything on HDMI may be due to multiple factors: the kernel, the HDMI cable and, most of all, the monitor.

If you can try another HDMI cable and monitor we can start to remove some variables from the equation.

Posted

@paradigman
hello , when you boot from multitool the rootfs is squash so it is read only.
If you don't have any hdmi it could be due to old/strange monitor resolution not handled properly from the board.
Example given , I had an old interlaced monitor and NOWAY to obtain hdmi output.

About the uart, once fatresize has occurred you should have a uart prompt. Since you were able to obtain tx from board ( rx to ttl converter..) ..... are you sure that even tx from ttl converte ( rx on board) is working properly ?
Because if you just hit " enter" you should have the # prompt

Posted
12 minutes ago, jock said:

@paradigmanah ok, now I get it... you posted the multitool uart log.
...

The problem that you don't see anything on HDMI may be due to multiple factors: the kernel, the HDMI cable and, most of all, the monitor.

If you can try another HDMI cable and monitor we can start to remove some variables from the equation.

I understand that we start the investigation at the basics, but it tells a lot about the error that if I boot the box without an SD card, so with the factory android firmware, then with this cable, I can see the image on the monitor flawlessly (which anyway not old: ASUS VX239).

 

@fabiobassa: Yes, if I hit "enter", I get a # prompt. And how from there?

Posted
Quote

Yes, if I hit "enter", I get a # prompt. And how from there?

 the hdmi part is more a @jock  's investigation 
The prompt is just telling you are actually logged in the box.  Unfortunately the script to install and manage things on uart is not so good as on hdmi :-(

 

Quote

I understand that we start the investigation at the basics,


Yes unfortunately when we don't have physically the board in our hands not so easy to debug, but please, have you the chanche to try another monitor, since we are quite sure that the cable is ok ?

Posted
1 hour ago, paradigman said:

I understand that we start the investigation at the basics, but it tells a lot about the error that if I boot the box without an SD card, so with the factory android firmware, then with this cable, I can see the image on the monitor flawlessly (which anyway not old: ASUS VX239).

I understand your doubts, but the fact is that the kernel that runs on android is not the exact copy of the kernel of the multitool, probably neither the same version.

HDMI timings are differently arranged on multitool and armbian kernels, that's something inherited from libreelec patches I merged in, so I can just trust them.

This in turn causes different behaviour than stock android.

 

Posted
20 часов назад, jock сказал:

@nafanovich Well it's strange your image works on the sdcard and does not work when you install it on eMMC.

You can use armbian  (or the multitool) on SD/USB to mount the internal eMMC and modify armbianEnv.txt from there.

Change verbosity=1 to verbosity=7 too, so you see the kernel log on the serial which is way important for your situation.

 

log:

Скрытый текст
DDR Version V1.10 20190926
In
ID:0xFFF
330MHz
DDR3
Bus Width=16 Col=11 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=2048MB
mach:3
OUT

U-Boot SPL 2021.04-armbian (Aug 08 2021 - 18:01:12 +0200)
Trying to boot from MMC2
INF [0x0] TEE-CORE:init_primary_helper:377: Initializing (1.1.0-333-gc9d95d1 #2 2018年 08月 17日 星期五 03:32:22 UTC arm)

INF [0x0] TEE-CORE:init_primary_helper:378: Release version: 2.0

INF [0x0] TEE-CORE:init_primary_helper:379: Next entry point address: 0x61000000

INF [0x0] TEE-CORE:init_teecore:83: teecore inits done


U-Boot 2021.04-armbian (Aug 08 2021 - 18:01:12 +0200)

Model: Generic Rockchip rk322x TV Box board
DRAM:  2 GiB
MMC:   dwmmc@30000000: 1, dwmmc@30020000: 0
Loading Environment from EXT4... ** File not found /boot/boot.env **

** Unable to read "/boot/boot.env" from mmc0:1 **
In:    serial@11030000
Out:   serial@11030000
Err:   serial@11030000
Model: Generic Rockchip rk322x TV Box board
Net:   eth0: ethernet@30200000
starting USB...
Bus usb@30040000: USB DWC2
Bus usb@30080000: USB EHCI 1.00
Bus usb@300c0000: USB EHCI 1.00
Bus usb@30100000: USB EHCI 1.00
scanning bus usb@30040000 for devices... 1 USB Device(s) found
scanning bus usb@30080000 for devices... 1 USB Device(s) found
scanning bus usb@300c0000 for devices... 1 USB Device(s) found
scanning bus usb@30100000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
Card did not respond to voltage select! : -110

Device 0: unknown device
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2909 bytes read in 5 ms (567.4 KiB/s)
## Executing script at 60000000
Boot script loaded from mmc 0
165 bytes read in 4 ms (40 KiB/s)
8815544 bytes read in 223 ms (37.7 MiB/s)
9871464 bytes read in 248 ms (38 MiB/s)
42632 bytes read in 8 ms (5.1 MiB/s)
232 bytes read in 6 ms (37.1 KiB/s)
Applying kernel provided DT fixup script (rk322x-fixup.scr)
## Executing script at 600f0000
## Loading init Ramdisk from Legacy Image at 64000000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    8815480 Bytes = 8.4 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 61f00000
   Booting using the fdt blob at 0x61f00000
EHCI failed to shut down host controller.
EHCI failed to shut down host controller.
   Using Device Tree in place at 61f00000, end 61f72fff

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0xf00
[    0.000000] Linux version 5.10.60-rk322x (root@runner7) (arm-linux-gnueabihf-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) #21.08.1 SMP PREEMPT Wed Aug 25 20:13:36 UTC 2021
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Generic RK322x Tv Box board
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 16 MiB at 0xdf000000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000060000000-0x000000009fffffff]
[    0.000000]   HighMem  [mem 0x00000000a0000000-0x00000000dfffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000060000000-0x00000000683fffff]
[    0.000000]   node   0: [mem 0x0000000069200000-0x00000000dfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000060000000-0x00000000dfffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv65535.65535 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 20 pages/cpu s51800 r8192 d21928 u81920
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 518400
[    0.000000] Kernel command line: earlyprintk root=UUID=754412b6-be4d-49b8-9611-fffd99621042 console=ttyS2,115200n8 console=tty1 rootwait rootfstype=ext4  consoleblank=0 loglevel=7 ubootpart=9a165f20-01 usb-storage.quirks= coherent_pool=2M  cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] allocated 2097152 bytes of page_ext
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 2011908K/2082816K available (16384K kernel code, 2147K rwdata, 3212K rodata, 1024K init, 597K bss, 54524K reserved, 16384K cma-reserved, 1032192K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 50189 entries in 99 pages
[    0.000000] ftrace: allocated 99 pages with 4 groups
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x3a8/0x570 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.000010] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000032] Switching to timer-based delay loop, resolution 41ns
[    0.001453] Console: colour dummy device 80x30
[    0.002431] printk: console [tty1] enabled
[    0.002514] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.002574] pid_max: default: 32768 minimum: 301
[    0.002795] LSM: Security Framework initializing
[    0.002853] Yama: becoming mindful.
[    0.003040] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.003105] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.004818] CPU: Testing write buffer coherency: ok
[    0.005425] /cpus/cpu@f00 missing clock-frequency property
[    0.005511] /cpus/cpu@f01 missing clock-frequency property
[    0.005573] /cpus/cpu@f02 missing clock-frequency property
[    0.005635] /cpus/cpu@f03 missing clock-frequency property
[    0.005672] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.007269] Setting up static identity map for 0x60100000 - 0x60100060
[    0.007576] rcu: Hierarchical SRCU implementation.
[    0.008844] smp: Bringing up secondary CPUs ...
[    0.010294] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.011981] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.013519] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.013792] smp: Brought up 1 node, 4 CPUs
[    0.013915] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.013946] CPU: All CPU(s) started in SVC mode.
[    0.015365] devtmpfs: initialized
[    0.030525] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.031042] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.031122] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.032768] pinctrl core: initialized pinctrl subsystem
[    0.034955] NET: Registered protocol family 16
[    0.040612] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.041672] audit: initializing netlink subsys (disabled)
[    0.042542] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.043482] thermal_sys: Registered thermal governor 'step_wise'
[    0.044087] cpuidle: using governor ladder
[    0.044220] cpuidle: using governor menu
[    0.045194] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.045252] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.045722] Rockchip SIP initialized, version 0x2
[    0.201960] raid6: neonx8   gen()   622 MB/s
[    0.270181] raid6: neonx8   xor()   463 MB/s
[    0.338443] raid6: neonx4   gen()   676 MB/s
[    0.406691] raid6: neonx4   xor()   508 MB/s
[    0.474943] raid6: neonx2   gen()   733 MB/s
[    0.543194] raid6: neonx2   xor()   525 MB/s
[    0.611462] raid6: neonx1   gen()   654 MB/s
[    0.679674] raid6: neonx1   xor()   454 MB/s
[    0.747976] raid6: int32x8  gen()   191 MB/s
[    0.816172] raid6: int32x8  xor()   118 MB/s
[    0.884490] raid6: int32x4  gen()   203 MB/s
[    0.952745] raid6: int32x4  xor()   146 MB/s
[    1.020881] raid6: int32x2  gen()   247 MB/s
[    1.089041] raid6: int32x2  xor()   143 MB/s
[    1.157296] raid6: int32x1  gen()   257 MB/s
[    1.225457] raid6: int32x1  xor()   139 MB/s
[    1.225490] raid6: using algorithm neonx2 gen() 733 MB/s
[    1.225520] raid6: .... xor() 525 MB/s, rmw enabled
[    1.225549] raid6: using neon recovery algorithm
[    1.227792] vcc_host: supplied by vcc_sys
[    1.229329] vccio_1v8: supplied by vcc_sys
[    1.230340] vccio_3v3: supplied by vcc_sys
[    1.231490] vcc_otg_vbus: supplied by vcc_sys
[    1.232550] vcc_phy: supplied by vccio_1v8
[    1.234210] iommu: Default domain type: Translated
[    1.239426] SCSI subsystem initialized
[    1.239895] usbcore: registered new interface driver usbfs
[    1.240016] usbcore: registered new interface driver hub
[    1.240133] usbcore: registered new device driver usb
[    1.240350] mc: Linux media interface: v0.10
[    1.240432] videodev: Linux video capture interface: v2.00
[    1.240659] pps_core: LinuxPPS API ver. 1 registered
[    1.240699] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.240881] PTP clock support registered
[    1.244116] Bluetooth: Core ver 2.22
[    1.244265] NET: Registered protocol family 31
[    1.244301] Bluetooth: HCI device and connection manager initialized
[    1.244350] Bluetooth: HCI socket layer initialized
[    1.244389] Bluetooth: L2CAP socket layer initialized
[    1.244457] Bluetooth: SCO socket layer initialized
[    1.244539] NetLabel: Initializing
[    1.244568] NetLabel:  domain hash size = 128
[    1.244593] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.244767] NetLabel:  unlabeled traffic allowed by default
[    1.247029] clocksource: Switched to clocksource arch_sys_counter
[    2.800024] VFS: Disk quotas dquot_6.6.0
[    2.800214] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.800585] FS-Cache: Loaded
[    2.801087] CacheFiles: Loaded
[    2.818556] NET: Registered protocol family 2
[    2.819149] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    2.821103] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 12288 bytes, linear)
[    2.821439] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    2.821602] TCP bind hash table entries: 8192 (order: 5, 163840 bytes, linear)
[    2.821988] TCP: Hash tables configured (established 8192 bind 8192)
[    2.822278] UDP hash table entries: 512 (order: 2, 24576 bytes, linear)
[    2.822395] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes, linear)
[    2.822986] NET: Registered protocol family 1
[    2.824219] RPC: Registered named UNIX socket transport module.
[    2.824282] RPC: Registered udp transport module.
[    2.824310] RPC: Registered tcp transport module.
[    2.824338] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.826416] Trying to unpack rootfs image as initramfs...
[    3.541995] Freeing initrd memory: 8612K
[    3.544074] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    3.547015] Initialise system trusted keyrings
[    3.547578] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    3.557256] zbud: loaded
[    3.559870] FS-Cache: Netfs 'nfs' registered for caching
[    3.561233] NFS: Registering the id_resolver key type
[    3.561363] Key type id_resolver registered
[    3.561395] Key type id_legacy registered
[    3.561613] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.561670] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    3.562166] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    3.698542] xor: measuring software checksum speed
[    3.708140]    arm4regs        :  1044 MB/sec
[    3.721788]    8regs           :   725 MB/sec
[    3.735822]    32regs          :   704 MB/sec
[    3.745455]    neon            :  1029 MB/sec
[    3.745487] xor: using function: arm4regs (1044 MB/sec)
[    3.745523] async_tx: api initialized (async)
[    3.745563] Key type asymmetric registered
[    3.745593] Asymmetric key parser 'x509' registered
[    3.745730] bounce: pool size: 64 pages
[    3.745865] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    3.746263] io scheduler mq-deadline registered
[    3.746309] io scheduler kyber registered
[    3.746724] io scheduler bfq registered
[    3.748828] inno-hdmi-phy 12030000.hdmi-phy: IRQ index 0 not found
[    3.765181] dma-pl330 110f0000.pdma: Loaded driver for PL330 DMAC-241330
[    3.765260] dma-pl330 110f0000.pdma:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    3.768421] vdd_arm: supplied by vcc_sys
[    3.769621] vdd_log: supplied by vcc_sys
[    3.771069] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.774375] printk: console [ttyS2] disabled
[    3.774672] 11030000.serial: ttyS2 at MMIO 0x11030000 (irq = 39, base_baud = 1500000) is a 16550A
[    4.910622] printk: console [ttyS2] enabled
[    4.918647] rockchip-vop 20050000.vop: Adding to iommu group 2
[    4.929626] usbcore: registered new interface driver udl
[    4.937975] brd: module loaded
[    4.963178] loop: module loaded
[    4.970032] libphy: Fixed MDIO Bus: probed
[    4.974923] tun: Universal TUN/TAP device driver, 1.6
[    4.981057] CAN device driver interface
[    4.986713] rk_gmac-dwmac 30200000.ethernet: IRQ eth_wake_irq not found
[    4.994216] rk_gmac-dwmac 30200000.ethernet: IRQ eth_lpi not found
[    5.001383] rk_gmac-dwmac 30200000.ethernet: PTP uses main clock
[    5.008578] rk_gmac-dwmac 30200000.ethernet: clock input or output? (output).
[    5.016641] rk_gmac-dwmac 30200000.ethernet: TX delay(0x26).
[    5.023022] rk_gmac-dwmac 30200000.ethernet: RX delay(0x11).
[    5.029429] rk_gmac-dwmac 30200000.ethernet: integrated PHY? (yes).
[    5.036630] rk_gmac-dwmac 30200000.ethernet: cannot get clock clk_mac_speed
[    5.049618] rk_gmac-dwmac 30200000.ethernet: init for RMII
[    5.095414] rk_gmac-dwmac 30200000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    5.103527] rk_gmac-dwmac 30200000.ethernet:         DWMAC1000
[    5.109420] rk_gmac-dwmac 30200000.ethernet: DMA HW capability register supported
[    5.117844] rk_gmac-dwmac 30200000.ethernet: RX Checksum Offload Engine supported
[    5.126264] rk_gmac-dwmac 30200000.ethernet: COE Type 2
[    5.132156] rk_gmac-dwmac 30200000.ethernet: TX Checksum insertion supported
[    5.140088] rk_gmac-dwmac 30200000.ethernet: Wake-Up On Lan supported
[    5.147477] rk_gmac-dwmac 30200000.ethernet: Normal descriptors
[    5.154161] rk_gmac-dwmac 30200000.ethernet: Ring mode enabled
[    5.160734] rk_gmac-dwmac 30200000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    5.170859] libphy: stmmac: probed
[    5.195419] usbcore: registered new interface driver rt2500usb
[    5.202173] usbcore: registered new interface driver rt73usb
[    5.208650] usbcore: registered new interface driver rt2800usb
[    5.215336] usbcore: registered new interface driver rtl8xxxu
[    5.221892] usbcore: registered new interface driver rndis_wlan
[    5.228636] usbcore: registered new interface driver cdc_ether
[    5.235299] usbcore: registered new interface driver rndis_host
[    5.243104] dwc2 30040000.usb: supply vusb_d not found, using dummy regulator
[    5.251581] dwc2 30040000.usb: supply vusb_a not found, using dummy regulator
[    5.273212] dwc2 30040000.usb: DWC OTG Controller
[    5.278670] dwc2 30040000.usb: new USB bus registered, assigned bus number 1
[    5.286698] dwc2 30040000.usb: irq 57, io mem 0x30040000
[    5.293111] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    5.302477] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.310626] usb usb1: Product: DWC OTG Controller
[    5.315938] usb usb1: Manufacturer: Linux 5.10.60-rk322x dwc2_hsotg
[    5.322995] usb usb1: SerialNumber: 30040000.usb
[    5.329353] hub 1-0:1.0: USB hub found
[    5.333782] hub 1-0:1.0: 1 port detected
[    5.340723] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.348461] ehci-platform: EHCI generic platform driver
[    5.357368] ehci-platform 30080000.usb: EHCI Host Controller
[    5.364255] ehci-platform 30080000.usb: new USB bus registered, assigned bus number 2
[    5.373611] ehci-platform 30080000.usb: irq 58, io mem 0x30080000
[    5.394996] ehci-platform 30080000.usb: USB 2.0 started, EHCI 1.00
[    5.402362] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    5.411691] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.419836] usb usb2: Product: EHCI Host Controller
[    5.425332] usb usb2: Manufacturer: Linux 5.10.60-rk322x ehci_hcd
[    5.432198] usb usb2: SerialNumber: 30080000.usb
[    5.438510] hub 2-0:1.0: USB hub found
[    5.442961] hub 2-0:1.0: 1 port detected
[    5.450991] ehci-platform 300c0000.usb: EHCI Host Controller
[    5.457885] ehci-platform 300c0000.usb: new USB bus registered, assigned bus number 3
[    5.467262] ehci-platform 300c0000.usb: irq 60, io mem 0x300c0000
[    5.486997] ehci-platform 300c0000.usb: USB 2.0 started, EHCI 1.00
[    5.494397] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    5.503744] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.511891] usb usb3: Product: EHCI Host Controller
[    5.517397] usb usb3: Manufacturer: Linux 5.10.60-rk322x ehci_hcd
[    5.524259] usb usb3: SerialNumber: 300c0000.usb
[    5.530533] hub 3-0:1.0: USB hub found
[    5.534965] hub 3-0:1.0: 1 port detected
[    5.543001] ehci-platform 30100000.usb: EHCI Host Controller
[    5.549946] ehci-platform 30100000.usb: new USB bus registered, assigned bus number 4
[    5.559351] ehci-platform 30100000.usb: irq 62, io mem 0x30100000
[    5.582986] ehci-platform 30100000.usb: USB 2.0 started, EHCI 1.00
[    5.590348] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    5.599687] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.607823] usb usb4: Product: EHCI Host Controller
[    5.613324] usb usb4: Manufacturer: Linux 5.10.60-rk322x ehci_hcd
[    5.620192] usb usb4: SerialNumber: 30100000.usb
[    5.626563] hub 4-0:1.0: USB hub found
[    5.630959] hub 4-0:1.0: 1 port detected
[    5.636732] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.643808] ohci-platform: OHCI generic platform driver
[    5.650483] ohci-platform 300a0000.usb: Generic Platform OHCI controller
[    5.658547] ohci-platform 300a0000.usb: new USB bus registered, assigned bus number 5
[    5.668533] ohci-platform 300a0000.usb: irq 59, io mem 0x300a0000
[    5.739303] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    5.748642] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.756786] usb usb5: Product: Generic Platform OHCI controller
[    5.763455] usb usb5: Manufacturer: Linux 5.10.60-rk322x ohci_hcd
[    5.770319] usb usb5: SerialNumber: 300a0000.usb
[    5.776663] hub 5-0:1.0: USB hub found
[    5.781019] hub 5-0:1.0: 1 port detected
[    5.787130] ohci-platform 300e0000.usb: Generic Platform OHCI controller
[    5.795475] ohci-platform 300e0000.usb: new USB bus registered, assigned bus number 6
[    5.804768] ohci-platform 300e0000.usb: irq 61, io mem 0x300e0000
[    5.875383] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    5.884729] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.892867] usb usb6: Product: Generic Platform OHCI controller
[    5.899740] usb usb6: Manufacturer: Linux 5.10.60-rk322x ohci_hcd
[    5.906638] usb usb6: SerialNumber: 300e0000.usb
[    5.913016] hub 6-0:1.0: USB hub found
[    5.917365] hub 6-0:1.0: 1 port detected
[    5.923489] ohci-platform 30120000.usb: Generic Platform OHCI controller
[    5.931921] ohci-platform 30120000.usb: new USB bus registered, assigned bus number 7
[    5.941299] ohci-platform 30120000.usb: irq 63, io mem 0x30120000
[    6.011313] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    6.020651] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.028932] usb usb7: Product: Generic Platform OHCI controller
[    6.035615] usb usb7: Manufacturer: Linux 5.10.60-rk322x ohci_hcd
[    6.042479] usb usb7: SerialNumber: 30120000.usb
[    6.048795] hub 7-0:1.0: USB hub found
[    6.053148] hub 7-0:1.0: 1 port detected
[    6.059192] usbcore: registered new interface driver usb-storage
[    6.067149] usbcore: registered new interface driver iforce
[    6.073617] usbcore: registered new interface driver xpad
[    6.079917] usbcore: registered new interface driver usbtouchscreen
[    6.087032] usb 5-1: new low-speed USB device number 2 using ohci-platform
[    6.095840] i2c /dev entries driver
[    6.103175] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
[    6.113324] device-mapper: raid: Loading target version 1.15.1
[    6.120299] Bluetooth: HCI UART driver ver 2.3
[    6.125358] Bluetooth: HCI UART protocol H4 registered
[    6.131152] Bluetooth: HCI UART protocol ATH3K registered
[    6.137437] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    6.144649] usbcore: registered new interface driver bfusb
[    6.151038] usbcore: registered new interface driver btusb
[    6.159943] Synopsys Designware Multimedia Card Interface Driver
[    6.168313] dwmmc_rockchip 30000000.mmc: IDMAC supports 32-bit address mode.
[    6.168508] dwmmc_rockchip 30010000.mmc: IDMAC supports 32-bit address mode.
[    6.169041] dwmmc_rockchip 30020000.mmc: IDMAC supports 32-bit address mode.
[    6.169225] dwmmc_rockchip 30020000.mmc: Using internal DMA controller.
[    6.169244] dwmmc_rockchip 30020000.mmc: Version ID is 270a
[    6.169396] dwmmc_rockchip 30020000.mmc: DW MMC controller at irq 56,32 bit host data width,256 deep fifo
[    6.169843] mmc_host mmc2: card is non-removable.
[    6.176585] dwmmc_rockchip 30000000.mmc: Using internal DMA controller.
[    6.182753] mmc_host mmc2: Bus speed (slot 0) = 2343750Hz (slot req 400000Hz, actual 390625HZ div = 3)
[    6.184533] dwmmc_rockchip 30010000.mmc: Using internal DMA controller.
[    6.192332] dwmmc_rockchip 30000000.mmc: Version ID is 270a
[    6.192352] ledtrig-cpu: registered to indicate activity on CPUs
[    6.192513] hid: raw HID events driver (C) Jiri Kosina
[    6.193226] usbcore: registered new interface driver usbhid
[    6.193233] usbhid: USB HID core driver
[    6.193826] ashmem: initialized
[    6.194636] rockchip-dfi 11210000.dfi: rk3228_dfi_init enter
[    6.194714] rockchip-dfi 11210000.dfi: rk3228-dfi initialized, dram type: 0x3, channels: 1
[    6.198707] NET: Registered protocol family 10
[    6.199848] dwmmc_rockchip 30010000.mmc: Version ID is 270a
[    6.201253] Segment Routing with IPv6
[    6.201393] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    6.203640] NET: Registered protocol family 17
[    6.203759] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    6.203767] can: controller area network core
[    6.203903] NET: Registered protocol family 29
[    6.204319] Bluetooth: RFCOMM socket layer initialized
[    6.204389] Bluetooth: RFCOMM ver 1.11
[    6.204416] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    6.204436] Bluetooth: HIDP socket layer initialized
[    6.204820] 8021q: 802.1Q VLAN Support v1.8
[    6.204890] lib80211: common routines for IEEE802.11 drivers
[    6.205000] Key type dns_resolver registered
[    6.205635] ThumbEE CPU extension supported.
[    6.205658] Registering SWP/SWPB emulation handler
[    6.206207] Loading compiled-in X.509 certificates
[    6.206262] dwmmc_rockchip 30000000.mmc: DW MMC controller at irq 54,32 bit host data width,256 deep fifo
[    6.206689] dwmmc_rockchip 30000000.mmc: Got CD GPIO
[    6.217075] dwmmc_rockchip 30010000.mmc: DW MMC controller at irq 55,32 bit host data width,256 deep fifo
[    6.219857] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    6.231492] zswap: loaded using pool zstd/z3fold
[    6.249144] Key type ._fscrypt registered
[    6.261650] Key type .fscrypt registered
[    6.273645] Key type fscrypt-provisioning registered
[    6.275623] Btrfs loaded, crc32c=crc32c-generic
[    6.323857] inno-hdmi-phy 12030000.hdmi-phy: IRQ index 0 not found
[    6.339846] inno-hdmi-phy 12030000.hdmi-phy: phy_flag is: 0
[    6.344529] dwmmc_rockchip 30010000.mmc: allocated mmc-pwrseq
[    6.353045] rockchip-drm display-subsystem: bound 20050000.vop (ops 0xb1177254)
[    6.355401] mmc_host mmc1: card is non-removable.
[    6.360298] dwhdmi-rockchip 200a0000.hdmi: Detected HDMI TX controller v2.01a with HDCP (inno_dw_hdmi_phy2)
[    6.372055] usb 5-1: New USB device found, idVendor=046d, idProduct=c31c, bcdDevice=64.00
[    6.378065] dwhdmi-rockchip 200a0000.hdmi: registered DesignWare HDMI I2C bus driver
[    6.379414] mmc_host mmc1: Bus speed (slot 0) = 976562Hz (slot req 400000Hz, actual 244140HZ div = 2)
[    6.383184] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    6.389838] rockchip-drm display-subsystem: bound 200a0000.hdmi (ops 0xb117a97c)
[    6.392868] usb 5-1: Product: USB Keyboard
[    6.436321] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    6.441182] usb 5-1: Manufacturer: Logitech
[    6.447181] random: fast init done
[    6.470932] dwmmc_rockchip 30020000.mmc: Unexpected interrupt latency
[    6.586028] mmc1: new high speed SDIO card at address 0001
[    6.592404] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0)
[    6.604106] mmc2: new high speed MMC card at address 0001
[    6.612542] mmcblk2: mmc2:0001 8GND3R 7.28 GiB
[    6.621246] mmcblk2boot0: mmc2:0001 8GND3R partition 1 4.00 MiB
[    6.628881] mmcblk2boot1: mmc2:0001 8GND3R partition 2 4.00 MiB
[    6.636923] input: Logitech USB Keyboard as /devices/platform/300a0000.usb/usb5/5-1/5-1:1.0/0003:046D:C31C.0001/input/input0
[    6.649670] mmcblk2rpmb: mmc2:0001 8GND3R partition 3 512 KiB, chardev (241:0)
[    6.661145]  mmcblk2: p1
[    6.717738] hid-generic 0003:046D:C31C.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-300a0000.usb-1/input0
[    6.745342] input: Logitech USB Keyboard Consumer Control as /devices/platform/300a0000.usb/usb5/5-1/5-1:1.1/0003:046D:C31C.0002/input/input1
[    6.820491] input: Logitech USB Keyboard System Control as /devices/platform/300a0000.usb/usb5/5-1/5-1:1.1/0003:046D:C31C.0002/input/input2
[    6.821678] hid-generic 0003:046D:C31C.0002: input,hidraw1: USB HID v1.10 Device [Logitech USB Keyboard] on usb-300a0000.usb-1/input1
[    6.847140] Console: switching to colour frame buffer device 240x67
[    6.949011] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device
[    6.960065] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[    6.971122] of_cfs_init
[    6.974126] of_cfs_init: OK
[    6.978124] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    7.025841] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    7.034358] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    7.044517] cfg80211: failed to load regulatory.db
[    7.057070] Freeing unused kernel memory: 1024K
[    7.083467] Run /init as init process
[   10.532284] EXT4-fs (mmcblk2p1): mounted filesystem with writeback data mode. Opts: (null)
[   11.233085] systemd[1]: System time before build time, advancing clock.
[   11.305089] systemd[1]: systemd 245.4-4ubuntu3.11 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)
[   11.333526] systemd[1]: Detected architecture arm.
[   11.376571] systemd[1]: Set hostname to <rk322x-box>.
[   11.651383] dw-apb-uart 11030000.serial: forbid DMA for kernel console
[   12.992929] random: systemd: uninitialized urandom read (16 bytes read)
[   13.018060] systemd[1]: system-modprobe.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[   13.049133] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[   13.084801] systemd[1]: Created slice system-modprobe.slice.
[   13.126633] random: systemd: uninitialized urandom read (16 bytes read)
[   13.154615] systemd[1]: Created slice system-serial\x2dgetty.slice.
[   13.195922] random: systemd: uninitialized urandom read (16 bytes read)
[   13.223624] systemd[1]: Created slice User and Session Slice.
[   13.265904] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   13.312288] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   13.359615] systemd[1]: Reached target Remote File Systems.
[   13.401700] systemd[1]: Reached target Slices.
[   13.442326] systemd[1]: Reached target Swap.
[   13.483174] systemd[1]: Reached target System Time Set.
[   13.531785] systemd[1]: Listening on Syslog Socket.
[   13.574567] systemd[1]: Listening on fsck to fsckd communication Socket.
[   13.618875] systemd[1]: Listening on initctl Compatibility Named Pipe.
[   13.664795] systemd[1]: Listening on Journal Audit Socket.
[   13.707576] systemd[1]: Listening on Journal Socket (/dev/log).
[   13.750330] systemd[1]: Listening on Journal Socket.
[   13.792156] systemd[1]: Listening on udev Control Socket.
[   13.833769] systemd[1]: Listening on udev Kernel Socket.
[   13.875120] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[   13.914908] systemd[1]: Mounting POSIX Message Queue File System...
[   13.973488] systemd[1]: Mounting Kernel Debug File System...
[   14.031101] systemd[1]: Mounting Kernel Trace File System...
[   14.092058] systemd[1]: Starting Restore / save the current clock...
[   14.154743] systemd[1]: Starting Set the console keyboard layout...
[   14.221840] systemd[1]: Starting Create list of static device nodes for the current kernel...
[   14.272842] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[   14.294540] systemd[1]: Started Nameserver information manager.
[   14.351694] systemd[1]: Reached target Network (Pre).
[   14.400264] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[   14.429673] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[   14.480260] systemd[1]: Starting Load Kernel Modules...
[   14.547757] systemd[1]: Starting Remount Root and Kernel File Systems...
[   14.620361] systemd[1]: Starting udev Coldplug all Devices...
[   14.697989] systemd[1]: Mounted POSIX Message Queue File System.
[   14.710756] EXT4-fs (mmcblk2p1): re-mounted. Opts: commit=600,errors=remount-ro
[   14.784222] systemd[1]: Mounted Kernel Debug File System.
[   14.830672] systemd[1]: Mounted Kernel Trace File System.
[   14.881484] systemd[1]: Finished Restore / save the current clock.
[   14.936822] systemd[1]: Finished Set the console keyboard layout.
[   14.990594] systemd[1]: Finished Create list of static device nodes for the current kernel.
[   15.053074] systemd[1]: Finished Load Kernel Modules.
[   15.101030] systemd[1]: Finished Remount Root and Kernel File Systems.
[   15.158358] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
[   15.202038] systemd[1]: Mounting Kernel Configuration File System...
[   15.250600] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[   15.277922] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[   15.320694] systemd[1]: Starting Load/Save Random Seed...
[   15.387829] systemd[1]: Starting Apply Kernel Variables...
[   15.457887] systemd[1]: Starting Create System Users...
[   15.522018] systemd[1]: Mounted Kernel Configuration File System.
[   15.677894] systemd[1]: Failed to start Create System Users.

 

Posted

Finally, I could compile Lakka (Retroarch fork of LibreElec) for RK322x,  thanks to Lakka  LibreElec and modified knaerzche LibreElec for provide neccessary source code.

Retroarch interface has more functions than LibreElec game addon. Performance is excellent to PSX @60fps level. I could upload binary if someone interested.

 

On 10/12/2021 at 5:33 PM, jock said:

@tommy

I would say you to give a chance to the mainline kernel too. Lima driver has decent performance and you don't have to lose time around proprietary Mali OpenGLES-only drivers swapping links under the hood. (BTW for legacy kernel there is the media script link on first page that should install the libraries in the right places).

 

For snes9x you should not need particular load on the GPU since it has just to render the framebuffer. Lima performances should suffice.

 

 

I just look into mainline kenel. I use Armbian Focal kernel 5.10.y at main download page still study how to use hardware acceleration by Lima driver. Retroarch looks like slow because no active hardware acceleration yet. Hope I will figure out soon.

Posted
12 minutes ago, tommy said:

I just look into mainline kenel. I use Armbian Focal kernel 5.10.y at main download page still study how to use hardware acceleration by Lima driver. Retroarch looks like slow because no active hardware acceleration yet. Hope I will figure out soon.

Can't remember if the upstream image has lima enabled in X11 or not.

Anyway check /etc/X11/xorg.conf.d/40-serverflags.conf and in case Option "AccelMethod" is set to "none" change it to "glamor".

It was set to none because X.org performance is very slow with older lima + mesa and software cursor.

If you wish to try I can provide a cutting edge image with kernel 5.14 and Ubuntu Hirsute (=> much newer Mesa) and hardware cursor, which should radically change the experience.

 

BTW: I'm pretty interested in trying retroarch just for fun; there is a "gaming on arm" club where you may give some hints or write down a tutorial on how to compile. Maybe @NicoD may give you some help.

Posted

I am interest your new cutting edge armbian image. Could you provide me your links? Thank you in advance.

 

 

 

Lakka image files for rk322x

 

rk3228a-mxq4kpro <- I tested this image

https://mega.nz/file/dJgDXIbB#7yOLyHmuptrP_8aswOCxKdk2aEffOQDUnH-9lIAg8jw

 

rk3229-a95xr1

https://mega.nz/file/hIwFHCrZ#nWeLsKnBCXcCwtsDp8_MklgYsqEF5r0N-a3iVQUeLXI

 

Any images has dtb in first fat partion. You may edit extlinux/extlinux.conf to correct device. It has samba service that can upload game roms but in my case wifi driver not work, only LAN work for my tv box.

 

 

Posted

@nafanovich sorry but can't see anything wrong in the log you provided, except for the last message Failed to start Create System Users which is something I really don't have any clue about.

 

You may try to boot from sdcard, mount /dev/mmcblk2p1 on /mnt and add emmc-pins overlay to overlays in /mnt/boot/armbianEnv.txt directory reboot and see if something changes, but otherwise it looks like a pretty clean log to me with no particular hardware errors.

Posted

 

11 hours ago, jock said:

@tommy Here it is, the latest 5.14 kernel with Ubuntu Hirsute: https://users.armbian.com/jock/rk322x/Armbian_21.11.0-trunk_Rk322x-box_hirsute_edge_5.14.12_xfce_desktop.img.xz

 

I didn't even test the image, I hope it boots!

 

I tested in terminal mode ,'$ sudo systemctl set-default multi-user" which has really good performance. Your cutting edge armbian can achieve PSX full 60fps speed in retroarch (however, in legacy, I use wrong parameter which seriously impact performance) and snes9x framerate improved. I really surprise it is faster than legacy in my case. Really great.

Posted
22 часа назад, jock сказал:

You may try to boot from sdcard, mount /dev/mmcblk2p1 on /mnt and add emmc-pins overlay to overlays in /mnt/boot/armbianEnv.txt directory reboot and see if something changes, but otherwise it looks like a pretty clean log to me with no particular hardware errors.

same things

Скрытый текст
DDR Version V1.10 20190926
In
ID:0xFFF
330MHz
DDR3
Bus Width=16 Col=11 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=2048MB
mach:3
OUT

U-Boot SPL 2021.04-armbian (Aug 08 2021 - 18:01:12 +0200)
Trying to boot from MMC2
INF [0x0] TEE-CORE:init_primary_helper:377: Initializing (1.1.0-333-gc9d95d1 #2 2018年 08月 17日 星期五 03:32:22 UTC arm)

INF [0x0] TEE-CORE:init_primary_helper:378: Release version: 2.0

INF [0x0] TEE-CORE:init_primary_helper:379: Next entry point address: 0x61000000

INF [0x0] TEE-CORE:init_teecore:83: teecore inits done


U-Boot 2021.04-armbian (Aug 08 2021 - 18:01:12 +0200)

Model: Generic Rockchip rk322x TV Box board
DRAM:  2 GiB
MMC:   dwmmc@30000000: 1, dwmmc@30020000: 0
Loading Environment from EXT4... ** File not found /boot/boot.env **

** Unable to read "/boot/boot.env" from mmc0:1 **
In:    serial@11030000
Out:   serial@11030000
Err:   serial@11030000
Model: Generic Rockchip rk322x TV Box board
Net:   eth0: ethernet@30200000
starting USB...
Bus usb@30040000: USB DWC2
Bus usb@30080000: USB EHCI 1.00
Bus usb@300c0000: USB EHCI 1.00
Bus usb@30100000: USB EHCI 1.00
scanning bus usb@30040000 for devices... 1 USB Device(s) found
scanning bus usb@30080000 for devices... 1 USB Device(s) found
scanning bus usb@300c0000 for devices... 1 USB Device(s) found
scanning bus usb@30100000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
Card did not respond to voltage select! : -110

Device 0: unknown device
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2909 bytes read in 5 ms (567.4 KiB/s)
## Executing script at 60000000
Boot script loaded from mmc 0
184 bytes read in 5 ms (35.2 KiB/s)
8815544 bytes read in 223 ms (37.7 MiB/s)
9871464 bytes read in 248 ms (38 MiB/s)
42632 bytes read in 8 ms (5.1 MiB/s)
713 bytes read in 7 ms (98.6 KiB/s)
Applying kernel provided DT overlay rk322x-emmc-pins.dtbo
232 bytes read in 7 ms (32.2 KiB/s)
Applying kernel provided DT fixup script (rk322x-fixup.scr)
## Executing script at 600f0000
## Loading init Ramdisk from Legacy Image at 64000000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    8815480 Bytes = 8.4 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 61f00000
   Booting using the fdt blob at 0x61f00000
EHCI failed to shut down host controller.
EHCI failed to shut down host controller.
   Using Device Tree in place at 61f00000, end 61f72fff

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0xf00
[    0.000000] Linux version 5.10.60-rk322x (root@runner7) (arm-linux-gnueabihf-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) #21.08.1 SMP PREEMPT Wed Aug 25 20:13:36 UTC 2021
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Generic RK322x Tv Box board
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 16 MiB at 0xdf000000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000060000000-0x000000009fffffff]
[    0.000000]   HighMem  [mem 0x00000000a0000000-0x00000000dfffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000060000000-0x00000000683fffff]
[    0.000000]   node   0: [mem 0x0000000069200000-0x00000000dfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000060000000-0x00000000dfffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv65535.65535 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 20 pages/cpu s51800 r8192 d21928 u81920
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 518400
[    0.000000] Kernel command line: earlyprintk root=UUID=754412b6-be4d-49b8-9611-fffd99621042 console=ttyS2,115200n8 console=tty1 rootwait rootfstype=ext4  consoleblank=0 loglevel=7 ubootpart=9a165f20-01 usb-storage.quirks= coherent_pool=2M  cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] allocated 2097152 bytes of page_ext
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 2011908K/2082816K available (16384K kernel code, 2147K rwdata, 3212K rodata, 1024K init, 597K bss, 54524K reserved, 16384K cma-reserved, 1032192K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 50189 entries in 99 pages
[    0.000000] ftrace: allocated 99 pages with 4 groups
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x3a8/0x570 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.000011] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000032] Switching to timer-based delay loop, resolution 41ns
[    0.001458] Console: colour dummy device 80x30
[    0.002441] printk: console [tty1] enabled
[    0.002525] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.002585] pid_max: default: 32768 minimum: 301
[    0.002803] LSM: Security Framework initializing
[    0.002860] Yama: becoming mindful.
[    0.003049] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.003115] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.004831] CPU: Testing write buffer coherency: ok
[    0.005433] /cpus/cpu@f00 missing clock-frequency property
[    0.005518] /cpus/cpu@f01 missing clock-frequency property
[    0.005579] /cpus/cpu@f02 missing clock-frequency property
[    0.005643] /cpus/cpu@f03 missing clock-frequency property
[    0.005680] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.007260] Setting up static identity map for 0x60100000 - 0x60100060
[    0.007563] rcu: Hierarchical SRCU implementation.
[    0.008847] smp: Bringing up secondary CPUs ...
[    0.010293] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.011976] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.013548] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.013814] smp: Brought up 1 node, 4 CPUs
[    0.013936] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.013969] CPU: All CPU(s) started in SVC mode.
[    0.015388] devtmpfs: initialized
[    0.030507] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.031022] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.031105] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.032739] pinctrl core: initialized pinctrl subsystem
[    0.034975] NET: Registered protocol family 16
[    0.040853] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.041894] audit: initializing netlink subsys (disabled)
[    0.042509] audit: type=2000 audit(0.040:1): state=initialized audit_enabled=0 res=1
[    0.043729] thermal_sys: Registered thermal governor 'step_wise'
[    0.044344] cpuidle: using governor ladder
[    0.044578] cpuidle: using governor menu
[    0.045475] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.045527] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.046002] Rockchip SIP initialized, version 0x2
[    0.202003] raid6: neonx8   gen()   624 MB/s
[    0.270232] raid6: neonx8   xor()   470 MB/s
[    0.338525] raid6: neonx4   gen()   676 MB/s
[    0.406734] raid6: neonx4   xor()   511 MB/s
[    0.475008] raid6: neonx2   gen()   733 MB/s
[    0.543241] raid6: neonx2   xor()   525 MB/s
[    0.611509] raid6: neonx1   gen()   654 MB/s
[    0.679704] raid6: neonx1   xor()   455 MB/s
[    0.747995] raid6: int32x8  gen()   191 MB/s
[    0.816212] raid6: int32x8  xor()   118 MB/s
[    0.884624] raid6: int32x4  gen()   203 MB/s
[    0.952786] raid6: int32x4  xor()   146 MB/s
[    1.020979] raid6: int32x2  gen()   247 MB/s
[    1.089102] raid6: int32x2  xor()   143 MB/s
[    1.157368] raid6: int32x1  gen()   257 MB/s
[    1.225530] raid6: int32x1  xor()   139 MB/s
[    1.225564] raid6: using algorithm neonx2 gen() 733 MB/s
[    1.225593] raid6: .... xor() 525 MB/s, rmw enabled
[    1.225622] raid6: using neon recovery algorithm
[    1.227889] vcc_host: supplied by vcc_sys
[    1.229386] vccio_1v8: supplied by vcc_sys
[    1.230388] vccio_3v3: supplied by vcc_sys
[    1.231579] vcc_otg_vbus: supplied by vcc_sys
[    1.232666] vcc_phy: supplied by vccio_1v8
[    1.234235] iommu: Default domain type: Translated
[    1.239457] SCSI subsystem initialized
[    1.239928] usbcore: registered new interface driver usbfs
[    1.240053] usbcore: registered new interface driver hub
[    1.240168] usbcore: registered new device driver usb
[    1.240392] mc: Linux media interface: v0.10
[    1.240484] videodev: Linux video capture interface: v2.00
[    1.240729] pps_core: LinuxPPS API ver. 1 registered
[    1.240766] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.240829] PTP clock support registered
[    1.244416] Bluetooth: Core ver 2.22
[    1.244794] NET: Registered protocol family 31
[    1.244851] Bluetooth: HCI device and connection manager initialized
[    1.244931] Bluetooth: HCI socket layer initialized
[    1.244977] Bluetooth: L2CAP socket layer initialized
[    1.245066] Bluetooth: SCO socket layer initialized
[    1.245166] NetLabel: Initializing
[    1.245200] NetLabel:  domain hash size = 128
[    1.245233] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.245444] NetLabel:  unlabeled traffic allowed by default
[    1.247067] clocksource: Switched to clocksource arch_sys_counter
[    2.799949] VFS: Disk quotas dquot_6.6.0
[    2.800144] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    2.800492] FS-Cache: Loaded
[    2.801002] CacheFiles: Loaded
[    2.818556] NET: Registered protocol family 2
[    2.818942] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    2.821113] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 12288 bytes, linear)
[    2.821456] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    2.821616] TCP bind hash table entries: 8192 (order: 5, 163840 bytes, linear)
[    2.822001] TCP: Hash tables configured (established 8192 bind 8192)
[    2.822288] UDP hash table entries: 512 (order: 2, 24576 bytes, linear)
[    2.822408] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes, linear)
[    2.822893] NET: Registered protocol family 1
[    2.824157] RPC: Registered named UNIX socket transport module.
[    2.824221] RPC: Registered udp transport module.
[    2.824250] RPC: Registered tcp transport module.
[    2.824277] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.826323] Trying to unpack rootfs image as initramfs...
[    3.542090] Freeing initrd memory: 8612K
[    3.544204] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    3.547191] Initialise system trusted keyrings
[    3.547766] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    3.557463] zbud: loaded
[    3.559992] FS-Cache: Netfs 'nfs' registered for caching
[    3.561371] NFS: Registering the id_resolver key type
[    3.561471] Key type id_resolver registered
[    3.561503] Key type id_legacy registered
[    3.561705] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.561763] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    3.562280] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
[    3.701359] xor: measuring software checksum speed
[    3.710933]    arm4regs        :  1051 MB/sec
[    3.724589]    8regs           :   725 MB/sec
[    3.738596]    32regs          :   704 MB/sec
[    3.748244]    neon            :  1024 MB/sec
[    3.748276] xor: using function: arm4regs (1051 MB/sec)
[    3.748311] async_tx: api initialized (async)
[    3.748351] Key type asymmetric registered
[    3.748380] Asymmetric key parser 'x509' registered
[    3.748515] bounce: pool size: 64 pages
[    3.748649] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    3.749044] io scheduler mq-deadline registered
[    3.749096] io scheduler kyber registered
[    3.749508] io scheduler bfq registered
[    3.751699] inno-hdmi-phy 12030000.hdmi-phy: IRQ index 0 not found
[    3.768315] dma-pl330 110f0000.pdma: Loaded driver for PL330 DMAC-241330
[    3.768395] dma-pl330 110f0000.pdma:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    3.771763] vdd_arm: supplied by vcc_sys
[    3.773429] vdd_log: supplied by vcc_sys
[    3.774932] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.778139] printk: console [ttyS2] disabled
[    3.778431] 11030000.serial: ttyS2 at MMIO 0x11030000 (irq = 39, base_baud = 1500000) is a 16550A
[    4.914405] printk: console [ttyS2] enabled
[    4.922252] rockchip-vop 20050000.vop: Adding to iommu group 2
[    4.933209] usbcore: registered new interface driver udl
[    4.941558] brd: module loaded
[    4.966745] loop: module loaded
[    4.973730] libphy: Fixed MDIO Bus: probed
[    4.978523] tun: Universal TUN/TAP device driver, 1.6
[    4.984689] CAN device driver interface
[    4.990342] rk_gmac-dwmac 30200000.ethernet: IRQ eth_wake_irq not found
[    4.997850] rk_gmac-dwmac 30200000.ethernet: IRQ eth_lpi not found
[    5.005026] rk_gmac-dwmac 30200000.ethernet: PTP uses main clock
[    5.012168] rk_gmac-dwmac 30200000.ethernet: clock input or output? (output).
[    5.020226] rk_gmac-dwmac 30200000.ethernet: TX delay(0x26).
[    5.026613] rk_gmac-dwmac 30200000.ethernet: RX delay(0x11).
[    5.033020] rk_gmac-dwmac 30200000.ethernet: integrated PHY? (yes).
[    5.040256] rk_gmac-dwmac 30200000.ethernet: cannot get clock clk_mac_speed
[    5.053260] rk_gmac-dwmac 30200000.ethernet: init for RMII
[    5.099575] rk_gmac-dwmac 30200000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    5.107685] rk_gmac-dwmac 30200000.ethernet:         DWMAC1000
[    5.113590] rk_gmac-dwmac 30200000.ethernet: DMA HW capability register supported
[    5.122016] rk_gmac-dwmac 30200000.ethernet: RX Checksum Offload Engine supported
[    5.130435] rk_gmac-dwmac 30200000.ethernet: COE Type 2
[    5.136328] rk_gmac-dwmac 30200000.ethernet: TX Checksum insertion supported
[    5.144261] rk_gmac-dwmac 30200000.ethernet: Wake-Up On Lan supported
[    5.151666] rk_gmac-dwmac 30200000.ethernet: Normal descriptors
[    5.158355] rk_gmac-dwmac 30200000.ethernet: Ring mode enabled
[    5.164929] rk_gmac-dwmac 30200000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    5.175116] libphy: stmmac: probed
[    5.199490] usbcore: registered new interface driver rt2500usb
[    5.206296] usbcore: registered new interface driver rt73usb
[    5.212830] usbcore: registered new interface driver rt2800usb
[    5.219521] usbcore: registered new interface driver rtl8xxxu
[    5.226123] usbcore: registered new interface driver rndis_wlan
[    5.232894] usbcore: registered new interface driver cdc_ether
[    5.239545] usbcore: registered new interface driver rndis_host
[    5.247306] dwc2 30040000.usb: supply vusb_d not found, using dummy regulator
[    5.255725] dwc2 30040000.usb: supply vusb_a not found, using dummy regulator
[    5.277301] dwc2 30040000.usb: DWC OTG Controller
[    5.282750] dwc2 30040000.usb: new USB bus registered, assigned bus number 1
[    5.290774] dwc2 30040000.usb: irq 57, io mem 0x30040000
[    5.297177] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    5.306504] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.314636] usb usb1: Product: DWC OTG Controller
[    5.319947] usb usb1: Manufacturer: Linux 5.10.60-rk322x dwc2_hsotg
[    5.327002] usb usb1: SerialNumber: 30040000.usb
[    5.333352] hub 1-0:1.0: USB hub found
[    5.337757] hub 1-0:1.0: 1 port detected
[    5.344766] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.352550] ehci-platform: EHCI generic platform driver
[    5.361452] ehci-platform 30080000.usb: EHCI Host Controller
[    5.368340] ehci-platform 30080000.usb: new USB bus registered, assigned bus number 2
[    5.377671] ehci-platform 30080000.usb: irq 58, io mem 0x30080000
[    5.399125] ehci-platform 30080000.usb: USB 2.0 started, EHCI 1.00
[    5.406505] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    5.415846] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.423990] usb usb2: Product: EHCI Host Controller
[    5.429495] usb usb2: Manufacturer: Linux 5.10.60-rk322x ehci_hcd
[    5.436356] usb usb2: SerialNumber: 30080000.usb
[    5.442662] hub 2-0:1.0: USB hub found
[    5.447106] hub 2-0:1.0: 1 port detected
[    5.455138] ehci-platform 300c0000.usb: EHCI Host Controller
[    5.462032] ehci-platform 300c0000.usb: new USB bus registered, assigned bus number 3
[    5.471444] ehci-platform 300c0000.usb: irq 60, io mem 0x300c0000
[    5.491131] ehci-platform 300c0000.usb: USB 2.0 started, EHCI 1.00
[    5.498500] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    5.507834] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.515979] usb usb3: Product: EHCI Host Controller
[    5.521483] usb usb3: Manufacturer: Linux 5.10.60-rk322x ehci_hcd
[    5.528345] usb usb3: SerialNumber: 300c0000.usb
[    5.534606] hub 3-0:1.0: USB hub found
[    5.539000] hub 3-0:1.0: 1 port detected
[    5.547162] ehci-platform 30100000.usb: EHCI Host Controller
[    5.554173] ehci-platform 30100000.usb: new USB bus registered, assigned bus number 4
[    5.563588] ehci-platform 30100000.usb: irq 62, io mem 0x30100000
[    5.587125] ehci-platform 30100000.usb: USB 2.0 started, EHCI 1.00
[    5.594508] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    5.603839] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.611976] usb usb4: Product: EHCI Host Controller
[    5.617476] usb usb4: Manufacturer: Linux 5.10.60-rk322x ehci_hcd
[    5.624342] usb usb4: SerialNumber: 30100000.usb
[    5.630696] hub 4-0:1.0: USB hub found
[    5.635088] hub 4-0:1.0: 1 port detected
[    5.640830] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.647889] ohci-platform: OHCI generic platform driver
[    5.654547] ohci-platform 300a0000.usb: Generic Platform OHCI controller
[    5.662617] ohci-platform 300a0000.usb: new USB bus registered, assigned bus number 5
[    5.672609] ohci-platform 300a0000.usb: irq 59, io mem 0x300a0000
[    5.743477] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    5.752830] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.760975] usb usb5: Product: Generic Platform OHCI controller
[    5.767709] usb usb5: Manufacturer: Linux 5.10.60-rk322x ohci_hcd
[    5.774576] usb usb5: SerialNumber: 300a0000.usb
[    5.780894] hub 5-0:1.0: USB hub found
[    5.785250] hub 5-0:1.0: 1 port detected
[    5.791352] ohci-platform 300e0000.usb: Generic Platform OHCI controller
[    5.799715] ohci-platform 300e0000.usb: new USB bus registered, assigned bus number 6
[    5.809011] ohci-platform 300e0000.usb: irq 61, io mem 0x300e0000
[    5.879551] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    5.888893] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.897032] usb usb6: Product: Generic Platform OHCI controller
[    5.903892] usb usb6: Manufacturer: Linux 5.10.60-rk322x ohci_hcd
[    5.910784] usb usb6: SerialNumber: 300e0000.usb
[    5.917164] hub 6-0:1.0: USB hub found
[    5.921522] hub 6-0:1.0: 1 port detected
[    5.927617] ohci-platform 30120000.usb: Generic Platform OHCI controller
[    5.936043] ohci-platform 30120000.usb: new USB bus registered, assigned bus number 7
[    5.945398] ohci-platform 30120000.usb: irq 63, io mem 0x30120000
[    6.015482] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.10
[    6.024829] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.033109] usb usb7: Product: Generic Platform OHCI controller
[    6.039788] usb usb7: Manufacturer: Linux 5.10.60-rk322x ohci_hcd
[    6.046649] usb usb7: SerialNumber: 30120000.usb
[    6.052962] hub 7-0:1.0: USB hub found
[    6.057313] hub 7-0:1.0: 1 port detected
[    6.063342] usbcore: registered new interface driver usb-storage
[    6.071286] usbcore: registered new interface driver iforce
[    6.077752] usbcore: registered new interface driver xpad
[    6.084053] usbcore: registered new interface driver usbtouchscreen
[    6.091167] usb 5-1: new low-speed USB device number 2 using ohci-platform
[    6.099956] i2c /dev entries driver
[    6.107302] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
[    6.117446] device-mapper: raid: Loading target version 1.15.1
[    6.124409] Bluetooth: HCI UART driver ver 2.3
[    6.129465] Bluetooth: HCI UART protocol H4 registered
[    6.135256] Bluetooth: HCI UART protocol ATH3K registered
[    6.141540] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    6.148771] usbcore: registered new interface driver bfusb
[    6.155151] usbcore: registered new interface driver btusb
[    6.163991] Synopsys Designware Multimedia Card Interface Driver
[    6.172403] dwmmc_rockchip 30000000.mmc: IDMAC supports 32-bit address mode.
[    6.172842] dwmmc_rockchip 30010000.mmc: IDMAC supports 32-bit address mode.
[    6.173826] dwmmc_rockchip 30020000.mmc: IDMAC supports 32-bit address mode.
[    6.174009] dwmmc_rockchip 30020000.mmc: Using internal DMA controller.
[    6.174030] dwmmc_rockchip 30020000.mmc: Version ID is 270a
[    6.174158] dwmmc_rockchip 30020000.mmc: DW MMC controller at irq 56,32 bit host data width,256 deep fifo
[    6.174592] mmc_host mmc2: card is non-removable.
[    6.180568] dwmmc_rockchip 30000000.mmc: Using internal DMA controller.
[    6.187558] mmc_host mmc2: Bus speed (slot 0) = 2343750Hz (slot req 400000Hz, actual 390625HZ div = 3)
[    6.188614] dwmmc_rockchip 30010000.mmc: Using internal DMA controller.
[    6.196427] dwmmc_rockchip 30000000.mmc: Version ID is 270a
[    6.196509] ledtrig-cpu: registered to indicate activity on CPUs
[    6.196676] hid: raw HID events driver (C) Jiri Kosina
[    6.197322] usbcore: registered new interface driver usbhid
[    6.197330] usbhid: USB HID core driver
[    6.197925] ashmem: initialized
[    6.198734] rockchip-dfi 11210000.dfi: rk3228_dfi_init enter
[    6.198810] rockchip-dfi 11210000.dfi: rk3228-dfi initialized, dram type: 0x3, channels: 1
[    6.203227] NET: Registered protocol family 10
[    6.203919] dwmmc_rockchip 30010000.mmc: Version ID is 270a
[    6.205676] Segment Routing with IPv6
[    6.205815] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    6.208094] NET: Registered protocol family 17
[    6.208218] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    6.208225] can: controller area network core
[    6.208379] NET: Registered protocol family 29
[    6.208775] Bluetooth: RFCOMM socket layer initialized
[    6.208845] Bluetooth: RFCOMM ver 1.11
[    6.208876] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    6.208893] Bluetooth: HIDP socket layer initialized
[    6.209280] 8021q: 802.1Q VLAN Support v1.8
[    6.209349] lib80211: common routines for IEEE802.11 drivers
[    6.209451] Key type dns_resolver registered
[    6.210084] ThumbEE CPU extension supported.
[    6.210109] Registering SWP/SWPB emulation handler
[    6.210320] dwmmc_rockchip 30000000.mmc: DW MMC controller at irq 54,32 bit host data width,256 deep fifo
[    6.210678] Loading compiled-in X.509 certificates
[    6.219879] zswap: loaded using pool zstd/z3fold
[    6.220781] Key type ._fscrypt registered
[    6.220792] Key type .fscrypt registered
[    6.220799] Key type fscrypt-provisioning registered
[    6.221297] dwmmc_rockchip 30010000.mmc: DW MMC controller at irq 55,32 bit host data width,256 deep fifo
[    6.222775] Btrfs loaded, crc32c=crc32c-generic
[    6.264886] inno-hdmi-phy 12030000.hdmi-phy: IRQ index 0 not found
[    6.265262] inno-hdmi-phy 12030000.hdmi-phy: phy_flag is: 0
[    6.268435] rockchip-drm display-subsystem: bound 20050000.vop (ops 0xb1177254)
[    6.269059] dwhdmi-rockchip 200a0000.hdmi: Detected HDMI TX controller v2.01a with HDCP (inno_dw_hdmi_phy2)
[    6.270456] dwhdmi-rockchip 200a0000.hdmi: registered DesignWare HDMI I2C bus driver
[    6.271739] dwmmc_rockchip 30000000.mmc: Got CD GPIO
[    6.272352] rockchip-drm display-subsystem: bound 200a0000.hdmi (ops 0xb117a97c)
[    6.303292] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    6.306971] dwmmc_rockchip 30010000.mmc: allocated mmc-pwrseq
[    6.397113] usb 5-1: New USB device found, idVendor=046d, idProduct=c31c, bcdDevice=64.00
[    6.402539] mmc_host mmc1: card is non-removable.
[    6.413250] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    6.413262] usb 5-1: Product: USB Keyboard
[    6.413277] usb 5-1: Manufacturer: Logitech
[    6.419536] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0)
[    6.431837] mmc_host mmc1: Bus speed (slot 0) = 976562Hz (slot req 400000Hz, actual 244140HZ div = 2)
[    6.442034] input: Logitech USB Keyboard as /devices/platform/300a0000.usb/usb5/5-1/5-1:1.0/0003:046D:C31C.0001/input/input0
[    6.449952] mmc2: new high speed MMC card at address 0001
[    6.486895] random: fast init done
[    6.488600] mmcblk2: mmc2:0001 8GND3R 7.28 GiB
[    6.512697] hid-generic 0003:046D:C31C.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-300a0000.usb-1/input0
[    6.514873] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    6.516099] mmc1: new high speed SDIO card at address 0001
[    6.520922] mmcblk2boot0: mmc2:0001 8GND3R partition 1 4.00 MiB
[    6.538934] input: Logitech USB Keyboard Consumer Control as /devices/platform/300a0000.usb/usb5/5-1/5-1:1.1/0003:046D:C31C.0002/input/input1
[    6.542804] mmcblk2boot1: mmc2:0001 8GND3R partition 2 4.00 MiB
[    6.607751] input: Logitech USB Keyboard System Control as /devices/platform/300a0000.usb/usb5/5-1/5-1:1.1/0003:046D:C31C.0002/input/input2
[    6.609388] mmcblk2rpmb: mmc2:0001 8GND3R partition 3 512 KiB, chardev (241:0)
[    6.623413] hid-generic 0003:046D:C31C.0002: input,hidraw1: USB HID v1.10 Device [Logitech USB Keyboard] on usb-300a0000.usb-1/input1
[    6.636995]  mmcblk2: p1
[    6.793026] Console: switching to colour frame buffer device 240x67
[    6.866938] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device
[    6.877992] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[    6.888774] of_cfs_init
[    6.891890] of_cfs_init: OK
[    6.895856] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    6.943279] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    6.951893] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    6.962302] cfg80211: failed to load regulatory.db
[    6.970348] Freeing unused kernel memory: 1024K
[    7.007578] Run /init as init process
[    9.434286] EXT4-fs (mmcblk2p1): mounted filesystem with writeback data mode. Opts: (null)
[   10.129608] systemd[1]: System time before build time, advancing clock.
[   10.196526] systemd[1]: systemd 245.4-4ubuntu3.11 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)
[   10.225255] systemd[1]: Detected architecture arm.
[   10.264462] systemd[1]: Set hostname to <rk322x-box>.
[   10.674407] dw-apb-uart 11030000.serial: forbid DMA for kernel console
[   11.881369] random: systemd: uninitialized urandom read (16 bytes read)
[   11.890535] systemd[1]: system-modprobe.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[   11.905795] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[   11.941541] systemd[1]: Created slice system-modprobe.slice.
[   11.982878] random: systemd: uninitialized urandom read (16 bytes read)
[   12.011385] systemd[1]: Created slice system-serial\x2dgetty.slice.
[   12.053529] random: systemd: uninitialized urandom read (16 bytes read)
[   12.081119] systemd[1]: Created slice User and Session Slice.
[   12.122999] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   12.168998] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   12.216054] systemd[1]: Reached target Remote File Systems.
[   12.257741] systemd[1]: Reached target Slices.
[   12.297667] systemd[1]: Reached target Swap.
[   12.337193] systemd[1]: Reached target System Time Set.
[   12.384544] systemd[1]: Listening on Syslog Socket.
[   12.426167] systemd[1]: Listening on fsck to fsckd communication Socket.
[   12.469267] systemd[1]: Listening on initctl Compatibility Named Pipe.
[   12.513779] systemd[1]: Listening on Journal Audit Socket.
[   12.555899] systemd[1]: Listening on Journal Socket (/dev/log).
[   12.598746] systemd[1]: Listening on Journal Socket.
[   12.640402] systemd[1]: Listening on udev Control Socket.
[   12.681900] systemd[1]: Listening on udev Kernel Socket.
[   12.723340] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[   12.762880] systemd[1]: Mounting POSIX Message Queue File System...
[   12.821484] systemd[1]: Mounting Kernel Debug File System...
[   12.879627] systemd[1]: Mounting Kernel Trace File System...
[   12.940701] systemd[1]: Starting Restore / save the current clock...
[   13.005246] systemd[1]: Starting Set the console keyboard layout...
[   13.072406] systemd[1]: Starting Create list of static device nodes for the current kernel...
[   13.123767] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[   13.144729] systemd[1]: Started Nameserver information manager.
[   13.202928] systemd[1]: Reached target Network (Pre).
[   13.253314] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[   13.284139] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[   13.337355] systemd[1]: Starting Load Kernel Modules...
[   13.404108] systemd[1]: Starting Remount Root and Kernel File Systems...
[   13.476270] systemd[1]: Starting udev Coldplug all Devices...
[   13.554836] systemd[1]: Mounted POSIX Message Queue File System.
[   13.567622] EXT4-fs (mmcblk2p1): re-mounted. Opts: commit=600,errors=remount-ro
[   13.640406] systemd[1]: Mounted Kernel Debug File System.
[   13.685581] systemd[1]: Mounted Kernel Trace File System.
[   13.736388] systemd[1]: Finished Restore / save the current clock.
[   13.790416] systemd[1]: Finished Set the console keyboard layout.
[   13.845622] systemd[1]: Finished Create list of static device nodes for the current kernel.
[   13.907000] systemd[1]: Finished Load Kernel Modules.
[   13.956761] systemd[1]: Finished Remount Root and Kernel File Systems.
[   14.014618] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
[   14.057616] systemd[1]: Mounting Kernel Configuration File System...
[   14.107291] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[   14.134459] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[   14.176510] systemd[1]: Starting Load/Save Random Seed...
[   14.240909] systemd[1]: Starting Apply Kernel Variables...
[   14.309220] systemd[1]: Starting Create System Users...
[   14.374193] systemd[1]: Mounted Kernel Configuration File System.
[   14.537599] systemd[1]: Failed to start Create System Users.

 

 

where is "first run" scripts located?

Posted

Loving the project a lot, got it working on an MXQ PRO 4K rk3229 complete with WiFi support after I figured out the correct led gpio config... But it was running off of the SD card, wasn't able to install to NAND, not sure why but it wasn't a big deal

 

When I tried it on another board, an MXQ PRO 4K 5G it worked smoother with me being able to install to eMMC from multitool, however I'm experiencing gpio issues... The LEDs don't work as well as the other board and this also affects WiFi which is an ESP8089. It seldomly gets detected at random, and most of the time it's not detected at all.

 

Tried all the info I could find about this by changing up the CPU types to lower speeds, editing esp8089.conf setting crystal 26MHz to 1, and trying every LED configurations on rk322x-config... None of those worked, as I'm assuming the gpio pins are still misconfigured

 

If there's a specific procedure to fix the issue, I'd gladly follow to learn more

 

Thanks for this great project, it's been fun

 

Board Images: https://imgur.com/a/2eA3pmE

Posted

@marshall

Hello.

The NAND problem is just unsolvable without any clues. The commercial name of the tv box is totally useless: what is outside is not what is inside; the board name may give some more hints about but surely won't solve the mistery.

 

About the latter board, that's a very recent eMCP board, some of which we've never experienced directly but just seen in photos.

Providing a dtb overlay that fixes leds is usually quite simple, less simple is understanding what's wrong with the esp8089.

 

Posted

The esp8089 works flawlessly on the stock android firmware, I made a backup of it with the multitool if that would be of any help,

And I mentioned the LEDs because I've never gotten it to work properly on the second board 100%... But I've gotten it to work perfectly on the first board, as a network activity indicator.

On the second board, the system seems to be just using it either as a CPU activity monitor, or just a straight one color  when the system is on... When setting triggers on (iirc from the top of my head) `/sys/class/leds/working` and `/sys/class/leds/auxiliary` it either only gets detected as one LED... Or one of them is always on and only the other is controllable...

 

Which is why I'm speculating that it might be a misconfiguration in terms of the pinout, rather than a hardware issue

 

Thanks

Posted
3 hours ago, marshall said:

The esp8089 works flawlessly on the stock android firmware, I made a backup of it with the multitool if that would be of any help,

And I mentioned the LEDs because I've never gotten it to work properly on the second board 100%... But I've gotten it to work perfectly on the first board, as a network activity indicator.

On the second board, the system seems to be just using it either as a CPU activity monitor, or just a straight one color  when the system is on... When setting triggers on (iirc from the top of my head) `/sys/class/leds/working` and `/sys/class/leds/auxiliary` it either only gets detected as one LED... Or one of them is always on and only the other is controllable...

 

Which is why I'm speculating that it might be a misconfiguration in terms of the pinout, rather than a hardware issue

 

Thanks

Yes thanks, indeed the original firmware will be very useful!

Actually I just need the original device tree overlay, but if you're not able to extract it by yourself, just post the first 32 megabytes of the original firmware and they will suffice.

 

Most surely the led problem on the second board is a misconfiguration: that's something I can adjust taking a look into the dtb. esp8089 driver and firmware are already into the package, but it is very probable that your board has a particular gpio configuration to let it work, and the dtb can reveal that to us. Curious is the fact that it is randomly detected: maybe you can check if the device is correctly detected after warm reboots and not detected after cold reboots, or things like that. Any hint of this kind (plus some dmesg) are helpful with such situations.

 

By the way, I see a big 26MHz crystal near the esp8089 on the board, so surely the .conf file has to be set accordingly.

Posted

Here's the backup: https://mega.nz/file/MBV0FbjC#SFhkL9yvnxsE9EKuwhJBSX2J_cGom3HQbZrwg1FjmdM

 

I'm not sure if the literal first 32 bytes of the extracted file is significant, but if it actually is, for convenience, here's the hex dump for the first 32 bytes: 

00 01 83 00 00 02 00 00 00 00 00 00 00 00 00 00 16 00 00 00 00 00 00 00 64 06 00 00 00 00 00 00 

 

To my surprise, when I booted the second board up just now, it detects the esp8089 and even lists it at ifconfig as wlan0... And after a few reboots (probably 2 or 3) and switching between crystal_26M_en values, now it doesn't... It randomly works on 26M regardless if set as 1 or 0

 

At that time that it was working though, I still can't connect with it for some reason (using armbian-config), and ifconfig lists the wlan0 interface as an "Ethernet" device, + yeah the LEDs are still acting weirdly

 

This is all using the led-conf5 option btw, which, shows `working` and `auxiliary` for `/sys/class/leds` but uses it as if it's just one LED and switches between red/blue, instead of being 2 individually controllable LEDs, and apparently its default trigger is mmc2 activity

 

I haven't set it up on my network yet to copy/paste dmesg as that would require me to set a static IP for it and place it far away from my workdesk, and near the router as only the ethernet works... but here's a photo of dmesg, grepping through possibly relevant keywords: https://imgur.com/a/VjpJUkr

 

Thanks for your time!

Posted
On 10/14/2021 at 10:55 PM, jock said:

I understand your doubts, but the fact is that the kernel that runs on android is not the exact copy of the kernel of the multitool, probably neither the same version.

HDMI timings are differently arranged on multitool and armbian kernels, that's something inherited from libreelec patches I merged in, so I can just trust them.

This in turn causes different behaviour than stock android.

 

I tried it with another monitor, but the same result, i.e. no picture on the HDMI output.
If I switch the monitor between the inputs, this extra information will appear on the UART output:
 

Spoiler

[   26.733473] rockchip-vop 20050000.vop: [drm:vop_crtc_enable] Update mode to 1920x1080p60, type: 11
[   26.743582] dwhdmi-rockchip 200a0000.hdmi: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
[   26.754018] dwhdmi-rockchip 200a0000.hdmi:     colorspace: RGB
[   26.759894] dwhdmi-rockchip 200a0000.hdmi:     scan mode: Underscan
[   26.766195] dwhdmi-rockchip 200a0000.hdmi:     colorimetry: No Data
[   26.772495] dwhdmi-rockchip 200a0000.hdmi:     picture aspect: 16:9
[   26.778795] dwhdmi-rockchip 200a0000.hdmi:     active aspect: Same as Picture
[   26.785961] dwhdmi-rockchip 200a0000.hdmi:     itc: IT Content
[   26.791827] dwhdmi-rockchip 200a0000.hdmi:     extended colorimetry: xvYCC 601
[   26.799103] dwhdmi-rockchip 200a0000.hdmi:     quantization range: Full
[   26.805753] dwhdmi-rockchip 200a0000.hdmi:     nups: Unknown Non-uniform Scaling
[   26.813173] dwhdmi-rockchip 200a0000.hdmi:     video code: 16
[   26.818933] dwhdmi-rockchip 200a0000.hdmi:     ycc quantization range: Full
[   26.825903] dwhdmi-rockchip 200a0000.hdmi:     hdmi content type: Graphics
[   26.832784] dwhdmi-rockchip 200a0000.hdmi:     pixel repeat: 0
[   26.838627] dwhdmi-rockchip 200a0000.hdmi:     bar top 0, bottom 0, left 0, right 0
 

 

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