Jump to content

Recommended Posts

Posted (edited)

Hi Armbian Community,

   I am trying to get the Coral/Google NPU (M.2 PCIe key) to work with the NanoPC-T4. Without success.

 

I built Armbian with linux headers (5.4.48) and was able to apt install the gasket-dkms package.  (The EdgeTPU requires Google's Gasket and Apex drivers to be built as modules with DKMS, and thus requires the linux headers to be installed at /usr/src). Also, there was no conflicting Gasket or Apex module in the Armbian release prior to install (an issue found by other EdgeTPU systems on other distros).

 

My problem, I believe, has to do with the NanoPC-T4's PCIe. I have tried many different kernels (FriendlyElec's Core/Desktop/Buildroot releases using Rockchip's 4.4.179 kernel as well as various Armbian), and every time PCIe link training times out as follows:

 

[    3.161132] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[    3.161214] rockchip-pcie: probe of f8000000.pcie failed with error -110

 

I am currently at a loss for what to try next. If anyone has any ideas, then I would be forever grateful and enthusiastic to help debug and test.

 

Here is the full u-boot debug and kernel dmesg output for the Armbian build with Gasket/Apex modules installed (albeit never probed):

Spoiler

DDR Version 1.22 20190506
In
Channel 0: LPDDR3, 800MHz
CS = 0
MR0=0x58
MR1=0x58
MR2=0x58
MR3=0x58
MR4=0x3
MR5=0x1
MR6=0x6
MR7=0x0
MR8=0x1F
MR9=0x1F
MR10=0x1F
MR11=0x1F
MR12=0x1F
MR13=0x1F
MR14=0x1F
MR15=0x1F
MR16=0x1F
CS = 1
MR0=0x58
MR1=0x58
MR2=0x58
MR3=0x58
MR4=0x3
MR5=0x1
MR6=0x6
MR7=0x0
MR8=0x1F
MR9=0x1F
MR10=0x1F
MR11=0x1F
MR12=0x1F
MR13=0x1F
MR14=0x1F
MR15=0x1F
MR16=0x1F
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=32 Size=2048MB
Channel 1: LPDDR3, 800MHz
CS = 0
MR0=0x58
MR1=0x58
MR2=0x58
MR3=0x58
MR4=0x3
MR5=0x1
MR6=0x6
MR7=0x0
MR8=0x1F
MR9=0x1F
MR10=0x1F
MR11=0x1F
MR12=0x1F
MR13=0x1F
MR14=0x1F
MR15=0x1F
MR16=0x1F
CS = 1
MR0=0x58
MR1=0x58
MR2=0x58
MR3=0x58
MR4=0x3
MR5=0x1
MR6=0x6
MR7=0x0
MR8=0x1F
MR9=0x1F
MR10=0x1F
MR11=0x1F
MR12=0x1F
MR13=0x1F
MR14=0x1F
MR15=0x1F
MR16=0x1F
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=32 Size=2048MB
256B stride
ch 0 ddrconfig = 0x101, ddrsize = 0x2020
ch 1 ddrconfig = 0x101, ddrsize = 0x2020
pmugrf_os_reg[2] = 0x3AA0DAA0, stride = 0xD
OUT
Boot1: 2019-03-14, version: 1.19
CPUId = 0x0
ChipType = 0x10, 247
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=14910MB
FwPartOffset=2000 , 100000
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=15193MB
FwPartOffset=2000 , 0
StorageInit ok = 184897
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT 0x3380ec0 signature is wrong
recovery gpt...
GPT 0x3380ec0 signature is wrong
recovery gpt fail!
LoadTrust Addr:0x4000
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0xa66c0
RunBL31 0x40000
NOTICE:  BL31: v1.3(debug):42583b6
NOTICE:  BL31: Built : 07:55:13, Oct 15 2019
NOTICE:  BL31: Rockchip release version: v1.1
INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
INFO:    plat_rockchip_pmu_init(1190): pd status 3e
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2020.04-armbian (Jun 24 2020 - 13:02:00 +0100)

SoC: Rockchip rk3399
Reset cause: POR
Model: FriendlyElec NanoPC-T4
DRAM:  3.9 GiB
PMIC:  RK808
MMC:   dwmmc@fe310000: 2, dwmmc@fe320000: 1, sdhci@fe330000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial@ff1a0000
Out:   serial@ff1a0000
Err:   serial@ff1a0000
Model: FriendlyElec NanoPC-T4
Net:   eth0: ethernet@fe300000
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
3045 bytes read in 5 ms (594.7 KiB/s)
## Executing script at 00500000
Boot script loaded from mmc 1
151 bytes read in 5 ms (29.3 KiB/s)
14319304 bytes read in 610 ms (22.4 MiB/s)
19601920 bytes read in 832 ms (22.5 MiB/s)
74693 bytes read in 12 ms (5.9 MiB/s)
2698 bytes read in 9 ms (292 KiB/s)
Applying kernel provided DT fixup script (rockchip-fixup.scr)
## Executing script at 09000000
## Loading init Ramdisk from Legacy Image at 06000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    14319240 Bytes = 13.7 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 f517a000, end f5f21e88 ... OK
   Loading Device Tree to 00000000f50ff000, end 00000000f5179fff ... OK

Starting kernel ...


Armbian 20.08.0-trunk Focal ttyS2

 _   _                   ____   ____   _____ _  _   
| \ | | __ _ _ __   ___ |  _ \ / ___| |_   _| || |  
|  \| |/ _` | '_ \ / _ \| |_) | |       | | | || |_
| |\  | (_| | | | | (_) |  __/| |___    | | |__   _|
|_| \_|\__,_|_| |_|\___/|_|    \____|   |_|    |_|  
                                                    
Welcome to Armbian Focal with Linux 5.4.48-rockchip64

No end-user support: built from trunk

System load:   0.24 0.07 0.02      Up time:       0 min        
Memory usage:  3 % of 3869MB     IP:            192.168.1.215
CPU temp:      58°C               
Usage of /:    12% of 15G        

Last login: Thu Jun 25 18:55:53 UTC 2020 from 192.168.1.170 on pts/0

kampff@nanopct4:~$ dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.48-rockchip64 (root@VK-0003) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #trunk SMP PREEMPT Wed Jun 24 13:22:18 BST 2020
[    0.000000] Machine model: FriendlyElec NanoPC-T4
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 128 MiB at 0x00000000ed000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xf77e0800-0xf77e1fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] On node 0 totalpages: 1015296
[    0.000000]   DMA32 zone: 15864 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 1015296 pages, LIFO batch:63
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 23 pages/cpu s53592 r8192 d32424 u94208
[    0.000000] pcpu-alloc: s53592 r8192 d32424 u94208 alloc=23*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: root=UUID=f6f4779e-c66b-4dd6-878a-b5682900aedf rootwait rootfstype=ext4 console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=1 ubootpart=8438ffe9-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u   cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
[    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] Memory: 3815784K/4061184K available (11964K kernel code, 1414K rwdata, 4660K rodata, 1024K init, 542K bss, 114328K reserved, 131072K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    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: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
[    0.000000] ITS [mem 0xfee20000-0xfee3ffff]
[    0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @f6c80000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000000f6c40000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000f6c50000
[    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] random: get_random_bytes called from start_kernel+0x2f8/0x484 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001523] Console: colour dummy device 80x25
[    0.001538] printk: console [tty1] enabled
[    0.001650] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001664] pid_max: default: 32768 minimum: 301
[    0.001802] LSM: Security Framework initializing
[    0.001834] Yama: becoming mindful.
[    0.002013] AppArmor: AppArmor initialized
[    0.002095] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.002125] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.002186] *** VALIDATE tmpfs ***
[    0.002839] *** VALIDATE proc ***
[    0.003165] *** VALIDATE cgroup1 ***
[    0.003175] *** VALIDATE cgroup2 ***
[    0.027772] ASID allocator initialised with 32768 entries
[    0.035768] rcu: Hierarchical SRCU implementation.
[    0.045962] Platform MSI: interrupt-controller@fee20000 domain created
[    0.046398] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.048541] EFI services will not be available.
[    0.056363] smp.
[    0.088606] Detected VIPT I-cache on CPU1
[    0.088643] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.088661] GICv3: CPU1: using allocated LPI pending table @0x00000000f6c60000
[    0.088710] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.120695] Detected VIPT I-cache on CPU2
[    0.120724] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.120738] GICv3: CPU2: using allocated LPI pending table @0x00000000f6c70000
[    0.120773] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.152807] Detected VIPT I-cache on CPU3
[    0.152835] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.152849] GICv3: CPU3: using allocated LPI pending table @0x00000000f6d00000
[    0.152883] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.184935] CPU features: detected: EL2 vector hardening
[    0.184946] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[    0.184955] Detected PIPT I-cache on CPU4
[    0.184986] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.184999] GICv3: CPU4: using allocated LPI pending table @0x00000000f6d10000
[    0.185036] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.217053] Detected PIPT I-cache on CPU5
[    0.217081] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.217093] GICv3: CPU5: using allocated LPI pending table @0x00000000f6d20000
[    0.217122] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.217258] smp: Brought up 1 node, 6 CPUs
[    0.217268] SMP: Total of 6 processors activated.
[    0.217276] CPU features: detected: 32-bit EL0 Support
[    0.217284] CPU features: detected: CRC32 instructions
[    0.218501] CPU: All CPU(s) started at EL2
[    0.218547] alternatives: patching kernel code
[    0.221969] devtmpfs: initialized
[    0.242617] Registered cp15_barrier emulation handler
[    0.242636] Registered setend emulation handler
[    0.243144] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.243202] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.249270] xor: measuring software checksum speed
[    0.289164]    8regs     :  1188.000 MB/sec
[    0.329192]    32regs    :  2756.000 MB/sec
[    0.369267]    arm64_neon:  2345.000 MB/sec
[    0.369273] xor: using function: 32regs (2756.000 MB/sec)
[    0.369376] pinctrl core: initialized pinctrl subsystem
[    0.370259] DMI not present or invalid.
[    0.370639] NET: Registered protocol family 16
[    0.386563] DMA: preallocated 2048 KiB pool for atomic allocations
[    0.386576] audit: initializing netlink subsys (disabled)
[    0.386779] audit: type=2000 audit(0.384:1): state=initialized audit_enabled=0 res=1
[    0.388154] cpuidle: using governor menu
[    0.388460] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.389755] Serial: AMBA PL011 UART driver
[    0.430352] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.430363] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.430370] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.430377] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.434918] cryptd: max_cpu_qlen set to 1000
[    0.509631] raid6: neonx8   gen()  1322 MB/s
[    0.577751] raid6: neonx8   xor()  1194 MB/s
[    0.645940] raid6: neonx4   gen()  1015 MB/s
[    0.714036] raid6: neonx4   xor()   987 MB/s
[    0.782181] raid6: neonx2   gen()   931 MB/s
[    0.850361] raid6: neonx2   xor()  1081 MB/s
[    0.918507] raid6: neonx1   gen()   717 MB/s
[    0.986618] raid6: neonx1   xor()   829 MB/s
[    1.054829] raid6: int64x8  gen()   712 MB/s
[    1.122939] raid6: int64x8  xor()   532 MB/s
[    1.191030] raid6: int64x4  gen()   641 MB/s
[    1.259194] raid6: int64x4  xor()   554 MB/s
[    1.327384] raid6: int64x2  gen()   472 MB/s
[    1.395462] raid6: int64x2  xor()   502 MB/s
[    1.463687] raid6: int64x1  gen()   344 MB/s
[    1.531733] raid6: int64x1  xor()   337 MB/s
[    1.531739] raid6: using algorithm neonx8 gen() 1322 MB/s
[    1.531744] raid6: .... xor() 1194 MB/s, rmw enabled
[    1.531750] raid6: using neon recovery algorithm
[    1.534557] vcc5v0_sys: supplied by vcc12v0_sys
[    1.534616] vcc5v0_host0: supplied by vcc5v0_sys
[    1.534819] vcc3v3_sys: supplied by vcc12v0_sys
[    1.534885] vcc3v0_sd: supplied by vcc3v3_sys
[    1.534950] vbus_typec: supplied by vcc5v0_sys
[    1.535280] iommu: Default domain type: Translated
[    1.537583] vgaarb: loaded
[    1.538060] SCSI subsystem initialized
[    1.538286] libata version 3.00 loaded.
[    1.538522] usbcore: registered new interface driver usbfs
[    1.538568] usbcore: registered new interface driver hub
[    1.538657] usbcore: registered new device driver usb
[    1.539257] pps_core: LinuxPPS API ver. 1 registered
[    1.539263] pps_core: Software ver. 5.3.6 -2007 Rodolfo Giometti <giometti@linux.it>
[    1.539277] PTP clock support registered
[    1.539536] EDAC MC: Ver: 3.0.0
[    1.540516] NetLabel: Initializing
[    1.540522] NetLabel:  domain hash size = 128
[    1.540527] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.540598] NetLabel:  unlabeled traffic allowed by default
[    1.541062] clocksource: Switched to clocksource arch_sys_counter
[    1.541288] VFS: Disk quotas dquot_6.6.0
[    1.541357] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.541438] *** VALIDATE ramfs ***
[    1.541454] *** VALIDATE hugetlbfs ***
[    1.542094] AppArmor: AppArmor Filesystem Enabled
[    1.550945] thermal_sys: Registered thermal governor 'fair_share'
[    1.550949] thermal_sys: Registered thermal governor 'bang_bang'
[    1.550955] thermal_sys: Registered thermal governor 'step_wise'
[    1.550961] thermal_sys: Registered thermal governor 'user_space'
[    1.550966] thermal_sys: Registered thermal governor 'power_allocator'
[    1.551572] NET: Registered protocol family 2
[    1.552331] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    1.552500] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    1.553021] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    1.553727] TCP: Hash tables configured (established 32768 bind 32768)
[    1.553906] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.554064] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.554405] NET: Registered protocol family 1
[    1.554437] PCI: CLS 0 bytes, default 64
[    1.554670] Trying to unpack rootfs image as initramfs...
[    2.573149] Freeing initrd memory: 13980K
[    2.574255] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    2.574608] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    2.575066] kvm [1]: IPA Size Limit: 40bits
[    2.575686] kvm [1]: vgic-v2@fff20000
[    2.575717] kvm [1]: GIC system register CPU interface enabled
[    2.575926] kvm [1]: vgic interrupt IRQ10
[    2.576164] kvm [1]: Hyp mode initialized successfully
[    2.584966] Initialise system trusted keyrings
[    2.584999] Key type blacklist registered
[    2.585190] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    2.590887] zbud: loaded
[    2.592695] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.593549] fuse: init (API version 7.31)
[    2.593635] *** VALIDATE fuse ***
[    2.593646] *** VALIDATE fuse ***
[    2.594865] Platform Keyring initialized
[    2.617878] Key type asymmetric registered
[    2.617884] Asymmetric key parser 'x509' registered
[    2.617923] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    2.618096] io scheduler mq-deadline registered
[    2.618101] io scheduler kyber registered
[    2.618226] io scheduler bfq registered
[    2.633277] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[    2.633299] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
[    2.633320] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
[    2.633340] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
[    3.161132] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[    3.161214] rockchip-pcie: probe of f8000000.pcie failed with error -110
[    3.167012] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    3.167023] dma-pl330 ff6d0000.dma-controller:     DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    3.168252] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    3.168263] dma-pl330 ff6e0000.dma-controller:     DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    3.172327] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    3.175228] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 39, base_baud = 1500000) is a 16550A
[    3.175371] serial serial0: tty port ttyS0 registered
[    3.175908] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 40, base_baud = 1500000) is a 16550A
[    3.176084] printk: console [ttyS2] enabled
[    3.177166] Serial: AMBA driver
[    3.178426] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    3.189033] loop: module loaded
[    3.193508] libphy: Fixed MDIO Bus: probed
[    3.193812] tun: Universal TUN/TAP device driver, 1.6
[    3.194747] thunder_xcv, ver 1.0
[    3.194794] thunder_bgx, ver 1.0
[    3.194832] nicpf, ver 1.0
[    3.195819] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    3.195823] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    3.195864] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[    3.195868] igb: Copyright (c) 2007-2014 Intel Corporation.
[    3.195907] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    3.195912] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    3.196174] sky2: driver version 1.30
[    3.196799] VFIO - User Level meta-driver version: 0.3
[    3.202695] OF: graph: no port node found in /syscon@ff770000/usb2-phy@e450/otg-port
[    3.210193] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.210211] ehci-pci: EHCI PCI platform driver
[    3.210248] ehci-platform: EHCI generic platform driver
[    3.212499] ehci-platform fe380000.usb: EHCI Host Controller
[    3.212523] ehci-platform fe380000.usb: new USB bus regis32m[    3.212658] ehci-platform fe380000.usb: irq 31, io mem 0xfe380000
[    3.225095] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    3.225304] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    3.225313] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.225321] usb usb1: Product: EHCI Host Controller
[    3.225328] usb usb1: Manufacturer: Linux 5.4.48-rockchip64 ehci_hcd
[    3.225335] usb usb1: SerialNumber: fe380000.usb
[    3.225833] hub 1-0:1.0: USB hub found
[    3.225866] hub 1-0:1.0: 1 port detected
[    3.228388] ehci-platform fe3c0000.usb: EHCI Host Controller
[    3.228409] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 2
[    3.228520] ehci-platform fe3c0000.usb: irq 33, io mem 0xfe3c0000
[    3.241090] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    3.241280] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    3.241289] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.241296] usb usb2: Product: EHCI Host Controller
[    3.241304] usb usb2: Manufacturer: Linux 5.4.48-rockchip64 ehci_hcd
[    3.241311] usb usb2: SerialNumber: fe3c0000.usb
[    3.241761] hub 2-0:1.0: USB hub found
[    3.241792] hub 2-0:1.0: 1 port detected
[    3.242380] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.242397] ohci-pci: OHCI PCI platform driver
[    3.242444] ohci-platform: OHCI generic platform driver
[    3.242653] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[    3.242672] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 3
[    3.242788] ohci-platform fe3a0000.usb: irq 32, io mem 0xfe3a0000
[    3.305354] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.04
[    3.305363] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.305371] usb usb3: Product: Generic Platform OHCI controller
[    3.305378] usb usb3: Manufacturer: Linux 5.4.48-rockchip64 ohci_hcd
[    3.305385] usb usb3: SerialNumber: fe3a0000.usb
[    3.305835] hub 3-0:1.0: USB hub found
[    3.305867] hub 3-0:1.0: 1 port detected
[    3.306325] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    3.306344] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
[    3.306471] ohci-platform fe3e0000.usb: irq 34, io mem 0xfe3e0000
[    3.369339] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.04
[    3.369348] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.369356] usb usb4: Product: Generic Platform OHCI controller
[    3.369363] usb usb4: Manufacturer: Linux 5.4.48-rockchip64 ohci_hcd
[    3.369370] usb usb4: SerialNumber: fe3e0000.usb
[    3.369822] hub 4-0:1.0: USB hub found
[    3.369854] hub 4-0:1.0: 1 port detected
[    3.371037] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.371058] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 5
[    3.371233] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    3.371256] xhci-hcd xhci-hcd.0.auto: irq 228, io mem 0xfe800000
[    3.371614] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    3.371624] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.371632] usb usb5: Product: xHCI Host Controller
[    3.371639] usb usb5: Manufacturer: Linux 5.4.48-rockchip64 xhci-hcd
[    3.371646] usb usb5: SerialNumber: xhci-hcd.0.auto
[    3.372092] hub 5-0:1.0: USB hub found
[    3.372136] hub 5-0:1.0: 1 port detected
[    3.372430] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.372445] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 6
[    3.372460] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    3.372527] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.372654] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[    3.372663] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.372671] usb usb6: Product: xHCI Host Controller
[    3.372678] usb usb6: Manufacturer: Linux 5.4.48-rockchip64 xhci-hcd
[    3.372685] usb usb6: SerialNumber: xhci-hcd.0.auto
[    3.373151] hub 6-0:1.0: USB hub found
[    3.373183] hub 6-0:1.0: 1 port detected
[    3.373621] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    3.373645] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 7
[    3.373804] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    3.373855] xhci-hcd xhci-hcd.1.auto: irq 229, io mem 0xfe900000
[    3.374215] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    3.374224] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.374231] usb usb7: Product: xHCI Host Controller
[    3.374239] usb usb7: Manufacturer: Linux 5.4.48-rockchip64 xhci-hcd
[    3.374246] usb usb7: SerialNumber: xhci-hcd.1.auto
[    3.374677] hub 7-0:1.0: USB hub found
[    3.374708] hub 7-0:1.0: 1 port detected
[    3.374996] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    3.375010] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 8
[    3.375025] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    3.375091] usb usb8: We don't know the , disabling LPM.
[    3.375220] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[    3.375229] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.375236] usb usb8: Product: xHCI Host Controller
[    3.375244] usb usb8: Manufacturer: Linux 5.4.48-rockchip64 xhci-hcd
[    3.375251] usb usb8: SerialNumber: xhci-hcd.1.auto
[    3.375688] hub 8-0:1.0: USB hub found
[    3.375720] hub 8-0:1.0: 1 port detected
[    3.376201] usbcore: registered new interface driver usb-storage
[    3.378729] mousedev: PS/2 mouse device common for all mice
[    3.379937] i2c /dev entries driver
[    3.382924] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[    3.382952] fan53555-reg: supplied by vcc3v3_sys
[    3.384878] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[    3.384898] fan53555-reg: supplied by vcc3v3_sys
[    3.386821] rk808 0-001b: chip id: 0x0
[    3.390782] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    3.390808] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    3.390880] DCDC_REG1: supplied by vcc3v3_sys
[    3.391718] DCDC_REG2: supplied by vcc3v3_sys
[    3.392269] DCDC_REG3: supplied by vcc3v3_sys
[    3.392509] DCDC_REG4: supplied by vcc3v3_sys
[    3.393099] LDO_REG1: supplied by vcc3v3_sys
[    3.394334] LDO_REG2: supplied by vcc3v3_sys
[    3.395285] LDO_REG3: supplied by vcc3v3_sys
[    3.396379] LDO_REG4: supplied by vcc3v3_sys
[    3.397478] LDO_REG5: supplied by vcc3v3_sys
[    3.398425] LDO_REG6: supplied by vcc3v3_sys
[    3.399519] LDO_REG7: supplied by vcc3v3_sys
[    3.400501] LDO_REG8: supplied by vcc3v3_sys
[    3.401595] SWITCH_REG1: supplied by vcc3v3_sys
[    3.401870] SWITCH_REG2: supplied by vcc3v3_sys
[    3.405428] rk808-rtc rk808-rtc: registered as rtc0
[    3.412428] sdhci: Secure Digital Host Controller Interface driver
[    3.412435] sdhci: Copyright(c) Pierre Ossman
[    3.412458] Synopsys Designware Multimedia Card Interface Driver
[    3.413804] dwmmc_rockchip fe310000.dwmmc: IDMAC supports 32-bit address mode.
[    3.413837] dwmmc_rockchip fe310000.dwmmc: Using internal DMA controller.
[    3.413852] dwmmc_rockchip fe310000.dwmmc: Version ID is 270a
[    3.413907] dwmmc_rockchip fe310000.dwmmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    3.414073] dwmmc_rockchip fe310000.dwmmc: allocated mmc-pwrseq
[    3.414082] mmc_host mmc0: card is non-removable.
[    3.427193] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    3.440515] dwmmc_rockchip fe320000.dwmmc: IDMAC supports 32-bit address mode.
[    3.440546] dwmmc_rockchip fe320000.dwmmc: Using internal DMA controller.
[    3.440559] dwmmc_rockchip fe320000.dwmmc: Version ID is 270a
[    3.440619] dwmmc_rockchip fe320000.dwmmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    3.440878] dwmmc_rockchip fe320000.dwmmc: Got CD GPIO
[    3.446477] random: fast init done
[    3.453924] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    3.467180] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.468572] mmc2: CQHCI version 5.10
[    3.472389] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)
[    3.473989] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[    3.475573] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)
[    3.478435] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)
[    3.481939] mmc0: queuing unknown CIS tuple 0x81 (9 bytes)
[    3.494455] mmc2: SDHCI controller on fe330000.sdhci [fe330000.sdhci] using ADMA
[    3.496425] ledtrig-cpu: registered to indicate activity on CPUs
[    3.497245] hidraw: raw HID events driver (C) Jiri Kosina
[    3.497385] usbcore: registered new interface driver usbhid
[    3.497390] usbhid: USB HID core driver
[    3.499706] vcc1v8_s3: supplied by vcc_1v8
[    3.502043] NET: Registered protocol family 10
[    3.535400] mmc_host mmc0: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
[    3.536472] Segment Routing with IPv6
[    3.536786] NET: Registered protocol family 17
[    3.537153] 8021q: 802.1Q VLAN Support v1.8
[    3.537250] Key type dns_resolver registered
[    3.537806] registered taskstats version 1
[    3.537811] Loading compiled-in X.509 certificates
[    3.541315] Loaded X.509 cert 'Build time autogenerated kernel key: 2ab8cd99e42017bde588920c2932826ff2b80550'
[    3.541498] zswap: loaded using pool lzo/zbud
[    3.541687] Key type ._fscrypt registered
[    3.541693] Key type .fscrypt registered
[    3.544580] Btrfs loaded, crc32c=crc32c-generic
[    3.544675] Key type big_key registered
[    3.548674] mmc_host mmc1: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
[    3.560224] Key type encrypted registered
[    3.560248] AppArmor: AppArmor sha1 policy hashing enabled
[    3.564069] mmc2: Command Queue Engine enabled
[    3.564088] mmc2: new HS400 Enhanced strobe MMC card at address 0001
[    3.564733] mmcblk2: mmc2:0001 AJTD4R 14.6 GiB
[    3.564951] mmcblk2boot0: mmc2:0001 AJTD4R partition 1 4.00 MiB
[    3.565264] mmcblk2boot1: mmc2:0001 AJTD4R partition 2 4.00 MiB
[    3.565453] mmcblk2rpmb: mmc2:0001 AJTD4R partition 3 4.00 MiB, chardev (242:0)
[    3.607264] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    3.60tc: setting system clock to 2020-06-25T19:14:23 UTC (1593112463)
[    3.608229] of_cfs_init
[    3.608268] of_cfs_init: OK
[    3.609869] Freeing unused kernel memory: 1024K
[    3.621231] Run /init as init process
[    3.805993] dwmmc_rockchip fe310000.dwmmc: Successfully tuned phase to 212
[    3.810845] mmc0: new ultra high speed SDR104 SDIO card at address 0001
[    3.824533] dwmmc_rockchip fe320000.dwmmc: Successfully tuned phase to 230
[    3.824563] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
[    3.825901] mmcblk1: mmc1:aaaa SL16G 14.8 GiB
[    3.833299]  mmcblk1: p1
[    3.905120] usb 4-1: new full-speed USB device number 2 using ohci-platform
[    4.071352] input: adc-keys as /devices/platform/adc-keys/input/input1
[    4.102017] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    4.102033] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    4.102240] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    4.102443] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[    4.102461] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
[    4.102474] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
[    4.102494] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[    4.102598] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[    4.102607] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[    4.109209] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[    4.109846] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    4.109860] rk_gmac-dwmac fe300000.ethernet:     DWMAC1000
[    4.109870] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
[    4.109877] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
[    4.109884] rk_gmac-dwmac fe300000.ethernet: COE Type 2
[    4.109891] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[    4.109897] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
[    4.109948] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
[    4.109956] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
[    4.109962] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    4.138227] usb 4-1: New USB device found, idVendor=046d, idProduct=c52b, bcdDevice=24.11
[    4.138243] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.138254] usb 4-1: Product: USB Receiver
[    4.138264] usb 4-1: Manufacturer: Logitech
[    4.147959] input: Logitech USB Receiver as /devices/platform/fe3e0000.usb/usb4/4-1/4-1:1.0/0003:046D:C52B.0001/input/input2
[    4.169142] libphy: stmmac: probed
[    4.206401] hid-generic 0003:046D:C52B.0001: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-fe3e0000.usb-1/input0
[    4.214556] input: Logitech USB Receiver Mouse as /devices/platform/fe3e0000.usb/usb4/4-1/4-1:1.1/0003:046D:C52B.0002/input/input3
[    4.215394] input: Logitech USB Receiver Consumer Control as /devices/platform/fe3e0000.usb/usb4/4-1/4-1:1.1/0003:046D:C52B.0002/input/input4
[    4.240450] rockchip-vop ff8f0000.vop: Adding to iommu group 1
[    4.241430] rockchip-vop ff900000.vop: Adding to iommu group 2
[    4.273841] input: Logitech USB Receiver System Control as /devices/platform/fe3e0000.usb/usb4/4-1/4-1:1.1/0003:046D:C52B.0002/input/input5
[    4.274534] hid-generic 0003:046D:C52B.0002: input,hiddev96,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-fe3e0000.usb-1/input1
[    4.276282] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops [rockchipdrm])
[    4.281046] hid-generic 0003:046D:C52B.0003: hiddev97,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-fe3e0000.usb-1/input2
[    4.284768] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops [rockchipdrm])
[    4.285193] dwhdmi-rockchip ff940000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
[    4.297874] rockchip-drm display-subsystem: bound ff940000.hdmi (ops dw_hdmi_rockchip_ops [rockchipdrm])
[    4.297884] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    4.297889] [drm] No driver support for vblank timestamp query.
[    4.399732] Console: switching to colour frame buffer device 240x67
[    4.452803] rockchip-drm display-subsystem: fb0: rockchipdrmfb frame buffer device
[    4.481655] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[    4.639677] logitech-djreceiver 0003:046D:C52B.0003: hiddev96,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-fe3e0000.usb-1/input2
[    4.762666] input: Logitech Unifying Device. Wireless PID:404d Keyboard as /devices/platform/fe3e0000.usb/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/0003:046D:404D.0004/input/input7
[    4.763967] input: Logitech Unifying Device. Wireless PID:404d Mouse as /devices/platform/fe3e0000.usb/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/0003:046D:404D.0004/input/input8
[    4.764704] input: Logitech Unifying Device. Wireless PID:404d Consumer Control as /devices/platform/fe3e0000.usb/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/0003:046D:404D.0004/input/input9
[    4.765173] input: Logitech Unifying Device. Wireless PID:404d System Control as /devices/platform/fe3e0000.usb/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/0003:046D:404D.0004/input/input10
[    4.765630] hid-generic 0003:046D:404D.0004: input,hidraw1: USB HID v1.11 Keyboard [Logitech Unifying Device. Wireless PID:404d] on usb-fe3e0000.usb-1/input2:1
[    5.822150] logitech-hidpp-device 0003:046D:404D.0004: HID++ 4.1 device connected.
[    6.025440] input: Logitech K400 Plus as /devices/platform/fe3e0000.usb/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/0003:046D:404D.0004/input/input14
[    6.028082] logitech-hidpp-device 0003:046D:404D.000411 Keyboard [Logitech K400 Plus] on usb-fe3e0000.usb-1/input2:1
[    7.331786] EXT4-fs (mmcblk1p1): mounted filesystem with writeback data mode. Opts: (null)
[    7.812335] systemd[1]: Inserted module 'autofs4'
[    7.845110] 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)
[    7.846081] systemd[1]: Detected architecture arm64.
[    7.872074] systemd[1]: Set hostname to <nanopct4>.
[    7.935505] ttyS2 - failed to request DMA
[    8.153629] 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.261484] systemd[1]: /lib/systemd/system/rk3399-bluetooth.service:11: Support for option SysVStartPriority= has been removed and it is ignored
[    8.393826] random: systemd: uninitialized urandom read (16 bytes read)
[    8.393999] systemd[1]: system-modprobe.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    8.394014] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    8.397604] systemd[1]: Created slice system-modprobe.slice.
[    8.398333] random: systemd: uninitialized urandom read (16 bytes read)
[    8.399570] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    8.400132] random: systemd: uninitialized urandom read (16 bytes read)
[    8.401258] systemd[1]: Created slice User and Session Slice.
[    8.401983] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    8.402633] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    8.403978] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    8.404561] systemd[1]: Reached target Local Encrypted Volumes.
[    8.405115] systemd[1]: Reached target Remote File Systems.
[    8.405523] systemd[1]: Reached target Slices.
[    8.405924] systemd[1]: Reached target Swap.
[    8.406297] systemd[1]: Reached target System Time Set.
[    8.407191] systemd[1]: Listening on Syslog Socket.
[    8.408037] systemd[1]: Listening on fsck to fsckd communication Socket.
[    8.408683] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    8.409985] systemd[1]: Listening on Journal Audit Socket.
[    8.410820] systemd[1]: Listening on Journal Socket (/dev/log).
[    8.411741] systemd[1]: Listening on Journal Socket.
[    8.412619] systemd[1]: Listening on udev Control Socket.
[    8.413514] systemd[1]: Listening on udev Kernel Socket.
[    8.418969] systemd[1]: Mounting Huge Pages File System...
[    8.424490] systemd[1]: Mounting POSIX Message Queue File System...
[    8.430297] systemd[1]: Mounting Kernel Debug File System...
[    8.431248] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    8.437831] systemd[1]: Starting Restore / save the current clock...
[    8.443249] systemd[1]: Starting Set the console keyboard layout...
[    8.448754] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    8.449852] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[    8.455635] systemd[1]: Started Nameserver information manager.
[    8.456917] systemd[1]: Reached target Network (Pre).
[    8.463535] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    8.463780] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    8.470966] systemd[1]: Starting Load Kernel Modules...
[    8.476687] systemd[1]: Starting Remount Root and Kernel File Systems...
[    8.483364] systemd[1]: Starting udev Coldplug all Devices...
[    8.492157] systemd[1]: Mounted Huge Pages File System.
[    8.493813] systemd[1]: Mounted POSIX Message Queue File System.
[    8.495105] systemd[1]: Mounted Kernel Debug File System.
[    8.499585] systemd[1]: Finished Create list of static device nodes for the current kernel.
[    8.512270] systemd[1]: Finished Restore / save the current clock.
[    8.518237] systemd[1]: Finished Load Kernel Modules.
[    8.520486] EXT4-fs (mmcblk1p1): re-mounted. Opts: commit=600,errors=remount-ro
[    8.525381] systemd[1]: Mounting FUSE Control File System...
[    8.531264] systemd[1]: Mounting Kernel Configuration File System...
[    8.537311] systemd[1]: Starting Apply Kernel Variables...
[    8.548519] systemd[1]: Finished Remount Root and Kernel File Systems.
[    8.552676] systemd[1]: Mounted FUSE Control File System.
[    8.554630] systemd[1]: Mounted Kernel Configuration File System.
[    8.557238] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    8.557403] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    8.561827] systemd[1]: Starting Load/Save Random Seed...
[    8.567366] systemd[1]: Starting Create System Users...
[    8.623586] systemd[1]: Finished Create System Users.
[    8.629538] systemd[1]: Starting Create Static Device Nodes in /dev...
[    8.641631] systemd[1]: Finished Apply Kernel Variables.
[    8.700828] systemd[1]: Finished Create Static Device Nodes in /dev.
[    8.708762] systemd[1]: Starting udev Kernel Device Manager...
[    8.809732] systemd[1]: Finished Set the console keyboard layout.
[    8.821299] systemd[1]: Reached target Loca 8.831799] systemd[1]: Mounting /tmp...
[    8.851603] systemd[1]: Mounted /tmp.
[    8.862059] systemd[1]: Reached target Local File Systems.
[    8.878329] systemd[1]: Starting Armbian ZRAM config...
[    8.896818] systemd[1]: Starting Set console font and keymap...
[    8.906678] systemd[1]: Condition check resulted in Mark the need to relabel after reboot being skipped.
[    8.907028] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.
[    8.908113] systemd[1]: Started udev Kernel Device Manager.
[    8.933966] systemd[1]: Finished Set console font and keymap.
[    8.981372] systemd[1]: Finished udev Coldplug all Devices.
[    8.999999] systemd[1]: Starting Helper to synchronize boot up for ifupdown...
[    9.023750] systemd[1]: Finished Helper to synchronize boot up for ifupdown.
[    9.033893] systemd[1]: Starting Raise network interfaces...
[    9.209484] zram: Added device: zram0
[    9.210314] zram: Added device: zram1
[    9.211132] zram: Added device: zram2
[    9.301165] zram1: detected capacity change from 0 to 1073741824
[    9.335032] systemd[1]: Found device /dev/ttyS2.
[    9.378575] mc: Linux media interface: v0.10
[    9.426182] videodev: Linux video capture interface: v2.00
[    9.433295] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    9.444054] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    9.446977] OF: graph: no port node found in /i2c@ff3d0000/typec-portc@22
[    9.490060] Bluetooth: Core ver 2.22
[    9.490115] NET: Registered protocol family 31
[    9.490117] Bluetooth: HCI device and connection manager initialized
[    9.490127] Bluetooth: HCI socket layer initialized
[    9.490134] Bluetooth: L2CAP socket layer initialized
[    9.490143] Bluetooth: SCO socket layer initialized
[    9.523153] systemd[1]: Finished Raise network interfaces.
[    9.524946] Registered IR keymap rc-empty
[    9.524991] rc rc0: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0
[    9.530354] hantro_vpu: module is from the staging directory, the quality is unknown, you have been warned.
[    9.531678] rc rc0: lirc_dev: driver gpio_ir_recv registered at minor = 0, raw IR receiver, no transmitter
[    9.531747] input: gpio_ir_recv as /devices/platform/ir-receiver/rc/rc0/input15
[    9.533567] panfrost ff9a0000.gpu: clock rate = 500000000
[    9.533655] hantro-vpu ff650000.video-codec: Adding to iommu group 0
[    9.534729] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 status 0x0
[    9.534739] panfrost ff9a0000.gpu: features: 00000000,100e77bf, issues: 00000000,24040400
[    9.534746] panfrost ff9a0000.gpu: Features: L2:0x07120206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
[    9.534750] panfrost ff9a0000.gpu: shader_present=0xf l2_present=0x1
[    9.534952] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-enc as /dev/video0
[    9.536088] hantro-vpu ff650000.video-codec: registered rockchip,rk3399-vpu-dec as /dev/video1
[    9.539164] brcmfmac: F1 signature read @0x18000000=0x17224356
[    9.545507] [drm] Initialized panfrost 1.1.0 20180908 for ff9a0000.gpu on minor 1
[    9.549898] rockchip-rga ff680000.rga: HW Version: 0x03.02
[    9.551687] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-sdio for chip BCM4356/2
[    9.552935] usbcore: registered new interface driver brcmfmac
[    9.555016] rockchip-rga ff680000.rga: Registered rockchip-rga as /dev/video2
[    9.557670] rt5651 1-001a: Failed to reguest IRQ 0: -22
[    9.561400] asoc-simple-card rt5651-sound: rt5651-aif1 <-> ff890000.i2s mapping ok
[    9.561472] asoc-simple-card rt5651-sound: ASoC: no DMI vendor name!
[    9.567207] brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac4356-sdio.friendlyarm,nanopc-t4.txt failed with error -2
[    9.576817] Bluetooth: HCI UART driver ver 2.3
[    9.576822] Bluetooth: HCI UART protocol H4 registered
[    9.576824] Bluetooth: HCI UART protocol BCSP registered
[    9.576854] Bluetooth: HCI UART protocol LL registered
[    9.576856] Bluetooth: HCI UART protocol ATH3K registered
[    9.576870] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    9.577042] Bluetooth: HCI UART protocol Intel registered
[    9.580482] Bluetooth: HCI UART protocol Broadcom registered
[    9.580504] Bluetooth: HCI UART protocol QCA registered
[    9.580505] Bluetooth: HCI UART protocol AG6XX registered
[    9.580522] Bluetooth: HCI UART protocol Marvell registered
[    9.596612] phy phy-ff770000.syscon:usb2-phy@e450.2: charger = USB_SDP_CHARGER
[    9.600693] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[    9.615742] asoc-simple-card hdmi-sound: i2s-hifi <-> ff8a0000.i2s mapping ok
[    9.615788] asoc-simple-card hdmi-sound: ASoC: no DMI vendor name!
[    9.643915] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    9.644123] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    9.644198] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    9.644257] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.
[    9.644301] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    9.655135] random: crng init done
[    9.655142] random: 7 urandom warning(s) missed due to ratelimiting
[    9.668455] systemd[1]:
[    9.697219] ttyS0 - failed to request DMA
[    9.731909] systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped.
[    9.745099] Adding 1048572k swap on /dev/zram1.  Priority:5 extents:1 across:1048572k SSFS
[    9.820818] systemd[1]: Starting Load/Save RF Kill Switch Status...
[    9.829340] zram0: detected capacity change from 0 to 52428800
[    9.842199] systemd[1]: Started Load/Save RF Kill Switch Status.
[    9.849649] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[    9.849822] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    9.849872] systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped.
[    9.849930] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    9.849991] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.
[    9.850038] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    9.864510] systemd[1]: Finished Armbian ZRAM config.
[    9.868758] systemd[1]: Starting Armbian memory supported logging...
[    9.914188] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard
[    9.914207] ext4 filesystem being mounted at /var/log supports timestamps until 2038 (0x7fffffff)
[    9.961672] Bluetooth: hci0: BCM: chip id 101
[    9.961897] Bluetooth: hci0: BCM: features 0x2f
[    9.962911] Bluetooth: hci0: BCM4354A2
[    9.962920] Bluetooth: hci0: BCM4356A2 (001.003.015) build 0000
[    9.963023] bluetooth hci0: Direct firmware load for brcm/BCM4356A2.hcd failed with error -2
[    9.963027] Bluetooth: hci0: BCM: Patch brcm/BCM4356A2.hcd not found
[   11.507937] systemd[1]: Finished Armbian memory supported logging.
[   11.512253] systemd[1]: Starting Journal Service...
[   11.818558] systemd[1]: Started Journal Service.
[   11.837342] systemd-journald[701]: Received client request to flush runtime journal.
[   12.524728] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   12.524734] Bluetooth: BNEP filters: protocol multicast
[   12.524751] Bluetooth: BNEP socket layer initialized
[   12.557921] NET: Registered protocol family 38
[   12.601266] brcmfmac: brcmf_sdio_readshared: invalid sdpcm_shared address 0xFE8B0174
[   12.601276] brcmfmac: brcmf_sdio_readshared: unable to obtain sdpcm_shared info: rv=-22 (addr=0xfe8b0174)
[   12.717140] rc rc0: two consecutive events of type space
[   13.134211] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211E Gigabit Ethernet]
[   13.138739] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found
[   13.138759] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW
[   13.138769] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode
[   16.820007] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   16.820101] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   34.304565] vbus_typec: disabling
kampff@nanopct4:~$ lspci -x
kampff@nanopct4:~$ ls /dev
autofs           i2c-4         mqueue    tty16  tty40  tty8     vcsa5
block            i2c-7         net       tty17  tty41  tty9     vcsa6
btrfs-control    iio:device0   null      tty18  tty42  ttyS1    vcsu
bus              initctl       port      tty19  tty43  ttyS2    vcsu1
cec0             input         ppp       tty2   tty44  ttyS3    vcsu2
char             kmsg          psaux     tty20  tty45  ttyS4    vcsu3
console          kvm           ptmx      tty21  tty46  ttyS5    vcsu4
cpu_dma_latency  lirc0         pts       tty22  tty47  ttyS6    vcsu5
cuse             log           random    tty23  tty48  ttyS7    vcsu6
disk             loop0         rfkill    tty24  tty49  uhid     vfio
dri              loop1         rtc       tty25  tty5   uinput   vga_arbiter
ecryptfs         loop2         rtc0      tty26  tty50  uleds    vhci
fb0              loop3         shm       tty27  tty51  urandom  vhost-net
fd               loop4         snapshot  tty28  tty52  usb      video0
full             loop5         snd       tty29  tty53  v4l      video1
fuse             loop6         stderr    tty3   tty54  vcs      video2
gpiochip0        loop7         stdin     tty30  tty55  vcs1     watchdog
gpiochip1        loop-control  stdout    tty31  tty56  vcs2     watchdog0
gpiochip2        mapper        tty       tty32  tty57  vcs3     zero
gpiochip3        media0        tty0      tty33  tty58  vcs4     zram0
gpiochip4        mem           tty1      tty34  tty59  vcs5     zram1
hidraw0          mmcblk1       tty10     tty35  tty6   vcs6     zram2
hidraw1          mmcblk1p1     tty11     tty36  tty60  vcsa
hugepages        mmcblk2       tty12     tty37  tty61  vcsa1
i2c-0            mmcblk2boot0  tty13     tty38  tty62  vcsa2
i2c-1            mmcblk2boot1  tty14     tty39  tty63  vcsa3
i2c-2            mmcblk2rpmb   tty15     tty4   tty7   vcsa4
kampff@nanopct4:~$

 

 

 

Edited by Igor
spoilers
Posted

I have similar problem with NanoPC T4, but with NVMe M.2 disk.

30% of boots are ok, but 70% of boot have problem with pcie.

 

1. If all is ok:

# lspci                                                                                                                        │
00:00.0 PCI bridge: Fuzhou Rockchip Electronics Co., Ltd RK3399 PCI Express Root Port                                                        │
01:00.0 Non-Volatile memory controller: Sandisk Corp WD Blue SN550 NVMe SSD (rev 01)         

 

# dmesg | grep pcie
[    2.509212] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[    2.509257] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[    2.509279] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[    2.510136] rockchip-pcie f8000000.pcie: no vpcie12v regulator found                       
[    2.857237] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:                
[    2.857281] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[    2.857303] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[    2.858166] rockchip-pcie f8000000.pcie: no vpcie12v regulator found                        
[    2.904718] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00                     
[    2.924836] pcieport 0000:00:00.0: enabling device (0000 -> 0002)                           
[    2.925143] pcieport 0000:00:00.0: PME: Signaling with IRQ 91                               
[    2.925531] pcieport 0000:00:00.0: AER: enabled with IRQ 91

 

2. If we have a problem lspci is empty and:

 

# dmesg | grep pcie
[    2.510524] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[    2.510567] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[    2.510589] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[    2.511432] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[    2.861623] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[    2.861667] rockchip-pcie f8000000.pcie:      MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[    2.861688] rockchip-pcie f8000000.pcie:       IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[    2.862518] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[    3.387702] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[    3.388630] rockchip-pcie: probe of f8000000.pcie failed with error -110

 

Could you explain what you had to do to solve problem?

This thread is quite old. Please consider starting a new thread rather than reviving this one.

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