Jump to content

pro777

Members
  • Posts

    42
  • Joined

  • Last visited

Posts posted by pro777

  1.   

    31 минуту назад, stanis_cza сказал:

    do you know if i could create bootable sd with android from linux and connect the box to rockchip tools?

     

    Try the firmware with Android Pie for XT-Q8L-V10, which can be loaded from the SD card from the Russian forum 4PDA. True, here you need to write the Miniloader to the EMMC.

     

    P.S. You can also try installing Android Pie for XT-Q8L-V10 to EMMC.

  2. Hi @jock!
    Thanks for the new image. It loads stably without any errors. True, an error appears during shutdown, dmesg output attached.

    Spoiler

    DDR Version 1.03 20170411
    In
    Channel a: LPDDR2 400MHz
    MR0=0x8
    MR1=0x887744BB
    MR2=0x8
    MR3=0x8
    MR4=0x8
    MR5=0x83
    MR6=0x1
    MR7=0x1
    MR8=0x0
    MR9=0x18
    MR10=0x18
    MR11=0x18
    MR12=0x18
    MR13=0x18
    MR14=0x18
    MR15=0x18
    MR16=0x18
    Bus Width=32 Col=10 Bank=8 Row=14/14 CS=2 Die Bus-Width=32 Size=1024MB
    Channel b: LPDDR2 400MHz
    MR0=0x8
    MR1=0x887744BB
    MR2=0x8
    MR3=0x8
    MR4=0x8
    MR5=0x3
    MR6=0x1
    MR7=0x1
    MR8=0x0
    MR9=0x18
    MR10=0x18
    MR11=0x18
    MR12=0x18
    MR13=0x18
    MR14=0x18
    MR15=0x18
    MR16=0x18
    Bus Width=32 Col=10 Bank=8 Row=14/14 CS=2 Die Bus-Width=32 Size=1024MB
    Memory OK
    Memory OK
    OUT

    U-Boot SPL 2020.04-armbian (May 18 2020 - 07:57:13 +0000)
    Trying to boot from MMC1


    U-Boot 2020.04-armbian (May 18 2020 - 07:57:13 +0000)

    Model: XT-Q8L-V10-RK3288
    DRAM:  2 GiB
    MMC:   dwmmc@ff0c0000: 1, dwmmc@ff0f0000: 0
    Loading Environment from MMC... *** Warning - bad CRC, using default environment

    In:    serial
    Out:   serial
    Err:   serial
    Model: XT-Q8L-V10-RK3288
    Net:   eth0: ethernet@ff290000
    starting USB...
    Bus usb@ff540000: Bus usb@ff580000: scanning bus usb@ff540000 for devices... 4 USB Device(s) found
    scanning bus usb@ff580000 for devices... 1 USB Device(s) found
           scanning usb for storage devices... 0 Storage Device(s) found
    Hit any key to stop autoboot:  0 
    switch to partitions #0, OK
    mmc1 is current device
    Scanning mmc 1:1...
    Found U-Boot script /boot/boot.scr
    3149 bytes read in 6 ms (511.7 KiB/s)
    ## Executing script at 00000000
    Boot script loaded from mmc 1
    208 bytes read in 5 ms (40 KiB/s)
    10068544 bytes read in 858 ms (11.2 MiB/s)
    9476688 bytes read in 808 ms (11.2 MiB/s)
    42350 bytes read in 11 ms (3.7 MiB/s)
    ## Loading init Ramdisk from Legacy Image at 21000000 ...
       Image Name:   uInitrd
       Image Type:   ARM Linux RAMDisk Image (gzip compressed)
       Data Size:    10068480 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 0f665000, end 0ffff200 ... OK
       Loading Device Tree to 0f5f2000, end 0f664fff ... OK

    Starting kernel ...

    [    0.000000] Booting Linux on physical CPU 0x500
    [    0.000000] Linux version 5.6.13-rockchip (root@armbianbuild) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #trunk SMP PREEMPT Mon May 18 10:29:09 UTC 2020
    [    0.000000] CPU: ARMv7 Processor [410fc0d1] revision 1 (ARMv7), cr=10c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: XT-Q8L-V10-RK3288
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] cma: Reserved 16 MiB at 0x7f000000
    [    0.000000] percpu: Embedded 20 pages/cpu s51224 r8192 d22504 u81920
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 522560
    [    0.000000] Kernel command line: earlyprintk root=UUID=f51f5d71-b59a-4c48-af78-b74261f7e4f4 rootwait rootfstype=ext4 console=ttyS2,115200n8 console=tty1 consoleblank=0 loglevel=7 ubootpart=6ee3f292-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u video=800x600@60  cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.000000] allocated 2097152 bytes of page_ext
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 2022688K/2097152K available (15360K kernel code, 1272K rwdata, 3232K rodata, 1024K init, 4699K bss, 58080K reserved, 16384K cma-reserved, 1294336K highmem)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] ftrace: allocating 45980 entries in 90 pages
    [    0.000000] ftrace: allocated 90 pages with 4 groups
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000]     Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] random: get_random_bytes called from start_kernel+0x32c/0x4ec with crng_init=0
    [    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
    [    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
    [    0.000025] Switching to timer-based delay loop, resolution 41ns
    [    0.001698] Console: colour dummy device 80x30
    [    0.002410] printk: console [tty1] enabled
    [    0.002470] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
    [    0.002522] pid_max: default: 32768 minimum: 301
    [    0.002718] LSM: Security Framework initializing
    [    0.002763] Yama: becoming mindful.
    [    0.002874] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
    [    0.002923] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
    [    0.003033] *** VALIDATE tmpfs ***
    [    0.003896] *** VALIDATE proc ***
    [    0.004257] *** VALIDATE cgroup ***
    [    0.004292] *** VALIDATE cgroup2 ***
    [    0.004327] CPU: Testing write buffer coherency: ok
    [    0.004386] CPU0: Spectre v2: using BPIALL workaround
    [    0.004836] CPU0: thread -1, cpu 0, socket 5, mpidr 80000500
    [    0.028036] Setting up static identity map for 0x100000 - 0x100060
    [    0.036027] rcu: Hierarchical SRCU implementation.
    [    0.052135] smp: Bringing up secondary CPUs ...
    [    0.085647] CPU1: thread -1, cpu 1, socket 5, mpidr 80000501
    [    0.085658] CPU1: Spectre v2: using BPIALL workaround
    [    0.117830] CPU2: thread -1, cpu 2, socket 5, mpidr 80000502
    [    0.117841] CPU2: Spectre v2: using BPIALL workaround
    [    0.150032] CPU3: thread -1, cpu 3, socket 5, mpidr 80000503
    [    0.150044] CPU3: Spectre v2: using BPIALL workaround
    [    0.150307] smp: Brought up 1 node, 4 CPUs
    [    0.150344] SMP: Total of 4 processors activated (192.00 BogoMIPS).
    [    0.150375] CPU: All CPU(s) started in SVC mode.
    [    0.151392] devtmpfs: initialized
    [    0.165474] VFP support v0.3: implementor 41 architecture 3 part 30 variant d rev 0
    [    0.166045] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.166161] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.167192] xor: measuring software checksum speed
    [    0.204979]    arm4regs  :  1042.000 MB/sec
    [    0.245091]    8regs     :   803.000 MB/sec
    [    0.285207]    32regs    :   801.000 MB/sec
    [    0.325323]    neon      :  1407.000 MB/sec
    [    0.325352] xor: using function: neon (1407.000 MB/sec)
    [    0.325440] pinctrl core: initialized pinctrl subsystem
    [    0.326235] thermal_sys: Registered thermal governor 'step_wise'
    [    0.327777] NET: Registered protocol family 16
    [    0.330836] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.331470] audit: initializing netlink subsys (disabled)
    [    0.333147] audit: type=2000 audit(0.328:1): state=initialized audit_enabled=0 res=1
    [    0.333212] cpuidle: using governor ladder
    [    0.333285] cpuidle: using governor menu
    [    0.334660] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.334708] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.502314] raid6: neonx8   gen()   978 MB/s
    [    0.570539] raid6: neonx8   xor()   613 MB/s
    [    0.638818] raid6: neonx4   gen()  1105 MB/s
    [    0.706942] raid6: neonx4   xor()   720 MB/s
    [    0.775131] raid6: neonx2   gen()  1077 MB/s
    [    0.843345] raid6: neonx2   xor()   833 MB/s
    [    0.911576] raid6: neonx1   gen()   771 MB/s
    [    0.979802] raid6: neonx1   xor()   710 MB/s
    [    1.048091] raid6: int32x8  gen()   236 MB/s
    [    1.116343] raid6: int32x8  xor()   133 MB/s
    [    1.184538] raid6: int32x4  gen()   248 MB/s
    [    1.252729] raid6: int32x4  xor()   150 MB/s
    [    1.321023] raid6: int32x2  gen()   250 MB/s
    [    1.389275] raid6: int32x2  xor()   122 MB/s
    [    1.457529] raid6: int32x1  gen()   240 MB/s
    [    1.525698] raid6: int32x1  xor()    89 MB/s
    [    1.525728] raid6: using algorithm neonx4 gen() 1105 MB/s
    [    1.525757] raid6: .... xor() 720 MB/s, rmw enabled
    [    1.525784] raid6: using neon recovery algorithm
    [    1.528641] vcc_host_5v: supplied by vcc_sys
    [    1.529439] vcc_otg_5v: supplied by vcc_sys
    [    1.533741] iommu: Default domain type: Translated 
    [    1.538092] SCSI subsystem initialized
    [    1.538423] usbcore: registered new interface driver usbfs
    [    1.538528] usbcore: registered new interface driver hub
    [    1.538774] usbcore: registered new device driver usb
    [    1.538933] mc: Linux media interface: v0.10
    [    1.539003] videodev: Linux video capture interface: v2.00
    [    1.539189] pps_core: LinuxPPS API ver. 1 registered
    [    1.539222] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    1.539283] PTP clock support registered
    [    1.546772] Bluetooth: Core ver 2.22
    [    1.546859] NET: Registered protocol family 31
    [    1.546890] Bluetooth: HCI device and connection manager initialized
    [    1.546934] Bluetooth: HCI socket layer initialized
    [    1.546978] Bluetooth: L2CAP socket layer initialized
    [    1.547038] Bluetooth: SCO socket layer initialized
    [    1.547111] NetLabel: Initializing
    [    1.547138] NetLabel:  domain hash size = 128
    [    1.547163] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
    [    1.547285] NetLabel:  unlabeled traffic allowed by default
    [    1.548484] clocksource: Switched to clocksource arch_sys_counter
    [    3.104344] VFS: Disk quotas dquot_6.6.0
    [    3.104525] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    3.104840] FS-Cache: Loaded
    [    3.104873] *** VALIDATE ramfs ***
    [    3.105167] CacheFiles: Loaded
    [    3.120958] NET: Registered protocol family 2
    [    3.121970] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 12288 bytes, linear)
    [    3.122088] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
    [    3.122227] TCP bind hash table entries: 8192 (order: 5, 163840 bytes, linear)
    [    3.122538] TCP: Hash tables configured (established 8192 bind 8192)
    [    3.122722] UDP hash table entries: 512 (order: 2, 24576 bytes, linear)
    [    3.122830] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes, linear)
    [    3.123215] NET: Registered protocol family 1
    [    3.136208] RPC: Registered named UNIX socket transport module.
    [    3.136248] RPC: Registered udp transport module.
    [    3.136276] RPC: Registered tcp transport module.
    [    3.136302] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    3.141394] Trying to unpack rootfs image as initramfs...
    [    3.410253] Freeing initrd memory: 9836K
    [    3.411816] hw perfevents: enabled with armv7_cortex_a12 PMU driver, 7 counters available
    [    3.414342] Initialise system trusted keyrings
    [    3.414651] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [    3.424225] zbud: loaded
    [    3.426660] FS-Cache: Netfs 'nfs' registered for caching
    [    3.431532] *** VALIDATE nfs ***
    [    3.431625] *** VALIDATE nfs4 ***
    [    3.431731] NFS: Registering the id_resolver key type
    [    3.431796] Key type id_resolver registered
    [    3.431824] Key type id_legacy registered
    [    3.431867] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    3.432212] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled
    [    3.443015] *** VALIDATE xfs ***
    [    3.514283] async_tx: api initialized (async)
    [    3.514330] Key type asymmetric registered
    [    3.514359] Asymmetric key parser 'x509' registered
    [    3.514471] bounce: pool size: 64 pages
    [    3.514599] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 242)
    [    3.514923] io scheduler mq-deadline registered
    [    3.514959] io scheduler kyber registered
    [    3.524563] dma-pl330 ff250000.dma-controller: Loaded driver for PL330 DMAC-241330
    [    3.524619] dma-pl330 ff250000.dma-controller:     DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
    [    3.525812] dma-pl330 ffb20000.dma-controller: Loaded driver for PL330 DMAC-241330
    [    3.525865] dma-pl330 ffb20000.dma-controller:     DBUFF-64x8bytes Num_Chans-5 Num_Peri-6 Num_Events-10
    [    3.526813] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [    3.529412] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 38, base_baud = 1500000) is a 16550A
    [    3.530667] ff190000.serial: ttyS1 at MMIO 0xff190000 (irq = 39, base_baud = 1500000) is a 16550A
    [    3.531963] ff690000.serial: ttyS2 at MMIO 0xff690000 (irq = 40, base_baud = 1500000) is a 16550A
    [    4.583145] printk: console [ttyS2] enabled
    [    4.589132] ff1b0000.serial: ttyS3 at MMIO 0xff1b0000 (irq = 41, base_baud = 1500000) is a 16550A
    [    4.601870] rockchip-vop ff930000.vop: Adding to iommu group 0
    [    4.609203] rockchip-vop ff940000.vop: Adding to iommu group 1
    [    4.620053] rockchip-drm display-subsystem: bound ff930000.vop (ops 0xc1078844)
    [    4.628903] rockchip-drm display-subsystem: bound ff940000.vop (ops 0xc1078844)
    [    4.637262] rockchip-drm display-subsystem: failed to bind ff980000.hdmi (ops 0xc107b5ac): -517
    [    4.647320] rockchip-drm display-subsystem: master bind failed: -517
    [    4.654919] usbcore: registered new interface driver udl
    [    4.666761] brd: module loaded
    [    4.685889] loop: module loaded
    [    4.694048] libphy: Fixed MDIO Bus: probed
    [    4.698738] tun: Universal TUN/TAP device driver, 1.6
    [    4.704742] CAN device driver interface
    [    4.710657] rk_gmac-dwmac ff290000.ethernet: IRQ eth_lpi not found
    [    4.717791] rk_gmac-dwmac ff290000.ethernet: PTP uses main clock
    [    4.724617] rk_gmac-dwmac ff290000.ethernet: phy regulator is not available yet, deferred probing
    [    4.736260] usbcore: registered new interface driver rt2500usb
    [    4.742921] usbcore: registered new interface driver rt73usb
    [    4.749365] usbcore: registered new interface driver rt2800usb
    [    4.756007] usbcore: registered new interface driver rtl8xxxu
    [    4.762553] usbcore: registered new interface driver rndis_wlan
    [    4.769293] usbcore: registered new interface driver cdc_ether
    [    4.775924] usbcore: registered new interface driver rndis_host
    [    4.783052] dwc2 ff540000.usb: ff540000.usb supply vusb_d not found, using dummy regulator
    [    4.792515] dwc2 ff540000.usb: ff540000.usb supply vusb_a not found, using dummy regulator
    [    4.860995] dwc2 ff540000.usb: DWC OTG Controller
    [    4.866352] dwc2 ff540000.usb: new USB bus registered, assigned bus number 1
    [    4.874340] dwc2 ff540000.usb: irq 45, io mem 0xff540000
    [    4.880693] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06
    [    4.890006] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    4.898141] usb usb1: Product: DWC OTG Controller
    [    4.903446] usb usb1: Manufacturer: Linux 5.6.13-rockchip dwc2_hsotg
    [    4.910599] usb usb1: SerialNumber: ff540000.usb
    [    4.916687] hub 1-0:1.0: USB hub found
    [    4.920998] hub 1-0:1.0: 1 port detected
    [    4.926413] dwc2 ff580000.usb: ff580000.usb supply vusb_d not found, using dummy regulator
    [    4.935874] dwc2 ff580000.usb: ff580000.usb supply vusb_a not found, using dummy regulator
    [    5.072592] dwc2 ff580000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
    [    5.081304] dwc2 ff580000.usb: DWC OTG Controller
    [    5.086655] dwc2 ff580000.usb: new USB bus registered, assigned bus number 2
    [    5.094635] dwc2 ff580000.usb: irq 46, io mem 0xff580000
    [    5.100901] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06
    [    5.110205] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    5.118343] usb usb2: Product: DWC OTG Controller
    [    5.123650] usb usb2: Manufacturer: Linux 5.6.13-rockchip dwc2_hsotg
    [    5.130804] usb usb2: SerialNumber: ff580000.usb
    [    5.137083] hub 2-0:1.0: USB hub found
    [    5.141394] hub 2-0:1.0: 1 port detected
    [    5.148333] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    5.155703] ehci-platform: EHCI generic platform driver
    [    5.162135] usbcore: registered new interface driver usb-storage
    [    5.169717] usbcore: registered new interface driver iforce
    [    5.176118] usbcore: registered new interface driver xpad
    [    5.182378] usbcore: registered new interface driver usbtouchscreen
    [    5.190118] i2c /dev entries driver
    [    5.198724] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
    [    5.206521] fan53555-reg: supplied by vcc_sys
    [    5.213684] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
    [    5.221468] fan53555-reg: supplied by vcc_sys
    [    5.228819] REG1: supplied by vcc_sys
    [    5.233978] REG2: supplied by vcc_sys
    [    5.239112] REG3: supplied by vcc_sys
    [    5.244283] REG4: supplied by vcc_sys
    [    5.249662] REG5: supplied by vcc_sys
    [    5.255011] REG6: supplied by vcc_sys
    [    5.260160] REG7: supplied by vcc_sys
    [    5.265527] REG8: supplied by vcc_sys
    [    5.270710] REG9: supplied by vcc_sys
    [    5.275740] REG10: supplied by vcc_20
    [    5.281114] REG11: supplied by vcc_20
    [    5.286489] REG12: supplied by vcc_20
    [    5.295139] vcc_flash: supplied by vcc_io
    [    5.305817] device-mapper: ioctl: 4.42.0-ioctl (2020-02-27) initialised: dm-devel@redhat.com
    [    5.315774] device-mapper: raid: Loading target version 1.15.1
    [    5.322408] usb 1-1: new high-speed USB device number 2 using dwc2
    [    5.324789] Bluetooth: HCI UART driver ver 2.3
    [    5.334452] Bluetooth: HCI UART protocol H4 registered
    [    5.340250] Bluetooth: HCI UART protocol ATH3K registered
    [    5.346422] Bluetooth: HCI UART protocol Three-wire (H5) registered
    [    5.353575] usbcore: registered new interface driver bfusb
    [    5.359845] usbcore: registered new interface driver btusb
    [    5.367836] sdhci: Secure Digital Host Controller Interface driver
    [    5.374810] sdhci: Copyright(c) Pierre Ossman
    [    5.379725] Synopsys Designware Multimedia Card Interface Driver
    [    5.387700] dwmmc_rockchip ff0c0000.mmc: IDMAC supports 32-bit address mode.
    [    5.395739] dwmmc_rockchip ff0c0000.mmc: Using internal DMA controller.
    [    5.403204] dwmmc_rockchip ff0c0000.mmc: Version ID is 270a
    [    5.409572] dwmmc_rockchip ff0c0000.mmc: DW MMC controller at irq 30,32 bit host data width,256 deep fifo
    [    5.420398] vcc_sd: supplied by vcc_io
    [    5.425484] dwmmc_rockchip ff0c0000.mmc: Got CD GPIO
    [    5.537080] random: fast init done
    [    5.540976] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.00
    [    5.550204] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [    5.553804] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
    [    5.558245] usb 1-1: Product: USB 2.0 Hub [MTT]
    [    5.569253] hub 1-1:1.0: USB hub found
    [    5.578093] hub 1-1:1.0: 4 ports detected
    [    5.587574] dwmmc_rockchip ff0d0000.mmc: IDMAC supports 32-bit address mode.
    [    5.595656] dwmmc_rockchip ff0d0000.mmc: Using internal DMA controller.
    [    5.603177] dwmmc_rockchip ff0d0000.mmc: Version ID is 270a
    [    5.609599] dwmmc_rockchip ff0d0000.mmc: DW MMC controller at irq 31,32 bit host data width,256 deep fifo
    [    5.621445] dwmmc_rockchip ff0d0000.mmc: allocated mmc-pwrseq
    [    5.627947] mmc_host mmc1: card is non-removable.
    [    5.641757] mmc_host mmc0: Bus speed (slot 0) = 25000000Hz (slot req 25000000Hz, actual 25000000HZ div = 0)
    [    5.652875] mmc0: new SDHC card at address 59b4
    [    5.659075] mmcblk0: mmc0:59b4 USDU1 7.31 GiB 
    [    5.667258]  mmcblk0: p1
    [    5.752662] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
    [    5.776800] dwmmc_rockchip ff0f0000.mmc: IDMAC supports 32-bit address mode.
    [    5.784987] dwmmc_rockchip ff0f0000.mmc: Using internal DMA controller.
    [    5.792531] dwmmc_rockchip ff0f0000.mmc: Version ID is 270a
    [    5.798956] dwmmc_rockchip ff0f0000.mmc: DW MMC controller at irq 32,32 bit host data width,256 deep fifo
    [    5.810433] dwmmc_rockchip ff0f0000.mmc: allocated mmc-pwrseq
    [    5.811485] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
    [    5.816932] mmc_host mmc2: card is non-removable.
    [    5.824737] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
    [    5.836182] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
    [    5.841541] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
    [    5.845286] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
    [    5.866080] sdhci-pltfm: SDHCI platform and OF driver helper
    [    5.873578] ledtrig-cpu: registered to indicate activity on CPUs
    [    5.880538] hid: raw HID events driver (C) Jiri Kosina
    [    5.886833] usbcore: registered new interface driver usbhid
    [    5.893127] usbhid: USB HID core driver
    [    5.897932] ashmem: initialized
    [    5.905743] NET: Registered protocol family 10
    [    5.910162] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
    [    5.912382] Segment Routing with IPv6
    [    5.925941] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    5.927052] mmc1: new high speed SDIO card at address 0001
    [    5.934349] NET: Registered protocol family 17
    [    5.943950] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
    [    5.958595] can: controller area network core (rev 20170425 abi 9)
    [    5.962014] mmc_host mmc2: Bus speed (slot 0) = 50000000Hz (slot req 52000000Hz, actual 50000000HZ div = 0)
    [    5.965725] NET: Registered protocol family 29
    [    5.977599] mmc2: new DDR MMC card at address 0001
    [    5.981588] usb 1-1.1: new low-speed USB device number 3 using dwc2
    [    5.987281] Bluetooth: RFCOMM socket layer initialized
    [    5.998800] mmcblk2: mmc2:0001 NCard  7.22 GiB 
    [    6.002776] Bluetooth: RFCOMM ver 1.11
    [    6.006720] mmcblk2boot0: mmc2:0001 NCard  partition 1 4.00 MiB
    [    6.010597] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [    6.017732] mmcblk2boot1: mmc2:0001 NCard  partition 2 4.00 MiB
    [    6.023918] Bluetooth: HIDP socket layer initialized
    [    6.030839] mmcblk2rpmb: mmc2:0001 NCard  partition 3 128 KiB, chardev (240:0)
    [    6.040667] 8021q: 802.1Q VLAN Support v1.8
    [    6.049182] lib80211: common routines for IEEE802.11 drivers
    [    6.055776] Key type dns_resolver registered
    [    6.061306] ThumbEE CPU extension supported.
    [    6.066167] Registering SWP/SWPB emulation handler
    [    6.071977] Loading compiled-in X.509 certificates
    [    6.077620] zswap: loaded using pool lzo/zbud
    [    6.087155] Key type ._fscrypt registered
    [    6.091719] Key type .fscrypt registered
    [    6.096165] Key type fscrypt-provisioning registered
    [    6.103472] Btrfs loaded, crc32c=crc32c-generic
    [    6.166070] rockchip-drm display-subsystem: bound ff930000.vop (ops 0xc1078844)
    [    6.175098] rockchip-drm display-subsystem: bound ff940000.vop (ops 0xc1078844)
    [    6.183760] dwhdmi-rockchip ff980000.hdmi: Detected HDMI TX controller v2.00a with HDCP (DWC MHL PHY)
    [    6.195968] rockchip-drm display-subsystem: bound ff980000.hdmi (ops 0xc107b5ac)
    [    6.204339] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    6.211797] [drm] No driver support for vblank timestamp query.
    [    6.231723] usb 1-1.1: New USB device found, idVendor=04d9, idProduct=1203, bcdDevice= 2.60
    [    6.241146] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [    6.262096] input: HID 04d9:1203 as /devices/platform/ff540000.usb/usb1/1-1/1-1.1/1-1.1:1.0/0003:04D9:1203.0001/input/input0
    [    6.333445] hid-generic 0003:04D9:1203.0001: input,hidraw0: USB HID v1.11 Keyboard [HID 04d9:1203] on usb-ff540000.usb-1.1/input0
    [    6.362790] input: HID 04d9:1203 System Control as /devices/platform/ff540000.usb/usb1/1-1/1-1.1/1-1.1:1.1/0003:04D9:1203.0002/input/input1
    [    6.436985] input: HID 04d9:1203 Consumer Control as /devices/platform/ff540000.usb/usb1/1-1/1-1.1/1-1.1:1.1/0003:04D9:1203.0002/input/input2
    [    6.451713] hid-generic 0003:04D9:1203.0002: input,hidraw1: USB HID v1.11 Device [HID 04d9:1203] on usb-ff540000.usb-1.1/input1
    [    6.644525] usb 1-1.2: new full-speed USB device number 4 using dwc2
    [    6.851788] usb 1-1.2: New USB device found, idVendor=046d, idProduct=c52f, bcdDevice=30.00
    [    6.861201] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    [    6.869432] usb 1-1.2: Product: USB Receiver
    [    6.874247] usb 1-1.2: Manufacturer: Logitech
    [    6.883371] input: Logitech USB Receiver as /devices/platform/ff540000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:046D:C52F.0003/input/input3
    [    6.897232] hid-generic 0003:046D:C52F.0003: input,hidraw2: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-ff540000.usb-1.2/input0
    [    6.914834] input: Logitech USB Receiver Consumer Control as /devices/platform/ff540000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C52F.0004/input/input4
    [    6.989272] hid-generic 0003:046D:C52F.0004: input,hiddev96,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-ff540000.usb-1.2/input1
    [    7.184127] random: crng init done
    [    7.236602] rk3x-i2c ff170000.i2c: timeout, ipd: 0x00, state: 1
    [    8.260531] rk3x-i2c ff170000.i2c: timeout, ipd: 0x00, state: 1
    [    9.284568] rk3x-i2c ff170000.i2c: timeout, ipd: 0x00, state: 1
    [   10.308528] rk3x-i2c ff170000.i2c: timeout, ipd: 0x00, state: 1
    [   11.332557] rk3x-i2c ff170000.i2c: timeout, ipd: 0x00, state: 1
    [   11.409227] Console: switching to colour frame buffer device 100x37
    [   11.466187] rockchip-drm display-subsystem: fb0: rockchipdrmfb frame buffer device
    [   11.476161] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
    [   11.486891] rk_gmac-dwmac ff290000.ethernet: IRQ eth_lpi not found
    [   11.494281] rk_gmac-dwmac ff290000.ethernet: PTP uses main clock
    [   11.501503] rk_gmac-dwmac ff290000.ethernet: clock input or output? (input).
    [   11.509754] rk_gmac-dwmac ff290000.ethernet: TX delay(0x30).
    [   11.516385] rk_gmac-dwmac ff290000.ethernet: RX delay(0x10).
    [   11.528542] rk_gmac-dwmac ff290000.ethernet: integrated PHY? (no).
    [   11.541292] rk_gmac-dwmac ff290000.ethernet: cannot get clock clk_mac_speed
    [   11.554750] rk_gmac-dwmac ff290000.ethernet: clock input from PHY
    [   11.572058] rk_gmac-dwmac ff290000.ethernet: init for RGMII
    [   11.588256] rk_gmac-dwmac ff290000.ethernet: User ID: 0x10, Synopsys ID: 0x35
    [   11.601781] rk_gmac-dwmac ff290000.ethernet:     DWMAC1000
    [   11.612751] rk_gmac-dwmac ff290000.ethernet: DMA HW capability register supported
    [   11.626264] rk_gmac-dwmac ff290000.ethernet: RX Checksum Offload Engine supported
    [   11.639652] rk_gmac-dwmac ff290000.ethernet: COE Type 2
    [   11.650351] rk_gmac-dwmac ff290000.ethernet: TX Checksum insertion supported
    [   11.663065] rk_gmac-dwmac ff290000.ethernet: Wake-Up On Lan supported
    [   11.675051] rk_gmac-dwmac ff290000.ethernet: Normal descriptors
    [   11.686251] rk_gmac-dwmac ff290000.ethernet: Ring mode enabled
    [   11.697294] rk_gmac-dwmac ff290000.ethernet: Enable RX Mitigation via HW Watchdog Timer
    [   12.778856] libphy: stmmac: probed
    [   12.787259] RTL8211E Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
    [   12.810602] RTL8211E Gigabit Ethernet stmmac-0:01: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
    [   12.835871] hctosys: unable to open rtc device (rtc0)
    [   12.846588] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [   12.897490] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [   12.909819] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [   12.924262] cfg80211: failed to load regulatory.db
    [   12.939098] Freeing unused kernel memory: 1024K
    [   12.972978] Run /init as init process
    [   13.508551] rk3x-i2c ff170000.i2c: timeout, ipd: 0x00, state: 1
    [   13.966212] logitech-djreceiver 0003:046D:C52F.0003: hidraw2: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-ff540000.usb-1.2/input0
    [   14.022853] rtc-hym8563 0-0051: registered as rtc0
    [   14.135563] logitech-djreceiver 0003:046D:C52F.0004: hiddev96,hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-ff540000.usb-1.2/input1
    [   14.170123] input: gpio-keys as /devices/platform/gpio-keys/input/input7
    [   14.234170] logitech-djreceiver 0003:046D:C52F.0004: device of type eQUAD step 4 DJ (0x04) connected on slot 1
    [   14.262522] input: Logitech Wireless Mouse PID:4008 Mouse as /devices/platform/ff540000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C52F.0004/0003:046D:4008.0005/input/input8
    [   14.307287] input: Logitech Wireless Mouse PID:4008 Consumer Control as /devices/platform/ff540000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C52F.0004/0003:046D:4008.0005/input/input9
    [   14.343767] hid-generic 0003:046D:4008.0005: input,hidraw4: USB HID v1.11 Mouse [Logitech Wireless Mouse PID:4008] on usb-ff540000.usb-1.2/input1:1
    [   14.532571] rk3x-i2c ff170000.i2c: timeout, ipd: 0x00, state: 1
    [   14.557810] input: Logitech M185 as /devices/platform/ff540000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C52F.0004/0003:046D:4008.0005/input/input13
    [   14.587136] logitech-hidpp-device 0003:046D:4008.0005: input,hidraw4: USB HID v1.11 Mouse [Logitech M185] on usb-ff540000.usb-1.2/input1:1
    [   15.186332] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)
    [   15.556553] rk3x-i2c ff170000.i2c: timeout, ipd: 0x00, state: 1
    [   16.400577] systemd[1]: System time before build time, advancing clock.
    [   16.511975] systemd[1]: systemd 245.4-4ubuntu3 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
    [   16.561158] systemd[1]: Detected architecture arm.
    [   16.580565] rk3x-i2c ff170000.i2c: timeout, ipd: 0x00, state: 1
    [   16.664793] systemd[1]: Set hostname to <xt-q8l-v10>.
    [   16.868649] ttyS2 - failed to request DMA
    [   17.425395] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket в†’ /run/dbus/system_bus_socket; please update the unit file accordingly.
    [   17.604568] rk3x-i2c ff170000.i2c: timeout, ipd: 0x00, state: 1
    [   18.077411] systemd[1]: system-modprobe.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [   18.105000] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [   18.129005] systemd[1]: Created slice system-modprobe.slice.
    [   18.153620] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [   18.178366] systemd[1]: Created slice User and Session Slice.
    [   18.200375] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [   18.225903] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
    [   18.259269] systemd[1]: Reached target User and Group Name Lookups.
    [   18.281898] systemd[1]: Reached target Remote File Systems.
    [   18.303381] systemd[1]: Reached target Slices.
    [   18.323566] systemd[1]: Reached target Swap.
    [   18.343435] systemd[1]: Reached target System Time Set.
    [   18.365618] systemd[1]: Listening on Syslog Socket.
    [   18.386749] systemd[1]: Listening on fsck to fsckd communication Socket.
    [   18.409642] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [   18.434023] systemd[1]: Listening on Journal Audit Socket.
    [   18.456538] systemd[1]: Listening on Journal Socket (/dev/log).
    [   18.479654] systemd[1]: Listening on Journal Socket.
    [   18.501396] systemd[1]: Listening on udev Control Socket.
    [   18.522639] systemd[1]: Listening on udev Kernel Socket.
    [   18.543734] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
    [   18.569487] systemd[1]: Mounting POSIX Message Queue File System...
    [   18.600075] systemd[1]: Mounting Kernel Debug File System...
    [   18.628612] systemd[1]: Mounting Kernel Trace File System...
    [   18.659204] systemd[1]: Starting Restore / save the current clock...
    [   18.688810] systemd[1]: Starting Set the console keyboard layout...
    [   18.719142] systemd[1]: Starting Create list of static device nodes for the current kernel...
    [   18.742990] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
    [   18.768736] systemd[1]: Started Nameserver information manager.
    [   18.792086] systemd[1]: Reached target Network (Pre).
    [   18.816325] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
    [   18.839832] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
    [   18.875593] systemd[1]: Starting Load Kernel Modules...
    [   18.905360] systemd[1]: Starting Remount Root and Kernel File Systems...
    [   18.937771] systemd[1]: Starting udev Coldplug all Devices...
    [   18.972386] systemd[1]: Mounted POSIX Message Queue File System.
    [   18.973473] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro
    [   19.016818] systemd[1]: Mounted Kernel Debug File System.
    [   19.038369] systemd[1]: Mounted Kernel Trace File System.
    [   19.064945] systemd[1]: Finished Restore / save the current clock.
    [   19.093170] systemd[1]: Finished Create list of static device nodes for the current kernel.
    [   19.130764] systemd[1]: Finished Load Kernel Modules.
    [   19.158207] systemd[1]: Finished Remount Root and Kernel File Systems.
    [   19.183520] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
    [   19.210372] systemd[1]: Mounting Kernel Configuration File System...
    [   19.247976] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
    [   19.265086] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
    [   19.297329] systemd[1]: Starting Load/Save Random Seed...
    [   19.327248] systemd[1]: Starting Apply Kernel Variables...
    [   19.357605] systemd[1]: Starting Create System Users...
    [   19.391206] systemd[1]: Finished Set the console keyboard layout.
    [   19.419016] systemd[1]: Mounted Kernel Configuration File System.
    [   19.455885] systemd[1]: Finished Load/Save Random Seed.
    [   19.487860] systemd[1]: Finished Create System Users.


    Armbian 20.05.0-trunk Focal ttyS2 

    xt-q8l-v10 login: [  702.893217] reboot: Power down
    [  702.896734] ------------[ cut here ]------------
    [  702.901952] WARNING: CPU: 0 PID: 1 at drivers/i2c/i2c-core.h:41 i2c_transfer+0x108/0x114
    [  702.911071] No atomic I2C transfer handler for 'i2c-0'
    [  702.916857] Modules linked in: uas fuse algif_hash algif_skcipher af_alg snd_soc_hdmi_codec snd_soc_spdif_tx snd_soc_simple_card snd_soc_simple_card_utils ir_nec_decoder gpio_ir_recv snd_soc_rockchip_i2s snd_soc_rockchip_spdif rockchip_rga snd_soc_rockchip_pcm snd_soc_core hantro_vpu(C) brcmfmac snd_pcm_dmaengine videobuf2_dma_sg snd_pcm videobuf2_dma_contig v4l2_mem2mem brcmutil videobuf2_vmalloc panfrost videobuf2_memops dw_hdmi_cec dw_hdmi_i2s_audio snd_timer videobuf2_v4l2 gpu_sched snd videobuf2_common syscon_reboot_mode rk_crypto soundcore reboot_mode rk3288_gpiomem dw_wdt rockchip_thermal zstd cpufreq_dt zram sch_fq_codel ip_tables hid_logitech_hidpp gpio_keys rtc_hym8563 hid_logitech_dj realtek
    [  702.987042] CPU: 0 PID: 1 Comm: systemd-shutdow Tainted: G         C        5.6.13-rockchip #trunk
    [  702.997138] Hardware name: Rockchip (Device Tree)
    [  703.002434] Backtrace: 
    [  703.005192] [<c010e7dc>] (dump_backtrace) from [<c010eb94>] (show_stack+0x20/0x24)
    [  703.013722]  r7:60010193 r6:c16225c4 r5:00000000 r4:c16225c4
    [  703.020101] [<c010eb74>] (show_stack) from [<c0f4f250>] (dump_stack+0x8c/0xa0)
    [  703.028243] [<c0f4f1c4>] (dump_stack) from [<c012524c>] (__warn+0xe0/0x108)
    [  703.036087]  r7:00000029 r6:00000009 r5:c0a86900 r4:c1251ae0
    [  703.042463] [<c012516c>] (__warn) from [<c012564c>] (warn_slowpath_fmt+0xa4/0xc0)
    [  703.050893]  r7:00000029 r6:c1251ae0 r5:c1505788 r4:c1251b80
    [  703.057270] [<c01255ac>] (warn_slowpath_fmt) from [<c0a86900>] (i2c_transfer+0x108/0x114)
    [  703.066486]  r9:000000c3 r8:c1632a40 r7:cf8337c1 r6:00000001 r5:ee551d40 r4:cf8de040
    [  703.075213] [<c0a867f8>] (i2c_transfer) from [<c0a86968>] (i2c_transfer_buffer_flags+0x5c/0x80)
    [  703.085015]  r6:cf8337c1 r5:00000002 r4:c1505788
    [  703.090219] [<c0a8690c>] (i2c_transfer_buffer_flags) from [<c0900fd4>] (regmap_i2c_write+0x24/0x40)
    [  703.100413]  r5:00000001 r4:00000002
    [  703.104440] [<c0900fb0>] (regmap_i2c_write) from [<c08fbca8>] (_regmap_raw_write_impl+0x5e4/0x8cc)
    [  703.114536]  r5:00000001 r4:cf8d9600
    [  703.118562] [<c08fb6c4>] (_regmap_raw_write_impl) from [<c08fc00c>] (_regmap_bus_raw_write+0x7c/0xa0)
    [  703.128954]  r10:00000058 r9:c150f9f4 r8:c3f74500 r7:00000018 r6:000000c3 r5:c08f754c
    [  703.137777]  r4:cf8d9600
    [  703.142917] [<c08fbf90>] (_regmap_bus_raw_write) from [<c08fb3c4>] (_regmap_write+0x7c/0x164)
    [  703.154842]  r7:cf8d9600 r6:00000018 r5:000000c3 r4:cf8d9600
    [  703.163537] [<c08fb348>] (_regmap_write) from [<c08fccb4>] (regmap_write+0x4c/0x6c)
    [  703.174478]  r9:c150f9f4 r8:c3f74500 r7:fee1dead r6:00000018 r5:000000c3 r4:cf8d9600
    [  703.185511] [<c08fcc68>] (regmap_write) from [<c082d584>] (act8865_power_off+0x2c/0x30)
    [  703.196823]  r7:fee1dead r6:00000000 r5:4321fedc r4:c1505788
    [  703.205484] [<c082d558>] (act8865_power_off) from [<c010c26c>] (machine_power_off+0x34/0x38)
    [  703.217256] [<c010c238>] (machine_power_off) from [<c014ebec>] (kernel_power_off+0x7c/0x80)
    [  703.228904] [<c014eb70>] (kernel_power_off) from [<c014ed44>] (__do_sys_reboot+0x154/0x1e8)
    [  703.240532] [<c014ebf0>] (__do_sys_reboot) from [<c014ee48>] (sys_reboot+0x18/0x1c)
    [  703.251355]  r9:ee550000 r8:c0101204 r7:00000058 r6:beceeb04 r5:beceeb08 r4:4321fedc
    [  703.262261] [<c014ee30>] (sys_reboot) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
    [  703.273066] Exception stack(0xee551fa8 to 0xee551ff0)
    [  703.280928] 1fa0:                   4321fedc beceeb08 fee1dead 28121969 4321fedc c3f74500
    [  703.292338] 1fc0: 4321fedc beceeb08 beceeb04 00000058 beceeb08 beceeb04 fffff000 beceeb0c
    [  703.303781] 1fe0: 00000058 beceea7c b6ecfd65 b6e4ebe6
    [  703.311691] ---[ end trace b408fb8d7433a34a ]---

     

  3. jock, it seems DRM Uboot driver appeared:

    Spoiler
    
    U-Boot 2014.10-RK3288-06-g294fde1d75 (May 11 2020 - 22:35:03)
    
    CPU: rk3288
    cpu version = 0
    CPU's clock information:
        arm pll = 816000000HZ
        periph pll = 594000000HZ
        ddr pll = 396000000HZ
        codec pll = 384000000HZ
    Board:	Rockchip platform Board
    Uboot as second level loader
    DRAM:  Found dram banks: 1
    Adding bank:0000000000000000(0000000080000000)
    Reserve memory for trust os.
    dram reserve bank: base = 0x08400000, size = 0x00e00000
    128 MiB
    GIC CPU mask = 0x00000001
    MMC:   rk emmc: 0
    SdmmcInit = 2 0
    GetParam
    Find valid partition MISC.
    storage init OK!
    Using default environment
    
    GetParam
    Load FDT from resource image.
    power key: bank-0 pin-5
    can't find dts node for fixed
    No pmic detect.
    can't find dts node for pwm0
    Can't find dts node for fuel guage cw201x
    ERROR: v7_dcache_inval_range - start address is not aligned - 0x046e0798
    ERROR: v7_dcache_inval_range - stop address is not aligned - 0x046e0998
    invalide header tag
    ca head not found
    SecureBootEn = 0, SecureBootLock = 0
    
    #Boot ver: 0000-00-00#2.58
    empty serial no.
    normal boot.
    checkKey
    vbus = 1
    no fuel gauge found
    no fuel gauge found
    Rockchip UBOOT DRM driver version: develop-v1.0.0
    failed to find phy driver
    failed to find panel driver
    read logo on state from dts [1]
    no fuel gauge found
    [dw_hdmi_i2c_read] read reg[0x01] data error:0x01
    [dw_hdmi_i2c_read] read reg[0x01] data error:0x01
    [dw_hdmi_i2c_read] read reg[0x01] data error:0x01
    [dw_hdmi_i2c_read] read reg[0x01] data error:0x01
    [dw_hdmi_i2c_read] read reg[0x01] data error:0x01
    can't get edid block:0
    failed to get edid
    drm_rk_selete_output; fail get baseparameter
    Select the default resolution from white table, hdisplay=1920, vdisplay=1080, clock=148500
    pll_src = 1, dclk_hz = 148500000, dclk_div = 4
    rockchip_panel_prepare: failed to find panel prepare funcs
    CEA mode used vic=16
    dw_hdmi_setup HDMI mode
    rockchip_panel_enable: failed to find panel prepare funcs

     

    I'm testing tinkerboard android 8.1 firmware, the hdmi screen turns on at the loading stage of Uboot. I use the miniarm device tree.

     

    Also, look at the following nodes in the device tree (found from miniarm dtb for android):

    Spoiler

     

    
    	rk3288-gpiomem {
    		compatible = "rockchip,rk3288-gpiomem";
    		reg = <0x0 0xff750000 0x0 0x1000>;
    		status = "okay";
    	};
    
    
    	i2c@ff660000 {
    
           // .....
            status = "okay";
    
    		m24c08@50 {
    			compatible = "at,24c08";
    			reg = <0x50>;
    		};
    	};

    From dmesg:

    Spoiler

     

    
    [    0.818545] gpiomem-rk3288 ff750000.rk3288-gpiomem: Initialised: Registers at 0xff750000
    
    [    0.970010] at24 2-0050: 1024 byte 24c08 EEPROM, writable, 1 bytes/write

     

  4. On 9/24/2018 at 5:32 PM, 8a8asik said:

    Hi, how i can change xorg config to use OpenGLES fbdev by libhybris ? Thank you.

    No OpenGL/EGL/GLES X11 drivers available at this time for S912 SoC.
    Hardware rendering via GLES fbdev, as well hardware decoding video and audio is used in the player c2play.

    Look at this message.

  5. 1 hour ago, balbes150 said:

    You can collect all used to c2play components (files) to the set of packages to install in any way ?

    At the moment, unfortunately, I'm not ready to do it yet.

    But it is possible to assemble the missing packages in the form of archives.

  6. Hello everybody!
    I assembled a video player c2play, created by crashoverride, with the possibility of hardware decoding and rendering for a boxes on the S912 SOC. To achieve this, was used EGL and GLES libraries from Android, libhybris, libamcodec and ffmpeg with the support of the above library, as well kernel package with Mali driver for T820 GPU. All this was integrated into the firmware of Ubuntu Armbian 16.04 Mate Desktop, building by balbes150. You can download this firmware from here.

    c2play perfectly playing, both local and network video H.264 and H.265 10-bit, checked up to 4K. Declared support of MP4, MKV and AVI containers.
    A small help to managing the c2play from the keyboard:
    ESC - to finish playing, LEFT - 30 sec. back, RIGHT - 30 sec. forward, DOWN - 10 min ahead, UP - 10 min. back. SPACE - pause.

    To play video, open the terminal window or go to the virtual console (Ctrl-Alt-F1). enter the command: c2play <path to your video>. Or, assign c2play as the default application for the desired file type. More details here or here.

    In the folder /opt are deb-packages with libhybris and kernel 3.14.29 with the driver Mali.

    For those who want to build c2play itself, I bring links to resources on the github.

    Libhybris: https://github.com/libhybris/libhybris.

    Libamcodec: https://github.com/osmc/libamcodec.

    FFMPEG: https://github.com/roman-rybalko/FFmpeg-aml.

    c2play: https://github.com/OtherCrashOverride/c2play.

     

  7. To obtain the hardware acceleration OpenGLES fbdev on the S912 platform, do the following:

    - Download the firmware of Armbian 5.44 Ubuntu Mate with the kernel 3.14, created by balbes150.

    - Burn the loaded image on the SD-card and and run Ubuntu Mate from the SD card. 

    - Download the archive with the kernel 3.14 packages with the Mali driver and the archive with Mali samples and libhybris package. Install all deb packages with the 3.14 kernel from the archive. To do this, go to the unzipped folder aml-s9xx-kernel-3.14.29-with-mali-r16p0-debs, run the command: sudo dpkg -i *.deb.

    - Unzip the mali-hybris-s912-packages.tgz. Copy the folder etc to the root of ROOTFS partition to set permissions for the mali and ion devices, and also for configuring ld for libhybris.

    - Unzip the system.tgz and copy the contents to the root of ROOTFS partition (sudo tar xzvf system.tgz -C / )

    - Unzip Mali-OpenGL-ES-Samples-Linux-Arm-Bin.tgz in the home directory.

    - Reboot system.

    - After reboot the system, add the armhf architecture for the system:

    sudo dpkg --add-architecture armhf
    sudo apt update
    sudo apt install libc6:armhf libstdc++6:armhf

    - Install libhybris-arm_0.1-1-opt_arm64.deb package and configure ld: sudo ldconfig.

    - Everything is ready for the test, run: /opt/libhybris/bin/test_glesv2.  A picture should appear, as shown in the first screenshot.

    - To run Mali OpenGLES Samples, go to the Mali-OpenGL-ES-Samples-Linux-Arm-Bin folder and start the executable files.

     - Freeze the kernel update with the armbian-config.

     

    test_glesv2cube

     

  8. Hi everyone,

    I'm working on the task of using the fbdev GLES driver from Android 7.1.1 with the help of Libhybris for my KM8P on S912 for Armbian Ubuntu (Debian). In the framework of this task, I managed to build an legacy kernel 3.14.29 with the Mali driver r16p0. And also the mainline kernel 4.18-rc2 with the Mali driver r19p0. You can download the deb packages for the system update by clicking on the links above. 

    For a start, it's enough to install the corresponding package linux-image-amlogics905x_5.44_arm64.deb for update of the system and also put mali.conf (taken from the LibreElec distributive) in the directory /lib/modprobe.d/ from the archive.

    sudo dpkg -i linux-image-amlogics905x_5.44_arm64.deb

    After the system with the 3.14 kernel is upgraded, the device /dev/mali0 appears.

    Unfortunately, this did not happen for the mainline kernel. It seems that the reason is that there is no description of the GPU in the device tree. I'm use gxm_q201_1g.dtb.

    Next, I build a package of Libhybris from git. For the 64-bit version, I used the following commands:

    git clone https://github.com/libhybris/libhybris
    cd libhybris/hybris
    git clone https://github.com/Halium/android-headers/ -b halium-7.1
    ./autogen.sh \
        --prefix=/opt/libhybris \
        --build=aarch64-linux-gnu \
        --host=aarch64-linux-gnu \
        --target=aarch64-linux-gnu \
        --with-android-headers=android-headers \
        --enable-adreno-quirks \
        --enable-mali-quirks \
        --enable-debug \
        --enable-trace \
        --enable-arch=arm64 \
        --enable-experimental \
        --with-default-egl-platform=fbdev \
        --with-default-hybris-ld-library-path=/vendor/lib:/system/lib
    

    To build the 32-bit version of Libhybris I installed two packages for cross-compilation: arm-linux-gnueabihf-gcc and arm-linux-gnueabihf-g++.
    And compiled with the following parameters:

    CC=arm-linux-gnueabihf-gcc \
    CXX=arm-linux-gnueabihf-g++ \ 
    ./autogen.sh  \
    	--prefix=/opt/libhybris \
    	--with-android-headers=android-headers \
    	--enable-adreno-quirks \ 
    	--enable-arch=arm \
    	--enable-experimental \
    	--with-default-hybris-ld-library-path=/system/lib \
    	--enable-debug  \
    	--enable-trace \ 
    	--with-default-egl-platform=fbdev \
    	--enable-mali-quirks

    Next:

    make -j8
    sudo make install

    Then copied the /system/lib directory from the Android firmware to the root of the file system.

     

    Running /opt/libhybris/bin/test_glesv2, unfortunately, failed:

    user@amlogic:/opt/libhybris/bin$ ./test_glesv2
    library "libgui.so" wasn't loaded and RTLD_NOLOAD prevented it
    test_glesv2: test_glesv2.c:117: main: Assertion `eglGetError() == EGL_SUCCESS' failed.
    Aborted

    For some reason, the system could not create a surface, test_glesv2.c, s.117:

            surface = eglCreateWindowSurface((EGLDisplay) display, ecfg, (EGLNativeWindowType)NULL, NULL);     
            assert(eglGetError() == EGL_SUCCESS);
            assert(surface != EGL_NO_SURFACE);

    I hope that someone will be interested in this task and will achieve a better result.

  9. 2 hours ago, jock said:

     

    You may try to add this block to the device tree to slow down the i2c5 bus and add some delays and see what happens:

    
    &i2c5 {
    	status = "okay";
    
    	clock-frequency = <100000>;
    	i2c-scl-falling-time-ns = <300>;
    	i2c-scl-rising-time-ns = <1000>;
    };

    I did not test it, just found it in rk3288-veyron.dtsi device tree from u-boot :)

     

    Thanks, jock. Unfortunately, this did not change the situation.
    I also tried to increase the frequency on i2c5 to 400 KHz - there were no messages about the timeout, but on the whole, nothing has changed dramatically.

     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines