This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRA821U: DRA821U J7200 EVM cannot scan PCIe card on PCIe slot

Part Number: DRA821U


Tool/software:

Dear champ, 

Customer is using J7200 EVM and try to verify PCI function by using PCIe cards on J7200 EVM PCIe slot. 

SDK 9.0 and SDK 10.0 are both tried following the instructions below 

https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-j7200/09_01_00_07/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/PCIe/PCIe_Root_Complex.html

https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-j7200/10_01_08_01/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/PCIe/PCIe_Root_Complex.html

Rebuild Linux Kernel with the flags require and boot up EVM with PCIe ethernet card installed on both PCIe slots. 

Linux Driver Configuration

The following config options have to be enabled in order to configure the PCI controller to be used in Root Complex mode.

CONFIG_SOCIONEXT_SYNQUACER_PREITS=y
CONFIG_PCI=y
CONFIG_PCI_MSI=y
CONFIG_PCI_J721E=y
CONFIG_PCIE_CADENCE=y
CONFIG_PCIE_CADENCE_HOST=y

However, lspci cannot get any device ID but only rc pid vid.

Is there any addition modification is required?
How can we verify this with SDK 10.1 pre-build image? A instruction will be helpful.


BR, Rich
  • Hi Rich,

    I just tried with Processor SDK 10.1 for J7200, and I flashed the prebuilt default image to the micro SD card. I was able to detect a NVMe SSD card on the J8 connector.

    Specifically, I used the instruction "1.1.4.5. Create SD Card with Default Images using script" in the SDK documentation to create the bootable SD card:

    https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-j7200/10_01_08_01/exports/docs/linux/Overview/Processor_SDK_Linux_create_SD_card.html#create-sd-card-with-default-images-using-script

    And I used a Kingston NV2 TC2200 SSD card with an adapter from M.2 to PCIe connector.

    Attached below are my logs:

    U-Boot SPL 2024.04-ti-ga970f6e51043 (Nov 13 2024 - 14:26:23 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.1.6--v10.01.06 (Fiery Fox)')
    i2c_write: error waiting for data ACK (status=0x116)
    read error from device: 41c866a0 register: x!
    i2c_write: error waiting for data ACK (status=0x116)
    write error to device: 41c86550 register: x!
    esm_pmic esm: clearing ESM irqs failed: -5
    ESM PMIC init failed: -5
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    i2c_write: error waiting for data ACK (status=0x116)
    read error from device: 41c866a0 register: x!
    Loading Environment from nowhere... OK
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.11.0(release):v2.11.0-906-g58b25570c9-dirty
    NOTICE:  BL31: Built : 04:20:32, Nov  1 2024
    I/TC:
    I/TC: OP-TEE version: 4.4.0-dev (gcc version 13.3.0 (GCC)) #1 Fri Oct 18 17:45:27 UTC 2024 aarch64
    I/TC: WARNING: This OP-TEE configuration might be insecure!
    I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
    I/TC: Primary CPU initializing
    I/TC: GIC redistributor base address not provided
    I/TC: Assuming default GIC group status and modifier
    I/TC: SYSFW ABI: 4.0 (firmware rev 0x000a '10.1.6--v10.01.06 (Fiery Fox)')
    I/TC: Activated SA2UL device
    I/TC: Fixing SA2UL firewall owner for GP device
    I/TC: Enabled firewalls for SA2UL TRNG device
    I/TC: SA2UL TRNG initialized
    I/TC: SA2UL Drivers initialized
    I/TC: HUK Initialized
    I/TC: Primary CPU switching to normal world boot
    
    U-Boot SPL 2024.04-ti-ga970f6e51043 (Nov 13 2024 - 14:26:23 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.1.6--v10.01.06 (Fiery Fox)')
    Detected: J7X-BASE-CPB rev A
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    
    
    U-Boot 2024.04-ti-ga970f6e51043 (Nov 13 2024 - 14:26:23 +0000)
    
    SoC:   J7200 SR2.0 GP
    Model: Texas Instruments J7200 EVM
    Board: J7200X-PM2-SOM rev E8
    DRAM:  2 GiB (effective 4 GiB)
    Core:  103 devices, 32 uclasses, devicetree: separate
    Flash: 0 Bytes
    MMC:   mmc@4f80000: 0, mmc@4fb0000: 1
    Loading Environment from nowhere... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA02102 cpsw_ver: 0x6BA82102 ale_ver: 0x00293904 Ports:1
    Detected: J7X-BASE-CPB rev A
    Net:   eth0: ethernet@46000000port@1
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    574 bytes read in 11 ms (50.8 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    gpio: pin gpio@22_17 (gpio 126) value is 1
    gpio: pin gpio@22_16 (gpio 125) value is 0
    k3_r5f_rproc r5f@41000000: Core 1 is already in use. No rproc commands work
    k3_r5f_rproc r5f@41400000: Core 2 is already in use. No rproc commands work
    888316 bytes read in 62 ms (13.7 MiB/s)
    Load Remote Processor 2 with data@addr=0x82000000 888316 bytes: Success!
    75448 bytes read in 55 ms (1.3 MiB/s)
    Load Remote Processor 3 with data@addr=0x82000000 75448 bytes: Success!
    21029376 bytes read in 228 ms (88 MiB/s)
    80345 bytes read in 13 ms (5.9 MiB/s)
    Working FDT set to 88000000
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
       Loading Device Tree to 000000008fee9000, end 000000008fffffff ... OK
    Working FDT set to 8fee9000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.6.44-ti-01478-g541c20281af7-dirty (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT Thu Nov 14 19:20:24 UTC 2024
    [    0.000000] KASLR disabled due to lack of seed
    [    0.000000] Machine model: Texas Instruments J7200 EVM
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a0000000..0x00000000a00fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a0000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a0100000..0x00000000a0ffffff (15360 KiB) nomap non-reusable r5f-memory@a0100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a1000000..0x00000000a10fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a1000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a1100000..0x00000000a1ffffff (15360 KiB) nomap non-reusable r5f-memory@a1100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2000000..0x00000000a20fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a2000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2100000..0x00000000a2ffffff (15360 KiB) nomap non-reusable r5f-memory@a2100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3000000..0x00000000a30fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a3000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3100000..0x00000000a3ffffff (15360 KiB) nomap non-reusable r5f-memory@a3100000
    [    0.000000] OF: reserved mem: 0x00000000a4000000..0x00000000a47fffff (8192 KiB) nomap non-reusable ipc-memories@a4000000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a47fffff]
    [    0.000000]   node   0: [mem 0x00000000a4800000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] cma: Reserved 32 MiB at 0x00000000fe000000 on node -1
    [    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: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.5
    [    0.000000] percpu: Embedded 20 pages/cpu s43176 r8192 d30552 u81920
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: Spectre-v3a
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: detected: ARM erratum 1742098
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=ef3acf85-02 rw rootfstype=ext4 rootwait
    [    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] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 2.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fa000000-0x00000000fe000000] (64MB)
    [    0.000000] Memory: 3895504K/4194304K available (12480K kernel code, 1272K rwdata, 4184K rodata, 2496K init, 528K bss, 266032K reserved, 32768K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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=2.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000]  Tracing variant of 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=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @880800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000880040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880050000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008368] Console: colour dummy device 80x25
    [    0.012933] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023604] pid_max: default: 32768 minimum: 301
    [    0.028360] LSM: initializing lsm=capability,selinux,integrity
    [    0.034333] SELinux:  Initializing.
    [    0.037968] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.045546] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.054482] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.061750] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.069614] rcu: Hierarchical SRCU implementation.
    [    0.074514] rcu:     Max phase no-delay instances is 1000.
    [    0.080036] Platform MSI: msi-controller@1820000 domain created
    [    0.086211] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.095596] EFI services will not be available.
    [    0.100341] smp: Bringing up secondary CPUs ...
    I/TC: Secondary CPU 1 initializing
    I/TC: Secondary CPU 1 switching to normal world boot
    [    0.113537] Detected PIPT I-cache on CPU1
    [    0.113587] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.113602] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
    [    0.113635] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.113692] smp: Brought up 1 node, 2 CPUs
    [    0.143043] SMP: Total of 2 processors activated.
    [    0.147848] CPU features: detected: 32-bit EL0 Support
    [    0.153102] CPU features: detected: CRC32 instructions
    [    0.158380] CPU: All CPU(s) started at EL2
    [    0.162562] alternatives: applying system-wide alternatives
    [    0.169138] devtmpfs: initialized
    [    0.177868] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.187850] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.195403] pinctrl core: initialized pinctrl subsystem
    [    0.201025] DMI not present or invalid.
    [    0.205385] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.211877] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.219193] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.227231] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.235358] audit: initializing netlink subsys (disabled)
    [    0.240986] audit: type=2000 audit(0.152:1): state=initialized audit_enabled=0 res=1
    [    0.241203] thermal_sys: Registered thermal governor 'step_wise'
    [    0.248909] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.255071] cpuidle: using governor menu
    [    0.265818] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.272783] ASID allocator initialised with 65536 entries
    [    0.287111] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@100000/pinctrl@a40000/mcu-cpsw-cpts
    [    0.298188] Modules: 27488 pages in range for non-PLT usage
    [    0.298192] Modules: 519008 pages in range for PLT usage
    [    0.304346] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.316718] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.323121] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.330056] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.336457] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.343391] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.349793] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.356726] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.363959] k3-chipinfo 43000014.chipid: Family:J7200 rev:SR2.0 JTAGID[0x1bb6d02f] Detected
    [    0.373106] iommu: Default domain type: Translated
    [    0.378013] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.384460] SCSI subsystem initialized
    [    0.388472] usbcore: registered new interface driver usbfs
    [    0.394095] usbcore: registered new interface driver hub
    [    0.399537] usbcore: registered new device driver usb
    [    0.404962] pps_core: LinuxPPS API ver. 1 registered
    [    0.410034] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.419372] PTP clock support registered
    [    0.423476] EDAC MC: Ver: 3.0.0
    [    0.426941] scmi_core: SCMI protocol bus registered
    [    0.432086] FPGA manager framework
    [    0.435602] Advanced Linux Sound Architecture Driver Initialized.
    [    0.442272] vgaarb: loaded
    [    0.445197] clocksource: Switched to clocksource arch_sys_counter
    [    0.451585] VFS: Disk quotas dquot_6.6.0
    [    0.455617] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.466205] NET: Registered PF_INET protocol family
    [    0.471492] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.480619] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.489375] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.497299] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.505528] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [    0.514277] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.521119] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.528060] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.535509] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.541623] RPC: Registered named UNIX socket transport module.
    [    0.547684] RPC: Registered udp transport module.
    [    0.552487] RPC: Registered tcp transport module.
    [    0.557290] RPC: Registered tcp-with-tls transport module.
    [    0.562892] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.569476] NET: Registered PF_XDP protocol family
    [    0.574381] PCI: CLS 0 bytes, default 64
    [    0.579093] Initialise system trusted keyrings
    [    0.583761] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.590520] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.596632] NFS: Registering the id_resolver key type
    [    0.601811] Key type id_resolver registered
    [    0.606083] Key type id_legacy registered
    [    0.610183] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.617032] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.638420] Key type asymmetric registered
    [    0.642613] Asymmetric key parser 'x509' registered
    [    0.647631] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.655283] io scheduler mq-deadline registered
    [    0.659916] io scheduler kyber registered
    [    0.664028] io scheduler bfq registered
    [    0.669797] pinctrl-single 4301c000.pinctrl: 13 pins, size 52
    [    0.675789] pinctrl-single 4301c038.pinctrl: 2 pins, size 8
    [    0.681585] pinctrl-single 4301c068.pinctrl: 59 pins, size 236
    [    0.687798] pinctrl-single 4301c174.pinctrl: 8 pins, size 32
    [    0.693737] pinctrl-single 104200.pinctrl: 20 pins, size 80
    [    0.699501] pinctrl-single 104280.pinctrl: 8 pins, size 32
    [    0.705213] pinctrl-single 11c000.pinctrl: 67 pins, size 268
    [    0.711258] pinctrl-single 11c110.pinctrl: 1 pins, size 4
    [    0.716835] pinctrl-single 11c11c.pinctrl: 3 pins, size 12
    [    0.722527] pinctrl-single 11c164.pinctrl: 2 pins, size 8
    [    0.728445] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.737985] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.750323] loop: module loaded
    [    0.754143] megasas: 07.725.01.00-rc1
    [    0.759714] tun: Universal TUN/TAP device driver, 1.6
    [    0.765507] VFIO - User Level meta-driver version: 0.3
    [    0.771390] usbcore: registered new interface driver usb-storage
    [    0.777902] i2c_dev: i2c /dev entries driver
    [    0.782940] sdhci: Secure Digital Host Controller Interface driver
    [    0.789264] sdhci: Copyright(c) Pierre Ossman
    [    0.793840] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.799948] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.806264] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.813279] usbcore: registered new interface driver usbhid
    [    0.818974] usbhid: USB HID core driver
    [    0.823610] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.832313] optee: probing for conduit method.
    I/TC: Reserved shared memory is enabled
    I/TC: Dynamic shared memory is enabled
    I/TC: Normal World virtualization support is disabled
    I/TC: Asynchronous notifications are disabled
    [    0.836868] optee: revision 4.4 (8f645256efc0dc66)
    [    0.853327] optee: dynamic shared memory is enabled
    [    0.863647] random: crng init done
    [    0.867188] optee: initialized driver
    [    0.872182] Initializing XFRM netlink socket
    [    0.876581] NET: Registered PF_PACKET protocol family
    [    0.881786] Key type dns_resolver registered
    [    0.889925] registered taskstats version 1
    [    0.894187] Loading compiled-in X.509 certificates
    [    0.906885] ti-sci 44083000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.1.6--v10.01.06 (Fiery Fox)')
    [    0.982617] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.989127] pca953x 1-0021: supply vcc not found, using dummy regulator
    [    0.995968] pca953x 1-0021: using no AI
    [    1.021634] pca953x 1-0020: supply vcc not found, using dummy regulator
    [    1.028453] pca953x 1-0020: using no AI
    [    1.033014] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    1.039839] pca953x 1-0022: using AI
    [    1.044119] omap_i2c 2000000.i2c: bus 1 rev0.12 at 400 kHz
    [    1.050287] pca953x 2-0020: supply vcc not found, using dummy regulator
    [    1.057119] pca953x 2-0020: using no AI
    [    1.073519] omap_i2c 2010000.i2c: bus 2 rev0.12 at 400 kHz
    [    1.079238] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 137 domain created
    [    1.087768] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 131 domain created
    [    1.097100] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 213 domain created
    [    1.105700] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 209 created
    [    1.115751] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,32] sci-dev-id:235
    [    1.125644] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.132404] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.143064] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[120,200] sci-dev-id:211
    [    1.153219] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.159979] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.168123] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 267, base_baud = 6000000) is a 8250
    [    1.177944] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 268, base_baud = 3000000) is a 8250
    [    1.186799] printk: console [ttyS2] enabled
    [    1.186799] printk: console [ttyS2] enabled
    [    1.195245] printk: bootconsole [ns16550a0] disabled
    [    1.195245] printk: bootconsole [ns16550a0] disabled
    [    1.209861] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 269, base_baud = 3000000) is a 8250
    [    1.219892] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.265202] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.275176] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.283452] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.296303] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.303511] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.309719] pps pps0: new PPS source ptp0
    [    1.313876] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1
    [    1.324298] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [    1.333313] mmc0: CQHCI version 5.10
    [    1.361249] tps6594 0-0048: error -EREMOTEIO: Failed to set PMIC state
    [    1.367813] tps6594: probe of 0-0048 failed with error -121
    [    1.373557] tps6594 0-004c: error -EREMOTEIO: Failed to set PMIC state
    [    1.375799] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    1.380155] tps6594: probe of 0-004c failed with error -121
    [    1.394134] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    1.401641] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    1.409782] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    1.417920] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    1.503814] mmc0: Command Queue Engine enabled
    [    1.508266] mmc0: new HS400 MMC card at address 0001
    [    1.513596] mmcblk0: mmc0:0001 G1M15L 29.6 GiB
    [    1.519105] mmcblk0boot0: mmc0:0001 G1M15L 31.5 MiB
    [    1.524775] mmcblk0boot1: mmc0:0001 G1M15L 31.5 MiB
    [    1.530355] mmcblk0rpmb: mmc0:0001 G1M15L 4.00 MiB, chardev (239:0)
    [    1.641380] j721e-pcie 2910000.pcie: Link up
    [    1.645972] j721e-pcie 2910000.pcie: PCI host bridge to bus 0000:00
    [    1.652241] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    1.657716] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x18001000-0x18010fff])
    [    1.667176] pci_bus 0000:00: root bus resource [mem 0x18011000-0x1fffffff]
    [    1.674055] pci 0000:00:00.0: [104c:b00f] type 01 class 0x060400
    [    1.680146] pci 0000:00:00.0: supports D1
    [    1.684147] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    1.689898] pci 0000:00:00.0: reg 0x224: [mem 0x00000000-0x003fffff 64bit]
    [    1.696758] pci 0000:00:00.0: VF(n) BAR0 space: [mem 0x00000000-0x00ffffff 64bit] (contains BAR0 for 4 VFs)
    [    1.707867] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    1.715958] pci 0000:01:00.0: [2646:501d] type 00 class 0x010802
    [    1.721996] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
    [    1.729066] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
    [    1.735306] pci 0000:01:00.0: 15.752 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x2 link at 0000:00:00.0 (capable of 63.012 Gb/s with 16.0 GT/s PCIe x4 link)
    [    1.761257] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
    [    1.767874] pci 0000:00:00.0: BAR 7: assigned [mem 0x18400000-0x193fffff 64bit]
    [    1.775172] pci 0000:00:00.0: BAR 14: assigned [mem 0x18100000-0x181fffff]
    [    1.782032] pci 0000:01:00.0: BAR 0: assigned [mem 0x18100000-0x18103fff 64bit]
    [    1.789344] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    1.794298] pci 0000:00:00.0:   bridge window [mem 0x18100000-0x181fffff]
    [    1.801141] pcieport 0000:00:00.0: of_irq_parse_pci: failed with rc=-22
    [    1.807750] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
    [    1.814001] pcieport 0000:00:00.0: PME: Signaling with IRQ 440
    [    1.820005] pcieport 0000:00:00.0: AER: enabled with IRQ 440
    [    1.826604] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    1.836870] ti-udma 31150000.dma-controller: Channels: 50 (tchan: 25, rchan: 25, gp-rflow: 8)
    [    1.849731] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    1.854755] 7 fixed-partitions partitions found on MTD device 47040000.spi.0
    [    1.861791] Creating 7 MTD partitions on "47040000.spi.0":
    [    1.867269] 0x000000000000-0x000000100000 : "ospi.tiboot3"
    [    1.873435] 0x000000100000-0x000000300000 : "ospi.tispl"
    [    1.879318] 0x000000300000-0x000000700000 : "ospi.u-boot"
    [    1.885253] 0x000000700000-0x000000740000 : "ospi.env"
    [    1.890918] 0x000000740000-0x000000780000 : "ospi.env.backup"
    [    1.897176] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    1.903127] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    2.047098] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    2.093207] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    2.103190] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    2.111468] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    2.124330] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    2.131539] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    2.137725] pps pps0: new PPS source ptp1
    [    2.141877] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1
    [    2.158025] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    2.169102] mmc1: CQHCI version 5.10
    [    2.171633] clk: Disabling unused clocks
    [    2.188330] ALSA device list:
    [    2.191303]   No soundcards found.
    [    2.211782] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    2.219408] Waiting for root device PARTUUID=ef3acf85-02...
    [    2.272648] mmc1: new ultra high speed SDR104 SDXC card at address 5048
    [    2.279678] mmcblk1: mmc1:5048 SD64G 58.0 GiB
    [    2.286011]  mmcblk1: p1 p2
    [    2.498777] EXT4-fs (mmcblk1p2): recovery complete
    [    2.504987] EXT4-fs (mmcblk1p2): mounted filesystem 0a6ccc08-fb2c-43c5-8bd1-6ebd12498350 r/w with ordered data mode. Quota mode: none.
    [    2.517097] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    2.524582] devtmpfs: mounted
    [    2.529354] Freeing unused kernel memory: 2496K
    [    2.533972] Run /sbin/init as init process
    [    2.718763] systemd[1]: System time before build time, advancing clock.
    [    2.752675] NET: Registered PF_INET6 protocol family
    [    2.758246] Segment Routing with IPv6
    [    2.761924] In-situ OAM (IOAM) with IPv6
    [    2.789419] systemd[1]: systemd 255.4^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
    [    2.821233] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2023.10!
    
    [    2.840390] systemd[1]: Hostname set to <j7200-evm>.
    [    3.128454] systemd[1]: /usr/lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    3.192694] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    3.243047] systemd[1]: Queued start job for default target Graphical Interface.
    [    3.280501] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [    3.302519] systemd[1]: Created slice Slice /system/modprobe.
    [  OK  ] Created slice Slice /system/modprobe.
    [    3.326459] systemd[1]: Created slice Slice /system/serial-getty.
    [  OK  ] Created slice Slice /system/serial-getty.
    [    3.350157] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    3.373450] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    3.397372] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    3.421297] systemd[1]: Expecting device /dev/ttyS2...
             Expecting device /dev/ttyS2...
    [    3.437310] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Path Units.
    [    3.453264] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    3.473260] systemd[1]: Reached target Slice Units.
    [  OK  ] Reached target Slice Units.
    [    3.489260] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [    3.532348] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    3.553390] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    3.577369] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    3.597501] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    3.621924] systemd[1]: Listening on Journal Audit Socket.
    [  OK  ] Listening on Journal Audit Socket.
    [    3.645639] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    3.669641] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    3.689683] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    3.714806] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    3.737568] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    3.757559] systemd[1]: Listening on User Database Manager Socket.
    [  OK  ] Listening on User Database Manager Socket.
    [    3.801449] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    3.823677] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    3.849756] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    3.872608] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
    [    3.897242] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [    3.922747] systemd[1]: Starting Create List of Static Device Nodes...
             Starting Create List of Static Device Nodes    3.932156] systemd[1]: Starting Load Kernel Module configfs...
    m...
             Starting Load Kernel Module configfs...
    [    3.976879] systemd[1]: Starting Load Kernel Module drm...
             Starting Load Kernel Module drm...
    [    3.997900] systemd[1]: Starting Load Kernel Module fuse...
             Starting Load Kernel Module fuse...
    [    4.037834] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    4.048062] fuse: init (API version 7.39)
    [    4.057503] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
    [    4.074883] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    4.103957] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    4.133528] systemd[1]: Starting Generate network units from Kernel command line...
             Starting Generate network units from Kernel command line...
    [    4.150714] systemd-journald[111]: Collecting audit messages is enabled.
    [    4.161121] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems cryptodev: loading out-of-tree module taints kernel.
    [0m...
    [    4.189649] cryptodev: driver 1.14 loaded.
    [    4.202191] systemd[1]: Starting Coldplug All udev Devices...
             Starting Coldplug All udev Devices...
    [    4.223791] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    4.246648] systemd[1]: Started Journal Service.
    [    4.250172] EXT4-fs (mmcblk1p2): re-mounted 0a6ccc08-fb2c-43c5-8bd1-6ebd12498350 r/w. Quota mode: none.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory /tmp.
    [  OK  ] Finished Create List of Static Device Nodes.
    [  OK  ] Finished Load Kernel Module configfs.
    [  OK  ] Finished Load Kernel Module drm.
    [  OK  ] Finished Load Kernel Module fuse.
    [  OK  ] Finished Load Kernel Modules.
    [  OK  ] Finished Generate network units from Kernel command line.
    [  OK  ] Finished Remount Root and Kernel File Systems.
             Mounting FUSE Control File System...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
             Starting Apply Kernel Variables...
    [    4.644335] systemd-journald[111]: Received client request to flush runtime journal.
             Starting Create Static Device Nodes in /dev gracefully...
    [  OK  ] Finished Coldplug All udev Devices.
    [  OK  ] Mounted FUSE Control File System.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Finished Flush Journal to Persistent Storage.
    [  OK  ] Finished Apply Kernel Variables.
    [  OK  ] Finished Create Static Device Nodes in /dev gracefully.
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Finished Create Static Device Nodes in /dev.
    [  OK  ] Reached target Preparation for Local File Systems.
             Mounting /var/volatile...
    [    4.906830] audit: type=1334 audit(1709054766.184:2): prog-id=6 op=LOAD
    [    4.913699] audit: type=1334 audit(1709054766.192:3): prog-id=7 op=LOAD
             Starting Rule-based Manager for Device Events and Files...
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save OS Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Finished Load/Save OS Random Seed.
    [    5.067727] audit: type=1334 audit(1709054766.344:4): prog-id=8 op=LOAD
    [    5.075199] audit: type=1334 audit(1709054766.352:5): prog-id=9 op=LOAD
    [    5.081877] audit: type=1334 audit(1709054766.352:6): prog-id=10 op=LOAD
             Starting User Database Manager...
    [  OK  ] Finished Create Volatile Files and Directories.
    [    5.132266] audit: type=1334 audit(1709054766.408:7): prog-id=11 op=LOAD
             Starting Network Name Resolution...
    [    5.172742] audit: type=1334 audit(1709054766.448:8): prog-id=12 op=LOAD
             Starting Network Time Synchronization...
             Starting Record System Boot/Shutdown in UTMP...
    [  OK  ] Started User Database Manager.
    [  OK  ] Finished Record System Boot/Shutdown in UTMP.
    [  OK  ] Started Rule-based Manager for Device Events and Files.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Found device /dev/ttyS2.
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Reached target Timer Units.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Docker Socket for the API...
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on PC/SC Smart Card Daemon Activation Socket.
             Starting Weston socket...
    [    5.755696] audit: type=1334 audit(1709054767.032:9): prog-id=13 op=LOAD
             Starting D-Bus System Message Bus...
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Listening on Weston socket.
    [  OK  ] Reached target Socket Units.
    [  OK  ] Finished Reboot and dump vmcore via kexec.
    [  OK  ] Started D-Bus System Message Bus.
    [    6.005097] dbus-broker-lau[286]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Job spooling tools.
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started Periodic Command Scheduler.
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.
             Starting Telephony service...
             Starting Expand the rootfs partiti…to full size of the boot device....
    [  OK  ] Started     6.252265] audit: type=1334 audit(1709054767.528:10): prog-id=14 op=LOAD
    [    6.265290] audit: type=1334 audit(1709054767.544:11): prog-id=15 op=LOAD
    
    [    6.277261] audit: type=1334 audit(1709054767.552:12): prog-id=16 op=LOAD
             Starting User Login Management...
             Starting Telnet Server...
    [  OK  ] Finished IPv6 Packet Filtering Framework.
    [  OK  ] Finished IPv4 Packet Filtering Framework.
    [  OK  ] Reached target Preparation for Netw[    6.378114] audit: type=1334 audit(1709054767.656:13): prog-id=17 op=LOAD
    ork.
             Starting Network Configuration...
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Finished Telnet Server.
    [  OK  ] Started Telephony service.
    [  OK  ] Started User Login Management.
    [    6.669444] Bluetooth: Core ver 2.22
    [    6.673127] NET: Registered PF_BLUETOOTH protocol family
    [    6.684508] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    6.686571] Bluetooth: HCI device and connection manager initialized
    [    6.712904] Bluetooth: HCI socket layer initialized
    [    6.718023] Bluetooth: L2CAP socket layer initialized
    [    6.723682] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    6.731872] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    6.739230] Bluetooth: SCO socket layer initialized
    [  OK  ] Finished Expand the rootfs partition to full size of the boot device..
    [  OK  ] Started Network Configuration.
    [  OK  ] Reached target Network.
             Starting Enable and configure wl18xx bluetooth stack...
    [    6.922736] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [    6.939460] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    
    [    6.964176] CAN device driver interface
             Starting LLDP daemon...
    [  OK  ] Started Netperf Benchmark Server.
             Starting Simple Network Management Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [  OK  ] Finished Enable and configure wl18xx bluetooth stack.
    [  OK  ] Finished Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting Weston, a Wayland compositor, as a system service...
    [    7.257059] ti-udma 285c0000.dma-controller: chan1: is running!
    [    7.257595] m_can_platform 2701000.can: m_can device registered (irq=530, version=32)
    [    7.260809] m_can_platform 40528000.can: m_can device registered (irq=531, version=32)
    [    7.265523] m_can_platform 40568000.can: m_can device registered (irq=533, version=32)
    [    7.327981] at24 0-0050: supply vcc not found, using dummy regulator
    [    7.337696] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
    [    7.356023] k3_r5_rproc bus@100000:bus@28380000:r5fss@41000000: k3_r5_cluster_rproc_init failed, ret = -517
    [  OK  ] Started LLDP daemon.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [    7.415291] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc8900
    [    7.440661] pcieport 0000:00:00.0: of_irq_parse_pci: failed with rc=-22
    [    7.454578] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc8900
    [    7.464000] nvme nvme0: pci function 0000:01:00.0
    [    7.468826] nvme 0000:01:00.0: enabling device (0000 -> 0002)
    [    7.481335] remoteproc remoteproc0: releasing 41000000.r5f
    [    7.503467] nvme nvme0: allocated 64 MiB host memory buffer.
    [    7.512611] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    7.524606] platform 41000000.r5f: configured R5F for IPC-only mode
    [    7.534154] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [    7.548581] remoteproc remoteproc0: 41000000.r5f is available
    [    7.556857] remoteproc remoteproc0: attaching to 41000000.r5f
    [    7.564287] gpio-mux mux-controller-0: 2-way mux-controller registered
    [    7.571142] rproc-virtio rproc-virtio.1.auto: assigned reserved memory node r5f-dma-memory@a0000000
    [    7.580868] platform 5c00000.r5f: configured R5F for IPC-only mode
    [    7.587366] gpio-mux mux-controller-1: 2-way mux-controller registered
    [    7.587608] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    7.594794] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [    7.599440] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    7.607942] remoteproc remoteproc1: 5c00000.r5f is available
    [    7.614967] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    7.620629] remoteproc remoteproc1: attaching to 5c00000.r5f
    [    7.633545] rproc-virtio rproc-virtio.2.auto: assigned reserved memory node r5f-dma-memory@a2000000
    [    7.634120] rproc-virtio rproc-virtio.1.auto: registered virtio0 (type 7)
    [    7.643386] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    7.649473] virtio_rpmsg_bus virtio1: creating channel ti.ethfw.ethdevice addr 0x22
    [    7.657344] rproc-virtio rproc-virtio.2.auto: registered virtio1 (type 7)
    [    7.662650] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x15
    [    7.669407] remoteproc remoteproc1: remote processor 5c00000.r5f is now attached
    [    7.687013] remoteproc remoteproc0: remote processor 41000000.r5f is now attached
    [    7.697828] platform 5d00000.r5f: configured R5F for IPC-only mode
    [    7.704890] nvme nvme0: 2/0/0 default/read/poll queues
    [    7.721861] m_can_platform 2731000.can: m_can device registered (irq=540, version=32)
    [    7.730160] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
    [    7.739202] remoteproc remoteproc2: 5d00000.r5f is available
    [    7.745616] remoteproc remoteproc2: attaching to 5d00000.r5f
    [    7.779011] rproc-virtio rproc-virtio.3.auto: assigned reserved memory node r5f-dma-memory@a3000000
    [    7.806377] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    7.811978] rproc-virtio rproc-virtio.3.auto: registered virtio2 (type 7)
    [    7.818737] virtio_rpmsg_bus virtio2: creating channel ti.ipc4.ping-pong addr 0xd
    [    7.818879] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xe
    [    7.826849] remoteproc remoteproc2: remote processor 5d00000.r5f is now attached
    [  OK  ] Created slice Slice /system/tee-supplicant.
    [  OK  ] Started TEE Supplicant on teepriv0.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
             Starting Virtual Console Setup...
    [  OK  ] Created slice User Slice of UID 1000.
             Starting User Runtime Directory /run/user/1000...
    [    8.031301] m_can_platform 40528000.can mcu_mcan0: renamed from can1
    [  OK  ] Finished User Runtime Directory /run/user/1000.
             Starting User Manager for UID 1000...
    [    8.121640] m_can_platform 2701000.can main_mcan0: renamed from can0
    [    8.145009] audit: type=1006 audit(1709054769.420:14): pid=512 uid=0 subj=kernel old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
    [    8.170658] audit: type=1300 audit(1709054769.420:14): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=fffffbb9e3d8 a2=4 a3=1 items=0 ppid=1 pid=512 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" subj=kernel key=(null)
    [    8.189725] m_can_platform 40568000.can mcu_mcan1: renamed from can2
    [    8.204856] audit: type=1327 audit(1709054769.420:14): proctitle="(systemd)"
    [  OK  ] Finished Virtual Console Setup.
    [    8.323219] m_can_platform 2731000.can main_mcan3: renamed from can3
    [    8.406402] ti_cpsw_proxy_client virtio1.ti.ethfw.ethdevice.-1.34: 1 Virtual Switch Port(s), 1 Virtual MAC Only Port(s)
    [    8.419702] ti_cpsw_proxy_client virtio1.ti.ethfw.ethdevice.-1.34: Virt Port: 0, Type: Switch Port, Iface: eth1, Num TX: 2, Num RX: 1, Token: 0
    [    8.435573] ti_cpsw_proxy_client virtio1.ti.ethfw.ethdevice.-1.34: Virt Port: 4, Type: MAC Port, Iface: eth2, Num TX: 1, Num RX: 1, Token: 400
    [    8.626320] ti_cpsw_proxy_client virtio1.ti.ethfw.ethdevice.-1.34: started port 4 on interface eth2
    [    8.692037] ti_cpsw_proxy_client virtio1.ti.ethfw.ethdevice.-1.34: started port 0 on interface eth1
    [    8.712096] ti_cpsw_proxy_client virtio1.ti.ethfw.ethdevice.-1.34: 01:80:c2:00:00:0e is reserved for EthFw
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [  OK  ] Created slice Slice /system/systemd-fsck.
             Expecting device /dev/nvme0n1...
    [  OK  ] Found device KINGSTON SNV2S250G kingston-250g-1.
             Starting File System Check on /dev/nvme0n1...
    [  OK  ] Started User Manager for UID [    8.970335] audit: type=1006 audit(1709054770.248:15): pid=467 uid=0 subj=kernel old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
    1000.
    [  OK  ] Started Session c1 of U[    8.987461] audit: type=1300 audit(1709054770.248:15): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffcc6e3638 a2=4 a3=1 items=0 ppid=1 pid=467 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=2 comm="(weston)" exe="/usr/lib/systemd/systemd-executor" subj=kernel key=(null)
    ser weston.
             Expecting device /dev/mmcblk1p1...
    [  OK  ] Found device /dev/mmcblk1p1.
             Starting File System Check on /dev/mmcblk1p1...
    [FAILED] Failed to start Weston, a Wayland compositor, as a system service.
    See 'systemctl status weston.service' for details.
    [  OK  ] Finished File System Check on /dev/nvme0n1.
             Mounting /run/media/kingston-250g-1-nvme0n1...
    [    9.292081] EXT4-fs (nvme0n1): mounted filesystem 2335c232-731d-4105-84d7-0935c3a99b94 r/w with ordered data mode. Quota mode: none.
    [  OK  ] Mounted /run/media/kingston-250g-1-nvme0n1.
    [  OK  ] Finished File System Check on /dev/mmcblk1p1.
             Mounting /run/media/boot-mmcblk1p1...
    [  OK  ] Mounted /run/media/boot-mmcblk1p1.
    [  OK  ] Started containerd container runtime.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPL-3.0 packages:
            adwaita-icon-theme-symbolic
            autoconf
            bash-dev
            bash
            bc
            binutils
            cifs-utils
            coreutils-stdbuf
            coreutils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils-dev
            elfutils
            findutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            gettext
            glmark2
            gnu-config
            grub-common
            grub-editenv
            grub-efi
            gzip
            hidapi
            kbd-dev
            kbd-keymaps-pine
            less
            libasm1
            libatomic-dev
            libatomic1
            libbfd
            libdebuginfod1
            libdw1
            libelf1
            libgcc-s-dev
            libgcc1
            libgdbm-compat4
            libgdbm-dev
            libgdbm6
            libgettextlib
            libgettextsrc
            libgmp-dev
            libgmp10
            libgmpxx4
            libgnutls-dev
            libgnutls-openssl27
            libidn2-0
            libidn2-dev
            libmpc3
            libmpfr6
            libopcodes
            libqt5charts-examples
            libqt5charts-plugins
            libqt5charts-qmlplugins
            libqt5charts5
            libqt5serialport-examples
            libqt5serialport-plugins
            libqt5serialport-qmlplugins
            libqt5serialport5
            libqt5svg-examples
            libqt5svg-plugins
            libqt5svg-qmlplugins
            libqt5svg5
            libqt5virtualkeyboard-plugins
            libqt5virtualkeyboard-qmlplugins
            libqt5virtualkeyboard5
            libreadline-dev
            libreadline8
            libstdc++-dev
            libstdc++6
            libtasn1-dev
            libunistring-dev
            libunistring5
            m4
            make
            nettle-dev
            nettle
            parted
            piglit
            qt3d-plugins
            qt3d-qmlplugins
            qt3d
            qtbase-examples
            qtbase-plugins
            qtbase-qmlplugins
            qtbase
            qtconnectivity-plugins
            qtconnectivity-qmlplugins
            qtconnectivity
            qtdeclarative-plugins
            qtdeclarative-qmlplugins
            qtdeclarative-tools
            qtdeclarative
            qtgraphicaleffects-qmlplugins
            qtlocation-examples
            qtlocation-plugins
            qtlocation-qmlplugins
            qtlocation
            qtmultimedia-examples
            qtmultimedia-plugins
            qtmultimedia-qmlplugins
            qtmultimedia
            qtquics-qmlplugins.control
            qtquics2-plugins.control
            qtquics2-qmlplugins.control
            qtquics2.control
            qtscript-examples
            qtscript-plugins
            qtscript-qmlplugins
            qtscript
            qtwayland-examples
            qtwayland-plugins
            qtwayland-qmlplugins
            qtwayland
            tar
            which
    
    If you do not wish to distribute GPL-3.0 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Finished Print notice about GPLv3 packages.
    [  OK  ] Reached target Multi-User System.
    [  OK  ] Reached target Graphical Interface.
             Starting Record Runlevel Change in UTMP...
    [  OK  ] Finished Record Runlevel Change in UTMP.
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project j7200-evm ttyS2
    
    Arago 2023.10 j7200-evm ttyS2
    
    j7200-evm login: [   18.569784] platform 24c0000.timer: deferred probe pending
    [   18.575270] platform 2830000.serial: deferred probe pending
    root
    [   39.294909] kauditd_printk_skb: 1 callbacks suppressed
    [   39.294917] audit: type=1006 audit(1709054800.572:16): pid=1047 uid=0 subj=kernel old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res=1
    [   39.313876] audit: type=1300 audit(1709054800.572:16): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffd83315f8 a2=1 a3=1 items=0 ppid=1 pid=1047 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" subj=kernel key=(null)
    [   39.341741] audit: type=1327 audit(1709054800.572:16): proctitle="(systemd)"
    [   39.349385] audit: type=1334 audit(1709054800.580:17): prog-id=18 op=LOAD
    [   39.356297] audit: type=1300 audit(1709054800.580:17): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffd1a7c318 a2=90 a3=0 items=0 ppid=1 pid=1047 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/usr/lib/systemd/systemd" subj=kernel key=(null)
    [   39.383246] audit: type=1327 audit(1709054800.580:17): proctitle="(systemd)"
    [   39.390370] audit: type=1334 audit(1709054800.592:18): prog-id=18 op=UNLOAD
    [   39.397435] audit: type=1300 audit(1709054800.592:18): arch=c00000b7 syscall=57 success=yes exit=0 a0=8 a1=1 a2=0 a3=ffff9c672c60 items=0 ppid=1 pid=1047 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/usr/lib/systemd/systemd" subj=kernel key=(null)
    [   39.424194] audit: type=1327 audit(1709054800.592:18): proctitle="(systemd)"
    [   39.431302] audit: type=1334 audit(1709054800.592:19): prog-id=19 op=LOAD
    root@j7200-evm:~# uname -a
    Linux j7200-evm 6.6.44-ti-01478-g541c20281af7-dirty #1 SMP PREEMPT Thu Nov 14 19:20:24 UTC 2024 aarch64 GNU/Linux
    root@j7200-evm:~# lspci
    00:00.0 PCI bridge: Texas Instruments Device b00f
    01:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. NV2 NVMe SSD TC2200 (DRAM-less)
    root@j7200-evm:~#
    
    

    Regards,

    Takuma

  • It might be that the DIP switch that controls PORz signal behavior is set wrong. Can they check if switch 3.6 is OFF position? Mine is set like below:

    Regards,

    Takuma

  • Takuma, 

    Thanks for the try to confirm this and provide log for comparing.

    On the SW3 setting, we checked the setting for EP mode and it shows SW3.5 and SW3.6 should be set to "1" so customer tried both "00" and "11" but not seeing difference. 

    For End Point mode, PCIE_1L_MODE_SEL (switch 5) and PCIE_2L_MODE_SEL (switch 6) in sw3 should be set to ‘1’.

    We will compare your setups and check what could be different or missing. 

    BR, Rich

  • Hi Rich,

    Understood. If a PCIe EP device is connected to the SoC acting as a RC (for example, plugging in a SSD card) then please make sure dip switches are in RC mode. 

    Regards,

    Takuma

  • Takuma, 

    I have confirmed the problem coming from the PCIe card generation support. 

    I use a GEN5 NVMe SSD also M.2 type module with PCIe adaptor and I have no problem seeing the device with pre-build image. 

    GEN 5 can backward compatible with GEN2 and GEN3 depend on the PCIe RC support specification during negotiating. 

    Customer uses GEN 1 Ethernet card and GEN1 seems not support in our driver so lspci will not show GEN1 device on list.

    I asked customer to find GEN 2 and GEN 3 PCIe cards and these cards can be scanned without problem. 

    This means our current RC doesn't support GEN1 in our support list or there is bug on it since negotiation will be happen in 2.5G clock speed. 

    Please check this and extend support for GEN 1 cards. 

    BR, Rich 

  • Hi Rich,

    Try below patch out:

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/0001_2D00_Force_2D00_max_2D00_speed_2D00_to_2D00_PCIe_2D00_gen_2D00_1_2D00_speed_2D00_for_2D00_PCIe_2D00_control.patch

    What the above patch does is force GEN1 speed for J7200. Below are the lspci -vvv logs that shows a PCIe NVMe SSD card that is capable of GEN4 speeds linking down to GEN1 speed.

    root@j7200-evm:~# lspci -vvv
    00:00.0 PCI bridge: Texas Instruments Device b00f (prog-if 00 [Normal decode])
            Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
            Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
            Latency: 0
            Interrupt: pin A routed to IRQ 440
            Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
            I/O behind bridge: 0000f000-00000fff [disabled] [32-bit]
            Memory behind bridge: 18100000-181fffff [size=1M] [32-bit]
            Prefetchable memory behind bridge: 00000000fff00000-00000000000fffff [disabled] [64-bit]
            Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
            BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B-
                    PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
            Capabilities: [80] Power Management version 3
                    Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0+,D1+,D2-,D3hot+,D3cold-)
                    Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
            Capabilities: [90] MSI: Enable+ Count=1/1 Maskable+ 64bit+
                    Address: 0000000001000000  Data: 0000
                    Masking: 00000000  Pending: 00000000
            Capabilities: [b0] MSI-X: Enable- Count=1 Masked-
                    Vector table: BAR=0 offset=00000000
                    PBA: BAR=0 offset=00000008
            Capabilities: [c0] Express (v2) Root Port (Slot+), IntMsgNum 0
                    DevCap: MaxPayload 256 bytes, PhantFunc 0
                            ExtTag- RBE+
                    DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+
                            RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                            MaxPayload 128 bytes, MaxReadReq 512 bytes
                    DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend-
                    LnkCap: Port #0, Speed 2.5GT/s, Width x2, ASPM L1, Exit Latency L1 <8us
                            ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
                    LnkCtl: ASPM Disabled; RCB 64 bytes, LnkDisable- CommClk-
                            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                    LnkSta: Speed 2.5GT/s, Width x2
                            TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
                    SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
                            Slot #0, PowerLimit 0W; Interlock- NoCompl-
                    SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
                            Control: AttnInd Off, PwrInd Off, Power+ Interlock-
                    SltSta: Status: AttnBtn- PowerFlt- MRL+ CmdCplt- PresDet- Interlock-
                            Changed: MRL- PresDet- LinkState-
                    RootCap: CRSVisible-
                    RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna+ CRSVisible-
                    RootSta: PME ReqID 0000, PMEStatus- PMEPending-
                    DevCap2: Completion Timeout: Range B, TimeoutDis+ NROPrPrP- LTR+
                             10BitTagComp+ 10BitTagReq- OBFF Via message, ExtFmt+ EETLPPrefix+, MaxEETLPPrefixes 1
                             EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
                             FRS- LN System CLS Not Supported, TPHComp- ExtTPHComp- ARIFwd-
                             AtomicOpsCap: Routing- 32bit- 64bit- 128bitCAS-
                    DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- ARIFwd-
                             AtomicOpsCtl: ReqEn- EgressBlck-
                             IDOReq- IDOCompl- LTR+ EmergencyPowerReductionReq-
                             10BitTagReq- OBFF Disabled, EETLPPrefixBlk-
                    LnkCap2: Supported Link Speeds: 2.5GT/s, Crosslink- Retimer- 2Retimers- DRS-
                    LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-
                             Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                             Compliance Preset/De-emphasis: -6dB de-emphasis, 0dB preshoot
                    LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1-
                             EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
                             Retimer- 2Retimers- CrosslinkRes: unsupported
            Capabilities: [100 v2] Advanced Error Reporting
                    UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                    UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                    UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                    CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
                    CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
                    AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
                            MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
                    HeaderLog: 00000000 00000000 00000000 00000000
                    RootCmd: CERptEn+ NFERptEn+ FERptEn+
                    RootSta: CERcvd- MultCERcvd- UERcvd- MultUERcvd-
                             FirstFatal- NonFatalMsg- FatalMsg- IntMsgNum 0
                    ErrorSrc: ERR_COR: 0000 ERR_FATAL/NONFATAL: 0000
            Capabilities: [140 v1] Alternative Routing-ID Interpretation (ARI)
                    ARICap: MFVC- ACS-, Next Function: 1
                    ARICtl: MFVC- ACS-, Function Group: 0
            Capabilities: [150 v1] Device Serial Number 00-00-00-00-00-00-00-00
            Capabilities: [160 v1] Power Budgeting <?>
            Capabilities: [1b8 v1] Latency Tolerance Reporting
                    Max snoop latency: 0ns
                    Max no snoop latency: 0ns
            Capabilities: [1c0 v1] Dynamic Power Allocation <?>
            Capabilities: [200 v1] Single Root I/O Virtualization (SR-IOV)
                    IOVCap: Migration- 10BitTagReq- IntMsgNum 0
                    IOVCtl: Enable- Migration- Interrupt- MSE- ARIHierarchy- 10BitTagReq-
                    IOVSta: Migration-
                    Initial VFs: 4, Total VFs: 4, Number of VFs: 0, Function Dependency Link: 00
                    VF offset: 6, stride: 1, Device ID: 0100
                    Supported Page Size: 00000553, System Page Size: 00000001
                    Region 0: Memory at 0000000018400000 (64-bit, non-prefetchable)
                    VF Migration: offset: 00000000, BIR: 0
            Capabilities: [300 v1] Secondary PCI Express
                    LnkCtl3: LnkEquIntrruptEn- PerformEqu-
                    LaneErrStat: 0
            Capabilities: [400 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
            Capabilities: [440 v1] Process Address Space ID (PASID)
                    PASIDCap: Exec+ Priv+, Max PASID Width: 14
                    PASIDCtl: Enable+ Exec+ Priv+
            Capabilities: [4c0 v1] Virtual Channel
                    Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
                    Arb:    Fixed- WRR32- WRR64- WRR128-
                    Ctrl:   ArbSelect=Fixed
                    Status: InProgress-
                    VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                            Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                            Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
                            Status: NegoPending- InProgress-
                    VC1:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                            Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                            Ctrl:   Enable- ID=1 ArbSelect=Fixed TC/VC=00
                            Status: NegoPending- InProgress-
                    VC2:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                            Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                            Ctrl:   Enable- ID=2 ArbSelect=Fixed TC/VC=00
                            Status: NegoPending- InProgress-
                    VC3:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                            Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                            Ctrl:   Enable- ID=3 ArbSelect=Fixed TC/VC=00
                            Status: NegoPending- InProgress-
            Capabilities: [5c0 v1] Address Translation Service (ATS)
                    ATSCap: Invalidate Queue Depth: 01
                    ATSCtl: Enable-, Smallest Translation Unit: 00
            Capabilities: [640 v1] Page Request Interface (PRI)
                    PRICtl: Enable- Reset-
                    PRISta: RF- UPRGI- Stopped+ PASID+
                    Page Request Capacity: 00000001, Page Request Allocation: 00000000
            Capabilities: [900 v1] L1 PM Substates
                    L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
                              PortCommonModeRestoreTime=255us PortTPowerOnTime=26us
                    L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
                               T_CommonMode=255us LTR1.2_Threshold=461824ns
                    L1SubCtl2: T_PwrOn=200us
            Capabilities: [a20 v1] Precision Time Measurement
                    PTMCap: Requester+ Responder- Root-
                    PTMClockGranularity: Unimplemented
                    PTMControl: Enabled- RootSelected-
                    PTMEffectiveGranularity: Unknown
            Kernel driver in use: pcieport
            Kernel modules: pci_endpoint_test
    
    01:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. NV2 NVMe SSD TC2200 (DRAM-less) (prog-if 02 [NVM Express])
            Subsystem: Kingston Technology Company, Inc. NV2 NVMe SSD TC2200
            Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
            Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
            Latency: 0
            Interrupt: pin A routed to IRQ 0
            Region 0: Memory at 18100000 (64-bit, non-prefetchable) [size=16K]
            Capabilities: [40] Power Management version 3
                    Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                    Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
            Capabilities: [50] MSI: Enable- Count=1/32 Maskable- 64bit+
                    Address: 0000000000000000  Data: 0000
            Capabilities: [70] Express (v2) Endpoint, IntMsgNum 0
                    DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited
                            ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset+ SlotPowerLimit 0W
                    DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+
                            RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop- FLReset-
                            MaxPayload 128 bytes, MaxReadReq 512 bytes
                    DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend-
                    LnkCap: Port #0, Speed 16GT/s, Width x4, ASPM L1, Exit Latency L1 <64us
                            ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp+
                    LnkCtl: ASPM Disabled; RCB 64 bytes, LnkDisable- CommClk-
                            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                    LnkSta: Speed 2.5GT/s (downgraded), Width x2 (downgraded)
                            TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
                    DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR+
                             10BitTagComp+ 10BitTagReq- OBFF Via message/WAKE#, ExtFmt- EETLPPrefix-
                             EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
                             FRS- TPHComp- ExtTPHComp-
                             AtomicOpsCap: 32bit- 64bit- 128bitCAS-
                    DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
                             AtomicOpsCtl: ReqEn-
                             IDOReq- IDOCompl- LTR+ EmergencyPowerReductionReq-
                             10BitTagReq- OBFF Disabled, EETLPPrefixBlk-
                    LnkCap2: Supported Link Speeds: 2.5-16GT/s, Crosslink- Retimer+ 2Retimers+ DRS+
                    LnkCtl2: Target Link Speed: 16GT/s, EnterCompliance- SpeedDis-
                             Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                             Compliance Preset/De-emphasis: -6dB de-emphasis, 0dB preshoot
                    LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1-
                             EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest-
                             Retimer- 2Retimers- CrosslinkRes: Upstream Port
            Capabilities: [b0] MSI-X: Enable+ Count=32 Masked-
                    Vector table: BAR=0 offset=00002000
                    PBA: BAR=0 offset=00003000
            Capabilities: [100 v2] Advanced Error Reporting
                    UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                    UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                    UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                    CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr-
                    CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
                    AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
                            MultHdrRecCap+ MultHdrRecEn- TLPPfxPres- HdrLogCap-
                    HeaderLog: 00000000 00000000 00000000 00000000
            Capabilities: [148 v1] Secondary PCI Express
                    LnkCtl3: LnkEquIntrruptEn- PerformEqu-
                    LaneErrStat: 0
            Capabilities: [168 v1] Physical Layer 16.0 GT/s <?>
            Capabilities: [18c v1] Lane Margining at the Receiver
                    PortCap: Uses Driver-
                    PortSta: MargReady- MargSoftReady-
            Capabilities: [1a4 v1] Latency Tolerance Reporting
                    Max snoop latency: 5242880ns
                    Max no snoop latency: 5242880ns
            Capabilities: [1ac v1] L1 PM Substates
                    L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+
                              PortCommonModeRestoreTime=90us PortTPowerOnTime=200us
                    L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1-
                               T_CommonMode=0us LTR1.2_Threshold=461824ns
                    L1SubCtl2: T_PwrOn=200us
            Capabilities: [1bc v1] Vendor Specific Information: ID=0002 Rev=4 Len=100 <?>
            Capabilities: [2bc v1] Vendor Specific Information: ID=0001 Rev=1 Len=038 <?>
            Capabilities: [2f4 v1] Data Link Feature <?>
            Kernel driver in use: nvme
            Kernel modules: nvme
    
    root@j7200-evm:~#
    

    As for some background of the experiment, I do not have a card that only goes up to GEN1 speeds, so as an alternative approach I tried to force the PCIe controller to link up to GEN1 speed. 

    I found the driver always advertises the max speed to be GEN2 or above. This should not be an issue, since it is only the max speed that is hardcoded and PCIe should be able to negotiate during link training by matching the lesser capability. But, I was not able to force GEN1 speeds due to this hardcoding. What the patch does is to remove the hardcoding for always advertising GEN2 or above in case the negotiation was somehow failing.

    Regards,

    Takuma