Open khaosgrille opened 4 years ago
I believe it is fixed by https://github.com/ayufan-rock64/linux-mainline-kernel/commit/e747ff5b12a86aac620318fd25dc4c0a855ca45f. Can you try this kernel?
The error remains, here is a new dmesg
I tested 2020.01-ayufan-2014-gff2cdd38 U-boot and "0.10.12: gitlab-ci-linux-build-184" and the problem remains (thought the delay for pci might solve something)
Tested Samsung Evo 960 and it works fine. seems to be ssd specific
Hi,
i used your u-boot (2020.01-ayufan-2013-gdb96b24f) and the 10.10 focal distro but also tried different other kernels and versions. The 4.4 kernel and your downstream u-boot work together with the ssd. the ssd model is "lenovo lense20256gmsp34meat2ta".
the command "pci" in u-boot returns "no such bus"
Here is my dmesg output. As you can see there are some pci errors.
if any other configs/logs are needed i can use serial port and work with the u-boot.
dmesg
``` [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 5.6.0-1134-ayufan-g652fb97d87eb (root@runner-f725ff63-project-6422644-concurrent-0) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)) #ayufan SMP Thu Apr 9 22:26:01 UTC 2020 [ 0.000000] Machine model: Pine64 RockPro64 v2.1 [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 64 MiB at 0x00000000f4000000 [ 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 34 pages/cpu s101272 r8192 d29800 u139264 [ 0.000000] pcpu-alloc: s101272 r8192 d29800 u139264 alloc=34*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] Kernel command line: rw panic=10 init=/sbin/init coherent_pool=1M ethaddr=16:cc:5a:8f:cf:db eth1addr= serial=3cfe50c115e57693 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1 root=LABEL=linux-root rootwait rootfstype=ext4 [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] software IO TLB: mapped [mem 0x3bfff000-0x3ffff000] (64MB) [ 0.000000] Memory: 3777460K/4061184K available (14012K kernel code, 1130K rwdata, 5956K rodata, 1216K init, 8522K bss, 218188K reserved, 65536K cma-reserved) [ 0.000000] random: get_random_u64 called from cache_random_seq_create+0x84/0x168 with crng_init=0 [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 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, no RVPEID support [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000 [ 0.000000] ITS [mem 0xfee20000-0xfee3ffff] [ 0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @f2c80000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x00000000f2c40000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000f2c50000 [ 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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.001434] Console: colour dummy device 80x25 [ 0.002036] printk: console [tty0] enabled [ 0.002092] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.002123] pid_max: default: 32768 minimum: 301 [ 0.002374] LSM: Security Framework initializing [ 0.002406] Yama: becoming mindful. [ 0.002529] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.002572] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.002668] *** VALIDATE tmpfs *** [ 0.003383] *** VALIDATE proc *** [ 0.003721] *** VALIDATE cgroup *** [ 0.003741] *** VALIDATE cgroup2 *** [ 0.005102] rcu: Hierarchical SRCU implementation. [ 0.007621] Platform MSI: interrupt-controller@fee20000 domain created [ 0.008072] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created [ 0.008822] EFI services will not be available. [ 0.009489] smp: Bringing up secondary CPUs ... [ 0.010238] Detected VIPT I-cache on CPU1 [ 0.010278] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000 [ 0.010293] GICv3: CPU1: using allocated LPI pending table @0x00000000f2c60000 [ 0.010343] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.011114] Detected VIPT I-cache on CPU2 [ 0.011143] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000 [ 0.011156] GICv3: CPU2: using allocated LPI pending table @0x00000000f2c70000 [ 0.011188] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.011874] Detected VIPT I-cache on CPU3 [ 0.011902] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000 [ 0.011914] GICv3: CPU3: using allocated LPI pending table @0x00000000f2d00000 [ 0.011944] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.012647] CPU features: detected: EL2 vector hardening [ 0.012657] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware [ 0.012663] CPU features: detected: ARM erratum 1319367 [ 0.012669] Detected PIPT I-cache on CPU4 [ 0.012702] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000 [ 0.012715] GICv3: CPU4: using allocated LPI pending table @0x00000000f2d10000 [ 0.012749] CPU4: Booted secondary processor 0x0000000100 [0x410fd082] [ 0.013486] Detected PIPT I-cache on CPU5 [ 0.013511] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000 [ 0.013523] GICv3: CPU5: using allocated LPI pending table @0x00000000f2d20000 [ 0.013550] CPU5: Booted secondary processor 0x0000000101 [0x410fd082] [ 0.013661] smp: Brought up 1 node, 6 CPUs [ 0.013957] SMP: Total of 6 processors activated. [ 0.013973] CPU features: detected: 32-bit EL0 Support [ 0.013990] CPU features: detected: CRC32 instructions [ 0.047639] CPU: All CPU(s) started at EL2 [ 0.047736] alternatives: patching kernel code [ 0.051356] devtmpfs: initialized [ 0.062924] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.062959] futex hash table entries: 2048 (order: 5, 131072 bytes, linear) [ 0.064611] pinctrl core: initialized pinctrl subsystem [ 0.065345] thermal_sys: Registered thermal governor 'fair_share' [ 0.065348] thermal_sys: Registered thermal governor 'bang_bang' [ 0.065364] thermal_sys: Registered thermal governor 'step_wise' [ 0.065376] thermal_sys: Registered thermal governor 'user_space' [ 0.065387] thermal_sys: Registered thermal governor 'power_allocator' [ 0.065852] DMI not present or invalid. [ 0.066494] NET: Registered protocol family 16 [ 0.069162] DMA: preallocated 1024 KiB pool for atomic allocations [ 0.070421] cpuidle: using governor ladder [ 0.070472] cpuidle: using governor menu [ 0.070907] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.071103] ASID allocator initialised with 65536 entries [ 0.071247] Serial: AMBA PL011 UART driver [ 0.107722] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.107746] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.107761] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.107775] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 1.555161] cryptd: max_cpu_qlen set to 1000 [ 1.587620] ACPI: Interpreter disabled. [ 1.589202] vcc3v3_pcie: supplied by vcc12v_dcin [ 1.591007] vcc5v0_sys: supplied by vcc12v_dcin [ 1.591382] vcc5v0_usb: supplied by vcc12v_dcin [ 1.591597] vcc3v3_sys: supplied by vcc5v0_sys [ 1.592331] iommu: Default domain type: Translated [ 1.594797] vgaarb: loaded [ 1.595945] SCSI subsystem initialized [ 1.596185] libata version 3.00 loaded. [ 1.596485] usbcore: registered new interface driver usbfs [ 1.596554] usbcore: registered new interface driver hub [ 1.596684] usbcore: registered new device driver usb [ 1.597380] mc: Linux media interface: v0.10 [ 1.597431] videodev: Linux video capture interface: v2.00 [ 1.597537] pps_core: LinuxPPS API ver. 1 registered [ 1.597554] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti