Jump to content

ROC-RK3399-PC (Renegade Elite)


tkaiser

Recommended Posts

26 minutes ago, frauhottelmann said:

And if I try to build one on master with dev it doesn't boot at all.

This shouldn't be the u-boot's HDMI issue - this got disabled in master some time ago.

I am suspecting dev's transition to 5.7 :(

I will look into that over the next few days.

Link to comment
Share on other sites

2 minutes ago, piter75 said:

This shouldn't be the u-boot's HDMI issue - this got disabled in master some time ago.

I am suspecting dev's transition to 5.7 :(

I will look into that over the next few days.

Thanks! Higher boot verbosity doesn't give any more details:

Quote

U-Boot TPL 2020.01-armbian (Mar 30 2020 - 09:10:54)
Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
256B stride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate: change freq to 800000000 mhz 1, 0
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2020.01-armbian (Mar 30 2020 - 09:10:54 -0400)
Trying to boot from MMC1
NOTICE:  BL31: v2.2(release):a04808c-dirty
NOTICE:  BL31: Built : 09:10:50, Mar 30 2020


U-Boot 2020.01-armbian (Mar 30 2020 - 09:10:54 -0400)

Model: Firefly ROC-RK3399-PC Board
DRAM:  3.9 GiB
PMIC:  RK808
MMC:   dwmmc@fe320000: 1, sdhci@fe330000: 0
Loading Environment from MMC... Card did not respond to voltage select!
*** Warning - No block device, using default environment

In:    serial@ff1a0000
Out:   serial@ff1a0000
Err:   serial@ff1a0000
Model: Firefly ROC-RK3399-PC Board
rockchip_dnl_key_pressed: adc_channel_single_shot fail!
Net:   eth0: ethernet@fe300000
Hit any key to stop autoboot:  0
Card did not respond to voltage select!
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
2940 bytes read in 7 ms (410.2 KiB/s)
## Executing script at 00500000
Boot script loaded from mmc 1
151 bytes read in 6 ms (24.4 KiB/s)
11772741 bytes read in 504 ms (22.3 MiB/s)
20505088 bytes read in 873 ms (22.4 MiB/s)
74780 bytes read in 13 ms (5.5 MiB/s)
2698 bytes read in 10 ms (262.7 KiB/s)
Applying kernel provided DT fixup script (rockchip-fixup.scr)
## Executing script at 39000000
## Loading init Ramdisk from Legacy Image at 06000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    11772677 Bytes = 11.2 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 f53e5000, end f5f1f305 ... OK
   Loading Device Tree to 00000000f536a000, end 00000000f53e4fff ... OK

Starting kernel ...

 

Link to comment
Share on other sites

I guess the device tree in the mainline kernel has some problems. Now I'm using Ubuntu Server 20.04 with the following device tree.

Basically everything works, except for USB PD.

(The OS was installed using iso with u-boot's EFI implementation)

Here is the boot log.

Quote

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.7.5-050705-generic (kernel@sita) (gcc version 9.3.0 (Ubuntu 9.3.0-13ubuntu1), GNU ld (GNU Binutils for Ubuntu) 2.34) #202006220832 SMP Mon Jun 22 08:34:32 UTC 2020
[    0.000000] Machine model: Firefly ROC-RK3399-PC Mezzanine Board
[    0.000000] efi: EFI v2.80 by Das U-Boot
[    0.000000] efi:  RTPROP=0xf150c040  SMBIOS=0xf1509000  MEMRESERVE=0xabde2040
[    0.000000] cma: Reserved 32 MiB at 0x00000000f6000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xf57e5480-0xf57e9fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000200000-0x000000003fffffff]
[    0.000000]   DMA32    [mem 0x0000000040000000-0x00000000f7ffffff]
[    0.000000]   Normal   empty
[    0.000000]   Device   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x00000000f1345fff]
[    0.000000]   node   0: [mem 0x00000000f1346000-0x00000000f1347fff]
[    0.000000]   node   0: [mem 0x00000000f1348000-0x00000000f1500fff]
[    0.000000]   node   0: [mem 0x00000000f1501000-0x00000000f1507fff]
[    0.000000]   node   0: [mem 0x00000000f1508000-0x00000000f1508fff]
[    0.000000]   node   0: [mem 0x00000000f1509000-0x00000000f1509fff]
[    0.000000]   node   0: [mem 0x00000000f150a000-0x00000000f150bfff]
[    0.000000]   node   0: [mem 0x00000000f150c000-0x00000000f150efff]
[    0.000000]   node   0: [mem 0x00000000f150f000-0x00000000f150ffff]
[    0.000000]   node   0: [mem 0x00000000f1510000-0x00000000f1510fff]
[    0.000000]   node   0: [mem 0x00000000f1511000-0x00000000f1512fff]
[    0.000000]   node   0: [mem 0x00000000f1513000-0x00000000f1513fff]
[    0.000000]   node   0: [mem 0x00000000f1514000-0x00000000f451ffff]
[    0.000000]   node   0: [mem 0x00000000f4520000-0x00000000f452ffff]
[    0.000000]   node   0: [mem 0x00000000f4530000-0x00000000f7ffffff]
[    0.000000] Zeroed struct page in unavailable ranges: 31 pages
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] On node 0 totalpages: 1015296
[    0.000000]   DMA zone: 4088 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 261632 pages, LIFO batch:63
[    0.000000]   DMA32 zone: 11776 pages used for memmap
[    0.000000]   DMA32 zone: 753664 pages, LIFO batch:63
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 33 pages/cpu s94808 r8192 d32168 u135168
[    0.000000] pcpu-alloc: s94808 r8192 d32168 u135168 alloc=33*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 999432
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.7.5-050705-generic root=UUID=c3403db7-5f7d-4791-b759-09b154668102 ro
[    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:on, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x3bfff000-0x3ffff000] (64MB)
[    0.000000] Memory: 3764160K/4061184K available (14460K kernel code, 2382K rwdata, 7144K rodata, 7296K init, 1136K bss, 264256K reserved, 32768K cma-reserved)
[    0.000000] random: get_random_u64 called from kmem_cache_open+0x34/0x490 with crng_init=0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] ftrace: allocating 47329 entries in 185 pages
[    0.000000] ftrace: allocated 185 pages with 5 groups
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=6.
[    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=6
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
[    0.000000] ITS [mem 0xfee20000-0xfee3ffff]
[    0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @f4d80000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000000f4e00000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000f4e10000
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
[    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.002819] Console: colour dummy device 80x25
[    0.003782] printk: console [tty0] enabled
[    0.003960] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.003994] pid_max: default: 32768 minimum: 301
[    0.004253] LSM: Security Framework initializing
[    0.004303] Yama: becoming mindful.
[    0.004445] AppArmor: AppArmor initialized
[    0.004714] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.004759] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.007789] rcu: Hierarchical SRCU implementation.
[    0.010507] Platform MSI: interrupt-controller@fee20000 domain created
[    0.011007] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.011299] fsl-mc MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.015356] Remapping and enabling EFI services.
[    0.016514] smp: Bringing up secondary CPUs ...
[    0.017561] Detected VIPT I-cache on CPU1
[    0.017600] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.017660] GICv3: CPU1: using allocated LPI pending table @0x00000000f4e20000
[    0.017717] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.018834] Detected VIPT I-cache on CPU2
[    0.018867] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.018921] GICv3: CPU2: using allocated LPI pending table @0x00000000f4e30000
[    0.018961] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.020036] Detected VIPT I-cache on CPU3
[    0.020068] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.020120] GICv3: CPU3: using allocated LPI pending table @0x00000000f4e40000
[    0.020159] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.021262] CPU features: detected: EL2 vector hardening
[    0.021272] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[    0.021278] CPU features: detected: ARM erratum 1319367
[    0.021284] Detected PIPT I-cache on CPU4
[    0.021318] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.021374] GICv3: CPU4: using allocated LPI pending table @0x00000000f4e50000
[    0.021411] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.022504] Detected PIPT I-cache on CPU5
[    0.022530] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.022573] GICv3: CPU5: using allocated LPI pending table @0x00000000f4e60000
[    0.022603] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.022740] smp: Brought up 1 node, 6 CPUs
[    0.023044] SMP: Total of 6 processors activated.
[    0.023063] CPU features: detected: 32-bit EL0 Support
[    0.023082] CPU features: detected: CRC32 instructions
[    0.023254] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.064920] CPU: All CPU(s) started at EL2
[    0.065025] alternatives: patching kernel code
[    0.069798] devtmpfs: initialized
[    0.081947] Registered cp15_barrier emulation handler
[    0.081981] Registered setend emulation handler
[    0.081998] KASLR disabled due to lack of seed
[    0.082602] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.082714] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.084025] pinctrl core: initialized pinctrl subsystem
[    0.085120] thermal_sys: Registered thermal governor 'fair_share'
[    0.085124] thermal_sys: Registered thermal governor 'bang_bang'
[    0.085140] thermal_sys: Registered thermal governor 'step_wise'
[    0.085152] thermal_sys: Registered thermal governor 'user_space'
[    0.085164] thermal_sys: Registered thermal governor 'power_allocator'
[    0.085738] SMBIOS 3.0 present.
[    0.085773] DMI: firefly roc-pc-rk3399/roc-pc-rk3399, BIOS 2020.07-rc3 06/12/2020
[    0.086395] NET: Registered protocol family 16
[    0.088741] DMA: preallocated 256 KiB pool for atomic allocations
[    0.088768] audit: initializing netlink subsys (disabled)
[    0.089122] audit: type=2000 audit(0.088:1): state=initialized audit_enabled=0 res=1
[    0.090761] cpuidle: using governor ladder
[    0.090818] cpuidle: using governor menu
[    0.090968] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.091181] ASID allocator initialised with 65536 entries
[    0.092724] Serial: AMBA PL011 UART driver
[    0.138406] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.138431] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.138445] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.138459] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.149025] fbcon: Taking over console
[    0.149079] ACPI: Interpreter disabled.
[    0.151301] iommu: Default domain type: Translated
[    0.153920] vgaarb: loaded
[    0.155091] SCSI subsystem initialized
[    0.155357] libata version 3.00 loaded.
[    0.155510] usbcore: registered new interface driver usbfs
[    0.155567] usbcore: registered new interface driver hub
[    0.155665] usbcore: registered new device driver usb
[    0.156257] pps_core: LinuxPPS API ver. 1 registered
[    0.156271] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.156296] PTP clock support registered
[    0.156581] EDAC MC: Ver: 3.0.0
[    0.159054] NetLabel: Initializing
[    0.159073] NetLabel:  domain hash size = 128
[    0.159083] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.159155] NetLabel:  unlabeled traffic allowed by default
[    0.159881] clocksource: Switched to clocksource arch_sys_counter
[    0.246581] VFS: Disk quotas dquot_6.6.0
[    0.246668] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.247379] AppArmor: AppArmor Filesystem Enabled
[    0.247761] pnp: PnP ACPI: disabled
[    0.257037] NET: Registered protocol family 2
[    0.257936] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.258139] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.258704] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.259378] TCP: Hash tables configured (established 32768 bind 32768)
[    0.259926] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.260113] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.260465] NET: Registered protocol family 1
[    0.260498] NET: Registered protocol family 44
[    0.260518] PCI: CLS 0 bytes, default 64
[    0.260770] Trying to unpack rootfs image as initramfs...
[    1.784573] Freeing initrd memory: 84736K
[    1.785677] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    1.786062] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    1.786684] kvm [1]: IPA Size Limit: 40bits
[    1.787976] kvm [1]: vgic-v2@fff20000
[    1.788026] kvm [1]: GIC system register CPU interface enabled
[    1.788265] kvm [1]: vgic interrupt IRQ10
[    1.788541] kvm [1]: Hyp mode initialized successfully
[    1.790380] Initialise system trusted keyrings
[    1.790424] Key type blacklist registered
[    1.790703] workingset: timestamp_bits=40 max_order=20 bucket_order=0
[    1.797704] zbud: loaded
[    1.799333] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.800300] fuse: init (API version 7.31)
[    1.800976] integrity: Platform Keyring initialized
[    1.825215] Key type asymmetric registered
[    1.825232] Asymmetric key parser 'x509' registered
[    1.825278] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[    1.825528] io scheduler mq-deadline registered
[    1.837663] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    1.862148] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    1.871268] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 39, base_baud = 1500000) is a 16550A
[    1.872185] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 40, base_baud = 1500000) is a 16550A
[    1.976532] printk: console [ttyS2] enabled
[    1.979074] msm_serial: driver initialized
[    1.981923] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    1.992817] loop: module loaded
[    1.996472] libphy: Fixed MDIO Bus: probed
[    1.996851] tun: Universal TUN/TAP device driver, 1.6
[    1.999196] PPP generic driver version 2.4.2
[    2.000293] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.000894] ehci-pci: EHCI PCI platform driver
[    2.001346] ehci-orion: EHCI orion driver
[    2.001903] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.002461] ohci-pci: OHCI PCI platform driver
[    2.002888] uhci_hcd: USB Universal Host Controller Interface driver
[    2.003924] mousedev: PS/2 mouse device common for all mice
[    2.005578] i2c /dev entries driver
[    2.008551] device-mapper: uevent: version 1.0.3
[    2.009258] device-mapper: ioctl: 4.42.0-ioctl (2020-02-27) initialised: dm-devel@redhat.com
[    2.012343] ledtrig-cpu: registered to indicate activity on CPUs
[    2.017106] drop_monitor: Initializing network drop monitor service
[    2.018542] NET: Registered protocol family 10
[    2.066145] Segment Routing with IPv6
[    2.066605] NET: Registered protocol family 17
[    2.067434] Key type dns_resolver registered
[    2.068847] registered taskstats version 1
[    2.069272] Loading compiled-in X.509 certificates
[    2.073939] Loaded X.509 cert 'Build time autogenerated kernel key: e2441e13fd663bc317fa5094f2c59514ba996350'
[    2.075023] zswap: loaded using pool lzo/zbud
[    2.076433] Key type ._fscrypt registered
[    2.076809] Key type .fscrypt registered
[    2.077161] Key type fscrypt-provisioning registered
[    2.124594] cryptd: max_cpu_qlen set to 1000
[    2.194951] Key type big_key registered
[    2.277804] Key type encrypted registered
[    2.278206] AppArmor: AppArmor sha1 policy hashing enabled
[    2.278742] ima: No TPM chip found, activating TPM-bypass!
[    2.279280] ima: Allocated hash algorithm: sha1
[    2.279720] ima: No architecture policies found
[    2.280256] evm: Initialising EVM extended attributes:
[    2.280721] evm: security.selinux
[    2.281023] evm: security.SMACK64
[    2.281322] evm: security.SMACK64EXEC
[    2.281654] evm: security.SMACK64TRANSMUTE
[    2.282022] evm: security.SMACK64MMAP
[    2.282353] evm: security.apparmor
[    2.282661] evm: security.ima
[    2.282930] evm: security.capability
[    2.283254] evm: HMAC attrs: 0x1
[    2.334659] dw-apb-uart ff1a0000.serial: forbid DMA for kernel console
[    2.346935] Freeing unused kernel memory: 7296K
[    2.418035] Checked W+X mappings: passed, no W+X pages found
[    2.418561] Run /init as init process
[    2.418894]   with arguments:
[    2.418899]     /init
[    2.418903]   with environment:
[    2.418908]     HOME=/
[    2.418912]     TERM=linux
[    2.418916]     BOOT_IMAGE=/boot/vmlinuz-5.7.5-050705-generic
[    3.138901] ehci-platform: EHCI generic platform driver
[    3.180462] ohci-platform: OHCI generic platform driver
[    3.238861] Synopsys Designware Multimedia Card Interface Driver
[    3.287780] sdhci: Secure Digital Host Controller Interface driver
[    3.288387] sdhci: Copyright(c) Pierre Ossman
[    3.297748] pwm-backlight backlight: supply power not found, using dummy regulator
[    3.318908] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    3.319617] dma-pl330 ff6d0000.dma-controller:       DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    3.331960] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    3.332661] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    3.333268] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    3.340074] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    3.344468] pwm-backlight backlight: supply power not found, using dummy regulator
[    3.348085] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    3.348790] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    3.349406] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    3.350001] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    3.354695] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    3.355408] dma-pl330 ff6e0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    3.356535] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    3.357204] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    3.357809] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    3.358358] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    3.377579] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.381722] pwm-backlight backlight: supply power not found, using dummy regulator
[    3.388888] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    3.389571] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    3.390174] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    3.390722] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    3.396008] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    3.396701] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    3.397305] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    3.397855] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    3.443311] sdhci-arasan fe330000.sdhci: No phy for arasan,sdhci-5.1.
[    3.447378] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    3.448059] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    3.469018] pwm-backlight backlight: supply power not found, using dummy regulator
[    3.474146] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    3.474811] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    3.475408] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    3.475962] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    3.476154] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    3.477460] rk_gmac-dwmac fe300000.ethernet: phy regulator is not available yet, deferred probing
[    3.478580] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    3.479245] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    3.479846] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    3.480393] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    3.484037] sdhci-arasan fe330000.sdhci: No phy for arasan,sdhci-5.1.
[    3.485645] pwm-backlight backlight: supply power not found, using dummy regulator
[    3.492021] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    3.492688] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    3.493285] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    3.493812] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    3.496268] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    3.496873] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    3.497541] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    3.498101] rk_gmac-dwmac fe300000.ethernet: phy regulator is not available yet, deferred probing
[    3.503926] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    3.504595] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    3.505193] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    3.505722] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    3.568081] sdhci-arasan fe330000.sdhci: No phy for arasan,sdhci-5.1.
[    3.570352] pwm-backlight backlight: supply power not found, using dummy regulator
[    3.579439] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    3.580270] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    3.580881] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    3.581453] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    3.584661] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    3.585279] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    3.585981] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    3.586556] rk_gmac-dwmac fe300000.ethernet: phy regulator is not available yet, deferred probing
[    3.592758] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    3.593443] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    3.594047] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    3.594595] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    3.600211] sdhci-arasan fe330000.sdhci: No phy for arasan,sdhci-5.1.
[    3.602524] pwm-backlight backlight: supply power not found, using dummy regulator
[    3.611059] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    3.611752] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    3.612411] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    3.612964] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    3.632994] rockchip-vop ff8f0000.vop: Adding to iommu group 2
[    3.636114] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    3.636733] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    3.637461] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    3.638038] rk_gmac-dwmac fe300000.ethernet: phy regulator is not available yet, deferred probing
[    3.640967] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    3.641652] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    3.642260] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    3.642828] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    3.644261] rockchip-vop ff900000.vop: Adding to iommu group 3
[    3.648712] mmc0: CQHCI version 5.10
[    3.675940] mmc0: SDHCI controller on fe330000.sdhci [fe330000.sdhci] using ADMA
[    3.678005] pwm-backlight backlight: supply power not found, using dummy regulator
[    3.687377] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    3.688208] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    3.688815] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    3.689365] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    3.694194] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    3.694818] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    3.695553] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    3.696232] rk_gmac-dwmac fe300000.ethernet: phy regulator is not available yet, deferred probing
[    3.699267] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    3.699996] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    3.700609] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    3.701248] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    3.703156] rockchip-usb2phy ff770000.syscon:usb2-phy@e450: failed to create phy
[    3.705184] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: failed to create phy
[    3.705365] pwm-backlight backlight: supply power not found, using dummy regulator
[    3.748098] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops [rockchipdrm])
[    3.801847] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    3.805243] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    3.805938] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    3.806547] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    3.807153] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    3.810750] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    3.811371] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    3.812214] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    3.812799] rk_gmac-dwmac fe300000.ethernet: phy regulator is not available yet, deferred probing
[    3.815965] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    3.816450] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops [rockchipdrm])
[    3.816695] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    3.817715] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
[    3.818051] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    3.819689] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    3.823978] rockchip-usb2phy ff770000.syscon:usb2-phy@e450: failed to create phy
[    3.829548] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: failed to create phy
[    3.832169] pwm-backlight backlight: supply power not found, using dummy regulator
[    3.845018] rockchip-drm display-subsystem: bound ff940000.hdmi (ops dw_hdmi_rockchip_ops [rockchipdrm])
[    3.845875] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.846528] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    3.864238] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[    3.866526] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    3.867188] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    3.867786] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    3.868337] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    3.870717] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    3.871320] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    3.872014] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    3.872575] rk_gmac-dwmac fe300000.ethernet: phy regulator is not available yet, deferred probing
[    3.875921] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    3.876581] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    3.877178] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    3.877704] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    3.880576] rockchip-usb2phy ff770000.syscon:usb2-phy@e450: failed to create phy
[    3.884146] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: failed to create phy
[    3.891981] pwm-backlight backlight: supply power not found, using dummy regulator
[    3.922562] panfrost ff9a0000.gpu: clock rate = 500000000
[    3.923138] panfrost ff9a0000.gpu: failed to get regulators: -517
[    3.923690] panfrost ff9a0000.gpu: regulator init failed -517
[    3.960246] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    3.960915] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    3.961514] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    3.962041] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    3.964463] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    3.965067] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    3.965733] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    3.966296] rk_gmac-dwmac fe300000.ethernet: phy regulator is not available yet, deferred probing
[    3.969781] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    3.970452] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    3.971051] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    3.971581] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    3.975261] rockchip-usb2phy ff770000.syscon:usb2-phy@e450: failed to create phy
[    3.978849] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: failed to create phy
[    3.980712] pwm-backlight backlight: supply power not found, using dummy regulator
[    3.987321] panfrost ff9a0000.gpu: clock rate = 500000000
[    3.987916] panfrost ff9a0000.gpu: failed to get regulators: -517
[    3.988465] panfrost ff9a0000.gpu: regulator init failed -517
[    3.997625] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    3.998293] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    3.998894] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    3.999426] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    4.001975] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    4.002578] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    4.003242] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    4.003809] rk_gmac-dwmac fe300000.ethernet: phy regulator is not available yet, deferred probing
[    4.006397] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    4.007060] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    4.007658] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    4.008209] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    4.028141] dc_12v: supplied by vcc_vbus_typec0
[    4.030654] rockchip-usb2phy ff770000.syscon:usb2-phy@e450: failed to create phy
[    4.034290] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: failed to create phy
[    4.036312] pwm-backlight backlight: supply power not found, using dummy regulator
[    4.043590] panfrost ff9a0000.gpu: clock rate = 500000000
[    4.044193] panfrost ff9a0000.gpu: failed to get regulators: -517
[    4.044740] panfrost ff9a0000.gpu: regulator init failed -517
[    4.048714] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    4.049381] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    4.049979] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    4.050510] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    4.053136] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    4.053741] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    4.054403] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    4.054965] rk_gmac-dwmac fe300000.ethernet: phy regulator is not available yet, deferred probing
[    4.058619] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    4.059288] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    4.059923] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    4.060455] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    4.067315] rockchip-usb2phy ff770000.syscon:usb2-phy@e450: failed to create phy
[    4.071223] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: failed to create phy
[    4.073209] pwm-backlight backlight: supply power not found, using dummy regulator
[    4.074293] vcc3v3_sys: supplied by dc_12v
[    4.075134] vcca_0v9: supplied by vcc3v3_sys
[    4.075759] vcc3v0_sd: supplied by vcc3v3_sys
[    4.079699] panfrost ff9a0000.gpu: clock rate = 500000000
[    4.080289] panfrost ff9a0000.gpu: failed to get regulators: -517
[    4.080835] panfrost ff9a0000.gpu: regulator init failed -517
[    4.082834] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    4.083495] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    4.084116] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    4.084647] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    4.085624] vcc3v0_sd: supplied by vcc3v3_sys
[    4.087663] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    4.088328] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    4.088994] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    4.089561] rk_gmac-dwmac fe300000.ethernet: phy regulator is not available yet, deferred probing
[    4.091819] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    4.091996] debugfs: Directory 'regulator.4-SUPPLY' with parent 'vcc3v3_sys' already present!
[    4.092505] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    4.093810] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    4.094337] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    4.094595] vcc_sys: supplied by dc_12v
[    4.098278] vcc5v0_host: supplied by vcc_sys
[    4.105495] vcc3v3_ngff: supplied by dc_12v
[    4.106174] vcc_vbus_typec1: supplied by vcc_sys
[    4.106931] vcc3v3_pcie: supplied by dc_12v
[    4.114121] pwm-backlight backlight: supply power not found, using dummy regulator
[    4.118378] ehci-platform fe380000.usb: EHCI Host Controller
[    4.118924] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 1
[    4.119794] ehci-platform fe380000.usb: irq 31, io mem 0xfe380000
[    4.135941] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    4.136805] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    4.137547] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.138191] usb usb1: Product: EHCI Host Controller
[    4.138630] usb usb1: Manufacturer: Linux 5.7.5-050705-generic ehci_hcd
[    4.139217] usb usb1: SerialNumber: fe380000.usb
[    4.140387] hub 1-0:1.0: USB hub found
[    4.140795] hub 1-0:1.0: 1 port detected
[    4.144636] ehci-platform fe3c0000.usb: EHCI Host Controller
[    4.145186] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 2
[    4.146033] ehci-platform fe3c0000.usb: irq 33, io mem 0xfe3c0000
[    4.159945] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    4.160834] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    4.161576] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.162221] usb usb2: Product: EHCI Host Controller
[    4.162658] usb usb2: Manufacturer: Linux 5.7.5-050705-generic ehci_hcd
[    4.163247] usb usb2: SerialNumber: fe3c0000.usb
[    4.164433] hub 2-0:1.0: USB hub found
[    4.164823] hub 2-0:1.0: 1 port detected
[    4.166595] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[    4.167241] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 3
[    4.168122] ohci-platform fe3a0000.usb: irq 32, io mem 0xfe3a0000
[    4.207175] rk808 0-001b: chip id: 0x0
[    4.232122] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[    4.232277] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.07
[    4.232813] fan53555-reg: supplied by vcc3v3_sys
[    4.233508] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.234574] usb usb3: Product: Generic Platform OHCI controller
[    4.235104] usb usb3: Manufacturer: Linux 5.7.5-050705-generic ohci_hcd
[    4.235692] usb usb3: SerialNumber: fe3a0000.usb
[    4.236446] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[    4.236723] hub 3-0:1.0: USB hub found
[    4.237116] fan53555-reg: supplied by vcc3v3_sys
[    4.238400] hub 3-0:1.0: 1 port detected
[    4.240290] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    4.240920] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
[    4.241769] ohci-platform fe3e0000.usb: irq 34, io mem 0xfe3e0000
[    4.285209] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    4.285827] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    4.286472] DCDC_REG1: supplied by vcc3v3_sys
[    4.288164] DCDC_REG2: supplied by vcc3v3_sys
[    4.291938] rc_core: IR keymap rc-cec not found
[    4.292012] DCDC_REG3: supplied by vcc3v3_sys
[    4.292366] Registered IR keymap rc-empty
[    4.293239] rc rc0: dw_hdmi as /devices/platform/ff940000.hdmi/rc/rc0
[    4.293995] input: dw_hdmi as /devices/platform/ff940000.hdmi/rc/rc0/input1
[    4.300349] DCDC_REG4: supplied by vcc3v3_sys
[    4.300873] random: fast init done
[    4.304273] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.07
[    4.305029] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.305676] usb usb4: Product: Generic Platform OHCI controller
[    4.305751] vcc1v8_s3: supplied by vcc_1v8
[    4.306215] usb usb4: Manufacturer: Linux 5.7.5-050705-generic ohci_hcd
[    4.307188] usb usb4: SerialNumber: fe3e0000.usb
[    4.307709] LDO_REG1: supplied by vcc3v3_sys
[    4.308473] hub 4-0:1.0: USB hub found
[    4.308602] rk808-rtc rk808-rtc: registered as rtc0
[    4.308859] hub 4-0:1.0: 1 port detected
[    4.312594] rk808-rtc rk808-rtc: setting system clock to 2013-01-18T08:51:42 UTC (1358499102)
[    4.313738] panfrost ff9a0000.gpu: clock rate = 500000000
[    4.314509] LDO_REG2: supplied by vcc3v3_sys
[    4.314713] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 status 0x0
[    4.315608] panfrost ff9a0000.gpu: features: 00000000,100e77bf, issues: 00000000,24040400
[    4.316154] LDO_REG3: supplied by vcc3v3_sys
[    4.316366] panfrost ff9a0000.gpu: Features: L2:0x07120206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
[    4.317779] panfrost ff9a0000.gpu: shader_present=0xf l2_present=0x1
[    4.318136] LDO_REG4: supplied by vcc3v3_sys
[    4.320035] LDO_REG5: supplied by vcc3v3_sys
[    4.321515] LDO_REG6: supplied by vcc3v3_sys
[    4.323056] LDO_REG7: supplied by vcc3v3_sys
[    4.324849] LDO_REG8: supplied by vcc3v3_sys
[    4.325220] [drm] Initialized panfrost 1.1.0 20180908 for ff9a0000.gpu on minor 1
[    4.327506] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    4.328328] SWITCH_REG1: supplied by vcc3v3_sys
[    4.328358] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    4.329237] SWITCH_REG2: supplied by vcc3v3_sys
[    4.329360] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    4.330285] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    4.331499] dwmmc_rockchip fe320000.mmc: Got CD GPIO
[    4.332624] OF: graph: no port node found in /syscon@ff770000/usb2-phy@e450/otg-port
[    4.344131] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    4.352388] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[    4.352912] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 5
[    4.353761] xhci-hcd xhci-hcd.4.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    4.354617] xhci-hcd xhci-hcd.4.auto: irq 228, io mem 0xfe800000
[    4.355560] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    4.356335] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.356982] usb usb5: Product: xHCI Host Controller
[    4.357420] usb usb5: Manufacturer: Linux 5.7.5-050705-generic xhci-hcd
[    4.357837] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    4.358011] usb usb5: SerialNumber: xhci-hcd.4.auto
[    4.358601] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    4.359694] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    4.359749] hub 5-0:1.0: USB hub found
[    4.360520] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[    4.360704] hub 5-0:1.0: 1 port detected
[    4.361257] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
[    4.362014] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[    4.362107] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
[    4.362602] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 6
[    4.363100] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[    4.363781] xhci-hcd xhci-hcd.4.auto: Host supports USB 3.0 SuperSpeed
[    4.364388] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[    4.364991] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.365529] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[    4.366395] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.07
[    4.367516] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.368253] usb usb6: Product: xHCI Host Controller
[    4.368692] usb usb6: Manufacturer: Linux 5.7.5-050705-generic xhci-hcd
[    4.369280] usb usb6: SerialNumber: xhci-hcd.4.auto
[    4.370568] hub 6-0:1.0: USB hub found
[    4.370949] hub 6-0:1.0: 1 port detected
[    4.371831] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[    4.371943] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[    4.372838] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 7
[    4.372892] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    4.373708] xhci-hcd xhci-hcd.5.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    4.374214] rk_gmac-dwmac fe300000.ethernet:         DWMAC1000
[    4.375039] xhci-hcd xhci-hcd.5.auto: irq 229, io mem 0xfe900000
[    4.375450] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
[    4.376377] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.07
[    4.376670] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
[    4.377403] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.378063] rk_gmac-dwmac fe300000.ethernet: COE Type 2
[    4.378702] usb usb7: Product: xHCI Host Controller
[    4.379163] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[    4.379597] usb usb7: Manufacturer: Linux 5.7.5-050705-generic xhci-hcd
[    4.380271] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
[    4.380822] usb usb7: SerialNumber: xhci-hcd.5.auto
[    4.381486] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
[    4.382348] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
[    4.382693] hub 7-0:1.0: USB hub found
[    4.382868] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    4.383245] hub 7-0:1.0: 1 port detected
[    4.383940] rk_gmac-dwmac fe300000.ethernet: device MAC address de:04:6d:b8:b7:e1
[    4.384704] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[    4.385449] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 8
[    4.386142] xhci-hcd xhci-hcd.5.auto: Host supports USB 3.0 SuperSpeed
[    4.386802] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.387661] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.07
[    4.388420] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.389065] usb usb8: Product: xHCI Host Controller
[    4.389502] usb usb8: Manufacturer: Linux 5.7.5-050705-generic xhci-hcd
[    4.390089] usb usb8: SerialNumber: xhci-hcd.5.auto
[    4.391621] hub 8-0:1.0: USB hub found
[    4.392045] hub 8-0:1.0: 1 port detected
[    4.500194] usb 2-1: new high-speed USB device number 2 using ehci-platform
[    4.512233] libphy: stmmac: probed
[    4.512568] RTL8211E Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    4.513676] RTL8211E Gigabit Ethernet stmmac-0:01: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[    4.517008] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    4.517668] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    4.518266] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    4.518791] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    4.523217] pwm-backlight backlight: supply power not found, using dummy regulator
[    4.525534] energy_model: pd0: hertz/watts ratio non-monotonically decreasing: em_cap_state 1 >= em_cap_state0
[    4.526590] energy_model: Created perf domain 0-3
[    4.528284] energy_model: Created perf domain 4-5
[    4.532029] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    4.532669] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    4.533256] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    4.533759] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    4.534707] dwmmc_rockchip fe310000.mmc: allocated mmc-pwrseq
[    4.535213] mmc_host mmc2: card is non-removable.
[    4.548431] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    4.560946] pwm-backlight backlight: supply power not found, using dummy regulator
[    4.591296] mmc_host mmc2: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)
[    4.640247] mmc_host mmc2: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0)
[    4.657873] usb 2-1: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.00
[    4.658611] usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    4.659240] usb 2-1: Product: USB 2.0 Hub [MTT]
[    4.660443] hub 2-1:1.0: USB hub found
[    4.660952] hub 2-1:1.0: 4 ports detected
[    4.664213] pwm-backlight backlight: supply power not found, using dummy regulator
[    4.693618] mmc_host mmc2: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
[    4.864089] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    5.068106] usb 2-1.2: new high-speed USB device number 3 using ehci-platform
[    5.298663] usb 2-1.2: New USB device found, idVendor=0080, idProduct=0578, bcdDevice= 1.04
[    5.299417] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.300112] usb 2-1.2: Product: External USB 3.0
[    5.300522] usb 2-1.2: Manufacturer: JMicron
[    5.300900] usb 2-1.2: SerialNumber: 20150331006B7
[    5.303848] pwm-backlight backlight: supply power not found, using dummy regulator
[    5.309802] usbcore: registered new interface driver usb-storage
[    5.314120] scsi host0: uas
[    5.315395] usbcore: registered new interface driver uas
[    5.315961] scsi 0:0:0:0: Direct-Access     External USB 3.0          0104 PQ: 0 ANSI: 6
[    5.316656] pwm-backlight backlight: supply power not found, using dummy regulator
[    5.319161] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    5.321037] sd 0:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/112 GiB)
[    5.321714] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    5.322526] sd 0:0:0:0: [sda] Write Protect is off
[    5.322957] sd 0:0:0:0: [sda] Mode Sense: 5f 00 00 08
[    5.323661] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    5.325168] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
[    5.360668]  sda: sda1 sda2
[    5.365799] sd 0:0:0:0: [sda] Attached SCSI disk
[    5.368060] pwm-backlight backlight: supply power not found, using dummy regulator
[    5.779990] raid6: neonx8   gen()  2541 MB/s
[    5.847989] raid6: neonx8   xor()  1901 MB/s
[    5.915910] raid6: neonx4   gen()  2606 MB/s
[    5.983982] raid6: neonx4   xor()  1881 MB/s
[    6.051991] raid6: neonx2   gen()  2474 MB/s
[    6.119981] raid6: neonx2   xor()  1753 MB/s
[    6.187999] raid6: neonx1   gen()  2158 MB/s
[    6.255984] raid6: neonx1   xor()  1476 MB/s
[    6.323920] raid6: int64x8  gen()  1754 MB/s
[    6.391998] raid6: int64x8  xor()   926 MB/s
[    6.459980] raid6: int64x4  gen()  1881 MB/s
[    6.527993] raid6: int64x4  xor()   988 MB/s
[    6.595992] raid6: int64x2  gen()  1668 MB/s
[    6.663994] raid6: int64x2  xor()   861 MB/s
[    6.731905] raid6: int64x1  gen()  1242 MB/s
[    6.799997] raid6: int64x1  xor()   660 MB/s
[    6.800374] raid6: using algorithm neonx4 gen() 2606 MB/s
[    6.800849] raid6: .... xor() 1881 MB/s, rmw enabled
[    6.801286] raid6: using neon recovery algorithm
[    6.805293] xor: measuring software checksum speed
[    6.843866]    8regs     :  7025.000 MB/sec
[    6.883866]    32regs    :  8256.000 MB/sec
[    6.923865]    arm64_neon:  7110.000 MB/sec
[    6.924232] xor: using function: 32regs (8256.000 MB/sec)
[    6.926711] async_tx: api initialized (async)
[    7.096904] Btrfs loaded, crc32c=crc32c-generic
[    7.243593] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
[    7.946409] systemd[1]: System time before build time, advancing clock.
[    8.018389] systemd[1]: Inserted module 'autofs4'
[    8.076501] request_module fs-efivarfs succeeded, but still no fs?
[    8.084494] systemd[1]: systemd 245.4-4ubuntu3.1 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)
[    8.087221] systemd[1]: Detected architecture arm64.
[    8.128953] systemd[1]: Set hostname to <rk3399-sbc>.
[    8.525359] random: lvmconfig: uninitialized urandom read (4 bytes read)
[    8.738079] 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.
[    8.877154] random: systemd: uninitialized urandom read (16 bytes read)
[    8.879533] systemd[1]: Created slice system-modprobe.slice.
[    8.881205] random: systemd: uninitialized urandom read (16 bytes read)
[    8.882573] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    8.892887] systemd[1]: Created slice User and Session Slice.
[    8.894471] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    8.908757] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    8.920351] systemd[1]: Reached target User and Group Name Lookups.
[    8.932322] systemd[1]: Reached target Slices.
[    8.944439] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[    8.956604] systemd[1]: Listening on LVM2 poll daemon socket.
[    8.958158] systemd[1]: Listening on multipathd control socket.
[    8.968224] systemd[1]: Listening on Syslog Socket.
[    8.980463] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    8.992716] systemd[1]: Listening on Journal Audit Socket.
[    8.994328] systemd[1]: Listening on Journal Socket (/dev/log).
[    9.004664] systemd[1]: Listening on Journal Socket.
[    9.016635] systemd[1]: Listening on Network Service Netlink Socket.
[    9.028649] systemd[1]: Listening on udev Control Socket.
[    9.030186] systemd[1]: Listening on udev Kernel Socket.
[    9.042676] systemd[1]: Mounting Huge Pages File System...
[    9.054661] systemd[1]: Mounting POSIX Message Queue File System...
[    9.059121] systemd[1]: Mounting Kernel Debug File System...
[    9.078671] systemd[1]: Mounting Kernel Trace File System...
[    9.095564] systemd[1]: Starting Journal Service...
[    9.110849] systemd[1]: Starting Set the console keyboard layout...
[    9.115601] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    9.135497] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling...
[    9.148337] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[    9.151026] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    9.159669] systemd[1]: Starting Load Kernel Modules...
[    9.176294] systemd[1]: Starting Remount Root and Kernel File Systems...
[    9.183095] systemd[1]: Starting udev Coldplug all Devices...
[    9.189583] systemd[1]: Starting Uncomplicated firewall...
[    9.204728] EXT4-fs (sda2): re-mounted. Opts: (null)
[    9.210768] systemd[1]: Mounted Huge Pages File System.
[    9.220901] systemd[1]: Mounted POSIX Message Queue File System.
[    9.233119] systemd[1]: Mounted Kernel Debug File System.
[    9.235247] systemd[1]: Mounted Kernel Trace File System.
[    9.239103] systemd[1]: Finished Create list of static device nodes for the current kernel.
[    9.254741] systemd[1]: Finished Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
[    9.270477] systemd[1]: Finished Load Kernel Modules.
[    9.282536] systemd[1]: Finished Remount Root and Kernel File Systems.
[    9.294684] systemd[1]: Finished Set the console keyboard layout.
[    9.306490] systemd[1]: Finished Uncomplicated firewall.
[    9.321481] systemd[1]: Activating swap /swap.img...
[    9.337911] systemd[1]: Mounting FUSE Control File System...
[    9.342958] swapon: swapfile has holes
[    9.353636] systemd[1]: Mounting Kernel Configuration File System...
[    9.365779] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    9.366737] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    9.371245] systemd[1]: Starting Load/Save Random Seed...
[    9.376777] systemd[1]: Starting Apply Kernel Variables...
[    9.392548] systemd[1]: Starting Create System Users...
[    9.410744] systemd[1]: swap.img.swap: Swap process exited, code=exited, status=255/EXCEPTION
[    9.410768] systemd[1]: swap.img.swap: Failed with result 'exit-code'.
[    9.412994] systemd[1]: Failed to activate swap /swap.img.
[    9.424163] systemd[1]: Dependency failed for Swap.
[    9.436219] systemd[1]: swap.target: Job swap.target/start failed with result 'dependency'.
[    9.437009] systemd[1]: Mounted FUSE Control File System.
[    9.449432] systemd[1]: Mounted Kernel Configuration File System.
[    9.462398] systemd[1]: Finished Apply Kernel Variables.
[    9.480013] systemd[1]: Finished Create System Users.
[    9.496497] systemd[1]: Starting Create Static Device Nodes in /dev...
[    9.527201] systemd[1]: Started Journal Service.
[    9.588754] systemd-journald[440]: Received client request to flush runtime journal.
[    9.606050] systemd-journald[440]: File /var/log/journal/a38a60f9674c442dada144fb8a7e5e58/system.journal corrupted or uncleanly shut down, renaming and replacing.
[   10.270977] random: crng init done
[   10.270989] random: 7 urandom warning(s) missed due to ratelimiting
[   10.337014] pwm-backlight backlight: supply power not found, using dummy regulator
[   10.338804] pwm-regulator: supplied by vcc3v3_sys
[   10.389611] input: adc-keys as /devices/platform/adc-keys/input/input2
[   10.399928] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[   10.415522] spi-nor spi0.0: w25q128 (16384 Kbytes)
[   10.428587] OF: graph: no port node found in /i2c@ff160000/usb-typec@22
[   10.482517] mc: Linux media interface: v0.10
[   10.493359] OF: graph: no port node found in /i2c@ff3d0000/usb-typec@22
[   10.536098] videodev: Linux video capture interface: v2.00
[   10.836511] asoc-simple-card hdmi-sound: i2s-hifi <-> ff8a0000.i2s mapping ok
[   10.905836] rockchip-rga ff680000.rga: HW Version: 0x03.02
[   10.906052] rockchip-rga ff680000.rga: Registered rockchip-rga as /dev/video0
[   10.932124] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[   10.933054] rockchip-pcie: probe of f8000000.pcie failed with error -110
[   11.549362] alua: device handler registered
[   11.553864] emc: device handler registered
[   11.559093] rdac: device handler registered
[   11.710437] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   11.996195] audit: type=1400 audit(1585761826.044:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=604 comm="apparmor_parser"
[   11.996215] audit: type=1400 audit(1585761826.044:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=604 comm="apparmor_parser"
[   11.998315] audit: type=1400 audit(1585761826.048:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=601 comm="apparmor_parser"
[   11.998336] audit: type=1400 audit(1585761826.048:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_filter" pid=601 comm="apparmor_parser"
[   11.998345] audit: type=1400 audit(1585761826.048:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="man_groff" pid=601 comm="apparmor_parser"
[   11.999288] audit: type=1400 audit(1585761826.048:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine" pid=602 comm="apparmor_parser"
[   11.999308] audit: type=1400 audit(1585761826.048:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=602 comm="apparmor_parser"
[   12.000669] audit: type=1400 audit(1585761826.052:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=605 comm="apparmor_parser"
[   12.053523] audit: type=1400 audit(1585761826.104:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/tcpdump" pid=599 comm="apparmor_parser"
[   12.069839] audit: type=1400 audit(1585761826.120:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=603 comm="apparmor_parser"
[   15.112883] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211E Gigabit Ethernet] (irq=POLL)
[   15.123980] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found
[   15.123995] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW
[   15.124002] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode
[   18.176777] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   18.176825] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   23.898096] capability: warning: `zerotier-one' uses 32-bit capabilities (legacy support in use)
[   33.760199] vcc3v0_sd: disabling
[   33.760219] vcc3v3_pcie: disabling
 

 

rk3399-roc-pc-mezzanine.dtb rk3399-roc-pc.dtsi rk3399-roc-pc-mezzanine.dts

Link to comment
Share on other sites

If anyone is interested: I designed a new cover instead of the acrylic plate. I broke it because I tried to drill a hole into it to get access to the power pins:

Spoiler

IMG_20200701_124059.thumb.jpg.f3fcda571c82ca84f2884e230ead934a.jpg

 

I made a new one in Fusion 360 to be 3D-printed or laser cut: https://www.thingiverse.com/thing:4501621

With it you get access to all pins (power, PCIe, GPIO, serial and SPI) and the reset button. The picture is of version 1. The newer version on thingiverse has larger cutouts and holes.

 

Spoiler

IMG_20200701_121130.thumb.jpg.d9b8d5104b2f1a042805da965a0d7b51.jpgIMG_20200701_124206.thumb.jpg.3bf73af089db226671ffe3126dd3272b.jpg

 

 

 

Link to comment
Share on other sites

On 6/26/2020 at 9:57 AM, frauhottelmann said:

Has anybody tried to build an image recently? I get a working image out of 20.05 with focal and dev kernel. It stops booting after an upgrade. It hangs on "starting kernel" (console).

And if I try to build one on master with dev it doesn't boot at all.

I a month ago I only compiled the kernel for my roc-rk3399-pc, using the current branch, while the most recent image I built was 6/6/2020
I currently have this kernel with ubuntu 20.04 LTS:

root@roc-rk3399-pc:~ # uname -a
Linux roc-rk3399-pc 5.4.44-rockchip64 #trunk SMP PREEMPT Thu Jun 4 17:03:20 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux

I have been using my rk as a server for a few months and I have not had any problems, I am using it with an NVME and it works well, I power it with USB C with power delivery.
The problem is to build the kernel every month to keep it updated and understand the first time how to configure/compile everything

Today I tried to update the kernel by compiling the latest version from the current branch and unfortunately I noticed that docker no longer works with the latest kernel and I had to roll back, from the errors it seems that the support for "cgroup blkio weight" and "cgroup blkio weight_device" has been removed.
Anyone know if changes have been made in the default options to build the kernel?
I took a look at the commits but saw nothing about this type of change

Link to comment
Share on other sites

On 7/14/2020 at 6:05 PM, davtur19 said:

Today I tried to update the kernel by compiling the latest version from the current branch and unfortunately I noticed that docker no longer works with the latest kernel and I had to roll back, from the errors it seems that the support for "cgroup blkio weight" and "cgroup blkio weight_device" has been removed.


Today I tried to do the update again and I think I found the real problem even if I still haven't figured out how to solve it.

Apparently the kernel update is not working properly and after installing these packages that I have compiled (armbian-config_20.08.0-trunk_all.deb linux-dtb-current-rockchip64_20.08.0-trunk_arm64.deb linux-u-boot-current-roc-rk3399-pc_20.08.0-trunk_arm64.deb armbian-firmware_20.08.0-trunk_all.deb linux-image-current-rockchip64_20.08.0-trunk_arm64.deb) and after restarting this happens to me:

root@roc-rk3399-pc:/lib/modules # ls /lib/modules
5.4.53-rockchip64
root@roc-rk3399-pc:/lib/modules # uname -a
Linux roc-rk3399-pc 5.4.44-rockchip64 #trunk SMP PREEMPT Thu Jun 4 17:03:20 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux


EDIT:
I don't know if it can be useful, but before when I used only the SD card it didn't happen to me, but since I mounted an NVME I haven't been able to update the kernel anymore
I am using the NVME after copying (cp -Rp) the whole SD card to the NVME and setting the right UUID in the file /boot/armbianEnv.txt

SOLVED:
After a few attempts I managed to figure out how to fix, after updating the kernel I had to mount the sd card and copy the /boot dir

mount /dev/mmcblk0p1 /mnt
cp -Rp /boot/* /mnt/boot/


 

Edited by davtur19
added more information and solved
Link to comment
Share on other sites

I Just did a fresh install from a docker build, and copied onto emmc with armbian-config on my renegade elite.

 

I chose btrfs as the format for the emmc, so it has created a btrfs root partition and ext4 boot partition.

 

I tried to upgrade the kernel using apt but it fails, as the boot partition is full.  It seems to have been resized to the exact size of the files when it was copied to emmc.

 

Is this a bug in armbian-config?

 

Is there a way to resize without removing emmc?

 

 

Link to comment
Share on other sites

I struggle to understand what is the current situation with Renegade Elite board.

 

On one hand I see it's not mentioned anywhere on Armbian download page, and packages for this board is not published in Armbian repository. Although building image manually is possible, so this is a bit strange to see this topic in "Bug tracker - supported boards only" subforum instead of Development. Unfortunately, while result image with Linux 5.9 seems to work fine in headless mode - HDMI output doesn't work for me (uboot is visible, then upper side of the screen flicker several times and it become black, that all). It's fine, but I would like to ask other users - do you observe same behaviour on current Armbian images on this board? Was there version that supported HDMI on this board?

 

On other hand there Armbian fork by balbes150. Image based on 5.9 doesn't looks like boot at all, while image based on 5.10rc4 at least trying to display text console via HDMI, but in result rendering is incorrect (text moved around by small waves, as if Dell UP3017 is attached via analog cable, but in fact it's pure HDMI-HDMI connection and this happening only with this board) so it's not much useful for my task either. By looking at locked topic and bugreports like this one it doesn't looks like balbes150 accept reports for anything but for his build scripts (which is totally fine, of course).

 

So I would like ask, how other owners of this boards using it? Is my HDMI issue caused by high display resolution or maybe this is some recent regression on uboot or kernel side? (I can't check board with othder display right now.) Is there image that works for someone? Or there nothing useful for this board besides vendor image from Firefly web-site?

Link to comment
Share on other sites

7 minutes ago, RussianNeuroMancer said:

I struggle to understand what is the current situation with Renegade Elite board.

 

On one hand I see it's not mentioned anywhere on Armbian download page, and packages for this board is not published in Armbian repository. Although building image manually is possible, so this is a bit strange to see this topic in "Bug tracker - supported boards only" subforum instead of Development. Unfortunately, while result image with Linux 5.9 seems to work fine in headless mode - HDMI output doesn't work for me (uboot is visible, then upper side of the screen flicker several times and it become black, that all). It's fine, but I would like to ask other users - do you observe same behaviour on current Armbian images on this board? Was there version that supported HDMI on this board?

 

On other hand there Armbian fork by balbes150. Image based on 5.9 doesn't looks like boot at all, while image based on 5.10rc4 at least trying to display text console via HDMI, but in result rendering is incorrect (text moved around by small waves, as if Dell UP3017 is attached via analog cable, but in fact it's pure HDMI-HDMI connection and this happening only with this board) so it's not much useful for my task either. By looking at locked topic and bugreports like this one it doesn't looks like balbes150 accept reports for anything but for his build scripts (which is totally fine, of course).

 

So I would like ask, how other owners of this boards using it? Is my HDMI issue caused by high display resolution or maybe this is some recent regression on uboot or kernel side? (I can't check board with othder display right now.) Is there image that works for someone? Or there nothing useful for this board besides vendor image from Firefly web-site?

 

The project was closed off by the support team. They didn't complete sending of hardware (I am out 100$ of gear which they are ignoring me on) and the last update on their IGG is they completed upstreaming all code and have effectively ended the project. To be honest, I never got u-boot to work on this board other than their horrible pre-compiled images which are just used to flash to SD, never got the nvme to work to boot the device. So effectively, this thing is a huge, expensive paperweight for me and just gathering dust in a drawer. 

 

This board had so much potential, but Libre and loverpi's horrible after """sales""" support made me just chuck this one up to experience that little indie projects should be overlooked until they mature.  

Link to comment
Share on other sites

Boot from SPI directly to NVME works:

 

Latest U-Boot v2021.01-rc4 + this patch:

rockchip: roc-pc-rk3399: fix boot from SPI flash on spi1

https://patchwork.kernel.org/project/linux-rockchip/list/?series=403611

 

To build uboot on roc-pc:

make roc-pc-mezzanine-rk3399_defconfig
make -j6
./tools/mkimage -n rk3399 -T rkspi -d tpl/u-boot-tpl.bin:spl/u-boot-spl.bin idbloader-spi.img

 

To deploy uboot on spi:

dd if=idbloader-spi.img of=spi.img

                  (#0x60000 = 393216 = 4096 * 96)

dd if=u-boot.itb of=spi.img bs=4096 seek=96

flashcp -v spi.img /dev/mtd0

 

in U-Boot:

edit boot_targets to have nvme0 as first entry

 

On NVME drive (e.g. Samsung 970EVOPlus):

 

/boot/extlinux/extlinux.conf:

 

label mainline-kernel
    kernel /boot/Image
    initrd /boot/Initrd
#    fdt /rk3399-roc-pc.dtb
    fdt /boot/rk3399-roc-pc-mezzanine.dtb
    append earlycon=uart8250,mmio32,0xff1a0000 console=tty1 console=ttyS2,1500000 swiotlb=1 root=/dev/nvme0n1p1 rootwait rw rootfstype=ext4 init=/sbin/init

 

ls /boot:

Image (Image-5.10.0-next-20201223)

Initrd (Initrd-5.10.0-next-20201223)

rk3399-roc-pc-mezzanine.dtb (rk3399-roc-pc-mezzanine.dtb-5.10.0-next-20201223)

 

Kernel built on roc-pc:

Latest linux-next

 

make -j6
make modules_install

kernelversion=`cat ./include/config/kernel.release`
cp .config /boot/config-$kernelversion

mkinitramfs -c gzip -o ./initramfs-$kernelversion $kernelversion
mkimage -A arm64 -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d ./initramfs-$kernelversion ./Initrd

cp arch/arm64/boot/Image /boot/Image
cp Initrd /boot
cp arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtb /boot
cp arch/arm64/boot/dts/rockchip/rk3399-roc-pc-mezzanine.dtb /boot
cp arch/arm64/boot/Image /boot/Image-$kernelversion
cp Initrd /boot/Initrd-$kernelversion
cp arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtb /boot/rk3399-roc-pc.dtb-$kernelversion
cp arch/arm64/boot/dts/rockchip/rk3399-roc-pc-mezzanine.dtb /boot/rk3399-roc-pc-mezzanine.dtb-$kernelversion

 

example .config:

config

Link to comment
Share on other sites

U-Boot TPL 2021.01-rc4-00001-gdecae30da1 (Dec 23 2020 - 11:55:50)
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2021.01-rc4-00001-gdecae30da1 (Dec 23 2020 - 11:55:50 +0100)
Loading Environment from SPIFlash... OK
Trying to boot from SPI


U-Boot 2021.01-rc4-00001-gdecae30da1 (Dec 23 2020 - 11:55:50 +0100)

SoC: Rockchip rk3399
Reset cause: RST
Model: Firefly ROC-RK3399-PC Mezzanine Board
DRAM:  3.9 GiB
PMIC:  RK808
MMC:   mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0
Loading Environment from SPIFlash... SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
OK
In:    serial
Out:   serial
Err:   serial
Model: Firefly ROC-RK3399-PC Mezzanine Board
Net:
Error: ethernet@fe300000 address not set.
No ethernet found.

Hit any key to stop autoboot:  0

Device 0: Vendor: 0x144d Rev: 2B2QEXM7 Prod: S4EWNX0NB24402F
            Type: Hard Disk
            Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
... is now current device
Scanning nvme 0:1...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
1035 bytes read in 5 ms (202.1 KiB/s)
1:      mainline-kernel-5.4
Retrieving file: /boot/Initrd
6237882 bytes read in 34 ms (175 MiB/s)
Retrieving file: /boot/Image
11958784 bytes read in 49 ms (232.7 MiB/s)
append: earlycon=uart8250,mmio32,0xff1a0000 console=tty1 console=ttyS2,1500000 swiotlb=1 root=/dev/nvme0n1p1 rootwait rw rootfstype=ext4 init=/sbin/init mitigations=off
Retrieving file: /boot/rk3399-roc-pc-mezzanine.dtb
58248 bytes read in 14 ms (4 MiB/s)
Moving Image from 0x2080000 to 0x2200000, end=2dd0000
## Loading init Ramdisk from Legacy Image at 06000000 ...
   Image Name:   initramfs
   Image Type:   AArch64 Linux RAMDisk Image (uncompressed)
   Data Size:    6237818 Bytes = 5.9 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 f192c000, end f1f1ee7a ... OK
   Loading Device Tree to 00000000f191a000, end 00000000f192b387 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.10.0-next-20201223 (root@roc-pc) (gcc (Debian 10.2.1-1) 10.2.1 20201207, GNU ld (GNU Binutils for Debian) 2.35.1) #130 SMP PREEMPT Wed Dec 23 11:59:23 CET 2020
[    0.000000] Machine model: Firefly ROC-RK3399-PC Mezzanine Board

Link to comment
Share on other sites

 How is this done?

 

 

Quote

 

in U-Boot:

edit boot_targets to have nvme0 as first entry

 

On NVME drive (e.g. Samsung 970EVOPlus):

 

 

This is the current terminal debug info

 

Spoiler

U-Boot TPL 2021.01-rc4 (Dec 31 2020 - 11:50:40)                                 
Trying to boot from BOOTROM                                                     
Returning to boot ROM...                                                        
                                                                                
U-Boot SPL 2021.01-rc4 (Dec 31 2020 - 11:50:40 +0000)                           
Loading Environment from SPIFlash... *** Warning - bad CRC, using default envirt
                                                                                
Trying to boot from SPI                                                         
cannot find image node 'atf_1': -1                                              
                                                                                
                                                                                
U-Boot 2021.01-rc4 (Dec 31 2020 - 11:50:40 +0000)                               
                                                                                
SoC: Rockchip rk3399                                                            
Reset cause: POR                                                                
Model: Firefly ROC-RK3399-PC Mezzanine Board                                    
DRAM:  3.9 GiB                                                                  
PMIC:  RK808                                                                    
MMC:   mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0                      
Loading Environment from SPIFlash... SF: Detected w25q128 with page size 256 ByB
*** Warning - bad CRC, using default environment                                
                                                                                
In:    serial                                                                   
Out:   vidconsole                                                               
Err:   vidconsole                                                               
Model: Firefly ROC-RK3399-PC Mezzanine Board                                    
Net:                                                                            
Error: ethernet@fe300000 address not set.                                       
No ethernet found.                                                              
                                                                                
Hit any key to stop autoboot:  0                                                
switch to partitions #0, OK                                                     
mmc0(part 0) is current device                                                  
Scanning mmc 0:1...                                                             
Found /extlinux/extlinux.conf                                                   
Retrieving file: /extlinux/extlinux.conf                                        
1088 bytes read in 18 ms (58.6 KiB/s)                                           
1:      Armbian                                                                 
Retrieving file: /uInitrd                                                       
16289494 bytes read in 1629 ms (9.5 MiB/s)                                      
Retrieving file: /zImage                                                        
28162560 bytes read in 2797 ms (9.6 MiB/s)                                      
append: root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,00
Retrieving file: /dtb/rockchip/rk3399-roc-pc-mezzanine.dtb                      
58060 bytes read in 30 ms (1.8 MiB/s)                                           
Moving Image from 0x2080000 to 0x2200000, end=3dd0000                           
## Loading init Ramdisk from Legacy Image at 06000000 ...                       
   Image Name:   uInitrd                                                        
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)                  
   Data Size:    16289430 Bytes = 15.5 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 f0f94000, end f1f1ce96 ... OK                             
   Loading Device Tree to 00000000f0f82000, end 00000000f0f932cb ... OK         
                                                                                
Starting kernel ...                                                             
                                                                                

 

 

Link to comment
Share on other sites

Happy new year folks,

 

This is after fallowing the instructions completely.

 

Spoiler

U-Boot TPL 2021.01-rc4 (Dec 31 2020 - 11:50:40)                                                               
Trying to boot from BOOTROM                                                                                   
Returning to boot ROM...                                                                                      
                                                                                                              
U-Boot SPL 2021.01-rc4 (Dec 31 2020 - 11:50:40 +0000)                                                         
Loading Environment from SPIFlash... OK                                                                       
Trying to boot from SPI                                                                                       
cannot find image node 'atf_1': -1                                                                            
                                                                                                              
                                                                                                              
U-Boot 2021.01-rc4 (Dec 31 2020 - 11:50:40 +0000)                                                             
                                                                                                              
SoC: Rockchip rk3399                                                                                          
Reset cause: POR                                                                                              
Model: Firefly ROC-RK3399-PC Mezzanine Board                                                                  
DRAM:  3.9 GiB                                                                                                
PMIC:  RK808                                                                                                  
MMC:   mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0                                                    
Loading Environment from SPIFlash... SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 1B
OK                                                                                                            
In:    serial                                                                                                 
Out:   vidconsole                                                                                             
Err:   vidconsole                                                                                             
Model: Firefly ROC-RK3399-PC Mezzanine Board                                                                  
Net:                                                                                                          
Error: ethernet@fe300000 address not set.                                                                     
No ethernet found.                                                                                            
                                                                                                              
Hit any key to stop autoboot:  0                                                                              
switch to partitions #0, OK                                                                                   
mmc0(part 0) is current device                                                                                
** No partition table - mmc 0 **                                                                              
switch to partitions #0, OK                                                                                   
mmc1 is current device                                                                                        
Scanning mmc 1:1...                                                                                           
Found /extlinux/extlinux.conf                                                                                 
Retrieving file: /extlinux/extlinux.conf                                                                      
1242 bytes read in 5 ms (242.2 KiB/s)                                                                         
1:      Armbian                                                                                               
Retrieving file: /uInitrd                                                                                     
9546946 bytes read in 410 ms (22.2 MiB/s)                                                                     
Retrieving file: /zImage                                                                                      
28162560 bytes read in 1199 ms (22.4 MiB/s)                                                                   
append: earlycon=uart8250,mmio32,0xff1a0000 console=tty1 console=ttyS2,1500000 swiotlb=1 root=/dev/mmcblk1p1  
Retrieving file: /dtb/rockchip/rk3399-roc-pc-mezzanine.dtb                                                    
58060 bytes read in 9 ms (6.2 MiB/s)                                                                          
Moving Image from 0x2080000 to 0x2200000, end=3dd0000                                                         
## Loading init Ramdisk from Legacy Image at 06000000 ...                                                     
   Image Name:   uInitrd                                                                                      
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)                                                
   Data Size:    9546882 Bytes = 9.1 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 f1602000, end f1f1cc82 ... OK                                                           
   Loading Device Tree to 00000000f15f0000, end 00000000f16012cb ... OK                                       
                                                                                                              
Starting kernel ...                                                                                           
                                                                                                              

 

Link to comment
Share on other sites

Quote

Stop booting in U-Boot: Hit any key to stop autoboot: 

 

Type "edit boot_targets".

Edit the line to begin with nvme0

Save with "saveenv".

 

Thank you Panzerknacker for the info - did not know one could edit variables within u-boot.

 

I am not trying to appear more tech wise than I am.

Now the only thing it boots into is this u-boot spi boot.    Unable to boot into maskrom with USB-C with data only cable.   And unable to boot from the sd card  (not trying to boot from nvme). 

How does one use u-boot commands to boot a armbian SD installation?   (This is all done for educational purpose - have few of those single board computers to play with).

Link to comment
Share on other sites

3 hours ago, denni_isl said:

How does one use u-boot commands to boot a armbian SD installation?   (This is all done for educational purpose - have few of those single board computers to play with).

U-Boot scans the boot_targets one by one. So if there is no mmc0 it should try mmc1 and eventually find the SD.

Link to comment
Share on other sites

On 1/2/2021 at 1:26 PM, Panzerknacker said:

U-Boot scans the boot_targets one by one. So if there is no mmc0 it should try mmc1 and eventually find the SD.

 

Thank you for the guide.  

This u-boot message is of concern.

 

Quote

U-Boot SPL 2021.01-rc4 (Dec 31 2020 - 11:50:40 +0000)
Loading Environment from SPIFlash... OK
Trying to boot from SPI
cannot find image node 'atf_1': -1

 

This is BOOT directory (partition) of the armbian image

 

Quote

/media/steini/BOOT$ ls
armbianEnv.txt                  Initrd-5.10.4
armbian_first_run.txt.template  initrd.img-5.10.0-rc4-arm-64
boot.bmp                        rk3399-roc-pc.dtb
config-5.10.0-rc4-arm-64        rk3399-roc-pc.dtb-5.10.4
config-5.10.4                   rk3399-roc-pc-mezzanine.dtb
dtb                             rk3399-roc-pc-mezzanine.dtb-5.10.4
extlinux                        System.map-5.10.0-rc4-arm-64
Image                           uInitrd
Image-5.10.4                    zImage
Initrd

 

extlinux/extlinux.conf

 

Quote

# rk-3399
#FDT /dtb/rockchip/rk3399-rock-pi-4b.dtb
#FDT /dtb/rockchip/rk3399-nanopc-t4.dtb
FDT /dtb/rockchip/rk3399-roc-pc-mezzanine.dtb
append earlycon=uart8250,mmio32,0xff1a0000 console=tty0 console=ttyS2,1500000 swiotlb=1 root=/dev/mmcblk1p1 rootwait rw rootfstype=vfat init=/sbin/init
#APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff1a0000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0

 

Quote

"Armbian 20.11 Bullseye"

 

 

What armbian, or another SD image is this particular u-boot version most likely to boot up on roc-rk3399-pc-plus  (mezzanine)? 

 

The spi ship w250q128fv manual https://www.winbond.com/resource-files/w25q128fv_revhh1_100913_website1.pdf

and the spi section for roc-rk3399-pc-plus http://wiki.t-firefly.com/en/ROC-RK3399-PC-PLUS/driver_spi.html

https://tomvanveen.eu/flashing-bios-chip-arduino/

https://github.com/flashrom/flashrom

 

The spi chip is W25Q128FV

 

The next step if one wants to save this, around 90$ sbc is probably to flash the spi through adapter or with possibly raspberry or something like that.    That is totally another story.   But might be interesting to get the know how, to flash a tiny modern spi (2020) chip directly.      Perhaps something like this method https://libreboot.org/docs/install/rpi_setup.html

 

 

Is there someone that want to share his knowledge of the subject?

 

 

 

 

w25q128_connections.png

Link to comment
Share on other sites

On 12/18/2020 at 4:04 AM, RussianNeuroMancer said:

Unfortunately, while result image with Linux 5.9 seems to work fine in headless mode - HDMI output doesn't work for me (uboot is visible, then upper side of the screen flicker several times and it become black, that all). It's fine, but I would like to ask other users - do you observe same behaviour on current Armbian images on this board? Was there version that supported HDMI on this board?

 

Turns out this issue is not ROC-RK3399-PC specific - seeing same issue on NanoPC-T4 too. Display model is Dell UP3017.

Link to comment
Share on other sites

4 hours ago, RussianNeuroMancer said:

Balbes150 images with Linux 5.9 never worked for me - red light doesn't even turn on (I just checked images from your link, still doesn't work). Images with Linux 5.10 on other hand does work, but with rendering artifacts.

 

You are correct about that . It is armbian 20.11 kernel 5.10.0.rc4 - xfce4 - did work like a charm as a desktop.   Installed from a server version through tasksel. 

 

Link to comment
Share on other sites

19 hours ago, denni_isl said:

It is armbian 20.11 kernel 5.10.0.rc4 - xfce4 - did work like a charm as a desktop.   Installed from a server version through tasksel. 

 

I guess you don't see rendering artifacts because your EDID is different from mine. Dell UP3017 resolution is 2560x1600 - so possibly drm driver trying to initialize output and fail to do so in my case, while for you it works.

 

By the way I found a workaround HDMI issue I getting on vanilla Armbian (first paragraph).

1. Getting text console usable: boot board without HDMI cable attached, and attach cable when boot process is complete.

2. Getting GUI usable: in case of Gnome Shell I had to disable Wayland support in /etc/gdm3/custom.conf - then Xorg re-initialize output during start and it just works. So boot process looks like this: normal uboot, screenflicker, black screen, gdm3 appear on the screen.

I wasn't able to found any way to get Wayland session working - screen just stay black.

Link to comment
Share on other sites

Unable to boot the kernel through extlinux script - here is the output from u-boot

 

Spoiler

U-Boot TPL 2021.01-rc4 (Dec 31 2020 - 11:50:40)
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2021.01-rc4 (Dec 31 2020 - 11:50:40 +0000)
Loading Environment from SPIFlash... OK
Trying to boot from SPI
cannot find image node 'atf_1': -1


U-Boot 2021.01-rc4 (Dec 31 2020 - 11:50:40 +0000)

SoC: Rockchip rk3399
Reset cause: POR
Model: Firefly ROC-RK3399-PC Mezzanine Board
DRAM:  3.9 GiB
PMIC:  RK808
MMC:   mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0
Loading Environment from SPIFlash... SF: Detected w25q128 with page size 256 ByB
OK
In:    serial
Out:   serial
Err:   serial
Model: Firefly ROC-RK3399-PC Mezzanine Board
Net:   
Error: ethernet@fe300000 address not set.
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
1509 bytes read in 5 ms (293.9 KiB/s)
1:      Armbian
Retrieving file: /uInitrd
9546946 bytes read in 410 ms (22.2 MiB/s)
Retrieving file: /zImage
28162560 bytes read in 1198 ms (22.4 MiB/s)
append: root=LABEL=ROOTFS rootflags=data=writeback root=/dev/mmcblk1p2 rootwait0
Retrieving file: /dtb/rockchip/rk3399-roc-pc-mezzanine.dtb
58060 bytes read in 9 ms (6.2 MiB/s)
Moving Image from 0x2080000 to 0x2200000, end=3dd0000
## Loading init Ramdisk from Legacy Image at 06000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    9546882 Bytes = 9.1 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 f1602000, end f1f1cc82 ... OK
   Loading Device Tree to 00000000f15f0000, end 00000000f16012cb ... OK

Starting kernel ...


CTRL-A Z for help | 1500000 8N1 | NOR | Minicom 2.7.1 | VT102 | Online 0:1 | B0

 

 

There are two things that concern me.  

This error message at the beginning.

Quote

Trying to boot from SPI
cannot find image node 'atf_1': -1

 

And the extlinux.conf.   Any idea how to boot SD from u-boot using extlinux (or u-boot command prompt)?

 

Quote

LABEL Armbian
LINUX /zImage
INITRD /uInitrd
#LINUX  /Image
#INITRD /Initrd

# rk-3399
#FDT /dtb/rockchip/rk3399-rock-pi-4b.dtb
#FDT /dtb/rockchip/rk3399-nanopc-t4.dtb
FDT /dtb/rockchip/rk3399-roc-pc-mezzanine.dtb
APPEND root=LABEL=ROOTFS rootflags=data=writeback root=/dev/mmcblk1p2 rootwait rw rootfstype=vfat console=uart8250,mmio32,0xff1a0000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0
#append earlycon=uart8250,mmio32,0xff1a0000 console=tty0 console=ttyS2,1500000 swiotlb=1 root=/dev/mmcblk1p1 rootwait rw rootfstype=vfat init=/sbin/init
#APPEND root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff1a0000 console=tty0 no_console_suspend consoleblank=0 loglevel=7 fsck.fix=yes fsck.repair=yes net.ifnames=0

 

Link to comment
Share on other sites

10.01.2021 в 13:34, denni_isl сказал:

Unable to boot the kernel through extlinux script - here is the output from u-boot

u-boot works correctly and the system is started using extlinux.conf. 

See the output

 

10.01.2021 в 13:34, denni_isl сказал:

Starting kernel ...

 

 

10.01.2021 в 13:34, denni_isl сказал:

APPEND root=LABEL=ROOTFS rootflags=data=writeback root=/dev/mmcblk1p2 rootwait rw rootfstype=vfat console=uart8250,mmio32,0xff1a0000 console=tty0 no_console_suspend

Remove this from the settings

 

root=/dev/mmcblk1p2

rootfstype=vfat console=uart8250,mmio32,0xff1a0000

 

And show the full contents of the "extlinux.conf" file

 

What exactly image (full image name) are you trying to run, what steps are you doing ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines