CSC Armbian for RK322X TV Boxes


jock
 Share

40 40

Recommended Posts

10 hours ago, jock said:

I guess in some convoluted way you could do it, but actually you need to enable SSH first in libreelec and you can do that only using the GUI, which is not available for you as long as HDMI does not work on your board

No. It is possible without the GUI. You can enable it in the kernel settings.

I run libreelec with ssh enabled on this box. 

I upload dmesg.log from libreelec in an earlier post.

Link to post
Share on other sites

Donate and support the project!

On 12/12/2021 at 9:49 PM, karkow said:

No. It is possible without the GUI. You can enable it in the kernel settings.

I run libreelec with ssh enabled on this box. 

I upload dmesg.log from libreelec in an earlier post.

Then you could transfer the uncompressed image via scp (or put in on the sdcard) and then use dd to burn it on the internal eMMC.

The command would be:

dd if=armbian.img of=/dev/mmcblk2 bs=512k oflag=direct status=progress

Indeed change armbian.img with the name of your image (or rename the image as well).

Link to post
Share on other sites

On 12/18/2021 at 6:46 PM, jock said:

The command would be:

dd if=armbian.img of=/dev/mmcblk2 bs=512k oflag=direct status=progress

Indeed change armbian.img with the name of your image (or rename the image as well).

Thank you for the hint.
I think libreelec is not seeing the internal memory.
I see "mmcblk0" (2 partitions) - that's the sd card (libreelec)
And "sda" - is a flash drive (there I have an armbian.img image)

Link to post
Share on other sites

hello everyone, 
happy new year, 
hope everyone are in good conditions,

 

I own MXQ 4K box with RK3228a chip, on the board written R29_MXQ_221_V1.0_0926, I want to install armbian on it,
I already download multitool from the first page and burn it into MMC card using balena, when I try to boot the yellow LED is blinking but there is no display,

 

here is 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 10 ms (16.6 KiB/s)
1:      Multitool
Retrieving file: /kernel.img
8719272 bytes read in 386 ms (21.5 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 9 ms (4.9 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.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000025] Switching to timer-based delay loop, resolution 41ns
[    0.001749] Console: colour dummy device 80x30
[    0.001788] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001808] pid_max: default: 32768 minimum: 301
[    0.001959] Security Framework initialized
[    0.001975] Yama: becoming mindful.
[    0.002065] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002081] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003098] Initializing cgroup subsys io
[    0.003141] Initializing cgroup subsys memory
[    0.003189] Initializing cgroup subsys devices
[    0.003211] Initializing cgroup subsys freezer
[    0.003230] Initializing cgroup subsys net_cls
[    0.003247] Initializing cgroup subsys perf_event
[    0.003266] Initializing cgroup subsys net_prio
[    0.003301] Initializing cgroup subsys pids
[    0.003380] CPU: Testing write buffer coherency: ok
[    0.003440] ftrace: allocating 41720 entries in 123 pages
[    0.086760] /cpus/cpu@f00 missing clock-frequency property
[    0.086802] /cpus/cpu@f01 missing clock-frequency property
[    0.086821] /cpus/cpu@f02 missing clock-frequency property
[    0.086843] /cpus/cpu@f03 missing clock-frequency property
[    0.086855] CPU0: update cpu_capacity 430
[    0.086867] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.086968] Setting up static identity map for 0x60008280 - 0x600082d8
[    0.090355] CPU1: update cpu_capacity 430
[    0.090366] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.091635] CPU2: update cpu_capacity 430
[    0.091644] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.092903] CPU3: update cpu_capacity 430
[    0.092913] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.093066] Brought up 4 CPUs
[    0.093109] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.093118] CPU: All CPU(s) started in SVC mode.
[    0.094909] devtmpfs: initialized
[    0.113102] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.113701] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.113746] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.120441] xor: measuring software checksum speed
[    0.158752]    arm4regs  :  1011.000 MB/sec
[    0.198860]    8regs     :   705.000 MB/sec
[    0.238961]    32regs    :   684.000 MB/sec
[    0.279066]    neon      :  1018.000 MB/sec
[    0.279077] xor: using function: neon (1018.000 MB/sec)
[    0.279122] pinctrl core: initialized pinctrl subsystem
[    0.280941] NET: Registered protocol family 16
[    0.283358] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.295265] cpuidle: using governor ladder
[    0.307265] cpuidle: using governor menu
[    0.330563] console [pstore-1] enabled
[    0.330576] pstore: Registered ramoops as persistent store backend
[    0.330588] ramoops: attached 0xf0000@0x62e00000, ecc: 0/0
[    0.333605] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.333629] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.432436] raid6: int32x1  gen()   133 MB/s
[    0.500379] raid6: int32x1  xor()   131 MB/s
[    0.568642] raid6: int32x2  gen()   166 MB/s
[    0.636913] raid6: int32x2  xor()   137 MB/s
[    0.705070] raid6: int32x4  gen()   163 MB/s
[    0.773329] raid6: int32x4  xor()   137 MB/s
[    0.841482] raid6: int32x8  gen()   166 MB/s
[    0.909745] raid6: int32x8  xor()   113 MB/s
[    0.977738] raid6: neonx1   gen()   381 MB/s
[    1.045995] raid6: neonx1   xor()   290 MB/s
[    1.114242] raid6: neonx2   gen()   519 MB/s
[    1.182376] raid6: neonx2   xor()   376 MB/s
[    1.250671] raid6: neonx4   gen()   581 MB/s
[    1.318829] raid6: neonx4   xor()   400 MB/s
[    1.387105] raid6: neonx8   gen()   559 MB/s
[    1.455315] raid6: neonx8   xor()   391 MB/s
[    1.455329] raid6: using algorithm neonx4 gen() 581 MB/s
[    1.455339] raid6: .... xor() 400 MB/s, rmw enabled
[    1.455350] raid6: using intx1 recovery algorithm
[    1.456471] rockchip-pm rockchip-suspend: not set wakeup-config
[    1.456500] rockchip-pm rockchip-suspend: not set pwm-regulator-config
[    1.460417] iommu: Adding device 20020000.vpu-service to group 0
[    1.460533] iommu: Adding device 20030000.rkvdec to group 1
[    1.460633] iommu: Adding device 20050000.vop to group 2
[    1.460724] iommu: Adding device 20070000.iep to group 3
[    1.461347] rk_iommu 20020800.iommu: can't get sclk
[    1.462085] rk_iommu 20030480.iommu: can't get sclk
[    1.462357] rk_iommu 20053f00.iommu: can't get sclk
[    1.462508] rk_iommu 20070800.iommu: can't get aclk
[    1.462527] rk_iommu 20070800.iommu: can't get hclk
[    1.462544] rk_iommu 20070800.iommu: can't get sclk
[    1.463520] SCSI subsystem initialized
[    1.463966] usbcore: registered new interface driver usbfs
[    1.464070] usbcore: registered new interface driver hub
[    1.464206] usbcore: registered new device driver usb
[    1.464447] media: Linux media interface: v0.10
[    1.464531] Linux video capture interface: v2.00
[    1.464754] pps_core: LinuxPPS API ver. 1 registered
[    1.464770] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.464812] PTP clock support registered
[    1.466926] Advanced Linux Sound Architecture Driver Initialized.
[    1.468188] Bluetooth: Core ver 2.21
[    1.468272] NET: Registered protocol family 31
[    1.468285] Bluetooth: HCI device and connection manager initialized
[    1.468308] Bluetooth: HCI socket layer initialized
[    1.468327] Bluetooth: L2CAP socket layer initialized
[    1.468390] Bluetooth: SCO socket layer initialized
[    1.469386] NetLabel: Initializing
[    1.469412] NetLabel:  domain hash size = 128
[    1.469422] NetLabel:  protocols = UNLABELED CIPSOv4
[    1.469508] NetLabel:  unlabeled traffic allowed by default
[    1.470685] clocksource: Switched to clocksource arch_sys_counter
[    1.573562] NET: Registered protocol family 2
[    1.574563] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    1.574798] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[    1.575159] TCP: Hash tables configured (established 8192 bind 8192)
[    1.575282] UDP hash table entries: 512 (order: 2, 24576 bytes)
[    1.575354] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[    1.575779] NET: Registered protocol family 1
[    1.576637] RPC: Registered named UNIX socket transport module.
[    1.576663] RPC: Registered udp transport module.
[    1.576674] RPC: Registered tcp transport module.
[    1.576685] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.577727] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    1.580996] Initialise system trusted keyring
[    1.595906] VFS: Disk quotas dquot_6.6.0
[    1.596244] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.599212] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.602982] NFS: Registering the id_resolver key type
[    1.603073] Key type id_resolver registered
[    1.603085] Key type id_legacy registered
[    1.603122] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.603226] ntfs: driver 2.1.32 [Flags: R/W].
[    1.604197] JFS: nTxBlock = 7834, nTxLock = 62673
[    1.616668] SGI XFS with security attributes, no debug enabled
[    1.626374] NET: Registered protocol family 38
[    1.626441] Key type asymmetric registered
[    1.626464] Asymmetric key parser 'x509' registered
[    1.627051] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    1.627386] io scheduler noop registered
[    1.627423] io scheduler deadline registered
[    1.627522] io scheduler cfq registered (default)
[    1.631209] phy phy-11000000.syscon:usb2-phy@800.2: Failed to get VBUS supply regulator
[    1.636796] rk-vcodec 20020000.vpu-service: no regulator for vcodec
[    1.637373] rk-vcodec 20020000.vpu-service: probe device
[    1.637885] rk-vcodec 20020000.vpu-service: drm allocator with mmu enabled
[    1.639451] rk-vcodec 20020000.vpu-service: could not find power_model node
[    1.639482] rk-vcodec 20020000.vpu-service: init success
[    1.639875] rk-vcodec 20030000.rkvdec: vcodec regulator not ready, retry
[    1.644402] dma-pl330 110f0000.pdma: Loaded driver for PL330 DMAC-241330
[    1.644437] dma-pl330 110f0000.pdma:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    1.645611] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[    1.648401] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.649359] 11030000.serial: ttyS2 at MMIO 0x11030000 (irq = 30, base_baud = 1500000) is a 16550A
[    2.681245] console [ttyS2] enabled
[    2.686818] [drm] Initialized drm 1.1.0 20060810
[    2.693983] [drm] Rockchip DRM driver version: v1.0.1
[    2.699414] rockchip-drm display-subsystem: devfreq is not set
[    2.706176] rockchip-drm display-subsystem: bound 20050000.vop (ops 0xb0d111b0)
[    2.714007] i2c i2c-0: of_i2c: modalias failure on /hdmi@200a0000/ports
[    2.720693] dwhdmi-rockchip 200a0000.hdmi: registered DesignWare HDMI I2C bus driver
[    2.728568] dwhdmi-rockchip 200a0000.hdmi: Detected HDMI TX controller v2.01a with HDCP (inno_dw_hdmi_phy)
[    2.739901] rockchip-drm display-subsystem: bound 200a0000.hdmi (ops 0xb0d09708)
[    2.747413] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.754059] [drm] No driver support for vblank timestamp query.
[    2.760141] rockchip-drm display-subsystem: failed to parse display resources
[    3.389493] rockchip-vop 20050000.vop: [drm:vop_crtc_enable] Update mode to 1366x768p60, type: 11
[    3.390269] dwhdmi-rockchip 200a0000.hdmi: Rate 85750000 missing; compute N dynamically
[    3.390337] dwhdmi-rockchip 200a0000.hdmi: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
[    3.390345] dwhdmi-rockchip 200a0000.hdmi:     colorspace: RGB
[    3.390352] dwhdmi-rockchip 200a0000.hdmi:     scan mode: Underscan
[    3.390358] dwhdmi-rockchip 200a0000.hdmi:     colorimetry: No Data
[    3.390365] dwhdmi-rockchip 200a0000.hdmi:     picture aspect: No Data
[    3.390372] dwhdmi-rockchip 200a0000.hdmi:     active aspect: Same as Picture
[    3.390379] dwhdmi-rockchip 200a0000.hdmi:     itc: IT Content
[    3.390386] dwhdmi-rockchip 200a0000.hdmi:     extended colorimetry: xvYCC 601
[    3.390393] dwhdmi-rockchip 200a0000.hdmi:     quantization range: Full
[    3.390400] dwhdmi-rockchip 200a0000.hdmi:     nups: Unknown Non-uniform Scaling
[    3.390406] dwhdmi-rockchip 200a0000.hdmi:     video code: 0
[    3.390412] dwhdmi-rockchip 200a0000.hdmi:     ycc quantization range: Full
[    3.390419] dwhdmi-rockchip 200a0000.hdmi:     hdmi content type: Graphics
[    3.390426] dwhdmi-rockchip 200a0000.hdmi:     pixel repeat: 0
[    3.390433] dwhdmi-rockchip 200a0000.hdmi:     bar top 0, bottom 0, left 0, right 0
[    3.390627] rockchip-vop 20050000.vop: mode_update:1, need wait blk:1
[    3.390634] rockchip-vop 20050000.vop: [drm:vop_isr] *ERROR* BUS_ERROR irq err
[    3.423937] rockchip-vop 20050000.vop: [drm:vop_isr] *ERROR* POST_BUF_EMPTY irq err
[    3.478930] Console: switching to colour frame buffer device 170x48
[    3.659392] rockchip-drm display-subsystem: fb0:  frame buffer device
[    3.683176] brd: module loaded
[    3.699705] loop: module loaded
[    3.703002] lkdtm: No crash points registered, enable through debugfs
[    3.712652] libphy: Fixed MDIO Bus: probed
[    3.716882] tun: Universal TUN/TAP device driver, 1.6
[    3.721971] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    3.728671] CAN device driver interface
[    3.734306] rk_gmac-dwmac 30200000.ethernet: clock input or output? (output).
[    3.741521] rk_gmac-dwmac 30200000.ethernet: TX delay(0x30).
[    3.747214] rk_gmac-dwmac 30200000.ethernet: RX delay(0x10).
[    3.752942] rk_gmac-dwmac 30200000.ethernet: integrated PHY? (yes).
[    3.759436] rk_gmac-dwmac 30200000.ethernet: cannot get clock clk_mac_speed
[    3.771506] rk_gmac-dwmac 30200000.ethernet: init for RMII
[    3.810826] stmmac - user ID: 0x10, Synopsys ID: 0x35
[    3.815932]  Ring mode enabled
[    3.819022]  DMA HW capability register supported
[    3.823573]  Normal descriptors
[    3.826923]  RX Checksum Offload Engine supported (type 2)
[    3.832422]  TX Checksum insertion supported
[    3.836709]  Wake-Up On Lan supported
[    3.840522] rk_gmac-dwmac 30200000.ethernet: rk_get_eth_addr: mac address: 8a:dc:a9:9d:75:5d
[    3.848992] eth%d: device MAC address 8a:dc:a9:9d:75:5d
[    3.854239]  Enable RX Mitigation via HW Watchdog Timer
[    3.878835] libphy: stmmac: probed
[    3.882276] eth%d: PHY ID 1234d400 at 0 IRQ POLL (stmmac-0:00) active
[    3.888765] eth%d: PHY ID 00000000 at 1 IRQ POLL (stmmac-0:01)
[    3.894624] eth%d: PHY ID 00000000 at 2 IRQ POLL (stmmac-0:02)
[    3.900481] eth%d: PHY ID 00000000 at 3 IRQ POLL (stmmac-0:03)
[    3.906334] eth%d: PHY ID 00000000 at 4 IRQ POLL (stmmac-0:04)
[    3.912185] eth%d: PHY ID 00000000 at 5 IRQ POLL (stmmac-0:05)
[    3.918035] eth%d: PHY ID 00000000 at 6 IRQ POLL (stmmac-0:06)
[    3.923884] eth%d: PHY ID 00000000 at 7 IRQ POLL (stmmac-0:07)
[    3.929734] eth%d: PHY ID 00000000 at 8 IRQ POLL (stmmac-0:08)
[    3.935585] eth%d: PHY ID 00000000 at 9 IRQ POLL (stmmac-0:09)
[    3.941444] eth%d: PHY ID 00000000 at 10 IRQ POLL (stmmac-0:0a)
[    3.947383] eth%d: PHY ID 00000000 at 11 IRQ POLL (stmmac-0:0b)
[    3.953319] eth%d: PHY ID 00000000 at 12 IRQ POLL (stmmac-0:0c)
[    3.959254] eth%d: PHY ID 00000000 at 13 IRQ POLL (stmmac-0:0d)
[    3.965189] eth%d: PHY ID 00000000 at 14 IRQ POLL (stmmac-0:0e)
[    3.971124] eth%d: PHY ID 00000000 at 15 IRQ POLL (stmmac-0:0f)
[    3.977059] eth%d: PHY ID 00000000 at 16 IRQ POLL (stmmac-0:10)
[    3.982994] eth%d: PHY ID 00000000 at 17 IRQ POLL (stmmac-0:11)
[    3.988929] eth%d: PHY ID 00000000 at 18 IRQ POLL (stmmac-0:12)
[    3.994893] eth%d: PHY ID 00000000 at 19 IRQ POLL (stmmac-0:13)
[    4.000843] eth%d: PHY ID 00000000 at 20 IRQ POLL (stmmac-0:14)
[    4.006786] eth%d: PHY ID 00000000 at 21 IRQ POLL (stmmac-0:15)
[    4.012729] eth%d: PHY ID 00000000 at 22 IRQ POLL (stmmac-0:16)
[    4.018668] eth%d: PHY ID 00000000 at 23 IRQ POLL (stmmac-0:17)
[    4.024606] eth%d: PHY ID 00000000 at 24 IRQ POLL (stmmac-0:18)
[    4.030545] eth%d: PHY ID 00000000 at 25 IRQ POLL (stmmac-0:19)
[    4.036486] eth%d: PHY ID 00000000 at 26 IRQ POLL (stmmac-0:1a)
[    4.042429] eth%d: PHY ID 00000000 at 27 IRQ POLL (stmmac-0:1b)
[    4.048369] eth%d: PHY ID 00000000 at 28 IRQ POLL (stmmac-0:1c)
[    4.054309] eth%d: PHY ID 00000000 at 29 IRQ POLL (stmmac-0:1d)
[    4.060253] eth%d: PHY ID 00000000 at 30 IRQ POLL (stmmac-0:1e)
[    4.066192] eth%d: PHY ID 00000000 at 31 IRQ POLL (stmmac-0:1f)
[    4.073990] PPP generic driver version 2.4.2
[    4.079018] Atmel at76x USB Wireless LAN Driver 0.17 loading
[    4.084914] usbcore: registered new interface driver at76c50x-usb
[    4.091221] usbcore: registered new interface driver rtl8187
[    4.097058] usbcore: registered new interface driver rndis_wlan
[    4.103185] usbcore: registered new interface driver zd1201
[    4.109339] usbcore: registered new interface driver rt2800usb
[    4.115455] Rockchip WiFi SYS interface (V1.00) ...
[    4.120565] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    4.128111] usbcore: registered new interface driver pegasus
[    4.133903] usbcore: registered new interface driver rtl8150
[    4.139684] usbcore: registered new interface driver r8152
[    4.145309] usbcore: registered new interface driver asix
[    4.150824] usbcore: registered new interface driver ax88179_178a
[    4.157036] usbcore: registered new interface driver cdc_ether
[    4.162998] usbcore: registered new interface driver dm9601
[    4.168737] usbcore: registered new interface driver smsc75xx
[    4.174619] usbcore: registered new interface driver smsc95xx
[    4.180480] usbcore: registered new interface driver net1080
[    4.186250] usbcore: registered new interface driver rndis_host
[    4.192287] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[    4.199897] usbcore: registered new interface driver cdc_ncm
[    4.205677] usbcore: registered new interface driver cdc_mbim
[    4.212109] 30040000.usb supply vusb_d not found, using dummy regulator
[    4.218938] 30040000.usb supply vusb_a not found, using dummy regulator
[    4.239246] dwc2 30040000.usb: DWC OTG Controller
[    4.244094] dwc2 30040000.usb: new USB bus registered, assigned bus number 1
[    4.251240] dwc2 30040000.usb: irq 49, io mem 0x30040000
[    4.257024] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.263871] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.271126] usb usb1: Product: DWC OTG Controller
[    4.275859] usb usb1: Manufacturer: Linux 4.4.194-rk322x dwc2_hsotg
[    4.282149] usb usb1: SerialNumber: 30040000.usb
[    4.288094] hub 1-0:1.0: USB hub found
[    4.291989] hub 1-0:1.0: 1 port detected
[    4.298074] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.304686] ehci-platform: EHCI generic platform driver
[    4.312649] ehci-platform 30080000.usb: EHCI Host Controller
[    4.318861] ehci-platform 30080000.usb: new USB bus registered, assigned bus number 2
[    4.327145] ehci-platform 30080000.usb: irq 50, io mem 0x30080000
[    4.342760] ehci-platform 30080000.usb: USB 2.0 started, EHCI 1.00
[    4.349365] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    4.356217] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.363473] usb usb2: Product: EHCI Host Controller
[    4.368377] usb usb2: Manufacturer: Linux 4.4.194-rk322x ehci_hcd
[    4.374488] usb usb2: SerialNumber: 30080000.usb
[    4.380310] hub 2-0:1.0: USB hub found
[    4.384200] hub 2-0:1.0: 1 port detected
[    4.391293] ehci-platform 300c0000.usb: EHCI Host Controller
[    4.397821] ehci-platform 300c0000.usb: new USB bus registered, assigned bus number 3
[    4.406125] ehci-platform 300c0000.usb: irq 52, io mem 0x300c0000
[    4.422766] ehci-platform 300c0000.usb: USB 2.0 started, EHCI 1.00
[    4.429340] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    4.436187] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.443437] usb usb3: Product: EHCI Host Controller
[    4.448339] usb usb3: Manufacturer: Linux 4.4.194-rk322x ehci_hcd
[    4.454453] usb usb3: SerialNumber: 300c0000.usb
[    4.460271] hub 3-0:1.0: USB hub found
[    4.464159] hub 3-0:1.0: 1 port detected
[    4.471239] ehci-platform 30100000.usb: EHCI Host Controller
[    4.477448] ehci-platform 30100000.usb: new USB bus registered, assigned bus number 4
[    4.485754] ehci-platform 30100000.usb: irq 54, io mem 0x30100000
[    4.502764] ehci-platform 30100000.usb: USB 2.0 started, EHCI 1.00
[    4.509332] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    4.516177] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.523430] usb usb4: Product: EHCI Host Controller
[    4.528332] usb usb4: Manufacturer: Linux 4.4.194-rk322x ehci_hcd
[    4.534445] usb usb4: SerialNumber: 30100000.usb
[    4.540256] hub 4-0:1.0: USB hub found
[    4.544150] hub 4-0:1.0: 1 port detected
[    4.549036] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.555314] ohci-platform: OHCI generic platform driver
[    4.561126] ohci-platform 300a0000.usb: Generic Platform OHCI controller
[    4.568848] ohci-platform 300a0000.usb: new USB bus registered, assigned bus number 5
[    4.577126] ohci-platform 300a0000.usb: irq 51, io mem 0x300a0000
[    4.643076] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[    4.649950] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.657211] usb usb5: Product: Generic Platform OHCI controller
[    4.663166] usb usb5: Manufacturer: Linux 4.4.194-rk322x ohci_hcd
[    4.669288] usb usb5: SerialNumber: 300a0000.usb
[    4.676156] hub 5-0:1.0: USB hub found
[    4.680054] hub 5-0:1.0: 1 port detected
[    4.685098] ohci-platform 300e0000.usb: Generic Platform OHCI controller
[    4.692336] ohci-platform 300e0000.usb: new USB bus registered, assigned bus number 6
[    4.700570] ohci-platform 300e0000.usb: irq 53, io mem 0x300e0000
[    4.767096] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[    4.773949] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.781204] usb usb6: Product: Generic Platform OHCI controller
[    4.787175] usb usb6: Manufacturer: Linux 4.4.194-rk322x ohci_hcd
[    4.793301] usb usb6: SerialNumber: 300e0000.usb
[    4.799437] hub 6-0:1.0: USB hub found
[    4.803330] hub 6-0:1.0: 1 port detected
[    4.808328] ohci-platform 30120000.usb: Generic Platform OHCI controller
[    4.815566] ohci-platform 30120000.usb: new USB bus registered, assigned bus number 7
[    4.823818] ohci-platform 30120000.usb: irq 55, io mem 0x30120000
[    4.887062] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[    4.893903] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.901160] usb usb7: Product: Generic Platform OHCI controller
[    4.907121] usb usb7: Manufacturer: Linux 4.4.194-rk322x ohci_hcd
[    4.913245] usb usb7: SerialNumber: 30120000.usb
[    4.919389] hub 7-0:1.0: USB hub found
[    4.923283] hub 7-0:1.0: 1 port detected
[    4.928378] usbcore: registered new interface driver cdc_acm
[    4.934099] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    4.942261] usbcore: registered new interface driver cdc_wdm
[    4.948292] usbcore: registered new interface driver usb-storage
[    4.954560] usbcore: registered new interface driver usbserial
[    4.960523] usbcore: registered new interface driver usbserial_generic
[    4.967139] usbserial: USB Serial support registered for generic
[    4.973296] usbcore: registered new interface driver keyspan
[    4.979049] usbserial: USB Serial support registered for Keyspan - (without firmware)
[    4.986968] usbserial: USB Serial support registered for Keyspan 1 port adapter
[    4.994340] usbserial: USB Serial support registered for Keyspan 2 port adapter
[    5.001742] usbserial: USB Serial support registered for Keyspan 4 port adapter
[    5.009193] usbcore: registered new interface driver option
[    5.014859] usbserial: USB Serial support registered for GSM modem (1-port)
[    5.022548] usbcore: registered new interface driver oti6858
[    5.028604] usbserial: USB Serial support registered for oti6858
[    5.034816] usbcore: registered new interface driver qcserial
[    5.040664] usbserial: USB Serial support registered for Qualcomm USB modem
[    5.047849] usbcore: registered new interface driver sierra
[    5.053522] usbserial: USB Serial support registered for Sierra USB modem
[    5.061497] usbcore: registered new interface driver iforce
[    5.067336] usbcore: registered new interface driver xpad
[    5.073080] usbcore: registered new interface driver usbtouchscreen
[    5.080761] i2c /dev entries driver
[    5.087574] usbcore: registered new interface driver uvcvideo
[    5.093374] USB Video Class driver (1.1.1)
[    5.099746] Boot mode: normal
[    5.104339] rockchip-thermal 11150000.tsadc: tsadc is probed successfully!
[    5.113294] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[    5.122249] Bluetooth: Virtual HCI driver ver 1.5
[    5.127365] Bluetooth: HCI UART driver ver 2.3
[    5.131862] Bluetooth: HCI UART protocol H4 registered
[    5.137030] Bluetooth: HCI UART protocol LL registered
[    5.142200] Bluetooth: HCI UART protocol ATH3K registered
[    5.147622] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    5.154131] Bluetooth: HCI UART protocol BCM registered
[    5.159585] usbcore: registered new interface driver bfusb
[    5.165280] usbcore: registered new interface driver btusb
[    5.170819] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    5.177310] cpu cpu0: leakage=4
[    5.180574] cpu cpu0: leakage-volt-sel=0
[    5.184804] cpu cpu0: Failed to get pvtm
[    5.190519] cpu cpu0: avs=0
[    5.193528] cpu cpu0: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0
[    5.200569] cpu cpu0: failed to read out thermal zone (-22)
[    5.207065] cpu cpu0: failed to find power_model node
[    5.213149] Synopsys Designware Multimedia Card Interface Driver
[    5.220163] dwmmc_rockchip 30000000.dwmmc: IDMAC supports 32-bit address mode.
[    5.227658] dwmmc_rockchip 30000000.dwmmc: Using internal DMA controller.
[    5.234501] dwmmc_rockchip 30000000.dwmmc: Version ID is 270a
[    5.240378] dwmmc_rockchip 30000000.dwmmc: DW MMC controller at irq 45,32 bit host data width,256 deep fifo
[    5.250219] dwmmc_rockchip 30000000.dwmmc: No vmmc regulator found
[    5.256426] dwmmc_rockchip 30000000.dwmmc: No vqmmc regulator found
[    5.262872] dwmmc_rockchip 30000000.dwmmc: Got CD GPIO
[    5.281038] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    5.303461] dwmmc_rockchip 30000000.dwmmc: 1 slots initialized
[    5.310018] dwmmc_rockchip 30010000.dwmmc: num-slots property not found, assuming 1 slot is available
[    5.319497] dwmmc_rockchip 30010000.dwmmc: IDMAC supports 32-bit address mode.
[    5.326963] dwmmc_rockchip 30010000.dwmmc: Using internal DMA controller.
[    5.333834] dwmmc_rockchip 30010000.dwmmc: Version ID is 270a
[    5.339746] dwmmc_rockchip 30010000.dwmmc: DW MMC controller at irq 46,32 bit host data width,256 deep fifo
[    5.349644] dwmmc_rockchip 30010000.dwmmc: No vmmc regulator found
[    5.355875] dwmmc_rockchip 30010000.dwmmc: No vqmmc regulator found
[    5.375215] mmc_host mmc1: Bus speed (slot 0) = 976562Hz (slot req 400000Hz, actual 244140HZ div = 2)
[    5.397221] dwmmc_rockchip 30010000.dwmmc: 1 slots initialized
[    5.403625] dwmmc_rockchip 30020000.dwmmc: IDMAC supports 32-bit address mode.
[    5.411193] dwmmc_rockchip 30020000.dwmmc: Using internal DMA controller.
[    5.418086] dwmmc_rockchip 30020000.dwmmc: Version ID is 270a
[    5.424038] dwmmc_rockchip 30020000.dwmmc: DW MMC controller at irq 47,32 bit host data width,256 deep fifo
[    5.433862] dwmmc_rockchip 30020000.dwmmc: 'clock-freq-min-max' property was deprecated.
[    5.435417] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    5.435527] mmc0: new high speed SDHC card at address b020
[    5.436823] mmcblk0: mmc0:b020 SB32G 29.7 GiB
[    5.439587]  mmcblk0: p1 p2
[    5.445946] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    5.447477] mmc1: new high speed SDIO card at address 0001
[    5.479963] dwmmc_rockchip 30020000.dwmmc: No vmmc regulator found
[    5.486202] dwmmc_rockchip 30020000.dwmmc: No vqmmc regulator found
[    5.505582] mmc_host mmc2: Bus speed (slot 0) = 2343750Hz (slot req 400000Hz, actual 390625HZ div = 3)
[    5.527673] dwmmc_rockchip 30020000.dwmmc: 1 slots initialized
[    5.535112] ledtrig-cpu: registered to indicate activity on CPUs
[    5.541456] hidraw: raw HID events driver (C) Jiri Kosina
[    5.547702] usbcore: registered new interface driver usbhid
[    5.553387] usbhid: USB HID core driver
[    5.557969] ashmem: initialized
[    5.563840] rknandbase v1.2 2018-05-08
[    5.568190] rknand 30030000.nandc: rknand_probe clk rate = 150000000
[    5.575014] ftl_init fffffffe
[    5.578020] rk_ftl_init fail
[    5.582236] usbcore: registered new interface driver snd-usb-audio
[    5.588734] usbcore: registered new interface driver snd-ua101
[    5.594931] usbcore: registered new interface driver snd-usb-caiaq
[    5.601495] usbcore: registered new interface driver snd-usb-6fire
[    5.607931] usbcore: registered new interface driver snd-usb-hiface
[    5.614429] usbcore: registered new interface driver snd-bcd2000
[    5.620667] usbcore: registered new interface driver snd_usb_pod
[    5.626837] usbcore: registered new interface driver snd_usb_podhd
[    5.633143] usbcore: registered new interface driver snd_usb_toneport
[    5.638469] mmc_host mmc2: Bus speed (slot 0) = 37500000Hz (slot req 37500000Hz, actual 37500000HZ div = 0)
[    5.644087] mmc2: new high speed MMC card at address 0001
[    5.645350] mmcblk2: mmc2:0001 EMC08G 7.20 GiB
[    5.645985] mmcblk2boot0: mmc2:0001 EMC08G partition 1 4.00 MiB
[    5.646580] mmcblk2boot1: mmc2:0001 EMC08G partition 2 4.00 MiB
[    5.647305] mmcblk2rpmb: mmc2:0001 EMC08G partition 3 4.00 MiB
[    5.651447] Alternate GPT is invalid, using primary GPT.
[    5.651568]  mmcblk2: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21
[    5.691606] usbcore: registered new interface driver snd_usb_variax
[    5.704085] u32 classifier
[    5.706875]     input device check on
[    5.710541]     Actions configured
[    5.713987] Netfilter messages via NETLINK v0.30.
[    5.718752] nfnl_acct: registering with nfnetlink.
[    5.723668] nf_conntrack version 0.5.0 (15668 buckets, 62672 max)
[    5.730877] Initializing XFRM netlink socket
[    5.736228] NET: Registered protocol family 10
[    5.742383] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    5.748390] sit: IPv6 over IPv4 tunneling driver
[    5.754346] NET: Registered protocol family 17
[    5.758916] NET: Registered protocol family 15
[    5.763501] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    5.776182] Bridge firewalling registered
[    5.780237] can: controller area network core (rev 20120528 abi 9)
[    5.786565] NET: Registered protocol family 29
[    5.791061] can: raw protocol (rev 20120528)
[    5.795376] can: broadcast manager protocol (rev 20120528 t)
[    5.801092] can: netlink gateway (rev 20130117) max_hops=1
[    5.807331] Bluetooth: RFCOMM TTY layer initialized
[    5.812328] Bluetooth: RFCOMM socket layer initialized
[    5.817591] Bluetooth: RFCOMM ver 1.11
[    5.821414] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    5.827385] Bluetooth: HIDP socket layer initialized
[    5.832464] 8021q: 802.1Q VLAN Support v1.8
[    5.836723] lib80211: common routines for IEEE802.11 drivers
[    5.842461] [WLAN_RFKILL]: Enter rfkill_wlan_init
[    5.847623] [BT_RFKILL]: Enter rfkill_rk_init
[    5.852303] Key type dns_resolver registered
[    5.857082] flash vendor_init_thread!
[    5.857186] Error: Driver 'sc031gs' is already registered, aborting...
[    5.857755] Registering SWP/SWPB emulation handler
[    5.859070] registered taskstats version 1
[    5.859087] Loading compiled-in X.509 certificates
[    5.862368] Btrfs loaded
[    5.863953] rga2: Driver loaded successfully ver:4.01
[    5.864193] rga2: Module initialized.
[    5.864231] pvtm list NULL
[    5.865922] rk-vcodec 20030000.rkvdec: leakage=4
[    5.865942] rk-vcodec 20030000.rkvdec: leakage-volt-sel=0
[    5.866122] rk-vcodec 20030000.rkvdec: Failed to get pvtm
[    5.866642] rk-vcodec 20030000.rkvdec: avs=0
[    5.867158] rk-vcodec 20030000.rkvdec: probe device
[    5.867831] rk-vcodec 20030000.rkvdec: drm allocator with mmu enabled
[    5.869750] rk-vcodec 20030000.rkvdec: init success
[    5.877046] asoc-simple-card hdmi-sound: i2s-hifi <-> 100c0000.i2s0 mapping ok
[    5.881089] asoc-simple-card spdif-sound: dit-hifi <-> 100d0000.spdif mapping ok
[    5.883963] hctosys: unable to open rtc device (rtc0)
[    5.895852] vendor storage:20190527 ret = 0
[    5.899509] ALSA device list:
[    5.899522]   #0: DW-I2S-HDMI
[    5.899525]   #1: SPDIF
[    5.963824] flash vendor storage:20170308 ret = -1
[    5.968979] ttyS2 - failed to request DMA, use interrupt mode
[    5.984984] VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
[    5.997043] devtmpfs: mounted
[    6.001224] Freeing unused kernel memory: 796K
[    6.005760] 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:~# [    8.558106] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

I hope this log can be helpful on investigation, 

thank you,

Link to post
Share on other sites

2 hours ago, suryob said:

I own MXQ 4K box with RK3228a chip, on the board written R29_MXQ_221_V1.0_0926, I want to install armbian on it,
I already download multitool from the first page and burn it into MMC card using balena, when I try to boot the yellow LED is blinking but there is no display,

Hi @suryob, Happy New Year too! Unfortunately, I have bad news about your box.
I have been approx. I've been waiting half a year for a solution to this problem.. but in vain. RK3228A CPU boards that start with R29 all have the same problem.
I’ve tried to ask for a solution here from the demigods here.. but in vain. They say it’s just a rare, isolated bug that they don’t have a solution to and there’s no point in such a board in their possession to test. I offered any of them a piece of my unused stock for this purpose, but they didn’t apply for it. I tried in vain to argue that these boards will become more and more common, as 75% of the boxes with Rockchip are already included with this CPU, they are still treated as isolated for the time being. For the time being, the solution I brought (even if not the final one) was to order boxes with another CPU. The H96 Max boxes fitted with the RK3318 perform much better with the armbian images made for them. 

 

Link to post
Share on other sites

8 hours ago, suryob said:

hello everyone, 
happy new year, 
hope everyone are in good conditions,

 

I own MXQ 4K box with RK3228a chip, on the board written R29_MXQ_221_V1.0_0926, I want to install armbian on it,
I already download multitool from the first page and burn it into MMC card using balena, when I try to boot the yellow LED is blinking but there is no display,

 

here is the UART log 

  Reveal hidden contents

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 10 ms (16.6 KiB/s)
1:      Multitool
Retrieving file: /kernel.img
8719272 bytes read in 386 ms (21.5 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 9 ms (4.9 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.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000025] Switching to timer-based delay loop, resolution 41ns
[    0.001749] Console: colour dummy device 80x30
[    0.001788] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001808] pid_max: default: 32768 minimum: 301
[    0.001959] Security Framework initialized
[    0.001975] Yama: becoming mindful.
[    0.002065] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002081] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003098] Initializing cgroup subsys io
[    0.003141] Initializing cgroup subsys memory
[    0.003189] Initializing cgroup subsys devices
[    0.003211] Initializing cgroup subsys freezer
[    0.003230] Initializing cgroup subsys net_cls
[    0.003247] Initializing cgroup subsys perf_event
[    0.003266] Initializing cgroup subsys net_prio
[    0.003301] Initializing cgroup subsys pids
[    0.003380] CPU: Testing write buffer coherency: ok
[    0.003440] ftrace: allocating 41720 entries in 123 pages
[    0.086760] /cpus/cpu@f00 missing clock-frequency property
[    0.086802] /cpus/cpu@f01 missing clock-frequency property
[    0.086821] /cpus/cpu@f02 missing clock-frequency property
[    0.086843] /cpus/cpu@f03 missing clock-frequency property
[    0.086855] CPU0: update cpu_capacity 430
[    0.086867] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.086968] Setting up static identity map for 0x60008280 - 0x600082d8
[    0.090355] CPU1: update cpu_capacity 430
[    0.090366] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.091635] CPU2: update cpu_capacity 430
[    0.091644] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.092903] CPU3: update cpu_capacity 430
[    0.092913] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.093066] Brought up 4 CPUs
[    0.093109] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.093118] CPU: All CPU(s) started in SVC mode.
[    0.094909] devtmpfs: initialized
[    0.113102] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.113701] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.113746] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.120441] xor: measuring software checksum speed
[    0.158752]    arm4regs  :  1011.000 MB/sec
[    0.198860]    8regs     :   705.000 MB/sec
[    0.238961]    32regs    :   684.000 MB/sec
[    0.279066]    neon      :  1018.000 MB/sec
[    0.279077] xor: using function: neon (1018.000 MB/sec)
[    0.279122] pinctrl core: initialized pinctrl subsystem
[    0.280941] NET: Registered protocol family 16
[    0.283358] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.295265] cpuidle: using governor ladder
[    0.307265] cpuidle: using governor menu
[    0.330563] console [pstore-1] enabled
[    0.330576] pstore: Registered ramoops as persistent store backend
[    0.330588] ramoops: attached 0xf0000@0x62e00000, ecc: 0/0
[    0.333605] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.333629] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.432436] raid6: int32x1  gen()   133 MB/s
[    0.500379] raid6: int32x1  xor()   131 MB/s
[    0.568642] raid6: int32x2  gen()   166 MB/s
[    0.636913] raid6: int32x2  xor()   137 MB/s
[    0.705070] raid6: int32x4  gen()   163 MB/s
[    0.773329] raid6: int32x4  xor()   137 MB/s
[    0.841482] raid6: int32x8  gen()   166 MB/s
[    0.909745] raid6: int32x8  xor()   113 MB/s
[    0.977738] raid6: neonx1   gen()   381 MB/s
[    1.045995] raid6: neonx1   xor()   290 MB/s
[    1.114242] raid6: neonx2   gen()   519 MB/s
[    1.182376] raid6: neonx2   xor()   376 MB/s
[    1.250671] raid6: neonx4   gen()   581 MB/s
[    1.318829] raid6: neonx4   xor()   400 MB/s
[    1.387105] raid6: neonx8   gen()   559 MB/s
[    1.455315] raid6: neonx8   xor()   391 MB/s
[    1.455329] raid6: using algorithm neonx4 gen() 581 MB/s
[    1.455339] raid6: .... xor() 400 MB/s, rmw enabled
[    1.455350] raid6: using intx1 recovery algorithm
[    1.456471] rockchip-pm rockchip-suspend: not set wakeup-config
[    1.456500] rockchip-pm rockchip-suspend: not set pwm-regulator-config
[    1.460417] iommu: Adding device 20020000.vpu-service to group 0
[    1.460533] iommu: Adding device 20030000.rkvdec to group 1
[    1.460633] iommu: Adding device 20050000.vop to group 2
[    1.460724] iommu: Adding device 20070000.iep to group 3
[    1.461347] rk_iommu 20020800.iommu: can't get sclk
[    1.462085] rk_iommu 20030480.iommu: can't get sclk
[    1.462357] rk_iommu 20053f00.iommu: can't get sclk
[    1.462508] rk_iommu 20070800.iommu: can't get aclk
[    1.462527] rk_iommu 20070800.iommu: can't get hclk
[    1.462544] rk_iommu 20070800.iommu: can't get sclk
[    1.463520] SCSI subsystem initialized
[    1.463966] usbcore: registered new interface driver usbfs
[    1.464070] usbcore: registered new interface driver hub
[    1.464206] usbcore: registered new device driver usb
[    1.464447] media: Linux media interface: v0.10
[    1.464531] Linux video capture interface: v2.00
[    1.464754] pps_core: LinuxPPS API ver. 1 registered
[    1.464770] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.464812] PTP clock support registered
[    1.466926] Advanced Linux Sound Architecture Driver Initialized.
[    1.468188] Bluetooth: Core ver 2.21
[    1.468272] NET: Registered protocol family 31
[    1.468285] Bluetooth: HCI device and connection manager initialized
[    1.468308] Bluetooth: HCI socket layer initialized
[    1.468327] Bluetooth: L2CAP socket layer initialized
[    1.468390] Bluetooth: SCO socket layer initialized
[    1.469386] NetLabel: Initializing
[    1.469412] NetLabel:  domain hash size = 128
[    1.469422] NetLabel:  protocols = UNLABELED CIPSOv4
[    1.469508] NetLabel:  unlabeled traffic allowed by default
[    1.470685] clocksource: Switched to clocksource arch_sys_counter
[    1.573562] NET: Registered protocol family 2
[    1.574563] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    1.574798] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
[    1.575159] TCP: Hash tables configured (established 8192 bind 8192)
[    1.575282] UDP hash table entries: 512 (order: 2, 24576 bytes)
[    1.575354] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)
[    1.575779] NET: Registered protocol family 1
[    1.576637] RPC: Registered named UNIX socket transport module.
[    1.576663] RPC: Registered udp transport module.
[    1.576674] RPC: Registered tcp transport module.
[    1.576685] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.577727] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    1.580996] Initialise system trusted keyring
[    1.595906] VFS: Disk quotas dquot_6.6.0
[    1.596244] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.599212] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.602982] NFS: Registering the id_resolver key type
[    1.603073] Key type id_resolver registered
[    1.603085] Key type id_legacy registered
[    1.603122] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.603226] ntfs: driver 2.1.32 [Flags: R/W].
[    1.604197] JFS: nTxBlock = 7834, nTxLock = 62673
[    1.616668] SGI XFS with security attributes, no debug enabled
[    1.626374] NET: Registered protocol family 38
[    1.626441] Key type asymmetric registered
[    1.626464] Asymmetric key parser 'x509' registered
[    1.627051] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    1.627386] io scheduler noop registered
[    1.627423] io scheduler deadline registered
[    1.627522] io scheduler cfq registered (default)
[    1.631209] phy phy-11000000.syscon:usb2-phy@800.2: Failed to get VBUS supply regulator
[    1.636796] rk-vcodec 20020000.vpu-service: no regulator for vcodec
[    1.637373] rk-vcodec 20020000.vpu-service: probe device
[    1.637885] rk-vcodec 20020000.vpu-service: drm allocator with mmu enabled
[    1.639451] rk-vcodec 20020000.vpu-service: could not find power_model node
[    1.639482] rk-vcodec 20020000.vpu-service: init success
[    1.639875] rk-vcodec 20030000.rkvdec: vcodec regulator not ready, retry
[    1.644402] dma-pl330 110f0000.pdma: Loaded driver for PL330 DMAC-241330
[    1.644437] dma-pl330 110f0000.pdma:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    1.645611] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[    1.648401] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.649359] 11030000.serial: ttyS2 at MMIO 0x11030000 (irq = 30, base_baud = 1500000) is a 16550A
[    2.681245] console [ttyS2] enabled
[    2.686818] [drm] Initialized drm 1.1.0 20060810
[    2.693983] [drm] Rockchip DRM driver version: v1.0.1
[    2.699414] rockchip-drm display-subsystem: devfreq is not set
[    2.706176] rockchip-drm display-subsystem: bound 20050000.vop (ops 0xb0d111b0)
[    2.714007] i2c i2c-0: of_i2c: modalias failure on /hdmi@200a0000/ports
[    2.720693] dwhdmi-rockchip 200a0000.hdmi: registered DesignWare HDMI I2C bus driver
[    2.728568] dwhdmi-rockchip 200a0000.hdmi: Detected HDMI TX controller v2.01a with HDCP (inno_dw_hdmi_phy)
[    2.739901] rockchip-drm display-subsystem: bound 200a0000.hdmi (ops 0xb0d09708)
[    2.747413] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.754059] [drm] No driver support for vblank timestamp query.
[    2.760141] rockchip-drm display-subsystem: failed to parse display resources
[    3.389493] rockchip-vop 20050000.vop: [drm:vop_crtc_enable] Update mode to 1366x768p60, type: 11
[    3.390269] dwhdmi-rockchip 200a0000.hdmi: Rate 85750000 missing; compute N dynamically
[    3.390337] dwhdmi-rockchip 200a0000.hdmi: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
[    3.390345] dwhdmi-rockchip 200a0000.hdmi:     colorspace: RGB
[    3.390352] dwhdmi-rockchip 200a0000.hdmi:     scan mode: Underscan
[    3.390358] dwhdmi-rockchip 200a0000.hdmi:     colorimetry: No Data
[    3.390365] dwhdmi-rockchip 200a0000.hdmi:     picture aspect: No Data
[    3.390372] dwhdmi-rockchip 200a0000.hdmi:     active aspect: Same as Picture
[    3.390379] dwhdmi-rockchip 200a0000.hdmi:     itc: IT Content
[    3.390386] dwhdmi-rockchip 200a0000.hdmi:     extended colorimetry: xvYCC 601
[    3.390393] dwhdmi-rockchip 200a0000.hdmi:     quantization range: Full
[    3.390400] dwhdmi-rockchip 200a0000.hdmi:     nups: Unknown Non-uniform Scaling
[    3.390406] dwhdmi-rockchip 200a0000.hdmi:     video code: 0
[    3.390412] dwhdmi-rockchip 200a0000.hdmi:     ycc quantization range: Full
[    3.390419] dwhdmi-rockchip 200a0000.hdmi:     hdmi content type: Graphics
[    3.390426] dwhdmi-rockchip 200a0000.hdmi:     pixel repeat: 0
[    3.390433] dwhdmi-rockchip 200a0000.hdmi:     bar top 0, bottom 0, left 0, right 0
[    3.390627] rockchip-vop 20050000.vop: mode_update:1, need wait blk:1
[    3.390634] rockchip-vop 20050000.vop: [drm:vop_isr] *ERROR* BUS_ERROR irq err
[    3.423937] rockchip-vop 20050000.vop: [drm:vop_isr] *ERROR* POST_BUF_EMPTY irq err
[    3.478930] Console: switching to colour frame buffer device 170x48
[    3.659392] rockchip-drm display-subsystem: fb0:  frame buffer device
[    3.683176] brd: module loaded
[    3.699705] loop: module loaded
[    3.703002] lkdtm: No crash points registered, enable through debugfs
[    3.712652] libphy: Fixed MDIO Bus: probed
[    3.716882] tun: Universal TUN/TAP device driver, 1.6
[    3.721971] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    3.728671] CAN device driver interface
[    3.734306] rk_gmac-dwmac 30200000.ethernet: clock input or output? (output).
[    3.741521] rk_gmac-dwmac 30200000.ethernet: TX delay(0x30).
[    3.747214] rk_gmac-dwmac 30200000.ethernet: RX delay(0x10).
[    3.752942] rk_gmac-dwmac 30200000.ethernet: integrated PHY? (yes).
[    3.759436] rk_gmac-dwmac 30200000.ethernet: cannot get clock clk_mac_speed
[    3.771506] rk_gmac-dwmac 30200000.ethernet: init for RMII
[    3.810826] stmmac - user ID: 0x10, Synopsys ID: 0x35
[    3.815932]  Ring mode enabled
[    3.819022]  DMA HW capability register supported
[    3.823573]  Normal descriptors
[    3.826923]  RX Checksum Offload Engine supported (type 2)
[    3.832422]  TX Checksum insertion supported
[    3.836709]  Wake-Up On Lan supported
[    3.840522] rk_gmac-dwmac 30200000.ethernet: rk_get_eth_addr: mac address: 8a:dc:a9:9d:75:5d
[    3.848992] eth%d: device MAC address 8a:dc:a9:9d:75:5d
[    3.854239]  Enable RX Mitigation via HW Watchdog Timer
[    3.878835] libphy: stmmac: probed
[    3.882276] eth%d: PHY ID 1234d400 at 0 IRQ POLL (stmmac-0:00) active
[    3.888765] eth%d: PHY ID 00000000 at 1 IRQ POLL (stmmac-0:01)
[    3.894624] eth%d: PHY ID 00000000 at 2 IRQ POLL (stmmac-0:02)
[    3.900481] eth%d: PHY ID 00000000 at 3 IRQ POLL (stmmac-0:03)
[    3.906334] eth%d: PHY ID 00000000 at 4 IRQ POLL (stmmac-0:04)
[    3.912185] eth%d: PHY ID 00000000 at 5 IRQ POLL (stmmac-0:05)
[    3.918035] eth%d: PHY ID 00000000 at 6 IRQ POLL (stmmac-0:06)
[    3.923884] eth%d: PHY ID 00000000 at 7 IRQ POLL (stmmac-0:07)
[    3.929734] eth%d: PHY ID 00000000 at 8 IRQ POLL (stmmac-0:08)
[    3.935585] eth%d: PHY ID 00000000 at 9 IRQ POLL (stmmac-0:09)
[    3.941444] eth%d: PHY ID 00000000 at 10 IRQ POLL (stmmac-0:0a)
[    3.947383] eth%d: PHY ID 00000000 at 11 IRQ POLL (stmmac-0:0b)
[    3.953319] eth%d: PHY ID 00000000 at 12 IRQ POLL (stmmac-0:0c)
[    3.959254] eth%d: PHY ID 00000000 at 13 IRQ POLL (stmmac-0:0d)
[    3.965189] eth%d: PHY ID 00000000 at 14 IRQ POLL (stmmac-0:0e)
[    3.971124] eth%d: PHY ID 00000000 at 15 IRQ POLL (stmmac-0:0f)
[    3.977059] eth%d: PHY ID 00000000 at 16 IRQ POLL (stmmac-0:10)
[    3.982994] eth%d: PHY ID 00000000 at 17 IRQ POLL (stmmac-0:11)
[    3.988929] eth%d: PHY ID 00000000 at 18 IRQ POLL (stmmac-0:12)
[    3.994893] eth%d: PHY ID 00000000 at 19 IRQ POLL (stmmac-0:13)
[    4.000843] eth%d: PHY ID 00000000 at 20 IRQ POLL (stmmac-0:14)
[    4.006786] eth%d: PHY ID 00000000 at 21 IRQ POLL (stmmac-0:15)
[    4.012729] eth%d: PHY ID 00000000 at 22 IRQ POLL (stmmac-0:16)
[    4.018668] eth%d: PHY ID 00000000 at 23 IRQ POLL (stmmac-0:17)
[    4.024606] eth%d: PHY ID 00000000 at 24 IRQ POLL (stmmac-0:18)
[    4.030545] eth%d: PHY ID 00000000 at 25 IRQ POLL (stmmac-0:19)
[    4.036486] eth%d: PHY ID 00000000 at 26 IRQ POLL (stmmac-0:1a)
[    4.042429] eth%d: PHY ID 00000000 at 27 IRQ POLL (stmmac-0:1b)
[    4.048369] eth%d: PHY ID 00000000 at 28 IRQ POLL (stmmac-0:1c)
[    4.054309] eth%d: PHY ID 00000000 at 29 IRQ POLL (stmmac-0:1d)
[    4.060253] eth%d: PHY ID 00000000 at 30 IRQ POLL (stmmac-0:1e)
[    4.066192] eth%d: PHY ID 00000000 at 31 IRQ POLL (stmmac-0:1f)
[    4.073990] PPP generic driver version 2.4.2
[    4.079018] Atmel at76x USB Wireless LAN Driver 0.17 loading
[    4.084914] usbcore: registered new interface driver at76c50x-usb
[    4.091221] usbcore: registered new interface driver rtl8187
[    4.097058] usbcore: registered new interface driver rndis_wlan
[    4.103185] usbcore: registered new interface driver zd1201
[    4.109339] usbcore: registered new interface driver rt2800usb
[    4.115455] Rockchip WiFi SYS interface (V1.00) ...
[    4.120565] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    4.128111] usbcore: registered new interface driver pegasus
[    4.133903] usbcore: registered new interface driver rtl8150
[    4.139684] usbcore: registered new interface driver r8152
[    4.145309] usbcore: registered new interface driver asix
[    4.150824] usbcore: registered new interface driver ax88179_178a
[    4.157036] usbcore: registered new interface driver cdc_ether
[    4.162998] usbcore: registered new interface driver dm9601
[    4.168737] usbcore: registered new interface driver smsc75xx
[    4.174619] usbcore: registered new interface driver smsc95xx
[    4.180480] usbcore: registered new interface driver net1080
[    4.186250] usbcore: registered new interface driver rndis_host
[    4.192287] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[    4.199897] usbcore: registered new interface driver cdc_ncm
[    4.205677] usbcore: registered new interface driver cdc_mbim
[    4.212109] 30040000.usb supply vusb_d not found, using dummy regulator
[    4.218938] 30040000.usb supply vusb_a not found, using dummy regulator
[    4.239246] dwc2 30040000.usb: DWC OTG Controller
[    4.244094] dwc2 30040000.usb: new USB bus registered, assigned bus number 1
[    4.251240] dwc2 30040000.usb: irq 49, io mem 0x30040000
[    4.257024] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.263871] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.271126] usb usb1: Product: DWC OTG Controller
[    4.275859] usb usb1: Manufacturer: Linux 4.4.194-rk322x dwc2_hsotg
[    4.282149] usb usb1: SerialNumber: 30040000.usb
[    4.288094] hub 1-0:1.0: USB hub found
[    4.291989] hub 1-0:1.0: 1 port detected
[    4.298074] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.304686] ehci-platform: EHCI generic platform driver
[    4.312649] ehci-platform 30080000.usb: EHCI Host Controller
[    4.318861] ehci-platform 30080000.usb: new USB bus registered, assigned bus number 2
[    4.327145] ehci-platform 30080000.usb: irq 50, io mem 0x30080000
[    4.342760] ehci-platform 30080000.usb: USB 2.0 started, EHCI 1.00
[    4.349365] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    4.356217] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.363473] usb usb2: Product: EHCI Host Controller
[    4.368377] usb usb2: Manufacturer: Linux 4.4.194-rk322x ehci_hcd
[    4.374488] usb usb2: SerialNumber: 30080000.usb
[    4.380310] hub 2-0:1.0: USB hub found
[    4.384200] hub 2-0:1.0: 1 port detected
[    4.391293] ehci-platform 300c0000.usb: EHCI Host Controller
[    4.397821] ehci-platform 300c0000.usb: new USB bus registered, assigned bus number 3
[    4.406125] ehci-platform 300c0000.usb: irq 52, io mem 0x300c0000
[    4.422766] ehci-platform 300c0000.usb: USB 2.0 started, EHCI 1.00
[    4.429340] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    4.436187] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.443437] usb usb3: Product: EHCI Host Controller
[    4.448339] usb usb3: Manufacturer: Linux 4.4.194-rk322x ehci_hcd
[    4.454453] usb usb3: SerialNumber: 300c0000.usb
[    4.460271] hub 3-0:1.0: USB hub found
[    4.464159] hub 3-0:1.0: 1 port detected
[    4.471239] ehci-platform 30100000.usb: EHCI Host Controller
[    4.477448] ehci-platform 30100000.usb: new USB bus registered, assigned bus number 4
[    4.485754] ehci-platform 30100000.usb: irq 54, io mem 0x30100000
[    4.502764] ehci-platform 30100000.usb: USB 2.0 started, EHCI 1.00
[    4.509332] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    4.516177] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.523430] usb usb4: Product: EHCI Host Controller
[    4.528332] usb usb4: Manufacturer: Linux 4.4.194-rk322x ehci_hcd
[    4.534445] usb usb4: SerialNumber: 30100000.usb
[    4.540256] hub 4-0:1.0: USB hub found
[    4.544150] hub 4-0:1.0: 1 port detected
[    4.549036] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.555314] ohci-platform: OHCI generic platform driver
[    4.561126] ohci-platform 300a0000.usb: Generic Platform OHCI controller
[    4.568848] ohci-platform 300a0000.usb: new USB bus registered, assigned bus number 5
[    4.577126] ohci-platform 300a0000.usb: irq 51, io mem 0x300a0000
[    4.643076] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[    4.649950] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.657211] usb usb5: Product: Generic Platform OHCI controller
[    4.663166] usb usb5: Manufacturer: Linux 4.4.194-rk322x ohci_hcd
[    4.669288] usb usb5: SerialNumber: 300a0000.usb
[    4.676156] hub 5-0:1.0: USB hub found
[    4.680054] hub 5-0:1.0: 1 port detected
[    4.685098] ohci-platform 300e0000.usb: Generic Platform OHCI controller
[    4.692336] ohci-platform 300e0000.usb: new USB bus registered, assigned bus number 6
[    4.700570] ohci-platform 300e0000.usb: irq 53, io mem 0x300e0000
[    4.767096] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[    4.773949] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.781204] usb usb6: Product: Generic Platform OHCI controller
[    4.787175] usb usb6: Manufacturer: Linux 4.4.194-rk322x ohci_hcd
[    4.793301] usb usb6: SerialNumber: 300e0000.usb
[    4.799437] hub 6-0:1.0: USB hub found
[    4.803330] hub 6-0:1.0: 1 port detected
[    4.808328] ohci-platform 30120000.usb: Generic Platform OHCI controller
[    4.815566] ohci-platform 30120000.usb: new USB bus registered, assigned bus number 7
[    4.823818] ohci-platform 30120000.usb: irq 55, io mem 0x30120000
[    4.887062] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[    4.893903] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.901160] usb usb7: Product: Generic Platform OHCI controller
[    4.907121] usb usb7: Manufacturer: Linux 4.4.194-rk322x ohci_hcd
[    4.913245] usb usb7: SerialNumber: 30120000.usb
[    4.919389] hub 7-0:1.0: USB hub found
[    4.923283] hub 7-0:1.0: 1 port detected
[    4.928378] usbcore: registered new interface driver cdc_acm
[    4.934099] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    4.942261] usbcore: registered new interface driver cdc_wdm
[    4.948292] usbcore: registered new interface driver usb-storage
[    4.954560] usbcore: registered new interface driver usbserial
[    4.960523] usbcore: registered new interface driver usbserial_generic
[    4.967139] usbserial: USB Serial support registered for generic
[    4.973296] usbcore: registered new interface driver keyspan
[    4.979049] usbserial: USB Serial support registered for Keyspan - (without firmware)
[    4.986968] usbserial: USB Serial support registered for Keyspan 1 port adapter
[    4.994340] usbserial: USB Serial support registered for Keyspan 2 port adapter
[    5.001742] usbserial: USB Serial support registered for Keyspan 4 port adapter
[    5.009193] usbcore: registered new interface driver option
[    5.014859] usbserial: USB Serial support registered for GSM modem (1-port)
[    5.022548] usbcore: registered new interface driver oti6858
[    5.028604] usbserial: USB Serial support registered for oti6858
[    5.034816] usbcore: registered new interface driver qcserial
[    5.040664] usbserial: USB Serial support registered for Qualcomm USB modem
[    5.047849] usbcore: registered new interface driver sierra
[    5.053522] usbserial: USB Serial support registered for Sierra USB modem
[    5.061497] usbcore: registered new interface driver iforce
[    5.067336] usbcore: registered new interface driver xpad
[    5.073080] usbcore: registered new interface driver usbtouchscreen
[    5.080761] i2c /dev entries driver
[    5.087574] usbcore: registered new interface driver uvcvideo
[    5.093374] USB Video Class driver (1.1.1)
[    5.099746] Boot mode: normal
[    5.104339] rockchip-thermal 11150000.tsadc: tsadc is probed successfully!
[    5.113294] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[    5.122249] Bluetooth: Virtual HCI driver ver 1.5
[    5.127365] Bluetooth: HCI UART driver ver 2.3
[    5.131862] Bluetooth: HCI UART protocol H4 registered
[    5.137030] Bluetooth: HCI UART protocol LL registered
[    5.142200] Bluetooth: HCI UART protocol ATH3K registered
[    5.147622] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    5.154131] Bluetooth: HCI UART protocol BCM registered
[    5.159585] usbcore: registered new interface driver bfusb
[    5.165280] usbcore: registered new interface driver btusb
[    5.170819] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    5.177310] cpu cpu0: leakage=4
[    5.180574] cpu cpu0: leakage-volt-sel=0
[    5.184804] cpu cpu0: Failed to get pvtm
[    5.190519] cpu cpu0: avs=0
[    5.193528] cpu cpu0: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0
[    5.200569] cpu cpu0: failed to read out thermal zone (-22)
[    5.207065] cpu cpu0: failed to find power_model node
[    5.213149] Synopsys Designware Multimedia Card Interface Driver
[    5.220163] dwmmc_rockchip 30000000.dwmmc: IDMAC supports 32-bit address mode.
[    5.227658] dwmmc_rockchip 30000000.dwmmc: Using internal DMA controller.
[    5.234501] dwmmc_rockchip 30000000.dwmmc: Version ID is 270a
[    5.240378] dwmmc_rockchip 30000000.dwmmc: DW MMC controller at irq 45,32 bit host data width,256 deep fifo
[    5.250219] dwmmc_rockchip 30000000.dwmmc: No vmmc regulator found
[    5.256426] dwmmc_rockchip 30000000.dwmmc: No vqmmc regulator found
[    5.262872] dwmmc_rockchip 30000000.dwmmc: Got CD GPIO
[    5.281038] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    5.303461] dwmmc_rockchip 30000000.dwmmc: 1 slots initialized
[    5.310018] dwmmc_rockchip 30010000.dwmmc: num-slots property not found, assuming 1 slot is available
[    5.319497] dwmmc_rockchip 30010000.dwmmc: IDMAC supports 32-bit address mode.
[    5.326963] dwmmc_rockchip 30010000.dwmmc: Using internal DMA controller.
[    5.333834] dwmmc_rockchip 30010000.dwmmc: Version ID is 270a
[    5.339746] dwmmc_rockchip 30010000.dwmmc: DW MMC controller at irq 46,32 bit host data width,256 deep fifo
[    5.349644] dwmmc_rockchip 30010000.dwmmc: No vmmc regulator found
[    5.355875] dwmmc_rockchip 30010000.dwmmc: No vqmmc regulator found
[    5.375215] mmc_host mmc1: Bus speed (slot 0) = 976562Hz (slot req 400000Hz, actual 244140HZ div = 2)
[    5.397221] dwmmc_rockchip 30010000.dwmmc: 1 slots initialized
[    5.403625] dwmmc_rockchip 30020000.dwmmc: IDMAC supports 32-bit address mode.
[    5.411193] dwmmc_rockchip 30020000.dwmmc: Using internal DMA controller.
[    5.418086] dwmmc_rockchip 30020000.dwmmc: Version ID is 270a
[    5.424038] dwmmc_rockchip 30020000.dwmmc: DW MMC controller at irq 47,32 bit host data width,256 deep fifo
[    5.433862] dwmmc_rockchip 30020000.dwmmc: 'clock-freq-min-max' property was deprecated.
[    5.435417] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    5.435527] mmc0: new high speed SDHC card at address b020
[    5.436823] mmcblk0: mmc0:b020 SB32G 29.7 GiB
[    5.439587]  mmcblk0: p1 p2
[    5.445946] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    5.447477] mmc1: new high speed SDIO card at address 0001
[    5.479963] dwmmc_rockchip 30020000.dwmmc: No vmmc regulator found
[    5.486202] dwmmc_rockchip 30020000.dwmmc: No vqmmc regulator found
[    5.505582] mmc_host mmc2: Bus speed (slot 0) = 2343750Hz (slot req 400000Hz, actual 390625HZ div = 3)
[    5.527673] dwmmc_rockchip 30020000.dwmmc: 1 slots initialized
[    5.535112] ledtrig-cpu: registered to indicate activity on CPUs
[    5.541456] hidraw: raw HID events driver (C) Jiri Kosina
[    5.547702] usbcore: registered new interface driver usbhid
[    5.553387] usbhid: USB HID core driver
[    5.557969] ashmem: initialized
[    5.563840] rknandbase v1.2 2018-05-08
[    5.568190] rknand 30030000.nandc: rknand_probe clk rate = 150000000
[    5.575014] ftl_init fffffffe
[    5.578020] rk_ftl_init fail
[    5.582236] usbcore: registered new interface driver snd-usb-audio
[    5.588734] usbcore: registered new interface driver snd-ua101
[    5.594931] usbcore: registered new interface driver snd-usb-caiaq
[    5.601495] usbcore: registered new interface driver snd-usb-6fire
[    5.607931] usbcore: registered new interface driver snd-usb-hiface
[    5.614429] usbcore: registered new interface driver snd-bcd2000
[    5.620667] usbcore: registered new interface driver snd_usb_pod
[    5.626837] usbcore: registered new interface driver snd_usb_podhd
[    5.633143] usbcore: registered new interface driver snd_usb_toneport
[    5.638469] mmc_host mmc2: Bus speed (slot 0) = 37500000Hz (slot req 37500000Hz, actual 37500000HZ div = 0)
[    5.644087] mmc2: new high speed MMC card at address 0001
[    5.645350] mmcblk2: mmc2:0001 EMC08G 7.20 GiB
[    5.645985] mmcblk2boot0: mmc2:0001 EMC08G partition 1 4.00 MiB
[    5.646580] mmcblk2boot1: mmc2:0001 EMC08G partition 2 4.00 MiB
[    5.647305] mmcblk2rpmb: mmc2:0001 EMC08G partition 3 4.00 MiB
[    5.651447] Alternate GPT is invalid, using primary GPT.
[    5.651568]  mmcblk2: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21
[    5.691606] usbcore: registered new interface driver snd_usb_variax
[    5.704085] u32 classifier
[    5.706875]     input device check on
[    5.710541]     Actions configured
[    5.713987] Netfilter messages via NETLINK v0.30.
[    5.718752] nfnl_acct: registering with nfnetlink.
[    5.723668] nf_conntrack version 0.5.0 (15668 buckets, 62672 max)
[    5.730877] Initializing XFRM netlink socket
[    5.736228] NET: Registered protocol family 10
[    5.742383] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    5.748390] sit: IPv6 over IPv4 tunneling driver
[    5.754346] NET: Registered protocol family 17
[    5.758916] NET: Registered protocol family 15
[    5.763501] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    5.776182] Bridge firewalling registered
[    5.780237] can: controller area network core (rev 20120528 abi 9)
[    5.786565] NET: Registered protocol family 29
[    5.791061] can: raw protocol (rev 20120528)
[    5.795376] can: broadcast manager protocol (rev 20120528 t)
[    5.801092] can: netlink gateway (rev 20130117) max_hops=1
[    5.807331] Bluetooth: RFCOMM TTY layer initialized
[    5.812328] Bluetooth: RFCOMM socket layer initialized
[    5.817591] Bluetooth: RFCOMM ver 1.11
[    5.821414] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    5.827385] Bluetooth: HIDP socket layer initialized
[    5.832464] 8021q: 802.1Q VLAN Support v1.8
[    5.836723] lib80211: common routines for IEEE802.11 drivers
[    5.842461] [WLAN_RFKILL]: Enter rfkill_wlan_init
[    5.847623] [BT_RFKILL]: Enter rfkill_rk_init
[    5.852303] Key type dns_resolver registered
[    5.857082] flash vendor_init_thread!
[    5.857186] Error: Driver 'sc031gs' is already registered, aborting...
[    5.857755] Registering SWP/SWPB emulation handler
[    5.859070] registered taskstats version 1
[    5.859087] Loading compiled-in X.509 certificates
[    5.862368] Btrfs loaded
[    5.863953] rga2: Driver loaded successfully ver:4.01
[    5.864193] rga2: Module initialized.
[    5.864231] pvtm list NULL
[    5.865922] rk-vcodec 20030000.rkvdec: leakage=4
[    5.865942] rk-vcodec 20030000.rkvdec: leakage-volt-sel=0
[    5.866122] rk-vcodec 20030000.rkvdec: Failed to get pvtm
[    5.866642] rk-vcodec 20030000.rkvdec: avs=0
[    5.867158] rk-vcodec 20030000.rkvdec: probe device
[    5.867831] rk-vcodec 20030000.rkvdec: drm allocator with mmu enabled
[    5.869750] rk-vcodec 20030000.rkvdec: init success
[    5.877046] asoc-simple-card hdmi-sound: i2s-hifi <-> 100c0000.i2s0 mapping ok
[    5.881089] asoc-simple-card spdif-sound: dit-hifi <-> 100d0000.spdif mapping ok
[    5.883963] hctosys: unable to open rtc device (rtc0)
[    5.895852] vendor storage:20190527 ret = 0
[    5.899509] ALSA device list:
[    5.899522]   #0: DW-I2S-HDMI
[    5.899525]   #1: SPDIF
[    5.963824] flash vendor storage:20170308 ret = -1
[    5.968979] ttyS2 - failed to request DMA, use interrupt mode
[    5.984984] VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
[    5.997043] devtmpfs: mounted
[    6.001224] Freeing unused kernel memory: 796K
[    6.005760] 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:~# [    8.558106] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

I hope this log can be helpful on investigation, 

thank you,

Hello, happy new year to you too!

 

Yes, you're the unlucky owner of these R29 boards which have this HDMI issue for which we don't have any solution yet, mostly because we don't have a board to study closely and the issue does not show any clue in logs and in device tree.

The issue is so difficult to track down that even LibreELEC images behaves the same.

Some people on the forum did some tests to help, but at the moment none succedeed.

Unitl we get an R29 board in our hands (and despite the forum leech above says, no people offered anything) we are still clueless.  :unsure:

Link to post
Share on other sites

@jock- most probably not related, but maybe worth a try: there is at least one allwinner h6 tv box which requires it to force hdmi to on via "video=HDMI-A-1:e" on the kernel cmdline to get any output on hdmi - so far nothing else has made it working than this little hack ... good luck :)

Link to post
Share on other sites

On 12/8/2021 at 11:57 AM, paradigman said:

I have four such boxes. Since I don't go with them, is unnecessary for me. I offer one to anyone who doesn’t live too far from me and is willing to deal with it.

@jock: It’s okay to escape your attention with the offering quoted above, but why do you think I’m a “forum leech”? 

Anyway, LibreELEC works on this board, it just doesn't suit my purposes.

Link to post
Share on other sites

On 12/8/2021 at 4:17 PM, karkow said:

dmesg.log from libreelec dmesg.log

 

After adding "video=HDMI-A-1:D"

dmesg2.log 71.75 kB · 2 downloads

 

/btw

I found an almost identical motherboard but my board have S9012p wifi and GCAI GPBD81S42MFLB-T3E (EMCP 8GB+1GB mlc 221ball ddr3)

YT & link to rom

 

I have getting one of this super duper box and its identical with that in the video with TRL WiFi and the same menory chip.

 

I have finding one LE that is booting and can accessing it with SSH and its up and running around 24 hours = very good.

The kernel see one extra memory card but its not using it but i think its only finding the right config and its working.

 

The bit problem is the HDMI output is not working and my board dont have any pads for comport so i cant see whats happening. Its looks some user have finding its hidden on the SD card pins but i cant finding exactly witch pin to using but if getting little gudency i can making it without problems so not being 110% blind all the time.

 

Multitoolis booting but can not using it then no HDMI output so cant backing up the android 10.1 (7.x in real) and see if its can accessing the internal flash. I was trying RK-Dump but its not working on my device. AndroidTool_Release_v2.71 is having problems but 2.39 looks working OK but its have less future. Have dumping different parts and also one large with all except the user partition so i think im being safe playing with it.

 

Have also installing terminal in android and was 

tar -zcvf  device.tar.gz /sys/firmware/devicetree/base/

so it shall having the device tree for the 3.10.104 kernel.

I think the problem is strange hardware configuration of the HDMI (i think RK have more outputs and also possible "tuning" the output voltage) or they have using no standard pins for the HDMI then using the combinated ram and flash module.

 

If some with knowledge like looking on the device tree for finding the device hardware setting it being great and perhaps getting this boxes working with ARMBian.

 

Running LE is not alternative for my then i need docke being installed and have RTL_433 running in one container and perhaps moving HA fro RPi if its stable.

 

I is more hardware and is active in ZHA community hand have profesional electronic experience and its looks many of the same kind is here and some great persons with coding skills (that i dont have) so its looks lok one great forum for getting use of this boxed !!

 

Sorry for my bad writing then i writing eng as i talking and im not native eng :-(((

 

I have not finding how attaching files but it coming with experience.

 

Thanks for great forum with much useful information and great work being done of the users !!!

 

 

Mvh  Mattias W

Link to post
Share on other sites

Hey guys,

This may be a more "linux general question", but what I could find and try did not work, so it may be a armbian/rk3228 specific solution. On this rk3328 I am running ubuntu 20.04.3 LTS, Kernel 4.4 with x11 and XFCE (sddm greeter) - rk3328. Now my question:

How do I make the screen, regardless of monitor (hdmi input) to have the same resolution and aspect ratio? Say I want it to be 4:3 and 500x600. How do I force, thorugh a script, any single monitor to run with this configuration?

I found some instructions on how to do this with xrandr and whatnot, but it just does not stick. Any suggestions?

Thanks!

Link to post
Share on other sites

Have putting pictures and information im My Git.

The system dont like linking jpg picture from github so doing normal linking instead sorry for that !!.

 

Large picture i not linked 2 but all is in the git.

First maskrom pads

2 more pads on the underside (Brasil user have documenting the function on them).

The SD-card socket: SD.

 

Cant getting RKDump working also with old drivers in W10.

Have booting Ubuntu and dumping all flash (8 GB), - userdata (2GB) and first 2 sectors (parameters) and its looks OK so i think im on the safe side doing little more things now.

 

Can someone with experience of "finding comports" taking  one look if the 2 pads on the underside is the com port or if its is on the SD-card socket and if i have finding the fight pin on the SD-card socket ?

 

If getting comport access its great for catching bootloader information but not necessarily for my if can the device booting ARMbian OK.

 

I have dumping the device tree from original Android so all important hardware config for the kernel shall being there but very likely its have some patches in android system for getting the HDMI working.

 

The multitool and libreelec.tv is booting OK without working HDMI and the last is possible putting ssh as kernel parameters is possible connecting to it but i need one real Linux that can being updated and installing programs like Docker, RTL-433 and HA iso its not working for My.

 

For my it very OK booting ARMbian from SD-card and having the eth working and not needing WiFi and internal flash (but  can being good to have if possible).

 

Is it one way making one SD-card with ARMbrian that is booting and have ssh enabled so can getting inside it and doing the setup (then i cant finding the consolle comport) or is it possible using one libreelec card (that is booting OK) and putting ARMbian system partition on it so its booting OK ?

 

The multitool is not supporting network = ssh is NO GO, and adding  USB serial support for consolle i thing is the same.

Then the question is it possible implanting scripting of multitool so doing one script with keyboard commands and its logging the console output on the SD-card so can doing the operations "in blind" and looking how it was working (or not). Then it shall being possible getting bootloader updated and also installing ARMbian in the internal flash or making it booting SD-card with ARMbrian OK.

 

If need more information please ask and i trying getting it so we can getting those boxes with old Samsung phones flash chips working with  ARMbrian.

 

All in and output is more than welcome !!

 

Mvh  Mattias

Link to post
Share on other sites

@MattWestB

I saw your pictures, but it would be wise to put a picture of the whole board itself.

I see that you already have spotted some serial port tx and rx pins since I see some serial logging, or am I wrong?

 

According to Micron Part number decoder, your eMCP is a MT29TZZZ8D5BKFAH-125, which is a 8 gigabyte eMMC + 8 gigabit LPDDR3 part. Datasheet is under NDA, but at least general specs are available on micron site: https://www.micron.com/products/multichip-packages/emmc-based-mcp/part-catalog/mt29tzzz8d5bkfah-125-w

It is definitely not a samsung part, but probably the tool is just reporting a wrong thing because it is not aware of such part.

 

I have little experience with tools for Windows, I usually use rkdeveloptool for linux to dump the internal eMMC or write images directly to eMMC.

I DON'T suggest you at this stage to write directly on eMMC.

You should do a backup of the internal eMMC and be sure your backup is sane: data is there, partitions are there: your backup should not be filled with zeros of 0xff's, you should get a PARM structure starting at sector 0x2000 (or somewhere else...).

 

Then you may even proceed to erase the eMMC to force to board to boot from sdcard. There you may run either LibreELEC or Armbian. Armbian has ssh access enabled by default, credentials are root:1234 on first boot.

But still I miss the point of doing so: you still won't get any HDMI output until the source of the problem is discovered and addressed properly.

Link to post
Share on other sites

Great thanks fo replay @jock !!

Im my git you have full picture of upper and under side of the device PCB i was not putting them in the readmy.

 

The "serial logging" is made in LibreELEC with ssh and dmesg and saved to the SD-card. I have not testing the 2 pads on the underside but i think its very likely is the RX and TX for the consolle.

Device tree is dumper from Android with installed terminal so its from original OS and kernel saved to one USB stack.

 

I have now dumping the eMMC from Ubuntu and also one 0x0 - end of system (then userdata is not interesting) also in windows with RK Android tools. And was splitting them with one old rkDumpSlicer_097 that looks working OK then i have headers of kernel and other things in the images that is expected having it = i feel safe erasing or writing the the eMMC.

And large thanks for the great instruction on the first post !!!

 

I have one conser and its the loader. I think it likely this boxes can having one no standard one. Is it possible reading the version of the used loader from the dumped flash ?

Do you think the "normal" (rk322x_loader_v1.10.256.bin) is working on this boards then restoring the dumped flash ?

 

Then running LibreELEC from SD-card with Linux kernel 5.5.0 and ssh access i is getting this in dmesg from the MMC init:

[    0.813830] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0)
[    0.832427] mmc2: new high speed MMC card at address 0001
[    0.834553] mmcblk2: mmc2:0001 P1J95L 7.30 GiB
[    0.835410] mmcblk2boot0: mmc2:0001 P1J95L partition 1 2.00 MiB
[    0.836178] mmcblk2boot1: mmc2:0001 P1J95L partition 2 2.00 MiB
[    0.836869] mmcblk2rpmb: mmc2:0001 P1J95L partition 3 2.00 MiB, chardev (243:0)


[    1.078825] dwmmc_rockchip 30000000.dwmmc: Successfully tuned phase to 262
[    1.078932] mmc0: new ultra high speed SDR104 SDXC card at address 5048
[    1.080769] mmcblk0: mmc0:5048 SD64G 57.9 GiB
[    1.085198]  mmcblk0: p1 p2
[    1.108505] Checking disk(s):  UUID=2802-0518 UUID=73346412-a77e-4e0e-9c12-dd7d25a70786

The kernel is not getting any partitions from mmc2 (as some user have getting) and also no GPT but i think its no problems then its still one chinese hotted android and real Linux is not understanding it all.

 

I was thinking trying the:

dd if=armbian.img of=/dev/mmcblk2 bs=512k oflag=direct status=progress


Perhaps its better way flashing Armbian with rkdeveloptool but i have not finding it only how restore the backup of dumped Android firmware.

 

PS: I have one old RK3188 TV-box with camera that working OK with Radxa old Ubuntu but its very old and cant installing docker so its EOL in my system.

Getting the Eth and and one stabile Ubuntu that is not EOL is better than the old box and the new with not working Linux.

If I can helping getting the HDMI working its great for all users that is having this problem but its not one no go for my if i can getting armbriam running on it.

 

If someone with little more knowledge like taking one look on the device tree from the original firmware its being great and also converting it to one update working one so users (and my) can using it in there devices. (device tree is in attachment)

 

The photo of the pads on the underside (the full scale photos is too large fr attaching):

RK3228B3.jpg

devicetreeRK3228.tar.gz

Link to post
Share on other sites

2 hours ago, MattWestB said:

I have one conser and its the loader. I think it likely this boxes can having one no standard one. Is it possible reading the version of the used loader from the dumped flash ?

Do you think the "normal" (rk322x_loader_v1.10.256.bin) is working on this boards then restoring the dumped flash ?

"Loader" is a composition of various pieces that do various boot things, so the concept of "standard loader" does not exist here.

There are several versions of each piece that can be combined together and rk322x_loader_v1.10.256.bin is simply a loader that is made up of the latest available bits at the time I put them together.

But you should not end up using it if you don't do bad mistakes. Writing an armbian image into eMMC without prior testing it can be such bad mistake.

 

By the way, you may want to test that loader if it works for you.

Once the eMMC is erased, give power to the board without any sdcard in the slot.

The board will be in maskrom mode, so you can run the command:

rkdeveloptool db rk322x_loader_v1.10.256.bin

and this will just boot the board with the loader. db command does not write anything to the eMMC, so you're safe enough, then you could run other rkdeveloptool command to get some info like flash info, chip id, etc... if they work, then that loader is compatible.

If you get the serial port working, you would also read the loader messages.

Just unplug the power when you're done.

 

2 hours ago, MattWestB said:

The kernel is not getting any partitions from mmc2 (as some user have getting) and also no GPT but i think its no problems then its still one chinese hotted android and real Linux is not understanding it all.

Well that depends on the original firmware design... some firmwares don't have a proper partition table at all, but have that "PARM" section somewhere on the eMMC with a string that is a hardwired "partition table". Proprietary u-boot read that string and passes it to the kernel command line, then the kernel spawns partitions at those positions on the eMMC.

 

This is rather hacky and proprietary way, I guess it has been dropped in u-boot for libreelec, hence you don't get any partition when you boot libreelec.

Take this as a grain of salt, that's just my guessing.

 

2 hours ago, MattWestB said:
dd if=armbian.img of=/dev/mmcblk2 bs=512k oflag=direct status=progress

Ok, this is one of the "bad mistakes" you can do :rolleyes:

I mean: you can proceed to burn armbian on eMMC, but first you must test if the image works for your board:

  • erase the internal eMMC
  • boot the armbian image from sdcard
  • be sure armbian image boots without issues

That's because the very very first piece of code of the loader (the ddrbin) initializes the DRAM memory. If it is not compatible with your RAM, it will just freeze the board. If so, your board is bricked and the only chance is to enter maskrom mode, but entering maskrom mode requires to short the clock pin on the eMMC. You have an eMCP chip, so where is the clock pin? And the answer is... "we don't know!". You may now guess that if you get in troubles this way, you're almost on your own.

 

2 hours ago, MattWestB said:

If someone with little more knowledge like taking one look on the device tree from the original firmware its being great and also converting it to one update working one so users (and my) can using it in there devices. (device tree is in attachment)

 

The original device tree is useful but alone it is not enough to bring HDMI up.

For that I would require to have such a board in my hands, there are tests to be conducted which cannot be made without the hardware.

As much as I could tinker with the dtb, how can I have the feedback of a working HDMI?

If we're lucky, the issue is in the dtb and it "just" requires a careful inspection, but if not it may require kernel recompilations, dozens of reboots, hours and hours of work, ...

 

 

Link to post
Share on other sites

I was soulering the pads under the SOC and its the local consolle !!

2091163727_RK3228B4(2).thumb.jpg.a78160a2c7c9240b6d1800c895d7a6db.jpg

The 2 pads by the memory chips is too small and have micro components near and its not possible doing with my shaky hands so i need open the box if bricking the boot on it and doing the short circuit on them (if its the right spots) but its 3 not populated memories so one must being one for flash and its possible finding the right.

Was doing logging without any connected extra hardware like HDMI and Eth.

 

Now its little interesting things then i was logging stock android booting its finding the eMMC:

But i have not looking so close for the HDMI.RK3228X_LOG1.txt

[    3.781032] Synopsys Designware Multimedia Card Interface Driver
[    3.781051] MHSC version = Ver 2.00 2015-06-10
[    3.781615] dwmmc_rockchip 30020000.rksdmmc: Version ID is 270a
[    3.781720] dwmmc_rockchip 30020000.rksdmmc: failed to get hpclk_mmc
[    3.782179] dwmmc_rockchip 30020000.rksdmmc: Using internal DMA controller.
[    3.782588] dwmmc_rockchip 30020000.rksdmmc: dw_mci_init_slot: fmin=400000, fmax=125000000 [mmc0]
[    3.796914] rk_sdmmc: BOOT dw_mci_setup_bus: argue clk_mmc workaround out 800000Hz for init[mmc0]
[    3.851826] mmc0: BKOPS_EN bit is not set
[    3.854643] mmc_host mmc0: Bus speed (slot 0) = 125000000Hz (slot req 52000000Hz, actual 31250000HZ div = 2)
[    3.854714] rk_sdmmc: BOOT dw_mci_setup_bus: argue clk_mmc workaround out normal clock [mmc0]
[    3.854750] rk_sdmmc: ERROR dw_mci_setup_bus: div SHOULD NOT LARGER THAN ONE! [mmc0]
[    3.854784] rk_sdmmc: BOOT dw_mci_setup_bus: workaround div = 1, host->bus_hz = 62500000 [mmc0]
[    3.854975] rk_sdmmc: BOOT Bus speed=31250000Hz,Bus width=8bits.[mmc0]
[    3.858645] mmc0: new high speed MMC card at address 0001
[    3.859775] mmcblk0: mmc0:0001 P1J95L 7.29 GiB 
[    3.859811] mmcblk0 capacity: 7
[    3.860392] mmcblk0rpmb: mmc0:0001 P1J95L partition 3 2.00 MiB
[    3.861612]      uboot: 0x000400000 -- 0x000800000 (4 MB)
[    3.861657]      trust: 0x000800000 -- 0x001000000 (8 MB)
[    3.861695]       misc: 0x001000000 -- 0x001400000 (4 MB)
[    3.861730] baseparamer: 0x001400000 -- 0x001500000 (1 MB)
[    3.861766]   resource: 0x001500000 -- 0x002400000 (15 MB)
[    3.861801]     kernel: 0x002400000 -- 0x003000000 (12 MB)
[    3.861836]       boot: 0x003000000 -- 0x003c00000 (12 MB)
[    3.861872]   recovery: 0x003c00000 -- 0x005c00000 (32 MB)
[    3.861908]     backup: 0x005c00000 -- 0x009c00000 (64 MB)
[    3.861943]      cache: 0x009c00000 -- 0x011c00000 (128 MB)
[    3.861980]   metadata: 0x011c00000 -- 0x012c00000 (16 MB)
[    3.862017]     kpanic: 0x012c00000 -- 0x013000000 (4 MB)
[    3.862053]     system: 0x013000000 -- 0x093000000 (2048 MB)
[    3.862091]   userdata: 0x093000000 -- 0x1d2c00000 (5116 MB)
[    3.862196]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14

Is the android eMMC drive locked to mmc0 and is not working if booting from external media ?

It can also being the i is using the wrong device tree that dont have the right DDR3 timing and eMMC support but its coming in later test.

 

Next up LE boot:

[    0.691110] inno-hdmi-phy 12030000.hdmi-phy: IRQ index 0 not found

So the HDMI is having different IRQ then the standard RK boards. RK3228X_LOG_LE1.txt

 

Nex up Multitool with 2 reboots then must changing the speed of the comport.

Its having problem with the eMMC so good  i did not DD armbrian to it and bricking the board !!

Great thanks for the advice @jock !!

[    4.174605] mmc2: Card stuck in programming state! __mmc_switch
[    4.174627] mmc2: error -110 whilst initialising MMC card
[    4.759394] ttyS2 - failed to request DMA, use interrupt mode

So its looks this board have mixing with the hardware then its also complaining on ttys2 is having DMA config problems.

Attaches RK3228X_LOG_MT1.txt.RK3228X_LOG_MT1.txt

 

I hope it can helping getting finding the missing piece for the HDMI woking OK with this devices but as i have saying its not my high priority. Instead i like getting armbrian booting on SD-card that looks not being possible without HDMI then cant getting in the Multitool for doing that.

 

One question @jock, I have installing Ser2Net on one Linux box and connecting the consolle with USB-serial so i can telneting to it and have access to the Linux CLI then booting Multitool (and other systems) on SD-card.

Is it possible starting your multitool from the CLI and installing the armbian boot on the SD-card ?

If yes i think i have one great working solution for my box that is 95% ideal (only eMMC install is missing for not killing the SD-card with writing !!!

 

If not i think i shall trying @hexdump way by installing LE boot and ambrian system but its more tricky getting all things in the right place  and its looks only one user have making it working (plus @hexdump).

 

Great thanks for advice and support with all the knowledge of RK board that is making it possible running real Linux on them !!

 

Mvh  Mattias W

 

 

Link to post
Share on other sites

@MattWestB

What what I see from the log of the original firwmare there are some weird things:

  • the firmware is very old: ddrbin v1.06 is the oldest going around. Other boards that have appeared here on the forum have ddrbin v1.09 and I ship v1.10 with armbian: this does not change much, it's just weird
  • the original firmware has the eMMC part of the eMCP configured to run at the slowest ever frequency of 31.5 Mhz :huh: Oldest boards have that frequency to 37.5 Mhz. but practically all eMMC chips around support at least 52Mhz. This is strange too, this may be the reason kernel is complaining about the eMMC when running the multitool. If so, that would be very sad because either the eMMC is crap or the board is crap too. There could be some missing setting for your board in the dtb that maybe fixes the situation

 

About the partitions, if you take a look to the kernel command line of the original firmware:

[    0.000000] Kernel command line: vmalloc=496M psci=enable rockchip_jtag console=ttyFIQ0 androidboot.selinux=permissive androidboot.hardware=rk30board androidboot.console=ttyFIQ0 init=/init mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00004000@0x00004000(trust),0x00002000@0x00008000(misc),0x00000800@0x0000A000(baseparamer),0x00007800@0x0000A800(resource),0x00006000@0x00012000(kernel),0x00006000@0x00018000(boot),0x00010000@0x0001E000(recovery),0x00020000@0x0002E000(backup),0x00040000@0x0004E000(cache),0x00008000@0x0008E000(metadata),0x00002000@0x00096000(kpanic),0x00400000@0x00098000(system),-@0x00498000(userdata) storagemedia=emmc uboot_logo=0x02000000@0x9dc00000 loader.timestamp=2019-04-04_11:13:45 hdmi.vic=65536 tve.format=1 SecureBootCheckOk=0

you can see that they are specified right there after mtdparts argument

 

Other errors are not really errors, in particular the HDMI IRQ error message appears on all the boards where mainline kernel is running, but that does not prevent HDMI to work right.

Maybe I can prepare a dtb to run the eMMC at 31.5 Mhz to see if the multitool is able to give you access to it. It would be interesting to know what is the problem that prevents the eMMC to run at full speed though.

 

Link to post
Share on other sites

22 hours ago, jock said:

@MattWestB

What what I see from the log of the original firwmare there are some weird things:

  • the firmware is very old: ddrbin v1.06 is the oldest going around. Other boards that have appeared here on the forum have ddrbin v1.09 and I ship v1.10 with armbian: this does not change much, it's just weird
  • the original firmware has the eMMC part of the eMCP configured to run at the slowest ever frequency of 31.5 Mhz :huh: Oldest boards have that frequency to 37.5 Mhz. but practically all eMMC chips around support at least 52Mhz. This is strange too, this may be the reason kernel is complaining about the eMMC when running the multitool. If so, that would be very sad because either the eMMC is crap or the board is crap too. There could be some missing setting for your board in the dtb that maybe fixes the situation

I was playing around with LEa and Multitool bootloader and LE is tricky getting armbian loading but maltitol is great !!!

Was getting Armbian_21.11.0-trunk_Rk322x-box_bullseye_legacy_4.4.194_minimal.img loading from one very slow USB-Stick by having MT bootloader flashed on one SD-card :-))

Was trying doing the same with Armbian_21.08.1_Rk322x-box_focal_current_5.10.60_xfce_desktop.img but was not working OK.

Then was getting bullseye running on SD-card by using Mini-tools and copy it from one other SD-card to the card with MT bootloader (after the 16MB) and it was booting very nice !!

And was trying 15 times doing the same with focal and it was not liking bootan and was doing more primary partitions and flagging the one that shall being booted as active. 

The problem is uboot is selecting the active partition and finding the load files but later is using some / all files from the first partition if its active nor not.

Now i have one working bootloader / uboot and focal running on SD-card:

      _    _________  ____            _
 _ __| | _|___ /___ \|___ \__  __    | |__   _____  __
| '__| |/ / |_ \ __) | __) \ \/ /____| '_ \ / _ \ \/ /
| |  |   < ___) / __/ / __/ >  <_____| |_) | (_) >  <
|_|  |_|\_\____/_____|_____/_/\_\    |_.__/ \___/_/\_\

Welcome to Armbian 21.08.6 Focal with Linux 5.10.60-rk322x

No end-user support: community creations

System load:   178%             Up time:       2 min
Memory usage:  11% of 976M      IP:            192.168.2.65
CPU temp:      64°C             Usage of /:    28% of 14G

[ 4 security updates available, 16 updates total: apt upgrade ]
Last check: 2022-01-18 14:31

[ General system configuration (beta): armbian-config ]

Last login: Tue Jan 18 15:58:39 UTC 2022 from 192.168.2.10 on pts/0

rk322x-config is not working OK before have i have updating the system but after all is uptodate i disabling desktop for getting fast booting and configuration: 

RK3228A, eMMC the last option and 600Mzh and standard LEDs no booting system then making them wrong (and must flashing the 4.4GB focal image and doing all agen). Perhaps trying RK3228B for getting more speed but i think faster DDR3 is one no go and 600Mhz is very good for this crappy Box.

 

Now the dmesg is showing  the eMMC like this:

[    4.166502] mmc_host mmc1: Bus speed (slot 0) = 976562Hz (slot req 400000Hz, actual 244140HZ div = 2)
[    4.201894] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    4.203128] mmc1: new high speed SDIO card at address 0001
[    4.211069] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    4.211286] mmc0: new high speed SDXC card at address 5048
[    4.213120] mmcblk0: mmc0:5048 SD64G 57.9 GiB
[    4.217132]  mmcblk0: p1
[    4.343298] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0)
[    4.363693] mmc2: new high speed MMC card at address 0001
[    4.365967] mmcblk2: mmc2:0001 P1J95L 7.30 GiB
[    4.366898] mmcblk2boot0: mmc2:0001 P1J95L partition 1 2.00 MiB
[    4.367889] mmcblk2boot1: mmc2:0001 P1J95L partition 2 2.00 MiB
[    4.368840] mmcblk2rpmb: mmc2:0001 P1J95L partition 3 2.00 MiB, chardev (241:0)

The system can see the eMMC but how can i testing if its OK ?

Is it possible DD some parts of mmcblk2 and looking if its have relevant /android) data ?

 

Also its it possible using your "boot images" images inside the Multitool with bootloader / uboot and writing the right one to one SD-card and then adding the system for focal after it and not need cutting img files in windows (that  is one pain in the as....) ?

 

If you can taking one look on the eMMC problem its very good and also how the box shall having the LEDs configured (its taking around 30 minutes "coming back" if i getting the system bricked so not easy testing).

Attached dmesg from Armbian 21.08.6 Focal with Linux 5.10.60-rk322x:abf_dmesg.zip

 

Focal is not restarting  itself in 1 hour so its looks being OK but i need letting it running longer for see its stable.

I think i can erasing the eMMC and knowing i can running Focal from SD-card without problem so its great !!

 

One PM one the eMMC is 110% reused one then looking its markings on it from its earlier life and it can being that is cant working at full speed but its OK for my then its looks the DDR3L is running at 600Mhz.

Also the PCB is more or less try and error getting the layout working OK and its one "multi purpose PCB" (can hast many different memory chips they have finding to day) but its OK for my at its prose and i can running one modern Ubuntu on it.

From your bootloader:

=> mmcinfo
Device: dwmmc@30020000
Manufacturer ID: fe
OEM: 14e
Name: P1J95
Bus Speed: 50000000
Mode: MMC High Speed (52MHz)
Rd Block Len: 512
MMC version 4.5
High Capacity: Yes
Capacity: 7.3 GiB
Bus Width: 8-bit
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 7.3 GiB WRREL
Boot Capacity: 2 MiB ENH
RPMB Capacity: 2 MiB ENH
Boot area 0 is not write protected
Boot area 1 is not write protected

 

If its stable i testing installing docker and more things and its can being used as one small cheap IOT server :-))

If getting LED and eMMC working its being one 200% better box as my RPi3B+ and can being used for more things.

 

If can helping getting other user of this boxes working i like helping also getting the HDMI working if its possible.

I have zero interest in the WiFi then its only making problem using it then its making inferences on my Zigbee networks.

 

Great thanks to jock and all other creative persons here that have making armbian working on RK-boxes !!

 

And sorry for spamming the forum !!

 

Mvh  Mattias

Link to post
Share on other sites

@MattWestB Glad to hear your experiments did well!

 

rk322x-config won't work if you do tricky things with the bootloader, since u-boot applies the device tree overlay rk322x-config configures. The u-boot in multitool is not made to do so, so whatever you choose, it will just be ignored.

 

The nice thing is that the eMMC is getting detected and appears to work fine at 50MHz frequency. This is weird too, but it's fine. I guess it does not like 37.5MHz at all, so maybe it is time to raise the frequency to 50MHz in Multitool and forget about it.

 

Anyway, you could test the eMMC just doing dd and reading some megabytes of data, but usually when it gets detected correctly it works fine (if it is not broken).

 

If you want to erase it, I suggest the command blkdiscard /dev/mmcblk2 which is way faster than dd because it uses the eMMC commands to invalidate the pages instead of zero-filling the whole content.

You could although do a full backup of it first using the usual dd command.

 

To me, your eMMC looks fine. I mean: Android is booting fine, so there is no reason to guess that it is faulty at all. Multitool is just not able to detect it because of some reason (probably the operating frequency, but can be also a bug in the kernel 4.4 code...), but that does not mean anything since these eMCP modules are a "recent" hardware addition and I could not test hardware compatibility.

Link to post
Share on other sites

Thanks for looking on the eMMC problem.

Here is the last lines from multitool with the updated device tree:

[    4.734945] pvtm list NULL
[    4.736375] rk-vcodec 20030000.rkvdec: leakage=4
[    4.736393] rk-vcodec 20030000.rkvdec: leakage-volt-sel=0
[    4.736529] rk-vcodec 20030000.rkvdec: Failed to get pvtm
[    4.736981] rk-vcodec 20030000.rkvdec: avs=0
[    4.737386] rk-vcodec 20030000.rkvdec: probe device
[    4.737967] rk-vcodec 20030000.rkvdec: drm allocator with mmu enabled
[    4.739678] rk-vcodec 20030000.rkvdec: init success
[    4.740911] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/hdmi-sound[0]'
[    4.740917] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/hdmi-sound[0]'
[    4.742337] asoc-simple-card hdmi-sound: i2s-hifi <-> 100c0000.i2s0 mapping ok
[    4.744734] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/spdif-sound[0]'
[    4.744744] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/spdif-sound[0]'
[    4.746027] asoc-simple-card spdif-sound: dit-hifi <-> 100d0000.spdif mapping ok
[    4.748839] hctosys: unable to open rtc device (rtc0)
[    4.764258] ALSA device list:
[    4.764269]   #0: DW-I2S-HDMI
[    4.764272]   #1: SPDIF
[    4.808835] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    4.815778] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    4.821406] mmc0: new high speed SDHC card at address 59b4
[    4.822590] mmcblk0: mmc0:59b4 SDU1  29.5 GiB
[    4.834096]  mmcblk0: p1 p2
[    4.859234] mmc2: new high speed MMC card at address 0001
[    4.860397] mmcblk2: mmc2:0001 P1J95L 7.30 GiB
[    4.860972] mmcblk2boot0: mmc2:0001 P1J95L partition 1 2.00 MiB
[    4.861650] mmcblk2boot1: mmc2:0001 P1J95L partition 2 2.00 MiB
[    4.862203] mmcblk2rpmb: mmc2:0001 P1J95L partition 3 2.00 MiB
[    4.882609] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    5.395032] mmc1: new high speed SDIO card at address 0001
[    5.395370] vendor storage:20190527 ret = 0
[    5.594754] ttyS2 - failed to request DMA, use interrupt mode
[    5.608443] VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
[    5.618369] devtmpfs: mounted
[    5.622448] Freeing unused kernel memory: 796K
[    5.626961] This architecture does not have kernel memory protection.

I have making little more testing and have getting Homeassistant supriviced up and running and fixing the sound but  that is burning 1.5 CPU and now the system is dle nicely and having around 60° temperature.

 

I have seen the eMMC initiated at low speed but its happening mostly (perhaps always) before setting the CPU and DDR3 speed and its looks the system is first inisianating the eMMC and then applying the DDR3 speed then its happening.

 

Was doing one DD backup for running armbian with and coping it one one USB stick so i have one more backup.

Was then DD for 10 med and i can see:
In the first 10 megs of eMMC @DDR Version V1.06 20171026 and GPT handling more times and then parameters * 8 then uboot code and commands until the end of the file.

For my its looks very nice so i was trying more booting maltitol but in the consolle its not loading so i starting in in the consolle and can only see the "popup messages" and trying with numbers and enter and get more popup messages but i cant see what i doing. Dorp consolle and reboot is working ok.

But after the 3rd boot o was getting one message "mmcblk2 erased" !!!!!!!

 

Taking the card out and the box is not booting and putting in one card and its booting OK but not  the first eMMC boot = eMMC is empty but booting is working on external media as expected.

 

Shall trying booting Ubuntu and using kdeveloptool for installing loader and trying the latest mainstream focal that is working OK from sd-card.

 

I dont knowing way multitool is not starting on boot in the console but its not liking being runned from command line and need doing fschk on the fat partition for making it working at all if have doing "fast shutdown".

 

 

Great thanks for helping getting armbrian working on our boxes !!

 

Mvh  Mattias

Link to post
Share on other sites

12 hours ago, MattWestB said:

Was testing the updated device tree on my running focal mainstream and its not getting the ethernet working :-((

DMESG from the second not good boot before changing it back and uploaded the log:

dmNew.zip 14.31 kB · 1 download

Not a wise thing to do at all.

Kernels are different, kernel configurations are different, there is no reason at all to use the same device tree, even because the device tree for the multitool is made for maximum compatibility and enables only the essential devices; armbian device tree is also made for compatibility but to be completed with overlays to enable the needed functionalities per-board.

Don't do it, it's a bad mistake.

Link to post
Share on other sites

I was thinking (= not knowing) it was the same device tree used in the normal armbian ;-((

 

Was fighting getting one loader and this board is very kinky and was only finding 2 that was working and the first was older then original in Android and the second was RK322XMiniLoaderAll_V2.47_spectek_en_ddr2_rd_odt_171127.bin and then i can also booting from eMMC (then getting the system installed).

 

After little try and error i was booting my Armbian 21.08.6 Focal patched with boot for MT.

And "only" installing system on eMMC and it was working 110% !!

 

then booting eMMC is the bootloader showing:

DDR Version V1.10 20190926
In
ID:0x0
330MHz
LPDDR3
Bus Width=32 Col=10 Bank=8 Row=14 CS=2 Die Bus-Width=32 Size=1024MB
mach:14
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

So its update OK and then its internal or external card / USB and if finding one OK system its booting OK.

 

After some more installations from zer i can only see degraded speed of the eMMC before updating and also the DDR confing is being made earlier after system update and i think the secret is that the initframes being rebuild for the kernel so the DDR config is being made earlier and the init of the eMMC is being later so its loading OK with full speed.

 

Latest boot on one SD-card and the DDR / eMMC init:

[    4.316399] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0)
[    4.336705] mmc2: new high speed MMC card at address 0001
[    4.338689] mmcblk2: mmc2:0001 P1J95L 7.30 GiB
[    4.339550] mmcblk2boot0: mmc2:0001 P1J95L partition 1 2.00 MiB
[    4.340626] mmcblk2boot1: mmc2:0001 P1J95L partition 2 2.00 MiB
[    4.341295] mmcblk2rpmb: mmc2:0001 P1J95L partition 3 2.00 MiB, chardev (241:0)
[    4.345284]  mmcblk2: p1


[    4.435008] rk3228-dmc 11200000.dmc: memory type LPDDR2 S2, timings (tCL, tRCD, tRP, tRAS): CL8-8-8-14 command rate: 1T (mcfg register: 0x6b0000)
[    4.435052] rk3228-dmc 11200000.dmc: detected LPDDR3 memory
[    4.435074] devfreq-event event0: Rockchip DFI interface enabled
[    4.438371] rk3228-dmc 11200000.dmc: TEE DRAM configuration initialized
[    4.440520] rk3228-dmc 11200000.dmc: Failed to register cooling device

Was running the test from armbian-config and the CUP tem was up to around 70° but normal its its idle around 55° so its not having the heating problem H3 devices is having :-)))

 

Great thanks for helping getting this bow working without HDMI and WiFi but all other things needed for running on good real Linux on it and and  Ubuntu Focal is making it working long as one small IOT server with updated for long time !!

 

If can helping other getting the HDMI working its being even better but is no large use in my case.

 

Mvh  Mattias

Link to post
Share on other sites

On 5/29/2020 at 10:57 PM, jock said:

Media framework installer v0.1

 

Hello, I managed to package some goodies for rk322x boxes for OpenGL/OpenGL ES applications support and accelerated video decoding. This work is heavily inspired by @JMCC media script, but simpler and more limited. It should bring enough to squeeze something useful from these boxes. This is only for Ubuntu Focal Legacy 4.4.194 Kernel builds. Mainline kernel still require some work on the video acceleration front, but when done everything will be much smoother for all of us!

 

Currently it contains:

  • Armsoc driver
  • Libmali for Utgard Mali 400 (both X11 and GBM versions)
  • GL4ES OpenGL to OpenGL ES wrapper
  • RKMPP Media framework from Rockchip
  • FFmpeg compiled with RKMPP support
  • Kodi 18.6 Leia

 

It doesn't include (yet) gstreamer, although gstreamer rockchip plugin is easy to compile and package.

 

Instructions:

  • Download the package from here
  • Unpack the package in directory of your choice
  • Open a terminal, move to the directory and run ./install_media.sh - it will take less than 5 minutes to install everything
  • Reboot the machine
  • Done!

OpenGL/OpenGL ES:

OpenGL ES applications (like glmark2 benchmark) can run as-is.

OpenGL applications can be run via GL4ES wrapper from command line using:

glrun app_name

 

Kodi:

Due to some limitations of the proprietary Mali driver, to start Kodi you need to be in a virtual terminal and X11 must be closed. To do so:

  • Press CTRL-ALT-F1 to move to virtual terminal 1
  • Log in with your credentials
  • Execute systemctl stop lightdm to close X11
  • Run start-kodi
  • Execute systemctl start lightdm to bring back X11

 

mpv:

mpv does not require any particular treatment.

Can be used directly from X11 in fullscreen mode or from a virtual terminal without X11.

Install it if it is not already installed via usual apt command line.

Run it with these switches to enable full video acceleration:

mpv --hwdec=rkmpp -vo=gpu --gpu-api=opengl --gpu-context=drm --opengl-es=yes <video_file>

 

 

Hi, @jock Thank you for your excellent work!

 

I tried this script and kodi worked fine, but xfce showed up as a black screen. Also, I noticed that lightdm is using almost 100% of CPU. Is there any solution? Thanks!

Link to post
Share on other sites

57 minutes ago, windowsair said:

 

Hi, @jock Thank you for your excellent work!

 

I tried this script and kodi worked fine, but xfce showed up as a black screen. Also, I noticed that lightdm is using almost 100% of CPU. Is there any solution? Thanks!

Hello!

There was an ancient bug with lightdm-gtk-greeter that was behaving the way you describe.

Maybe it is an old image? You could try to upgrade the packages using apt and see if it gets fixed, otherwise you may install and configure slick-greeter which was the solution adopter in armbian to workaround the bug.

Link to post
Share on other sites

22 hours ago, jock said:

Hello!

There was an ancient bug with lightdm-gtk-greeter that was behaving the way you describe.

Maybe it is an old image? You could try to upgrade the packages using apt and see if it gets fixed, otherwise you may install and configure slick-greeter which was the solution adopter in armbian to workaround the bug.

Hello and congratulations for the work done, a query this package will work for rk322x boxes, Armbian buster installed system, legacy kernel 4.4.194, xfce, on my box everything works fine, only Youtube, it works slow, I appreciate your response….

Link to post
Share on other sites

22 hours ago, jock said:

Hello!

There was an ancient bug with lightdm-gtk-greeter that was behaving the way you describe.

Maybe it is an old image? You could try to upgrade the packages using apt and see if it gets fixed, otherwise you may install and configure slick-greeter which was the solution adopter in armbian to workaround the bug.

 

Hello and congratulations for the work done, a query this package will work for rk322x boxes, Armbian buster installed system, legacy kernel 4.4.194, xfce, on my box everything works fine, only Youtube, it works slow, I appreciate your response….

Link to post
Share on other sites

 Share

40 40