Jump to content

Recommended Posts

Posted

Hello, i have an H96 max plus that i bought very cheap "not working", it boots perfectly with an sd card and the easyb dtb but i cant install the os to the emmc, i get this:

DDR version 1.13 20180428
ID:0xFFF
In
DDR3
333MHz
Bus Width=32 Col=11 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=4096MB
ddrconfig:3
OUT
Boot1 Release Time: Feb  2 2018 15:41:39, version: 2.46
ChipType = 0x11, 194
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=59640MB
FwPartOffset=2000 , 2000
SdmmcInit=0 0
BootCapSize=0
UserCapSize=15193MB
FwPartOffset=2000 , 0
StorageInit ok = 222399
Raw SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
LoadTrustBL
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0xa2ad8
RunBL31 0x10000
NOTICE:  BL31: v1.3(debug):f947c7e
NOTICE:  BL31: Built : 15:40:24, Feb  6 2020
NOTICE:  BL31:Rockchip release version: v1.3
INFO:    ARM GICv2 driver initialized
INFO:    Using rkfiq sec cpu_context!
INFO:    boot cpu mask: 1
INFO:    plat_rockchip_pmu_init: pd status 0xe
INFO:    BL31: Initializing runtime services
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2019.10-armbian (Feb 06 2020 - 15:40:34 +0300)

Model: Rockchip RK3328 EVB
DRAM:  4 GiB
MMC:   rksdmmc@ff500000: 1, rksdmmc@ff520000: 0
Loading Environment from EXT4...
** Unable to use mmc 0:auto for loading the env **
In:    serial@ff130000
Out:   serial@ff130000
Err:   serial@ff130000
Model: Rockchip RK3328 EVB
Net:   Could not get PHY for ethernet@ff540000: addr -1
eth-1: ethernet@ff540000
Hit any key to stop autoboot:  0
starting USB...
Bus usb@ff5c0000: USB EHCI 1.00
Bus usb@ff5d0000: USB OHCI 1.0
Bus usb@ff580000: Bus usb@ff600000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@ff5c0000 for devices... 1 USB Device(s) found
scanning bus usb@ff5d0000 for devices... 1 USB Device(s) found
scanning bus usb@ff580000 for devices... 1 USB Device(s) found
scanning bus usb@ff600000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot.scr
912 bytes read in 3 ms (296.9 KiB/s)
## Executing script at 00500000
start mainline u-boot
1163 bytes read in 3 ms (377.9 KiB/s)
## Error: "mac" not defined
## Error: "eth_mac" not defined
23357952 bytes read in 1021 ms (21.8 MiB/s)
10114521 bytes read in 444 ms (21.7 MiB/s)
36564 bytes read in 9 ms (3.9 MiB/s)
## Loading init Ramdisk from Legacy Image at 04000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    10114457 Bytes = 9.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Loading Ramdisk to fc57f000, end fcf24599 ... OK
   Loading Device Tree to 00000000fc573000, end 00000000fc57eed3 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.5.0-rc6-rk3328-tv (root@vbox) (gcc version 8.3.0                                                        (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #rc1.                                                       038 SMP PREEMPT Thu Feb 6 15:49:31 MSK 2020
[    0.000000] Machine model: Rockchip RK3328 TV box H96 Max+
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 384 MiB at 0x00000000e4400000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 22 pages/cpu s50392 r8192 d31528 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1027656
[    0.000000] Kernel command line: root=LABEL=ROOTFS rootflags=data=writeback r                                                       w console=uart8250,mmio32,0xff130000 console=tty0 no_console_suspend consoleblan                                                       k=0 fsck.fix=yes fsck.repair=yes net.ifnames=0
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes                                                       , linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes,                                                        linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x3bfff000-0x3ffff000] (64MB)
[    0.000000] Memory: 3602652K/4175872K available (14460K kernel code, 1434K rw                                                       data, 5884K rodata, 960K init, 927K bss, 180004K reserved, 393216K cma-reserved)
[    0.000000] random: get_random_u64 called from cache_random_seq_create+0x7c/0                                                       x150 with crng_init=0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jif                                                       fies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles:                                                        0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 43980                                                       46511097ns
[    0.001523] Console: colour dummy device 80x25
[    0.001934] printk: console [tty0] enabled
[    0.002372] printk: bootconsole [uart8250] disabled
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.5.0-rc6-rk3328-tv (root@vbox) (gcc version 8.3.0                                                        (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #rc1.                                                       038 SMP PREEMPT Thu Feb 6 15:49:31 MSK 2020
[    0.000000] Machine model: Rockchip RK3328 TV box H96 Max+
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 384 MiB at 0x00000000e4400000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 22 pages/cpu s50392 r8192 d31528 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1027656
[    0.000000] Kernel command line: root=LABEL=ROOTFS rootflags=data=writeback r                                                       w console=uart8250,mmio32,0xff130000 console=tty0 no_console_suspend consoleblan                                                       k=0 fsck.fix=yes fsck.repair=yes net.ifnames=0
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes                                                       , linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes,                                                        linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x3bfff000-0x3ffff000] (64MB)
[    0.000000] Memory: 3602652K/4175872K available (14460K kernel code, 1434K rw                                                       data, 5884K rodata, 960K init, 927K bss, 180004K reserved, 393216K cma-reserved)
[    0.000000] random: get_random_u64 called from cache_random_seq_create+0x7c/0                                                       x150 with crng_init=0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jif                                                       fies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles:                                                        0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 43980                                                       46511097ns
[    0.001523] Console: colour dummy device 80x25
[    0.001934] printk: console [tty0] enabled
[    0.002372] printk: bootconsole [uart8250] disabled
[    0.002881] Calibrating delay loop (skipped), value calculated using timer fr                                                       equency.. 48.00 BogoMIPS (lpj=96000)
[    0.002917] pid_max: default: 32768 minimum: 301
[    0.003166] LSM: Security Framework initializing
[    0.003256] SELinux:  Initializing.
[    0.003393] *** VALIDATE SELinux ***
[    0.003515] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, line                                                       ar)
[    0.003572] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes,                                                        linear)
[    0.003680] *** VALIDATE tmpfs ***
[    0.004367] *** VALIDATE proc ***
[    0.004735] *** VALIDATE cgroup1 ***
[    0.004759] *** VALIDATE cgroup2 ***
[    0.026535] ASID allocator initialised with 32768 entries
[    0.034519] rcu: Hierarchical SRCU implementation.
[    0.046173] EFI services will not be available.
[    0.046736] smp: Bringing up secondary CPUs ...
[    0.078841] Detected VIPT I-cache on CPU1
[    0.078917] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.110934] Detected VIPT I-cache on CPU2
[    0.111006] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.143035] Detected VIPT I-cache on CPU3
[    0.143098] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.143227] smp: Brought up 1 node, 4 CPUs
[    0.143342] SMP: Total of 4 processors activated.
[    0.143364] CPU features: detected: 32-bit EL0 Support
[    0.143387] CPU features: detected: CRC32 instructions
[    0.143902] CPU: All CPU(s) started at EL2
[    0.143944] alternatives: patching kernel code
[    0.146896] devtmpfs: initialized
[    0.158727] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                       x_idle_ns: 7645041785100000 ns
[    0.158791] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.175521] xor: measuring software checksum speed
[    0.215310]    8regs     :  1187.000 MB/sec
[    0.255383]    32regs    :  1362.000 MB/sec
[    0.295458]    arm64_neon:  1203.000 MB/sec
[    0.295478] xor: using function: 32regs (1362.000 MB/sec)
[    0.295570] pinctrl core: initialized pinctrl subsystem
[    0.296697] thermal_sys: Registered thermal governor 'step_wise'
[    0.297201] DMI not present or invalid.
[    0.297761] NET: Registered protocol family 16
[    0.304645] DMA: preallocated 256 KiB pool for atomic allocations
[    0.304720] audit: initializing netlink subsys (disabled)
[    0.305066] audit: type=2000 audit(0.304:1): state=initialized audit_enabled=                                                       0 res=1
[    0.306576] cpuidle: using governor ladder
[    0.306629] cpuidle: using governor menu
[    0.307195] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.308673] Serial: AMBA PL011 UART driver
[    0.344830] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.344875] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.344901] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.344926] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.351398] cryptd: max_cpu_qlen set to 1000
[    0.431912] raid6: neonx8   gen()   774 MB/s
[    0.499997] raid6: neonx8   xor()   733 MB/s
[    0.568137] raid6: neonx4   gen()   742 MB/s
[    0.636220] raid6: neonx4   xor()   715 MB/s
[    0.704386] raid6: neonx2   gen()   568 MB/s
[    0.772471] raid6: neonx2   xor()   594 MB/s
[    0.840648] raid6: neonx1   gen()   379 MB/s
[    0.908723] raid6: neonx1   xor()   448 MB/s
[    0.976898] raid6: int64x8  gen()   583 MB/s
[    1.044955] raid6: int64x8  xor()   380 MB/s
[    1.113139] raid6: int64x4  gen()   492 MB/s
[    1.181210] raid6: int64x4  xor()   370 MB/s
[    1.249414] raid6: int64x2  gen()   339 MB/s
[    1.317354] raid6: int64x2  xor()   301 MB/s
[    1.385535] raid6: int64x1  gen()   221 MB/s
[    1.453621] raid6: int64x1  xor()   229 MB/s
[    1.453641] raid6: using algorithm neonx8 gen() 774 MB/s
[    1.453661] raid6: .... xor() 733 MB/s, rmw enabled
[    1.453681] raid6: using neon recovery algorithm
[    1.454059] ACPI: Interpreter disabled.
[    1.456206] iommu: Default domain type: Translated
[    1.457530] vgaarb: loaded
[    1.458451] SCSI subsystem initialized
[    1.459126] usbcore: registered new interface driver usbfs
[    1.459209] usbcore: registered new interface driver hub
[    1.459329] usbcore: registered new device driver usb
[    1.459874] pps_core: LinuxPPS API ver. 1 registered
[    1.459898] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome                                                       tti <giometti@linux.it>
[    1.459943] PTP clock support registered
[    1.459999] EDAC MC: Ver: 3.0.0
[    1.460902] FPGA manager framework
[    1.461063] Advanced Linux Sound Architecture Driver Initialized.
[    1.461885] NetLabel: Initializing
[    1.461910] NetLabel:  domain hash size = 128
[    1.461928] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.462029] NetLabel:  unlabeled traffic allowed by default
[    1.462807] clocksource: Switched to clocksource arch_sys_counter
[    1.462846] *** VALIDATE bpf ***
[    1.463244] VFS: Disk quotas dquot_6.6.0
[    1.463358] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.463549] FS-Cache: Loaded
[    1.463570] *** VALIDATE ramfs ***
[    1.463613] *** VALIDATE hugetlbfs ***
[    1.464120] pnp: PnP ACPI: disabled
[    1.473995] NET: Registered protocol family 2
[    1.475037] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 3276                                                       8 bytes, linear)
[    1.475160] TCP established hash table entries: 32768 (order: 6, 262144 bytes                                                       , linear)
[    1.475606] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linea                                                       r)
[    1.476381] TCP: Hash tables configured (established 32768 bind 32768)
[    1.476673] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.476846] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.477319] NET: Registered protocol family 1
[    1.478086] RPC: Registered named UNIX socket transport module.
[    1.478121] RPC: Registered udp transport module.
[    1.478140] RPC: Registered tcp transport module.
[    1.478159] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.478189] NET: Registered protocol family 44
[    1.478225] PCI: CLS 0 bytes, default 64
[    1.478553] Trying to unpack rootfs image as initramfs...
[    2.347155] Freeing initrd memory: 9876K
[    2.348523] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counte                                                       rs available
[    2.704322] Initialise system trusted keyrings
[    2.704656] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    2.714314] zbud: loaded
[    2.716672] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.717207] FS-Cache: Netfs 'nfs' registered for caching
[    2.718118] NFS: Registering the id_resolver key type
[    2.718178] Key type id_resolver registered
[    2.718198] Key type id_legacy registered
[    2.718228] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.718251] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.720302] FS-Cache: Netfs 'cifs' registered for caching
[    2.720871] Key type cifs.spnego registered
[    2.720915] Key type cifs.idmap registered
[    2.720954] ntfs: driver 2.1.32 [Flags: R/W].
[    2.721954] JFS: nTxBlock = 8192, nTxLock = 65536
[    2.730289] SGI XFS with ACLs, security attributes, realtime, quota, no debug                                                        enabled
[    2.732671] *** VALIDATE xfs ***
[    2.733167] ocfs2: Registered cluster interface o2cb
[    2.733523] OCFS2 User DLM kernel interface loaded
[    2.735957] *** VALIDATE gfs2 ***
[    2.736392] gfs2: GFS2 installed
[    2.738040] aufs 5.5-20200203
[    2.776508] Key type asymmetric registered
[    2.776551] Asymmetric key parser 'x509' registered
[    2.776571] Asymmetric key parser 'pkcs8' registered
[    2.776676] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2                                                       46)
[    2.777002] io scheduler mq-deadline registered
[    2.777027] io scheduler kyber registered
[    2.777345] io scheduler bfq registered
[    2.784582] gpio-syscon ff100000.syscon:grf-gpio: can't read the data registe                                                       r offset!
[    2.791438] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
[    2.791488] dma-pl330 ff1f0000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num                                                       _Peri-20 Num_Events-16
[    2.797887] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[    2.801024] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 14, base_baud =                                                        1500000) is a 16550A
[    2.890216] printk: console [ttyS2] enabled
[    2.891756] Serial: AMBA driver
[    2.893566] rockchip-vop ff370000.vop: Adding to iommu group 1
[    2.898557] rockchip-drm display-subsystem: bound ff370000.vop (ops vop_compo                                                       nent_ops)
[    2.899381] dwhdmi-rockchip ff3c0000.hdmi: [drm:dw_hdmi_rockchip_bind] *ERROR                                                       * Unable to parse OF data
[    2.900235] rockchip-drm display-subsystem: failed to bind ff3c0000.hdmi (ops                                                        dw_hdmi_rockchip_ops): -517
[    2.901321] rockchip-drm display-subsystem: master bind failed: -517
[    2.918651] brd: module loaded
[    2.933662] loop: module loaded
[    2.937420] libphy: Fixed MDIO Bus: probed
[    2.939183] rk_gmac-dwmac ff550000.ethernet: IRQ eth_wake_irq not found
[    2.939800] rk_gmac-dwmac ff550000.ethernet: IRQ eth_lpi not found
[    2.940518] rk_gmac-dwmac ff550000.ethernet: PTP uses main clock
[    2.941201] rk_gmac-dwmac ff550000.ethernet: clock input or output? (output).
[    2.941852] rk_gmac-dwmac ff550000.ethernet: Can not read property: tx_delay.
[    2.942498] rk_gmac-dwmac ff550000.ethernet: set tx_delay to 0x30
[    2.943083] rk_gmac-dwmac ff550000.ethernet: Can not read property: rx_delay.
[    2.943729] rk_gmac-dwmac ff550000.ethernet: set rx_delay to 0x10
[    2.944297] rk_gmac-dwmac ff550000.ethernet: integrated PHY? (yes).
[    2.944936] rk_gmac-dwmac ff550000.ethernet: cannot get clock clk_mac_refout
[    2.945580] rk_gmac-dwmac ff550000.ethernet: cannot get clock clk_mac_speed
[    2.951297] rk_gmac-dwmac ff550000.ethernet: init for RMII
[    2.991099] rk_gmac-dwmac ff550000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    2.991756] rk_gmac-dwmac ff550000.ethernet:         DWMAC1000
[    2.992236] rk_gmac-dwmac ff550000.ethernet: DMA HW capability register suppo                                                       rted
[    2.992915] rk_gmac-dwmac ff550000.ethernet: RX Checksum Offload Engine suppo                                                       rted
[    2.993595] rk_gmac-dwmac ff550000.ethernet: COE Type 2
[    2.994069] rk_gmac-dwmac ff550000.ethernet: TX Checksum insertion supported
[    2.994707] rk_gmac-dwmac ff550000.ethernet: Wake-Up On Lan supported
[    2.995355] rk_gmac-dwmac ff550000.ethernet: Normal descriptors
[    2.995897] rk_gmac-dwmac ff550000.ethernet: Ring mode enabled
[    2.996427] rk_gmac-dwmac ff550000.ethernet: Enable RX Mitigation via HW Watc                                                       hdog Timer
[    2.997160] rk_gmac-dwmac ff550000.ethernet: device MAC address 7e:9f:a8:c6:4                                                       0:6f
[    2.998113] libphy: stmmac: probed
[    3.013040] VFIO - User Level meta-driver version: 0.3
[    3.017041] dwc2 ff580000.usb: ff580000.usb supply vusb_d not found, using du                                                       mmy regulator
[    3.017947] dwc2 ff580000.usb: ff580000.usb supply vusb_a not found, using du                                                       mmy regulator
[    3.033102] dwc2 ff580000.usb: DWC OTG Controller
[    3.033594] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
[    3.034275] dwc2 ff580000.usb: irq 34, io mem 0xff580000
[    3.035025] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bc                                                       dDevice= 5.05
[    3.035776] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=                                                       1
[    3.036434] usb usb1: Product: DWC OTG Controller
[    3.036865] usb usb1: Manufacturer: Linux 5.5.0-rc6-rk3328-tv dwc2_hsotg
[    3.037471] usb usb1: SerialNumber: ff580000.usb
[    3.038659] hub 1-0:1.0: USB hub found
[    3.039084] hub 1-0:1.0: 1 port detected
[    3.040220] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.040833] ehci-pci: EHCI PCI platform driver
[    3.041335] ehci-platform: EHCI generic platform driver
[    3.044334] ehci-platform ff5c0000.usb: EHCI Host Controller
[    3.044882] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus                                                        number 2
[    3.045742] ehci-platform ff5c0000.usb: irq 35, io mem 0xff5c0000
[    3.058833] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
[    3.059692] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bc                                                       dDevice= 5.05
[    3.060443] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=                                                       1
[    3.061100] usb usb2: Product: EHCI Host Controller
[    3.061545] usb usb2: Manufacturer: Linux 5.5.0-rc6-rk3328-tv ehci_hcd
[    3.062137] usb usb2: SerialNumber: ff5c0000.usb
[    3.063301] hub 2-0:1.0: USB hub found
[    3.063691] hub 2-0:1.0: 1 port detected
[    3.064612] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.065209] ohci-pci: OHCI PCI platform driver
[    3.065711] ohci-platform: OHCI generic platform driver
[    3.066630] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
[    3.067297] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus                                                        number 3
[    3.068184] ohci-platform ff5d0000.usb: irq 36, io mem 0xff5d0000
[    3.131057] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bc                                                       dDevice= 5.05
[    3.131810] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=                                                       1
[    3.132468] usb usb3: Product: Generic Platform OHCI controller
[    3.133005] usb usb3: Manufacturer: Linux 5.5.0-rc6-rk3328-tv ohci_hcd
[    3.133599] usb usb3: SerialNumber: ff5d0000.usb
[    3.134735] hub 3-0:1.0: USB hub found
[    3.135149] hub 3-0:1.0: 1 port detected
[    3.136758] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.137294] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus nu                                                       mber 4
[    3.138195] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110                                                        quirks 0x0000000002010010
[    3.139148] xhci-hcd xhci-hcd.0.auto: irq 170, io mem 0xff600000
[    3.140211] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bc                                                       dDevice= 5.05
[    3.140963] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=                                                       1
[    3.141621] usb usb4: Product: xHCI Host Controller
[    3.142067] usb usb4: Manufacturer: Linux 5.5.0-rc6-rk3328-tv xhci-hcd
[    3.142658] usb usb4: SerialNumber: xhci-hcd.0.auto
[    3.144029] hub 4-0:1.0: USB hub found
[    3.144425] hub 4-0:1.0: 1 port detected
[    3.145234] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.145753] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus nu                                                       mber 5
[    3.146462] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    3.147165] usb usb5: We don't know the algorithms for LPM for this host, dis                                                       abling LPM.
[    3.148046] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bc                                                       dDevice= 5.05
[    3.148796] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=                                                       1
[    3.149455] usb usb5: Product: xHCI Host Controller
[    3.149900] usb usb5: Manufacturer: Linux 5.5.0-rc6-rk3328-tv xhci-hcd
[    3.150492] usb usb5: SerialNumber: xhci-hcd.0.auto
[    3.151640] hub 5-0:1.0: USB hub found
[    3.152033] hub 5-0:1.0: 1 port detected
[    3.153118] usbcore: registered new interface driver usb-storage
[    3.153956] mousedev: PS/2 mouse device common for all mice
[    3.155487] i2c /dev entries driver
[    3.157835] rk808 1-0018: failed to read the chip id at 0x17
[    3.172997] sdhci: Secure Digital Host Controller Interface driver
[    3.173574] sdhci: Copyright(c) Pierre Ossman
[    3.174003] Synopsys Designware Multimedia Card Interface Driver
[    3.175275] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.177012] ledtrig-cpu: registered to indicate activity on CPUs
[    3.178187] hid: raw HID events driver (C) Jiri Kosina
[    3.179072] usbcore: registered new interface driver usbhid
[    3.179583] usbhid: USB HID core driver
[    3.186965] NET: Registered protocol family 17
[    3.187753] Key type dns_resolver registered
[    3.189017] registered taskstats version 1
[    3.189407] Loading compiled-in X.509 certificates
[    3.190017] zswap: loaded using pool lzo/zbud
[    3.190724] Key type ._fscrypt registered
[    3.191142] Key type .fscrypt registered
[    3.193290] Btrfs loaded, crc32c=crc32c-generic
[    3.230287] Key type encrypted registered
[    3.267821] rockchip-drm display-subsystem: bound ff370000.vop (ops vop_compo                                                       nent_ops)
[    3.268852] dwhdmi-rockchip ff3c0000.hdmi: Detected HDMI TX controller v2.11a                                                        with HDCP (inno_dw_hdmi_phy2)
[    3.270496] dwhdmi-rockchip ff3c0000.hdmi: registered DesignWare HDMI I2C bus                                                        driver
[    3.272362] rockchip-drm display-subsystem: bound ff3c0000.hdmi (ops dw_hdmi_                                                       rockchip_ops)
[    3.273126] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.273723] [drm] No driver support for vblank timestamp query.
[    3.274347] [drm] Cannot find any crtc or sizes
[    3.275571] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem o                                                       n minor 0
[    3.279585] printk: console [netcon0] enabled
[    3.280006] netconsole: network logging started
[    3.280424] hctosys: unable to open rtc device (rtc0)
[    3.281483] ALSA device list:
[    3.281770]   No soundcards found.
[    3.282918] Freeing unused kernel memory: 960K
[    3.290881] Run /init as init process
[    3.926317] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode                                                       .
[    3.927125] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
[    3.927772] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
[    3.928385] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 31,32 bit                                                        host data width,256 deep fifo
[    3.943179] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz,                                                        actual 400000HZ div = 0)
[    3.959680] dwmmc_rockchip ff520000.dwmmc: IDMAC supports 32-bit address mode                                                       .
[    3.960431] dwmmc_rockchip ff520000.dwmmc: Using internal DMA controller.
[    3.961072] dwmmc_rockchip ff520000.dwmmc: Version ID is 270a
[    3.961692] dwmmc_rockchip ff520000.dwmmc: DW MMC controller at irq 32,32 bit                                                        host data width,256 deep fifo
[    3.962879] mmc_host mmc1: card is non-removable.
[    3.975076] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz,                                                        actual 400000HZ div = 0)
[    4.020995] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000                                                       Hz, actual 50000000HZ div = 0)
[    4.022082] mmc0: new high speed SDHC card at address aaaa
[    4.025520] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[    4.031142]  mmcblk0: p1 p2
[    4.135649] mmc_host mmc1: Bus speed (slot 0) = 150000000Hz (slot req 1500000                                                       00Hz, actual 150000000HZ div = 0)
[    4.137285] random: fast init done
[    4.162462] dwmmc_rockchip ff520000.dwmmc: All phases work, using default pha                                                       se 0.
[    4.163776] mmc1: new HS200 MMC card at address 0001
[    4.165662] mmcblk1: mmc1:0001 DF4064 58.2 GiB
[    4.166749] mmcblk1boot0: mmc1:0001 DF4064 partition 1 4.00 MiB
[    4.168020] mmcblk1boot1: mmc1:0001 DF4064 partition 2 4.00 MiB
[    4.168947] mmcblk1rpmb: mmc1:0001 DF4064 partition 3 4.00 MiB, chardev (243:                                                       0)
[    4.291014] [drm] Cannot find any crtc or sizes
[    4.916817] EXT4-fs (mmcblk0p2): mounted filesystem with writeback data mode.                                                        Opts: data=writeback
[    5.763992] systemd[1]: System time before build time, advancing clock.
[    5.887708] NET: Registered protocol family 10
[    5.975469] Segment Routing with IPv6
[    6.028943] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SEL                                                       INUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +                                                       XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybr                                                       id)
[    6.032020] systemd[1]: Detected architecture arm64.
[    6.074155] systemd[1]: Set hostname to <rk3328>.
[    6.077890] systemd[1]: Failed to bump fs.file-max, ignoring: Invalid argumen                                                       t
[    6.093827] systemd[1]: Couldn't move remaining userspace processes, ignoring                                                       : Input/output error
[    6.843816] random: systemd: uninitialized urandom read (16 bytes read)
[    6.859966] random: systemd: uninitialized urandom read (16 bytes read)
[    6.860681] systemd[1]: Reached target Remote File Systems.
[    6.862291] random: systemd: uninitialized urandom read (16 bytes read)
[    6.868325] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    6.869952] systemd[1]: Started Dispatch Password Requests to Console Directo                                                       ry Watch.
[    6.871349] systemd[1]: Reached target Swap.
[    6.874226] systemd[1]: Created slice system-getty.slice.
[    7.141861] EXT4-fs (mmcblk0p2): re-mounted. Opts: commit=600,errors=remount-                                                       ro
[    7.628734] systemd-journald[400]: Received request to flush runtime journal                                                        from PID 1
[    8.183388] asoc-simple-card hdmi-sound: i2s-hifi <-> ff000000.i2s mapping ok
[    8.184249] asoc-simple-card hdmi-sound: ASoC: no DMI vendor name!
[    8.237892] mc: Linux media interface: v0.10
[    8.264791] videodev: Linux video capture interface: v2.00
[    8.284136] rk3328-codec ff410000.codec: spk_depop_time use default value.
[    8.319366] asoc-simple-card analog-sound: ff410000.codec <-> ff010000.i2s ma                                                       pping ok
[    8.320250] asoc-simple-card analog-sound: ASoC: no DMI vendor name!
[    8.344156] hantro_vpu: module is from the staging directory, the quality is                                                        unknown, you have been warned.
[    8.351970] hantro-vpu ff350000.video-codec: Adding to iommu group 0
[    8.353571] hantro-vpu ff350000.video-codec: registered rockchip,rk3328-vpu-d                                                       ec as /dev/video0
[    8.374949] Registered IR keymap rc-x96max
[    8.399988] IR NEC protocol handler initialized
[    8.427208] rc rc0: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0
[    8.428192] input: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0/input                                                       0
[    8.443078] rc rc0: lirc_dev: driver gpio_ir_recv registered at minor = 0, ra                                                       w IR receiver, no transmitter
[   10.427078] zram: Added device: zram0
[   10.429289] zram: Added device: zram1
[   10.431160] zram: Added device: zram2
[   10.553533] zram1: detected capacity change from 0 to 1073741824
[   10.660987] rk_gmac-dwmac ff550000.ethernet eth0: PHY [stmmac-1:00] driver [R                                                       ockchip integrated EPHY]
[   10.674928] rk_gmac-dwmac ff550000.ethernet eth0: No Safety Features support                                                        found
[   10.675666] rk_gmac-dwmac ff550000.ethernet eth0: PTP not supported by HW
[   10.676296] rk_gmac-dwmac ff550000.ethernet eth0: configuring for phy/rmii li                                                       nk mode
[   11.634884] Adding 1048572k swap on /dev/zram1.  Priority:5 extents:1 across:                                                       1048572k SSFS
[   11.830433] zram0: detected capacity change from 0 to 52428800
[   12.195891] random: crng init done
[   12.196241] random: 7 urandom warning(s) missed due to ratelimiting
[   12.401922] EXT4-fs (zram0): mounted filesystem without journal. Opts: discar                                                       d
[   12.402649] ext4 filesystem being mounted at /var/log supports timestamps unt                                                       il 2038 (0x7fffffff)

Armbian 20.02.0-rc1.038 Buster ttyS2

rk3328 login: root
Password: [   33.758854] vcc_host_vbus: disabling
[   33.759215] vcc_otg_vbus: disabling

Last login: Mon Feb 24 23:01:05 UTC 2020 on tty1
 ____  _  ________________  ___      _______     __
|  _ \| |/ /___ /___ /___ \( _ )    |_   _\ \   / /
| |_) | ' /  |_ \ |_ \ __) / _ \ _____| |  \ \ / /
|  _ <| . \ ___) |__) / __/ (_) |_____| |   \ V /
|_| \_\_|\_\____/____/_____\___/      |_|    \_/

Welcome to Armbian buster with Linux 5.5.0-rc6-rk3328-tv

System load:   0.73 0.19 0.06   Up time:       0 min
Memory usage:  3 % of 3912MB    IP:
CPU temp:      43°C
Usage of /:    19% of 15G


root@rk3328:~# fdisk -l
Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram4: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram5: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram6: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram7: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram8: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram9: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram10: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram11: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram12: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram13: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram14: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram15: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mmcblk0: 14.9 GiB, 15931539456 bytes, 31116288 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3f6eaa36

Device         Boot  Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       32768   557055   524288  256M  e W95 FAT16 (LBA)
/dev/mmcblk0p2      557056 30805119 30248064 14.4G 83 Linux


Disk /dev/mmcblk1: 58.2 GiB, 62537072640 bytes, 122142720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/zram0: 50 MiB, 52428800 bytes, 12800 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram1: 1 GiB, 1073741824 bytes, 262144 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
root@rk3328:~# fdisk /dev/mmcblk1

Welcome to fdisk (util-linux 2.33.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0x614ff0b0.

Command (m for help): m

Help:

  DOS (MBR)
   a   toggle a bootable flag
   b   edit nested BSD disklabel
   c   toggle the dos compatibility flag

  Generic
   d   delete a partition
   F   list free unpartitioned space
   l   list known partition types
   n   add a new partition
   p   print the partition table
   t   change a partition type
   v   verify the partition table
   i   print information about a partition

  Misc
   m   print this menu
   u   change display/entry units
   x   extra functionality (experts only)

  Script
   I   load disk layout from sfdisk script file
   O   dump disk layout to sfdisk script file

  Save & Exit
   w   write table to disk and exit
   q   quit without saving changes

  Create a new label
   g   create a new empty GPT partition table
   G   create a new empty SGI (IRIX) partition table
   o   create a new empty DOS partition table
   s   create a new empty Sun partition table


Command (m for help): i
No partition is defined yet!

Command (m for help): q

root@rk3328:~# ls
fstab           install-aw.sh           install-rk3399.sh
g12_sound.sh    install-rk3328.sh       u-boot
install-aml.sh  install-rk3399-nvme.sh  u-boot-default-rk3328.img
root@rk3328:~# ./install-rk3328.sh
Start script create MBR and filesystem
/dev/mmcblk1
Start backup u-boot default
16+0 records in
16+0 records out
16777216 bytes (17 MB, 16 MiB) copied, 1.70928 s, 9.8 MB/s
[  185.774226] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz,                                                        actual 400000HZ div = 0)
[  185.853733] mmc_host mmc1: Bus speed (slot 0) = 150000000Hz (slot req 1500000                                                       00Hz, actual 150000000HZ div = 0)
[  185.878432] dwmmc_rockchip ff520000.dwmmc: All phases work, using default pha                                                       se 0.
[  185.880422] blk_update_request: I/O error, dev mmcblk1, sector 0 op 0x1:(WRIT                                                       E) flags 0x800 phys_seg 1 prio class 0
[  185.881382] Buffer I/O error on dev mmcblk1, logical block 0, lost async page                                                        write
1+0 records in
1+0 records out
512 bytes copied, 0.129009 s, 4.0 kB/s
[  185.904484] blk_update_request: I/O error, dev mmcblk1, sector 0 op 0x1:(WRIT                                                       E) flags 0x800 phys_seg 1 prio class 0
[  185.905462] Buffer I/O error on dev mmcblk1, logical block 0, lost async page                                                        write
442+0 records in
442+0 records out
442 bytes copied, 0.0190557 s, 23.2 kB/s
[  187.355565] blk_update_request: I/O error, dev mmcblk1, sector 0 op 0x1:(WRIT                                                       E) flags 0x4800 phys_seg 256 prio class 0
[  187.356570] Buffer I/O error on dev mmcblk1, logical block 0, lost async page                                                        write
[  187.357325] Buffer I/O error on dev mmcblk1, logical block 1, lost async page                                                        write
[  187.358035] Buffer I/O error on dev mmcblk1, logical block 2, lost async page                                                        write
[  187.358743] Buffer I/O error on dev mmcblk1, logical block 3, lost async page                                                        write
[  187.359522] Buffer I/O error on dev mmcblk1, logical block 4, lost async page                                                        write
[  187.360274] Buffer I/O error on dev mmcblk1, logical block 5, lost async page                                                        write
[  187.361005] Buffer I/O error on dev mmcblk1, logical block 6, lost async page                                                        write
[  187.361722] Buffer I/O error on dev mmcblk1, logical block 7, lost async page                                                        write
[  187.501381] blk_update_request: I/O error, dev mmcblk1, sector 2048 op 0x1:(W                                                       RITE) flags 0x4800 phys_seg 256 prio class 0
[  187.522265] blk_update_request: I/O error, dev mmcblk1, sector 4096 op 0x1:(W                                                       RITE) flags 0x4800 phys_seg 256 prio class 0
[  187.543161] blk_update_request: I/O error, dev mmcblk1, sector 6144 op 0x1:(W                                                       RITE) flags 0x4800 phys_seg 256 prio class 0
[  187.553605] blk_update_request: I/O error, dev mmcblk1, sector 8192 op 0x1:(W                                                       RITE) flags 0x4800 phys_seg 256 prio class 0
[  187.564060] blk_update_request: I/O error, dev mmcblk1, sector 10240 op 0x1:(                                                       WRITE) flags 0x4800 phys_seg 256 prio class 0
[  187.574522] blk_update_request: I/O error, dev mmcblk1, sector 14336 op 0x1:(                                                       WRITE) flags 0x4800 phys_seg 256 prio class 0
[  187.584993] blk_update_request: I/O error, dev mmcblk1, sector 16384 op 0x1:(                                                       WRITE) flags 0x4800 phys_seg 256 prio class 0
32767+0 records in
32767+0 records out
16776704 bytes (17 MB, 16 MiB) copied, 1.77806 s, 9.4 MB/s
Start create MBR and partittion
Warning: Error fsyncing/closing /dev/mmcblk1: Input/output error
Error: Input/output error during write on /dev/mmcblk1
Error: /dev/mmcblk1: unrecognised disk label
Error: /dev/mmcblk1: unrecognised disk label
Start update u-boot
dd: fsync failed for '/dev/mmcblk1': Input/output error
8192+0 records in
8192+0 records out
4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.46853 s, 9.0 MB/s
Done
Start copy system for eMMC.
Formatting BOOT partition...mkfs.fat 4.1 (2017-01-24)
mkfs.vfat: unable to open /dev/mmcblk1p1: No such file or directory
done.
mount: /ddbr/install: special device /dev/mmcblk1p1 does not exist.
Cppying BOOT...done.
Edit init config...done.
rm: cannot remove '/ddbr/install/s9*': No such file or directory
rm: cannot remove '/ddbr/install/aml*': No such file or directory
umount: /ddbr/install: not mounted.
Formatting ROOT partition...
The file /dev/mmcblk1p2 does not exist and no size was specified.
e2fsck 1.44.5 (15-Dec-2018)
e2fsck: No such file or directory while trying to open /dev/mmcblk1p2
Possibly non-existent device?
done.
Copying ROOTFS.
mount: /ddbr/install: special device /dev/mmcblk1p2 does not exist.
Copy BIN
Create DEV
Copy ETC
Copy HOME
Copy LIB
Create MEDIA
Create MNT
Copy OPT
Create PROC
Copy ROOT
Create RUN
Copy SBIN
Copy SELINUX
Copy SRV
Create SYS
Create TMP
Copy USR
Copy VAR
Copy fstab
umount: /ddbr/install: not mounted.
*******************************************
Complete copy OS to eMMC
*******************************************
root@rk3328:~#

But nothing is created or copied to the emmc, any help is greatly appreciated

Posted

Why would you not use fdisk on the emmc to define and format partitions?

Do start at 16M, 32768 sectors for the first, 2-300M,, fat, type c

and the rest linux, type 83,, mkdosfs -F32 /dev/mmcblk1p1,, mkfs.ext4   .......p2

All as root  (16M = 16*1024*2 sectors,,, space for idbloader, uboot, tfm)

If the emmc is bad, you will get lots of errors

Posted

Me on my H96MAX+ I managed to start and install on EMMC.
I used the image "Armbian_20.02.0-rc1.038_Rk3328-tv_buster_current_5.5.0-rc6_20200205.img" with the .dtb of easyb.
On the other hand, impossible to start with the image "Armbian_20.05.0-trunk_Arm-64_buster_current_5.5.1_20200227.img".
Has anyone succeeded?

Posted
1 hour ago, almotra said:

Rk3328-tv

Has a built-in image u-boot directly for rk3328

 

 

1 hour ago, almotra said:

Arm-64

not u-boot for rk3328 . without manually adding the correct u-boot, you can only start from USB media (when starting from USB, you use u-boot from eMMC, if it supports this function).

Posted

 

On 2/28/2020 at 12:00 AM, wdtz said:

Why would you not use fdisk on the emmc to define and format partitions?

Do start at 16M, 32768 sectors for the first, 2-300M,, fat, type c

and the rest linux, type 83,, mkdosfs -F32 /dev/mmcblk1p1,, mkfs.ext4   .......p2

All as root  (16M = 16*1024*2 sectors,,, space for idbloader, uboot, tfm)

If the emmc is bad, you will get lots of errors

 

Finally got some free time to try this and:

 

root@rk3328:~# fdisk -l
Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram4: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram5: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram6: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram7: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram8: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram9: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram10: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram11: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram12: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram13: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram14: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram15: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/mmcblk0: 14.9 GiB, 15931539456 bytes, 31116288 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3f6eaa36

Device         Boot  Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       32768   557055   524288  256M  e W95 FAT16 (LBA)
/dev/mmcblk0p2      557056 30805119 30248064 14.4G 83 Linux


Disk /dev/mmcblk1: 58.2 GiB, 62537072640 bytes, 122142720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/zram0: 50 MiB, 52428800 bytes, 12800 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram1: 1 GiB, 1073741824 bytes, 262144 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
root@rk3328:~# fdisk /dev/mmcblk1

Welcome to fdisk (util-linux 2.33.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0x3656a8be.

Command (m for help): n
Partition type
   p   primary (0 primary, 0 extended, 4 free)
   e   extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1):
First sector (2048-122142719, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-122142719, default 122142719): +16M

Created a new partition 1 of type 'Linux' and of size 16 MiB.

Command (m for help): n
Partition type
   p   primary (1 primary, 0 extended, 3 free)
   e   extended (container for logical partitions)
Select (default p):

Using default response p.
Partition number (2-4, default 2):
First sector (34816-122142719, default 34816):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (34816-122142719, default 122142719):

Created a new partition 2 of type 'Linux' and of size 58.2 GiB.

Command (m for help): m

Help:

  DOS (MBR)
   a   toggle a bootable flag
   b   edit nested BSD disklabel
   c   toggle the dos compatibility flag

  Generic
   d   delete a partition
   F   list free unpartitioned space
   l   list known partition types
   n   add a new partition
   p   print the partition table
   t   change a partition type
   v   verify the partition table
   i   print information about a partition

  Misc
   m   print this menu
   u   change display/entry units
   x   extra functionality (experts only)

  Script
   I   load disk layout from sfdisk script file
   O   dump disk layout to sfdisk script file

  Save & Exit
   w   write table to disk and exit
   q   quit without saving changes

  Create a new label
   g   create a new empty GPT partition table
   G   create a new empty SGI (IRIX) partition table
   o   create a new empty DOS partition table
   s   create a new empty Sun partition table


Command (m for help): w
The partition table has been altered.
[  300.307906] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[  300.384745] mmc_host mmc1: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0)
[  300.409911] dwmmc_rockchip ff520000.dwmmc: All phases work, using default phase 0.
[  300.411916] blk_update_request: I/O error, dev mmcblk1, sector 0 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[  300.412884] Buffer I/O error on dev mmcblk1, logical block 0, lost async page write
Calling ioctl() to re-read partition table.
/dev/mmcblk1: close device failed: Input/output error

root@rk3328:~#

Is it screwed or im doing something wrong?

Posted

>Buffer I/O error on dev mmcblk1, logical block 0, lost async page write

>/dev/mmcblk1: close device failed: Input/output error

I think something is wrong with hardware, perhaps try a different (but compatible) dtb

OR try   dd if=/dev/zero of=emmc bs=1M count=20 (change emmc as appropriate)

Do be sure to run fdisk again, command p ,, q,, just to see if error msg was correct

 

And, PLEASE start first partition at 32768 sectors (16M).

Most distros expect unpartitioned space for idbloader(start 64 sec), uboot (8M, 32384)

and ATF (not sure). sometimes you see them as mmcblkXboot0, boot1, rpmb in dmesg,,

(uboot in boot0, ATF in rpmb,, idbloader just raw)

NOT accessible with fdisk at all,, will NOT show up,

if it wasn't for     dmesg | grep mmcblk       you wouldn't know they exist

And some distros have different offsets, but if you leave 16M blank it usually works out

Posted

Same result: 

root@rk3328:/home/gcorigliano# fdisk /dev/mmcblk1

Welcome to fdisk (util-linux 2.33.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0xd32d225a.

Command (m for help): n
Partition type
   p   primary (0 primary, 0 extended, 4 free)
   e   extended (container for logical partitions)
Select (default p):

Using default response p.
Partition number (1-4, default 1):
First sector (2048-122142719, default 2048): 32768
Last sector, +/-sectors or +/-size{K,M,G,T,P} (32768-122142719, default 122142719): +300M

Created a new partition 1 of type 'Linux' and of size 300 MiB.

Command (m for help): t
Selected partition 1
Hex code (type L to list all codes): c
Changed type of partition 'Linux' to 'W95 FAT32 (LBA)'.

Command (m for help): n
Partition type
   p   primary (1 primary, 0 extended, 3 free)
   e   extended (container for logical partitions)
Select (default p):

Using default response p.
Partition number (2-4, default 2):
First sector (2048-122142719, default 2048): 647168
Last sector, +/-sectors or +/-size{K,M,G,T,P} (647168-122142719, default 122142719):

Created a new partition 2 of type 'Linux' and of size 58 GiB.

Command (m for help): w
The partition table has been altered.
[  653.251095] blk_update_request: I/O error, dev mmcblk1, sector 0 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[  653.252056] Buffer I/O error on dev mmcblk1, logical block 0, lost async page write
Calling ioctl() to re-read partition table.
/dev/mmcblk1: close device failed: Input/output error

There is something weird tho, if i understand the process correctly the device loads first the uboot from the emmc then loads the microsd, correct? The device boots correctly every time with the sd card, no issues at all, and apparently uboot gives no errors during that part...would it help if i capture the terminal without the sdcard to try to pinpoint the issue? without the sd card it gets stuck in some weird boot loop with a colored circle in the centre of the screen...

Posted

Well, if you have serial terminal....

>the device loads first the uboot from the emmc

I doubt that there is one (on the emmc)

So then it looks at SD, loads 1st idbloader, then uboot, then ATF (arm trusted firmware),,

all from uSD

I would say that either your emmc/controller are bad or dtb is not right

copy boot.* as backup, try other dtbs,, since it is a H96+ also write image to a usb stick,,

many dtb have a wrong regulator setting for SD power, uboot is OK, then SD is dead with kernel

usb stick will still work, see if fdisk works with different dtb (writes without error, a rerun shows correct data)

 

--theoretical--If idbloader from emmc and then uboot (emmc), and there is a bootable SD card,

what comes next??.. Clearly the version of uboot must prioritize SD or only android would boot

I know, for rk3299 order baked into chip is spi, emmc, SD, usb for program load

I don't remember for rk3328

--edit--

only 2 dtb are right for H96max+ easyb and ?hexdump?

All others have no power to SD after uboot

uboot can read SD OK, load dtb, then load kernel, then card is dead

So, only change SD card, easiest is to copy good dtb to *.gd

then copy, in turn, dtb to name of dtb you are using, make a note of which,

or do in alphabetical order, don't bother with anything with android in the name

 

Posted
On 5/21/2019 at 6:01 PM, hexdump said:

here is the latest round of my dtb for t9 and h96max+ rk3328 tv boxes - changes since last version:

  • properly enable dmc (i think this allows better memory timing)
  • raise voltage for the 1.392ghz clock (disabled by default) to the values which worked for @amirul as well
  • raise thermal trip points slightly to 85/95/110 degree celsius
  • add a rk3328-t9-fast.dtb which has the 1.392ghz cpu clock and higher memory clocks enabled (the 1.512ghz cpu clock is still disabled by default as its likely not working or too unstable in most cases)

the cpu performance ist about 5-10% better than my last t9 dtb for the regular t9 dtb and about 10-15% better than my last t9 dtb for the t9-fast dtb and as such the cpu performance is now about even with the mx10 box one ... i noticed that the usb2 port might be a bit unstable at times, so better use the usb3 port - maybe this is a general problem for rk3328 boards ...

 

best wishes - hexdump

rk3328-t9.dts 81.71 kB · 372 downloads rk3328-t9.dtb 68.64 kB · 429 downloads rk3328-t9-dtb.diff 18.09 kB · 253 downloads rk3328-t9-fast.dtb 68.63 kB · 318 downloads rk3328-t9-fast.dts 81.7 kB · 289 downloads rk3328-t9-fast-dtb.diff 18.08 kB · 238 downloads

Hi,  @hexdump

 

your dtb doesn't work on my T9 4GB/32GB 
tv box link: https://forum.freaktab.com/forum/tv-player-support/rockchip-based-tv-players/rk3328-devices/744603-alfawise-t9-tv-box-rk3328-android8-1-4gb-ram-32gb-rom-2-4g-wifi-100mbps-usb3-0-support-4k,
it simply doesn't start shows nothing, in other dtb calls and the problems that @amirul was facing, i tested using the same version of armbian that @amirul used and also tried with the most recent version, and in both cases your dtb of the same problem. the tv box doesn't start.

Posted

@Italo Felipe - i think there is a newer version of the t9 box which has a rk3318 instead of the rk3328 in the original one - maybe your box is one of those? i think the old one came with android 8 and the new one with android 9 ... if you have the newer one, you may try the things mentioned in this thread and other on this forum about getting rk3318 boxes working ...

 

good luck - hexdump

Posted
8 hours ago, hexdump said:

@Italo Felipe - i think there is a newer version of the t9 box which has a rk3318 instead of the rk3328 in the original one - maybe your box is one of those? i think the old one came with android 8 and the new one with android 9 ... if you have the newer one, you may try the things mentioned in this thread and other on this forum about getting rk3318 boxes working ...

 

good luck - hexdump

I'm very dumb hahahahaha, it was just the hdmi cable barely hooked, it worked normally.

Posted
11 hours ago, hexdump said:

@Italo Felipe - i think there is a newer version of the t9 box which has a rk3318 instead of the rk3328 in the original one - maybe your box is one of those? i think the old one came with android 8 and the new one with android 9 ... if you have the newer one, you may try the things mentioned in this thread and other on this forum about getting rk3318 boxes working ...

 

good luck - hexdump

Hey, dexdump, can you help me? :D
I was able to make it work using your version of dtb, but armbian with kernel 5 doesn't work with your dtb, the latest version provided by @balbes150 with kernel 4 (armbian 19.11.3 - 20191126_4.4.154), it works but wifi doesn't work like it does with armbian version 5. has how to make it compatible with kernel 5 or make wifi work in the latest version with kernel 4, I'm very lay about linux, I can't do these spells you do :D

Posted

@Italo Felipe - somewhere in this thread i also posted a t9 dtb for mainline, which should work for 5.x - not sure if i already had wifi working with it but i think i had ...

 

good luck and best wishes - hexdump

Posted
On 3/14/2020 at 7:24 PM, hexdump said:

@Italo Felipe - somewhere in this thread i also posted a t9 dtb for mainline, which should work for 5.x - not sure if i already had wifi working with it but i think i had ...

 

good luck and best wishes - hexdump

Hi, Hexdump sorry for ordering a little more but now the system won't start, do you know how to tidy up ? without having to lose my data 

WhatsApp Image 2020-03-17 at 13.52.43.jpeg

Posted

Hello, 

 

I installed armbian on my H96 max+ using this tutorial, but now I'm trying to restore android. I tried to use the ddbr tool, but it searches the backup file on the boot device where the partition is to small to put the backup in.

 

I also tried to restore android by using software like RKtool, Androidtool release or Factorytool, and they all tell me "Download boot fail".

 

Is there a way to restore the original android firmware?

Posted
On 4/12/2020 at 1:35 AM, bobolon said:

Hello, 

 

I installed armbian on my H96 max+ using this tutorial, but now I'm trying to restore android. I tried to use the ddbr tool, but it searches the backup file on the boot device where the partition is to small to put the backup in.

 

I also tried to restore android by using software like RKtool, Androidtool release or Factorytool, and they all tell me "Download boot fail".

 

Is there a way to restore the original android firmware?

Hello,

Can you explain to me how you did for H96max +?
What dtb?
How did you copy u-boot-rk3328-mvr9?
I do not understand how to do with the 2 command lines. (dd if = u-boot-rk3328-mvr9.img of = / dev / "sd card" conv = fsync bs = 1 count = 442 and ......)

 

Alex

Posted
On 4/17/2020 at 6:52 PM, almotra said:

Hello,

Can you explain to me how you did for H96max +?
What dtb?
How did you copy u-boot-rk3328-mvr9?
I do not understand how to do with the 2 command lines. (dd if = u-boot-rk3328-mvr9.img of = / dev / "sd card" conv = fsync bs = 1 count = 442 and ......)

 

Alex

Hi,

I plugged both a usb stick and a microSD card with the script into the box. I don't remember which dtb I used sorry. 

If you have the ddbr backup of the box, could you maybe send it to me? Mine is corrupted I think.

 

Vic

Posted

Hello everyone,

 

I made some efforts in the past to install Armbian into my H96 max+ (2GB RAM / 16GB ROM) but I abandoned it for a while. Now some months after I'm trying again to get it working. Libreelec works but Armbian doesn't.

My problem is always the same, boot is stuck at this point (may be a RAM issue). I tried many .dtb including one generated by my from Android, the result is always the same.

 

DDR version 1.13 20180428
ID:0xFFF
In
DDR3
333MHz
Bus Width=32 Col=11 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=2048MB
ddrconfig:2
OUT
Boot1 Release Time: Feb  2 2018 15:41:39, version: 2.46
ChipType = 0x11, 193
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=15028MB
FwPartOffset=2000 , 2000
SdmmcInit=0 0
BootCapSize=0
UserCapSize=15343MB
FwPartOffset=2000 , 0
StorageInit ok = 203283
Raw SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
LoadTrustBL
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0xa2ad8
RunBL31 0x10000
NOTICE:  BL31: v1.3(debug):f947c7e
NOTICE:  BL31: Built : 15:40:24, Feb  6 2020
NOTICE:  BL31:Rockchip release version: v1.3
INFO:    ARM GICv2 driver initialized
INFO:    Using rkfiq sec cpu_context!
INFO:    boot cpu mask: 1
INFO:    plat_rockchip_pmu_init: pd status 0xe
INFO:    BL31: Initializing runtime services
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2019.10-armbian (Feb 06 2020 - 15:40:34 +0300)

Model: Rockchip RK3328 EVB
DRAM:  

 

Has someone an idea to solve this problem? Thanks in advance.

Posted

Hi,
Can somebody help me with my A5X Max+ 4/32GB?
As you know there is no way to boot it from USB or SD card. So im trying to install armbian in the maskrom mode.
Below you can see output from UART - not booting OS.
This thread mentioned by @Gergely seems to be dead.
The script shows no errors, I also tried versions with gpt formating and erasing mmc with the same result.
How ca i fix it?

Spoiler

DDR version 1.13 20180428
ID:0x805 Y
In
SRX
DDR3
333MHz
Bus Width=32 Col=11 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=4096MB
ddrconfig:3
OUT
Boot1 Release Time: Feb  2 2018 15:41:39, version: 2.46
ChipType = 0x11, 258
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=29820MB
FwPartOffset=2000 , 2000
SdmmcInit=0 2
StorageInit ok = 121664
Raw SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
LoadTrustBL
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0xa2ad8
RunBL31 0x10000
NOTICE:  BL31: v1.3(debug):f947c7e
NOTICE:  BL31: Built : 12:15:29, Feb  6 2020
NOTICE:  BL31:Rockchip release version: v1.3
INFO:    ARM GICv2 driver initialized
INFO:    Using rkfiq sec cpu_context!
INFO:    boot cpu mask: 1
INFO:    plat_rockchip_pmu_init: pd status 0xe
INFO:    BL31: Initializing runtime services
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2019.10-armbian (Feb 06 2020 - 12:15:39 +0300)

Model: Rockchip RK3328 EVB
DRAM:  4 GiB
MMC:   rksdmmc@ff500000: 1, rksdmmc@ff520000: 0
Loading Environment from EXT4...
** Unable to use mmc 0:auto for loading the env **
In:    serial@ff130000
Out:   serial@ff130000
Err:   serial@ff130000
Model: Rockchip RK3328 EVB
Net:
Warning: ethernet@ff540000 (eth0) using random MAC address - 0e:d6:29:b2:1b:8c
eth0: ethernet@ff540000
Hit any key to stop autoboot:  0
starting USB...
Bus usb@ff5c0000: USB EHCI 1.00
Bus usb@ff5d0000: USB OHCI 1.0
Bus usb@ff580000: Bus usb@ff600000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@ff5c0000 for devices... 2 USB Device(s) found
scanning bus usb@ff5d0000 for devices... 1 USB Device(s) found
scanning bus usb@ff580000 for devices... 2 USB Device(s) found
scanning bus usb@ff600000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

Device 0: Vendor:          Rev: PMAP Prod: USB DISK 2.0
            Type: Removable Hard Disk
            Capacity: 7643.2 MB = 7.4 GB (15653376 x 512)
... is now current device
Scanning usb 0:1...
Found U-Boot script /boot.scr
990 bytes read in 28 ms (34.2 KiB/s)
## Executing script at 00500000
start mainline u-boot
1157 bytes read in 28 ms (40 KiB/s)
## Error: "mac" not defined
## Error: "eth_mac" not defined
## Error: "ethaddr" not defined
Error reading cluster
** Unable to read file /zImage **
Card did not respond to voltage select!
SCRIPT FAILED: continuing...
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
912 bytes read in 4 ms (222.7 KiB/s)
## Executing script at 00500000
start mainline u-boot
 ** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Card did not respond to voltage select!
SCRIPT FAILED: continuing...
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
DMA reset timeout
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
DMA reset timeout
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
DMA reset timeout
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
DMA reset timeout
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
DMA reset timeout
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
DMA reset timeout
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
DMA reset timeout
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
DMA reset timeout
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
DMA reset timeout
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-rk3328-evb_rk3328
DMA reset timeout
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-rk3328
DMA reset timeout
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
DMA reset timeout
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
DMA reset timeout
Config file not found
DMA reset timeout
DMA reset timeout
=>

 

Posted
15 hours ago, Sico said:

Has someone an idea to solve this problem? Thanks in advance.

Take a u-boot from a running system (LE) and add it to the Armbian SD card.

 

13 hours ago, deb said:

How ca i fix it?

 

13 hours ago, deb said:

Error reading cluster
** Unable to read file /zImage **

 

13 hours ago, deb said:

start mainline u-boot
 ** fs_devread read error - block

Use high-quality media.

Posted
4 hours ago, balbes150 said:

Take a u-boot from a running system (LE) and add it to the Armbian SD card.

 

Thank you so much Balbes,

 

I really don't know how to do it but I tried this way:

- Copied all the files from the Armbian boot partition to Libreelec boot partition.

- Edited the config file to use the Armbian images:  (tried with my own dtb extracted from Android and also with the one provided with libreelec and some of yours)

LINUX /zImage
  INITRD /uInitrd
  FDT /rk3328-box.dtb
  APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff130000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0

- Boot with the modified Libreelec Boot Partition from SDCard with an USB with Armbian, since SDCard is only used to boot.

 

This time I can go much further but the last 3 error blocks keep repeating forever:

DDR version 1.13 20180428
ID:0xFFF
In
DDR3
333MHz
Bus Width=32 Col=11 Bank=8 Row=15 CS=1 Die Bus-Width=16 Size=2048MB
ddrconfig:2
OUT
Boot1 Release Time: Feb  2 2018 15:41:39, version: 2.46
ChipType = 0x11, 193
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=15028MB
FwPartOffset=2000 , 2000
SdmmcInit=0 0
BootCapSize=0
UserCapSize=15193MB
FwPartOffset=2000 , 0
StorageInit ok = 170950
Raw SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
LoadTrustBL
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0xa0268
RunBL31 0x10000
NOTICE:  BL31: v1.3(debug):0eba775
NOTICE:  BL31: Built : 12:11:32, Nov 23 2018
NOTICE:  BL31:Rockchip release version: v1.3
INFO:    ARM GICv2 driver initialized
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 1
INFO:    plat_rockchip_pmu_init: pd status 0xe
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2017.09 (Mar 03 2020 - 22:55:52 +0100), Build: jenkins-RK3328-175

Model: Rockchip RK3328 EVB
DRAM:  2 GiB
Relocation Offset is: 7fd19000
rk8xx_read: read reg 0x17 failed, ret=-121
MMC:   rksdmmc@ff500000: 1, rksdmmc@ff520000: 0
Using default environment

In:    serial@ff130000
Out:   serial@ff130000
Err:   serial@ff130000
Model: Rockchip RK3328 EVB
CLK:      apll           400000000 Hz
          dpll           664000000 Hz
          cpll          1200000000 Hz
          gpll           491009999 Hz
          npll           600000000 Hz
        armclk           600000000 Hz
      aclk_bus           150000000 Hz
      hclk_bus            75000000 Hz
      pclk_bus            75000000 Hz
     aclk_peri           150000000 Hz
     hclk_peri            75000000 Hz
     pclk_peri            75000000 Hz
Net:   No ethernet 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
reading /extlinux/extlinux.conf
383 bytes read in 3 ms (124 KiB/s)
1:	LibreELEC
Retrieving file: /uInitrd
reading /uInitrd
10114521 bytes read in 432 ms (22.3 MiB/s)
Retrieving file: /zImage
reading /zImage
23357952 bytes read in 991 ms (22.5 MiB/s)
append: root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff130000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0
Retrieving file: /rk3328-box.dtb
reading /rk3328-box.dtb
72422 bytes read in 6 ms (11.5 MiB/s)
## Loading init Ramdisk from Legacy Image at 04000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    10114457 Bytes = 9.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Loading Ramdisk to 7d560000, end 7df05599 ... OK
   Loading Device Tree to 000000007d54b000, end 000000007d55fae5 ... OK
Adding bank: start=0x00200000, size=0x7fe00000

Starting kernel ...


[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.5.0-rc6-rk3328-tv (root@vbox) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #rc1.038 SMP PREEMPT Thu Feb 6 15:49:31 MSK 2020
[    0.000000] Machine model: Rockchip RK3328 BOX
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 384 MiB at 0x0000000065400000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 22 pages/cpu s50392 r8192 d31528 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: kernel page table isolation forced OFF by kpti command line option
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 515592
[    0.000000] Kernel command line: root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff130000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 earlyprintk=uart8250-32bit,0xff130000 swiotlb=1 kpti=0
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x3ffbf000-0x3ffff000] (0MB)
[    0.000000] Memory: 1627300K/2095104K available (14460K kernel code, 1434K rwdata, 5884K rodata, 960K init, 927K bss, 74588K reserved, 393216K cma-reserved)
[    0.000000] random: get_random_u64 called from cache_random_seq_create+0x7c/0x150 with crng_init=0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001959] Console: colour dummy device 80x25
[    0.002423] printk: console [tty0] enabled
[    0.002811] printk: bootconsole [uart8250] disabled
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.5.0-rc6-rk3328-tv (root@vbox) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #rc1.038 SMP PREEMPT Thu Feb 6 15:49:31 MSK 2020
[    0.000000] Machine model: Rockchip RK3328 BOX
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 384 MiB at 0x0000000065400000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 22 pages/cpu s50392 r8192 d31528 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: kernel page table isolation forced OFF by kpti command line option
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 515592
[    0.000000] Kernel command line: root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff130000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 earlyprintk=uart8250-32bit,0xff130000 swiotlb=1 kpti=0
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x3ffbf000-0x3ffff000] (0MB)
[    0.000000] Memory: 1627300K/2095104K available (14460K kernel code, 1434K rwdata, 5884K rodata, 960K init, 927K bss, 74588K reserved, 393216K cma-reserved)
[    0.000000] random: get_random_u64 called from cache_random_seq_create+0x7c/0x150 with crng_init=0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001959] Console: colour dummy device 80x25
[    0.002423] printk: console [tty0] enabled
[    0.002811] printk: bootconsole [uart8250] disabled
[    0.003317] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.003354] pid_max: default: 32768 minimum: 301
[    0.003595] LSM: Security Framework initializing
[    0.003684] SELinux:  Initializing.
[    0.003821] *** VALIDATE SELinux ***
[    0.003929] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.003971] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.004080] *** VALIDATE tmpfs ***
[    0.004762] *** VALIDATE proc ***
[    0.005133] *** VALIDATE cgroup1 ***
[    0.005158] *** VALIDATE cgroup2 ***
[    0.026584] ASID allocator initialised with 32768 entries
[    0.034569] rcu: Hierarchical SRCU implementation.
[    0.047137] EFI services will not be available.
[    0.054975] smp: Bringing up secondary CPUs ...
[    0.087205] Detected VIPT I-cache on CPU1
[    0.087282] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.119304] Detected VIPT I-cache on CPU2
[    0.119371] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.151410] Detected VIPT I-cache on CPU3
[    0.151476] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.151607] smp: Brought up 1 node, 4 CPUs
[    0.151724] SMP: Total of 4 processors activated.
[    0.151745] CPU features: detected: 32-bit EL0 Support
[    0.151769] CPU features: detected: CRC32 instructions
[    0.152281] CPU: All CPU(s) started at EL2
[    0.152322] alternatives: patching kernel code
[    0.154422] devtmpfs: initialized
[    0.172896] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.172960] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.189633] xor: measuring software checksum speed
[    0.227703]    8regs     :  1187.000 MB/sec
[    0.267770]    32regs    :  1362.000 MB/sec
[    0.307841]    arm64_neon:  1203.000 MB/sec
[    0.307861] xor: using function: 32regs (1362.000 MB/sec)
[    0.307953] pinctrl core: initialized pinctrl subsystem
[    0.309234] thermal_sys: Registered thermal governor 'step_wise'
[    0.309735] DMI not present or invalid.
[    0.310309] NET: Registered protocol family 16
[    0.317000] DMA: preallocated 256 KiB pool for atomic allocations
[    0.317075] audit: initializing netlink subsys (disabled)
[    0.317405] audit: type=2000 audit(0.316:1): state=initialized audit_enabled=0 res=1
[    0.319071] cpuidle: using governor ladder
[    0.319125] cpuidle: using governor menu
[    0.319847] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.321899] Serial: AMBA PL011 UART driver
[    0.364456] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.364501] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.364527] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.364552] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.371010] cryptd: max_cpu_qlen set to 1000
[    0.452317] raid6: neonx8   gen()   774 MB/s
[    0.520389] raid6: neonx8   xor()   733 MB/s
[    0.588499] raid6: neonx4   gen()   742 MB/s
[    0.656697] raid6: neonx4   xor()   713 MB/s
[    0.724861] raid6: neonx2   gen()   568 MB/s
[    0.792866] raid6: neonx2   xor()   593 MB/s
[    0.861130] raid6: neonx1   gen()   379 MB/s
[    0.929121] raid6: neonx1   xor()   448 MB/s
[    0.997291] raid6: int64x8  gen()   583 MB/s
[    1.065327] raid6: int64x8  xor()   380 MB/s
[    1.133511] raid6: int64x4  gen()   492 MB/s
[    1.201566] raid6: int64x4  xor()   370 MB/s
[    1.269603] raid6: int64x2  gen()   338 MB/s
[    1.337773] raid6: int64x2  xor()   302 MB/s
[    1.405906] raid6: int64x1  gen()   221 MB/s
[    1.474045] raid6: int64x1  xor()   233 MB/s
[    1.474066] raid6: using algorithm neonx8 gen() 774 MB/s
[    1.474087] raid6: .... xor() 733 MB/s, rmw enabled
[    1.474106] raid6: using neon recovery algorithm
[    1.474481] ACPI: Interpreter disabled.
[    1.476383] vcc_host_5v: supplied by vcc_sys
[    1.476915] vcc_host1_5v: supplied by vcc_sys
[    1.477660] iommu: Default domain type: Translated 
[    1.477999] rk_iommu ff350800.iommu: Failed to get clk 'iface': -2
[    1.478632] rk_iommu ff360480.iommu: Failed to get clk 'iface': -2
[    1.479055] rk_iommu ff330200.iommu: Failed to get clk 'iface': -2
[    1.479441] rk_iommu ff340800.iommu: Failed to get clk 'iface': -2
[    1.479783] rk_iommu ff373f00.iommu: Failed to get clk 'iface': -2
[    1.480152] rk_iommu ff3a0800.iommu: Failed to get clk 'iface': -2
[    1.480799] vgaarb: loaded
[    1.481761] SCSI subsystem initialized
[    1.482437] usbcore: registered new interface driver usbfs
[    1.482520] usbcore: registered new interface driver hub
[    1.482639] usbcore: registered new device driver usb
[    1.483367] pps_core: LinuxPPS API ver. 1 registered
[    1.483392] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.483438] PTP clock support registered
[    1.483489] EDAC MC: Ver: 3.0.0
[    1.484514] FPGA manager framework
[    1.484680] Advanced Linux Sound Architecture Driver Initialized.
[    1.485447] NetLabel: Initializing
[    1.485472] NetLabel:  domain hash size = 128
[    1.485489] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.485588] NetLabel:  unlabeled traffic allowed by default
[    1.486498] clocksource: Switched to clocksource arch_sys_counter
[    1.486541] *** VALIDATE bpf ***
[    1.486949] VFS: Disk quotas dquot_6.6.0
[    1.487062] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.487259] FS-Cache: Loaded
[    1.487280] *** VALIDATE ramfs ***
[    1.487320] *** VALIDATE hugetlbfs ***
[    1.487941] pnp: PnP ACPI: disabled
[    1.497797] NET: Registered protocol family 2
[    1.498779] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.498872] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.499105] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    1.499505] TCP: Hash tables configured (established 16384 bind 16384)
[    1.499766] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    1.499871] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    1.500259] NET: Registered protocol family 1
[    1.501006] RPC: Registered named UNIX socket transport module.
[    1.501041] RPC: Registered udp transport module.
[    1.501061] RPC: Registered tcp transport module.
[    1.501079] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.501108] NET: Registered protocol family 44
[    1.501142] PCI: CLS 0 bytes, default 64
[    1.501467] Trying to unpack rootfs image as initramfs...
[    2.370813] Freeing initrd memory: 9876K
[    2.372300] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    2.727208] Initialise system trusted keyrings
[    2.727559] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    2.737242] zbud: loaded
[    2.739579] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.740103] FS-Cache: Netfs 'nfs' registered for caching
[    2.741001] NFS: Registering the id_resolver key type
[    2.741060] Key type id_resolver registered
[    2.741080] Key type id_legacy registered
[    2.741109] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.741133] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.743162] FS-Cache: Netfs 'cifs' registered for caching
[    2.743712] Key type cifs.spnego registered
[    2.743747] Key type cifs.idmap registered
[    2.743787] ntfs: driver 2.1.32 [Flags: R/W].
[    2.744834] JFS: nTxBlock = 8192, nTxLock = 65536
[    2.753162] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
[    2.755587] *** VALIDATE xfs ***
[    2.756077] ocfs2: Registered cluster interface o2cb
[    2.756438] OCFS2 User DLM kernel interface loaded
[    2.758812] *** VALIDATE gfs2 ***
[    2.759264] gfs2: GFS2 installed
[    2.760916] aufs 5.5-20200203
[    2.799699] Key type asymmetric registered
[    2.799738] Asymmetric key parser 'x509' registered
[    2.799759] Asymmetric key parser 'pkcs8' registered
[    2.799862] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    2.800174] io scheduler mq-deadline registered
[    2.800200] io scheduler kyber registered
[    2.800507] io scheduler bfq registered
[    2.803583] inno-hdmi-phy ff430000.hdmiphy: failed to get ref clock: -2
[    2.803656] inno-hdmi-phy: probe of ff430000.hdmiphy failed with error -2
[    2.817868] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
[    2.817918] dma-pl330 ff1f0000.dmac: 	DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    2.825791] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[    2.829012] ff110000.serial: ttyS0 at MMIO 0xff110000 (irq = 13, base_baud = 1500000) is a 16550A
[    2.830237] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 14, base_baud = 1500000) is a 16550A
[    2.925903] printk: console [ttyS2] enabled
[    2.927874] Serial: AMBA driver
[    2.930153] rockchip-vop ff370000.vop: Adding to iommu group 4
[    2.936465] rockchip-drm display-subsystem: bound ff370000.vop (ops vop_component_ops)
[    2.937457] dwhdmi-rockchip ff3c0000.hdmi: Detected HDMI TX controller v2.11a with HDCP (inno_dw_hdmi_phy2)
[    2.938970] dwhdmi-rockchip ff3c0000.hdmi: registered DesignWare HDMI I2C bus driver
[    2.940175] rockchip-drm display-subsystem: bound ff3c0000.hdmi (ops dw_hdmi_rockchip_ops)
[    2.940929] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.941526] [drm] No driver support for vblank timestamp query.
[    3.052161] random: fast init done
[    3.057296] rk_iommu ff373f00.iommu: Error during raw reset. MMU_DTE_ADDR is not functioning
[    3.057332] rockchip-vop ff370000.vop: [drm:vop_crtc_atomic_enable] *ERROR* failed to get pm runtime: -14
[    3.057347] rockchip-vop ff370000.vop: [drm:vop_crtc_atomic_enable] *ERROR* Failed to enable vop (-14)
[    3.057475] dwhdmi-rockchip ff3c0000.hdmi: HDMI infoframe: Auxiliary Video Information (AVI), version 2, length 13
[    3.057483] dwhdmi-rockchip ff3c0000.hdmi:     colorspace: RGB
[    3.057491] dwhdmi-rockchip ff3c0000.hdmi:     scan mode: Underscan
[    3.057499] dwhdmi-rockchip ff3c0000.hdmi:     colorimetry: ITU709
[    3.057506] dwhdmi-rockchip ff3c0000.hdmi:     picture aspect: No Data
[    3.057514] dwhdmi-rockchip ff3c0000.hdmi:     active aspect: Same as Picture
[    3.057521] dwhdmi-rockchip ff3c0000.hdmi:     itc: No Data
[    3.057529] dwhdmi-rockchip ff3c0000.hdmi:     extended colorimetry: xvYCC 709
[    3.057537] dwhdmi-rockchip ff3c0000.hdmi:     quantization range: Default
[    3.057545] dwhdmi-rockchip ff3c0000.hdmi:     nups: Unknown Non-uniform Scaling
[    3.057552] dwhdmi-rockchip ff3c0000.hdmi:     video code: 0
[    3.057559] dwhdmi-rockchip ff3c0000.hdmi:     ycc quantization range: Limited
[    3.057566] dwhdmi-rockchip ff3c0000.hdmi:     hdmi content type: Graphics
[    3.057574] dwhdmi-rockchip ff3c0000.hdmi:     pixel repeat: 0
[    3.057583] dwhdmi-rockchip ff3c0000.hdmi:     bar top 0, bottom 0, left 0, right 0
[    3.057611] dwhdmi-rockchip ff3c0000.hdmi: HDMI infoframe: Source Product Description (SPD), version 1, length 25
[    3.057618] dwhdmi-rockchip ff3c0000.hdmi:     vendor: DW
[    3.057625] dwhdmi-rockchip ff3c0000.hdmi:     product: HDMI
[    3.057635] dwhdmi-rockchip ff3c0000.hdmi:     source device information: PC General (0x9)
[    3.057829] ------------[ cut here ]------------
[    3.057846] WARNING: CPU: 0 PID: 1 at drivers/gpu/drm/rockchip/rockchip_drm_vop.c:812 vop_plane_atomic_update+0xa60/0xd50
[    3.057850] Modules linked in:
[    3.057864] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.5.0-rc6-rk3328-tv #rc1.038
[    3.057868] Hardware name: Rockchip RK3328 BOX (DT)
[    3.057876] pstate: 20000005 (nzCv daif -PAN -UAO)
[    3.057884] pc : vop_plane_atomic_update+0xa60/0xd50
[    3.057896] lr : drm_atomic_helper_commit_planes+0xe0/0x200
[    3.057900] sp : ffff80001002b420
[    3.057904] x29: ffff80001002b420 x28: ffff0000622cccd0 
[    3.057913] x27: ffff8000125818c8 x26: ffff00006230c000 
[    3.057921] x25: ffff000062316100 x24: 0000000000000038 
[    3.057928] x23: 0000000000000001 x22: 0000000000000000 
[    3.057936] x21: ffff8000125818c8 x20: 0000000000000000 
[    3.057944] x19: ffff0000622d4080 x18: 00000000fffffff0 
[    3.057951] x17: 00000000000002d0 x16: 0000000000000001 
[    3.057959] x15: ffff800012595098 x14: 6c6172656e654720 
[    3.057967] x13: 4350203a6e6f6974 x12: 616d726f666e6920 
[    3.057975] x11: 6563697665642065 x10: 6372756f73202020 
[    3.057982] x9 : 20203a696d64682e x8 : 0000000000005001 
[    3.057989] x7 : 0000000000000000 x6 : ffff000062316300 
[    3.057997] x5 : ffff000062316100 x4 : ffff800011fb3488 
[    3.058004] x3 : 0000000000000000 x2 : 0000000000000000 
[    3.058012] x1 : ffff000062312f00 x0 : ffff0000622d4660 
[    3.058019] Call trace:
[    3.058029]  vop_plane_atomic_update+0xa60/0xd50
[    3.058037]  drm_atomic_helper_commit_planes+0xe0/0x200
[    3.058045]  drm_atomic_helper_commit_tail_rpm+0x3c/0x78
[    3.058052]  commit_tail+0x9c/0x180
[    3.058059]  drm_atomic_helper_commit+0x140/0x170
[    3.058068]  drm_atomic_commit+0x48/0x58
[    3.058079]  drm_client_modeset_commit_atomic.isra.16+0x17c/0x248
[    3.058088]  drm_client_modeset_commit_force+0x58/0x198
[    3.058100]  drm_fb_helper_restore_fbdev_mode_unlocked+0x70/0xd0
[    3.058109]  drm_fb_helper_set_par+0x2c/0x58
[    3.058118]  fbcon_init+0x3a4/0x500
[    3.058128]  visual_init+0xac/0x100
[    3.058136]  do_bind_con_driver+0x1e8/0x3a0
[    3.058145]  do_take_over_console+0x140/0x200
[    3.058151]  do_fbcon_takeover+0x68/0xd0
[    3.058159]  fbcon_fb_registered+0x10c/0x120
[    3.058168]  register_framebuffer+0x208/0x310
[    3.058178]  __drm_fb_helper_initial_config_and_unlock+0x2e0/0x478
[    3.058187]  drm_fb_helper_initial_config+0x3c/0x48
[    3.058196]  rockchip_drm_fbdev_init+0x5c/0xf0
[    3.058203]  rockchip_drm_bind+0x1a8/0x1e0
[    3.058212]  try_to_bring_up_master+0x218/0x2f0
[    3.058220]  component_master_add_with_match+0xac/0xf0
[    3.058227]  rockchip_drm_platform_probe+0x238/0x2d8
[    3.058236]  platform_drv_probe+0x50/0xa0
[    3.058243]  really_probe+0xdc/0x410
[    3.058249]  driver_probe_device+0xdc/0x130
[    3.058256]  device_driver_attach+0x6c/0x78
[    3.058262]  __driver_attach+0x9c/0x168
[    3.058274]  bus_for_each_dev+0x70/0xc0
[    3.058279]  driver_attach+0x20/0x28
[    3.058286]  bus_add_driver+0x190/0x220
[    3.058292]  driver_register+0x60/0x110
[    3.058300]  __platform_driver_register+0x44/0x50
[    3.058310]  rockchip_drm_init+0x90/0xb8
[    3.058319]  do_one_initcall+0x74/0x1b0
[    3.058328]  kernel_init_freeable+0x1a0/0x204
[    3.058337]  kernel_init+0x10/0xfc
[    3.058344]  ret_from_fork+0x10/0x18
[    3.058354] ---[ end trace 5805144f3d34698e ]---
[    3.058439] ------------[ cut here ]------------
[    3.058452] WARNING: CPU: 0 PID: 1 at drivers/gpu/drm/rockchip/rockchip_drm_vop.c:1307 vop_crtc_atomic_flush+0x294/0x2c0
[    3.058454] Modules linked in:
[    3.058465] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G        W         5.5.0-rc6-rk3328-tv #rc1.038
[    3.058469] Hardware name: Rockchip RK3328 BOX (DT)
[    3.058475] pstate: 20000005 (nzCv daif -PAN -UAO)
[    3.058483] pc : vop_crtc_atomic_flush+0x294/0x2c0
[    3.058491] lr : drm_atomic_helper_commit_planes+0x14c/0x200
[    3.058495] sp : ffff80001002b490
[    3.058499] x29: ffff80001002b490 x28: ffff0000622cccd0 
[    3.058507] x27: ffff8000125818c8 x26: ffff00006230c000 
[    3.058515] x25: ffff80001002b630 x24: 0000000000000038 
[    3.058523] x23: 0000000000000001 x22: 0000000000000038 
[    3.058530] x21: ffff00007ef5d680 x20: 0000000000000001 
[    3.058538] x19: ffff00007ef5d680 x18: 00000000fffffff0 
[    3.058545] x17: 00000000000002d0 x16: 0000000000000001 
[    3.058553] x15: ffff800012595098 x14: 6c6172656e654720 
[    3.058561] x13: 4350203a6e6f6974 x12: 616d726f666e6920 
[    3.058568] x11: 6563697665642065 x10: 6372756f73202020 
[    3.058576] x9 : 20203a696d64682e x8 : 0000000000005001 
[    3.058583] x7 : 0000000000000000 x6 : 0000000000000000 
[    3.058590] x5 : ffff000062316400 x4 : ffff800011a2d760 
[    3.058598] x3 : ffff00006230c000 x2 : ffff00007ef5da00 
[    3.058605] x1 : 0000000000000000 x0 : ffff0000622d4080 
[    3.058612] Call trace:
[    3.058621]  vop_crtc_atomic_flush+0x294/0x2c0
[    3.058628]  drm_atomic_helper_commit_planes+0x14c/0x200
[    3.058636]  drm_atomic_helper_commit_tail_rpm+0x3c/0x78
[    3.058642]  commit_tail+0x9c/0x180
[    3.058649]  drm_atomic_helper_commit+0x140/0x170
[    3.058657]  drm_atomic_commit+0x48/0x58
[    3.058666]  drm_client_modeset_commit_atomic.isra.16+0x17c/0x248
[    3.058674]  drm_client_modeset_commit_force+0x58/0x198
[    3.058684]  drm_fb_helper_restore_fbdev_mode_unlocked+0x70/0xd0
[    3.058692]  drm_fb_helper_set_par+0x2c/0x58
[    3.058699]  fbcon_init+0x3a4/0x500
[    3.058707]  visual_init+0xac/0x100
[    3.058715]  do_bind_con_driver+0x1e8/0x3a0
[    3.058723]  do_take_over_console+0x140/0x200
[    3.058730]  do_fbcon_takeover+0x68/0xd0
[    3.058736]  fbcon_fb_registered+0x10c/0x120
[    3.058745]  register_framebuffer+0x208/0x310
[    3.058754]  __drm_fb_helper_initial_config_and_unlock+0x2e0/0x478
[    3.058763]  drm_fb_helper_initial_config+0x3c/0x48
[    3.058771]  rockchip_drm_fbdev_init+0x5c/0xf0
[    3.058778]  rockchip_drm_bind+0x1a8/0x1e0
[    3.058785]  try_to_bring_up_master+0x218/0x2f0
[    3.058793]  component_master_add_with_match+0xac/0xf0
[    3.058800]  rockchip_drm_platform_probe+0x238/0x2d8
[    3.058808]  platform_drv_probe+0x50/0xa0
[    3.058814]  really_probe+0xdc/0x410
[    3.058820]  driver_probe_device+0xdc/0x130
[    3.058826]  device_driver_attach+0x6c/0x78
[    3.058832]  __driver_attach+0x9c/0x168
[    3.058841]  bus_for_each_dev+0x70/0xc0
[    3.058846]  driver_attach+0x20/0x28
[    3.058852]  bus_add_driver+0x190/0x220
[    3.058859]  driver_register+0x60/0x110
[    3.058866]  __platform_driver_register+0x44/0x50
[    3.058873]  rockchip_drm_init+0x90/0xb8
[    3.058880]  do_one_initcall+0x74/0x1b0
[    3.058887]  kernel_init_freeable+0x1a0/0x204
[    3.058894]  kernel_init+0x10/0xfc
[    3.058900]  ret_from_fork+0x10/0x18
[    3.058905] ---[ end trace 5805144f3d34698f ]---
[    3.059055] ------------[ cut here ]------------
[    3.059070] WARNING: CPU: 0 PID: 1 at drivers/gpu/drm/drm_atomic_helper.c:2261 drm_atomic_helper_commit_hw_done+0x130/0x150
[    3.059073] Modules linked in:
[    3.059083] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G        W         5.5.0-rc6-rk3328-tv #rc1.038
[    3.059087] Hardware name: Rockchip RK3328 BOX (DT)
[    3.059094] pstate: 00000005 (nzcv daif -PAN -UAO)
[    3.059102] pc : drm_atomic_helper_commit_hw_done+0x130/0x150
[    3.059109] lr : drm_atomic_helper_commit_tail_rpm+0x4c/0x78
[    3.059112] sp : ffff80001002b4c0
[    3.059116] x29: ffff80001002b4c0 x28: ffff0000622cccd0 
[    3.059125] x27: ffff8000125818c8 x26: ffff00006230c000 
[    3.059132] x25: ffff0000622cfc00 x24: ffff000062355400 
[    3.059140] x23: 0000000000000038 x22: 0000000000000001 
[    3.059148] x21: ffff00007ef5d680 x20: 0000000000000000 
[    3.059155] x19: ffff000062316500 x18: 00000000fffffff0 
[    3.059163] x17: 00000000000002d0 x16: 0000000000000001 
[    3.059171] x15: ffff800012595098 x14: 6c6172656e654720 
[    3.059179] x13: 4350203a6e6f6974 x12: 616d726f666e6920 
[    3.059186] x11: 6563697665642065 x10: 6372756f73202020 
[    3.059194] x9 : 20203a696d64682e x8 : 0000000000005001 
[    3.059201] x7 : 0000000000000000 x6 : 0000000000000000 
[    3.059209] x5 : ffff000062316400 x4 : ffff800011a2d760 
[    3.059216] x3 : 0000000000000000 x2 : 0000000000000006 
[    3.059223] x1 : 0000000000000005 x0 : ffff00007ef5d080 
[    3.059229] Call trace:
[    3.059237]  drm_atomic_helper_commit_hw_done+0x130/0x150
[    3.059245]  drm_atomic_helper_commit_tail_rpm+0x4c/0x78
[    3.059251]  commit_tail+0x9c/0x180
[    3.059259]  drm_atomic_helper_commit+0x140/0x170
[    3.059266]  drm_atomic_commit+0x48/0x58
[    3.059275]  drm_client_modeset_commit_atomic.isra.16+0x17c/0x248
[    3.059284]  drm_client_modeset_commit_force+0x58/0x198
[    3.059293]  drm_fb_helper_restore_fbdev_mode_unlocked+0x70/0xd0
[    3.059302]  drm_fb_helper_set_par+0x2c/0x58
[    3.059309]  fbcon_init+0x3a4/0x500
[    3.059317]  visual_init+0xac/0x100
[    3.059325]  do_bind_con_driver+0x1e8/0x3a0
[    3.059333]  do_take_over_console+0x140/0x200
[    3.059340]  do_fbcon_takeover+0x68/0xd0
[    3.059346]  fbcon_fb_registered+0x10c/0x120
[    3.059354]  register_framebuffer+0x208/0x310
[    3.059363]  __drm_fb_helper_initial_config_and_unlock+0x2e0/0x478
[    3.059372]  drm_fb_helper_initial_config+0x3c/0x48
[    3.059380]  rockchip_drm_fbdev_init+0x5c/0xf0
[    3.059388]  rockchip_drm_bind+0x1a8/0x1e0
[    3.059395]  try_to_bring_up_master+0x218/0x2f0
[    3.059403]  component_master_add_with_match+0xac/0xf0
[    3.059410]  rockchip_drm_platform_probe+0x238/0x2d8
[    3.059417]  platform_drv_probe+0x50/0xa0
[    3.059423]  really_probe+0xdc/0x410
[    3.059430]  driver_probe_device+0xdc/0x130
[    3.059436]  device_driver_attach+0x6c/0x78
[    3.059442]  __driver_attach+0x9c/0x168
[    3.059450]  bus_for_each_dev+0x70/0xc0
[    3.059456]  driver_attach+0x20/0x28
[    3.059462]  bus_add_driver+0x190/0x220
[    3.059468]  driver_register+0x60/0x110
[    3.059476]  __platform_driver_register+0x44/0x50
[    3.059482]  rockchip_drm_init+0x90/0xb8
[    3.059489]  do_one_initcall+0x74/0x1b0
[    3.059496]  kernel_init_freeable+0x1a0/0x204
[    3.059502]  kernel_init+0x10/0xfc
[    3.059509]  ret_from_fork+0x10/0x18
[    3.059513] ---[ end trace 5805144f3d346990 ]---
[    3.059599] ------------[ cut here ]------------
[    3.059611] WARNING: CPU: 0 PID: 1 at drivers/gpu/drm/rockchip/rockchip_drm_vop.c:1011 vop_crtc_enable_vblank+0x114/0x130
[    3.059614] Modules linked in:
[    3.059624] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G        W         5.5.0-rc6-rk3328-tv #rc1.038
[    3.059627] Hardware name: Rockchip RK3328 BOX (DT)
[    3.059634] pstate: 60000085 (nZCv daIf -PAN -UAO)
[    3.059642] pc : vop_crtc_enable_vblank+0x114/0x130
[    3.059650] lr : drm_vblank_enable+0x108/0x160
[    3.059653] sp : ffff80001002b3a0
[    3.059657] x29: ffff80001002b3a0 x28: ffff0000622cccd0 
[    3.059665] x27: 0000000000000038 x26: ffff00006230c000 
[    3.059673] x25: ffff800012581000 x24: 0000000000000001 
[    3.059680] x23: ffff00006230c138 x22: 0000000000000000 
[    3.059687] x21: 0000000000000000 x20: ffff000062285e00 
[    3.059695] x19: ffff00006230c000 x18: 00000000fffffff0 
[    3.059703] x17: 00000000000002d0 x16: 0000000000000001 
[    3.059710] x15: ffff800012595098 x14: 6c6172656e654720 
[    3.059718] x13: 4350203a6e6f6974 x12: 616d726f666e6920 
[    3.059725] x11: 6563697665642065 x10: 6372756f73202020 
[    3.059733] x9 : 20203a696d64682e x8 : 0000000000005001 
[    3.059741] x7 : ffff00007ef5ba08 x6 : 0000000000000000 
[    3.059748] x5 : 0000000000000000 x4 : 0000000000000001 
[    3.059755] x3 : ffff00006230c2e8 x2 : 0000000000000000 
[    3.059762] x1 : 0000000000000000 x0 : ffff0000622d4080 
[    3.059769] Call trace:
[    3.059777]  vop_crtc_enable_vblank+0x114/0x130
[    3.059784]  drm_vblank_enable+0x108/0x160
[    3.059791]  drm_vblank_get+0xcc/0xe8
[    3.059798]  drm_crtc_vblank_get+0x18/0x20
[    3.059806]  drm_atomic_helper_wait_for_vblanks.part.26+0x88/0x288
[    3.059813]  drm_atomic_helper_commit_tail_rpm+0x60/0x78
[    3.059820]  commit_tail+0x9c/0x180
[    3.059827]  drm_atomic_helper_commit+0x140/0x170
[    3.059834]  drm_atomic_commit+0x48/0x58
[    3.059843]  drm_client_modeset_commit_atomic.isra.16+0x17c/0x248
[    3.059852]  drm_client_modeset_commit_force+0x58/0x198
[    3.059861]  drm_fb_helper_restore_fbdev_mode_unlocked+0x70/0xd0
[    3.059870]  drm_fb_helper_set_par+0x2c/0x58
[    3.059876]  fbcon_init+0x3a4/0x500
[    3.059884]  visual_init+0xac/0x100
[    3.059892]  do_bind_con_driver+0x1e8/0x3a0
[    3.059900]  do_take_over_console+0x140/0x200
[    3.059906]  do_fbcon_takeover+0x68/0xd0
[    3.059913]  fbcon_fb_registered+0x10c/0x120
[    3.059921]  register_framebuffer+0x208/0x310
[    3.059930]  __drm_fb_helper_initial_config_and_unlock+0x2e0/0x478
[    3.059939]  drm_fb_helper_initial_config+0x3c/0x48
[    3.059947]  rockchip_drm_fbdev_init+0x5c/0xf0
[    3.059955]  rockchip_drm_bind+0x1a8/0x1e0
[    3.059962]  try_to_bring_up_master+0x218/0x2f0
[    3.059970]  component_master_add_with_match+0xac/0xf0
[    3.059977]  rockchip_drm_platform_probe+0x238/0x2d8
[    3.059984]  platform_drv_probe+0x50/0xa0
[    3.059990]  really_probe+0xdc/0x410
[    3.059996]  driver_probe_device+0xdc/0x130
[    3.060003]  device_driver_attach+0x6c/0x78
[    3.060009]  __driver_attach+0x9c/0x168
[    3.060017]  bus_for_each_dev+0x70/0xc0
[    3.060023]  driver_attach+0x20/0x28
[    3.060029]  bus_add_driver+0x190/0x220
[    3.060035]  driver_register+0x60/0x110
[    3.060042]  __platform_driver_register+0x44/0x50
[    3.060049]  rockchip_drm_init+0x90/0xb8
[    3.060056]  do_one_initcall+0x74/0x1b0
[    3.060063]  kernel_init_freeable+0x1a0/0x204
[    3.060069]  kernel_init+0x10/0xfc
[    3.060075]  ret_from_fork+0x10/0x18
[    3.060080] ---[ end trace 5805144f3d346991 ]---
[   13.278531] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [CRTC:35:crtc-0] flip_done timed out
[   23.518515] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR* [PLANE:31:plane-0] flip_done timed out

 

Do you have some idea on what is happening? Thank you in advance.

 

Posted
2 hours ago, Sico said:

Do you have some idea on what is happening? Thank you in advance.

You did the wrong thing. We have already given information on how to use another u-boot. Search the forum.

Posted
1 hour ago, balbes150 said:

You did the wrong thing. We have already given information on how to use another u-boot. Search the forum.

 

Thank you Balbes. I didn't mean to bother you. I looked for this procedure but I can't find it. That's why I tried this wrong method before asking.

Posted
On 5/2/2020 at 8:22 PM, deb said:

Hi,
Can somebody help me with my A5X Max+ 4/32GB?
As you know there is no way to boot it from USB or SD card. So im trying to install armbian in the maskrom mode.
Below you can see output from UART - not booting OS.
This thread mentioned by @Gergely seems to be dead.
The script shows no errors, I also tried versions with gpt formating and erasing mmc with the same result.
How ca i fix it?

  Reveal hidden contents

DDR version 1.13 20180428
ID:0x805 Y
In
SRX
DDR3
333MHz
Bus Width=32 Col=11 Bank=8 Row=16 CS=1 Die Bus-Width=16 Size=4096MB
ddrconfig:3
OUT
Boot1 Release Time: Feb  2 2018 15:41:39, version: 2.46
ChipType = 0x11, 258
SdmmcInit=2 0
BootCapSize=2000
UserCapSize=29820MB
FwPartOffset=2000 , 2000
SdmmcInit=0 2
StorageInit ok = 121664
Raw SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
LoadTrustBL
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0xa2ad8
RunBL31 0x10000
NOTICE:  BL31: v1.3(debug):f947c7e
NOTICE:  BL31: Built : 12:15:29, Feb  6 2020
NOTICE:  BL31:Rockchip release version: v1.3
INFO:    ARM GICv2 driver initialized
INFO:    Using rkfiq sec cpu_context!
INFO:    boot cpu mask: 1
INFO:    plat_rockchip_pmu_init: pd status 0xe
INFO:    BL31: Initializing runtime services
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2019.10-armbian (Feb 06 2020 - 12:15:39 +0300)

Model: Rockchip RK3328 EVB
DRAM:  4 GiB
MMC:   rksdmmc@ff500000: 1, rksdmmc@ff520000: 0
Loading Environment from EXT4...
** Unable to use mmc 0:auto for loading the env **
In:    serial@ff130000
Out:   serial@ff130000
Err:   serial@ff130000
Model: Rockchip RK3328 EVB
Net:
Warning: ethernet@ff540000 (eth0) using random MAC address - 0e:d6:29:b2:1b:8c
eth0: ethernet@ff540000
Hit any key to stop autoboot:  0
starting USB...
Bus usb@ff5c0000: USB EHCI 1.00
Bus usb@ff5d0000: USB OHCI 1.0
Bus usb@ff580000: Bus usb@ff600000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@ff5c0000 for devices... 2 USB Device(s) found
scanning bus usb@ff5d0000 for devices... 1 USB Device(s) found
scanning bus usb@ff580000 for devices... 2 USB Device(s) found
scanning bus usb@ff600000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

Device 0: Vendor:          Rev: PMAP Prod: USB DISK 2.0
            Type: Removable Hard Disk
            Capacity: 7643.2 MB = 7.4 GB (15653376 x 512)
... is now current device
Scanning usb 0:1...
Found U-Boot script /boot.scr
990 bytes read in 28 ms (34.2 KiB/s)
## Executing script at 00500000
start mainline u-boot
1157 bytes read in 28 ms (40 KiB/s)
## Error: "mac" not defined
## Error: "eth_mac" not defined
## Error: "ethaddr" not defined
Error reading cluster
** Unable to read file /zImage **
Card did not respond to voltage select!
SCRIPT FAILED: continuing...
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
912 bytes read in 4 ms (222.7 KiB/s)
## Executing script at 00500000
start mainline u-boot
 ** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Card did not respond to voltage select!
SCRIPT FAILED: continuing...
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
Card did not respond to voltage select!
DMA reset timeout
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
DMA reset timeout
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
DMA reset timeout
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
DMA reset timeout
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
DMA reset timeout
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
DMA reset timeout
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
DMA reset timeout
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
DMA reset timeout
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
DMA reset timeout
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-rk3328-evb_rk3328
DMA reset timeout
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-rk3328
DMA reset timeout
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
DMA reset timeout
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
DMA reset timeout
Config file not found
DMA reset timeout
DMA reset timeout
=>

 

 

Which image did you try?
You can download my build: https://mega.nz/file/mP5Xjaxb#bmtMFajyGCtofYVHcsazahmuPef6da_YR7ML7lG61sQ
Flasher script: https://mega.nz/file/LLIXjAJB#Nu5i9R3Vz_5wGs0nYT3O4rXSz8Yi0PCq7U_WC3TxeVU
This is outdated, but I use it without a trouble since months.
@Reddwarf also tried to install it, but it didn't work for him. I still don't know the reason.

Posted
On 5/3/2020 at 3:04 PM, Sico said:

I really don't know how to do it but I tried this way:

- Copied all the files from the Armbian boot partition to Libreelec boot partition.

- Edited the config file to use the Armbian images:  (tried with my own dtb extracted from Android and also with the one provided with libreelec and some of yours)


LINUX /zImage
  INITRD /uInitrd
  FDT /rk3328-box.dtb
  APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff130000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0

- Boot with the modified Libreelec Boot Partition from SDCard with an USB with Armbian, since SDCard is only used to boot.

 

This time I can go much further but the last 3 error blocks keep repeating forever:

 

Hello again,

 

I tried many ways to copy the u-boot from Libreelec using dd with different values but with no success.

Finally I managed to boot Armbian by burning the image Armbian_20.02.0-rc1.038_Rk3328-tv_buster_current_5.5.0-rc6_20200205.img into an usb and a Libreelec into the SD Card.
In the SDCard I've removed the Libreelec boot files and I've copied inside everything from the boot partition of the Armbian USB. The dtb used is the default rk3328-box.dtb. T9 from hexdump, others, and mine (extracted from Android) are not working.
Now Armbian seems to be working very well with the exception of these 3 devices not being detected:
- Ethernet
- Wifi
- EMMC
I've managed to update packages using a Wifi USB dongle but I cannot go further. I cannot install to the eMMC and not having ethernet or wifi is a problem.
Just a little reminder, I've a H96 max+ box with 2Gb RAM / 16 ROM.
Do you have some advice on this?
 

Thanks in advance, and thanks to @balbes150 for the efforts and @hexdump for the help in the past.

Posted
13 hours ago, Sico said:

The dtb used is the default rk3328-box.dtb.

try all DTBS for rk3328 from the image

 

On 5/4/2020 at 11:47 AM, Gergely said:

This is outdated, but I use it without a trouble since months.

Masking mode can only be used if the regular loader is blocked from any steps to launch from external media (SD card). In other cases, this is a bad decision. Specifically for the A5X, there is no blocking and for proper operation, you only need to select a dtb for the u-boot build with a full launch without any masking mode. This is easy to do if you have a sample device.

Posted
1 hour ago, balbes150 said:

Masking mode can only be used if the regular loader is blocked from any steps to launch from external media (SD card). In other cases, this is a bad decision. Specifically for the A5X, there is no blocking and for proper operation, you only need to select a dtb for the u-boot build with a full launch without any masking mode. This is easy to do if you have a sample device.

The A5X MAX+ is different from the A5X MAX. This is very similar to the Z28 pro, which also cannot boot from sd card.
First I tried your build, but it didn't work with any dtb.

Posted
9 minutes ago, Gergely said:

The A5X MAX+ is different from the A5X MAX. This is very similar to the Z28 pro, which also cannot boot from sd card.
First I tried your build, but it didn't work with any dtb.

Show the UART log.

Posted
On 5/5/2020 at 1:13 PM, balbes150 said:

try all DTBS for rk3328 from the image

 

Thank you @balbes150.

Almost all DTBs works without eMMC, ethernet and Wifi except for the rk3328-box-h96mp.dtb from @easyb that has working both ethernet and eMMC. Thanks @easyb for sharing.

 

I've still problems to install Armbian to the eMMC because the boot is from Libreelec SD and the system is from Armbian USB. But I think I will edit the install script to fix the issues.


Now I'm wondering if I can edit the rk3328-box-h96mp.dtb and get Wifi working which is far faster than the 100Mb ethernet. I've extracted the dts and when I recompile it, it still works. But when I introduce changes it stops from working. I've the extracted device tree from the eMMC with Android and its DTS and I've some information that could be useful.

 

Has someone fixed the missing WiFi adapter problem by editing the DTB? Thanks.

Posted (edited)

Hi everyone, 

 

I am new here, thank you @balbes150 & community for your effort to bring Linux to Android TV box.

 

I have just bought an Android Box named A5X Plus Mini, RK3328 + 2GB DDR3 + 16GB of EMMC, Android 7 rooted.

 

I tried to burn the Armbian image Armbian_20.05.0_Rk3328-tv_bionic_current_5.6.0-rc4_20200312.img to SD card using Etcher but the SD Card could not boot. Then, I combined the USB and SD card, still couldn't boot. Then I use the LibreELEC USB burning tool, at this time it worked, but only for USB and SD card plugged-in only.

 

Then I would like to install armbian to emmc, but either emmc card  and ethernet did not recognized. I have tried to change the dtb to all of rk3328-*.dtb but still the same result, some dtb are not able to boot such as rk3328-evb.

 

I also tried ddbr to backup the emmc the result: "UNABLE TO FIND ANY EMMC OR SD DRIVES ON THIS SYSTEM!!!". I also noticed that the BOX has only the RED light during the booting, even logged in instead of BLUE one similar to Android booted case.

 

The most dtb files for this box that makes the box able to boot are: rk3328-box.dtb, rk3328-rockbox.dtb.

 

Hence, I tried to exact the dtb file from firmware which is downloaed from here: http://justop.co.uk/tech-supports/firmware-upgrade-justop-a5x-plus-2gb-16gb-android-tv-box-to-android-9-0/ (as it look the same design, but different box name).


At this time, there is no display from HDMI, but the box switching from RED to BLUE on the board, but cannot see what is going from the screen.

 

I tried to solder the UART console to the board to see what was wrong from the screen but I have got my fingers burned :) (first time I do this), I will sold them later.


Below is the board and dts, dtb file that I have made. 

Quote

 

Your hints to make this box working with armbian are highly appreciated.

Edited by SmallBox
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines