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.

TDA4VMXEVM: PCIe bus enumeration

Part Number: TDA4VMXEVM

I'm trying to reproduce the lspci output described in section 3.2.2.10 of the "Processor SDK Linux Automotive" documentation. I've plugged in a PCIe x1 Ethernet adapter and then powered on to boot the prebuilt SD card image (version 06_02_00). DIP switches SW3.5 and SW3.6 are set to '1' to operate the board in Root Complex mode. Although the RC should enumerate any off-the-shelf PCIe cards, lspci only shows the PCI bridges:

root@j7-evm:~# lspci
0000:00:00.0 PCI bridge: Texas Instruments Device b00d
0001:00:00.0 PCI bridge: Texas Instruments Device b00d
0002:00:00.0 PCI bridge: Texas Instruments Device b00d

I've verified that the Ethernet adapter runs fine in a normal PC. As this test is very basic I suspect an issue with my evaluation board instance. Could you please verify that the prebuilt Linux image correctly enumerates the bus without any further configuration as described in the documentation?

Regards,
Tom

  • Hi,

    Can you probe the PRESET# line and see if the line toggles? Since you are using pre-built image, I assume all the modules are built-in properly. But just to confirm, can you provide the .config (zcat /proc/config.gz > running.config)? Also it will be helpful if you can provide the complete kernel log.

    Regards

    Dhaval Khandla

  • Hi Dhaval,

    Setting both switches 5 (PCIe_1L_MODE_SEL) and 6 (PCIe_2L_MODE_SEL) of SW3 to '1' results in PERST# stuck low. However, when setting the switches to '0', the PERST# signals transition from low to high. There seems to be a mistake in the SDK documentation stating "For End Point mode, PCIE_1L_MODE_SEL (switch 5) and PCIE_2L_MODE_SEL (switch 6) should be set to ‘0’." This contradicts the remark in the schematic (correctly) stating "PCIe 1-Lane Mode Select ('0' - Root Complex, '1' - End Point)".

    Please find attached the running kernel configuration and the complete kernel log as requested. Switches 5 and 6 of SW have been set to '0'.

    Regards,
    Tom

    61860.config.txt

    root@j7-evm:~# dmesg
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 4.19.94-g5a23bc00e0 (oe-user@oe-host) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 SMP PREEMPT Mon Feb 17 09:01:06 UTC 2020
    [    0.000000] Machine model: Texas Instruments K3 J721E SoC
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] bootconsole [ns16550a0] enabled
    [    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] 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] 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] 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] 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] 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] 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] 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] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 512 MiB at 0x00000000c0000000
    [    0.000000] On node 0 totalpages: 62400
    [    0.000000]   DMA32 zone: 29 pages used for memmap
    [    0.000000]   DMA32 zone: 0 pages reserved
    [    0.000000]   DMA32 zone: 29632 pages, LIFO batch:3
    [    0.000000]   Normal zone: 32 pages used for memmap
    [    0.000000]   Normal zone: 32768 pages, LIFO batch:3
    [    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.1
    [    0.000000] random: get_random_bytes called from start_kernel+0x94/0x3e4 with crng_init=0
    [    0.000000] percpu: Embedded 2 pages/cpu s48536 r8192 d74344 u131072
    [    0.000000] pcpu-alloc: s48536 r8192 d74344 u131072 alloc=2*65536
    [    0.000000] pcpu-alloc: [0] 0 [0] 1
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: enabling workaround for EL2 vector hardening
    [    0.000000] Speculative Store Bypass Disable mitigation not required
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 62339
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),128k(ospi.env),128k(ospi.env.backup),1m(ospi.sysfw),-@8m(ospi.rootfs);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),1m(hbmc.sysfw),-@8m(hbmc.rootfs) root=PARTUUID=09eeda39-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes)
    [    0.000000] software IO TLB: mapped [mem 0xf9da0000-0xfdda0000] (64MB)
    [    0.000000] Memory: 3377664K/3993600K available (8510K kernel code, 738K rwdata, 3136K rodata, 576K init, 641K bss, 91648K reserved, 524288K 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 restricting CPUs from NR_CPUS=64 to nr_cpu_ids=2.
    [    0.000000]  Tasks RCU enabled.
    [    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: Distributor has no Range Selector support
    [    0.000000] GICv3: no VLPI support, no direct LPI support
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @8c0800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GIC: using LPI property table @0x00000008c00a0000
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] CPU0: using LPI pending table @0x00000008c00b0000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000001] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008349] Console: colour dummy device 80x25
    [    0.012901] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023569] pid_max: default: 32768 minimum: 301
    [    0.028310] Security Framework initialized
    [    0.032513] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes)
    [    0.039367] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes)
    [    0.070698] ASID allocator initialised with 32768 entries
    [    0.084225] rcu: Hierarchical SRCU implementation.
    [    0.097168] Platform MSI: gic-its@1820000 domain created
    [    0.102701] PCI/MSI: /interconnect@100000/interrupt-controller@1800000/gic-its@1820000 domain created
    [    0.120137] smp: Bringing up secondary CPUs ...
    [    0.157039] Detected PIPT I-cache on CPU1
    [    0.157054] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.157083] CPU1: using LPI pending table @0x00000008c0310000
    [    0.157105] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.157146] smp: Brought up 1 node, 2 CPUs
    [    0.184982] SMP: Total of 2 processors activated.
    [    0.189792] CPU features: detected: GIC system register CPU interface
    [    0.196373] CPU features: detected: 32-bit EL0 Support
    [    0.201851] CPU: All CPU(s) started at EL2
    [    0.206038] alternatives: patching kernel code
    [    0.211017] devtmpfs: initialized
    [    0.218787] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.228750] futex hash table entries: 512 (order: -1, 32768 bytes)
    [    0.235462] pinctrl core: initialized pinctrl subsystem
    [    0.241124] NET: Registered protocol family 16
    [    0.246007] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
    [    0.253570] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.262754] DMA: preallocated 256 KiB pool for atomic allocations
    [    0.276102] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.282954] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
    [    0.290336] cryptd: max_cpu_qlen set to 1000
    [    0.295186] vsys_3v3: supplied by evm_12v0
    [    0.299449] vsys_5v0: supplied by evm_12v0
    [    0.303987] SCSI subsystem initialized
    [    0.308046] media: Linux media interface: v0.10
    [    0.312686] videodev: Linux video capture interface: v2.00
    [    0.318301] pps_core: LinuxPPS API ver. 1 registered
    [    0.323373] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.332711] PTP clock support registered
    [    0.336724] EDAC MC: Ver: 3.0.0
    [    0.340533] Advanced Linux Sound Architecture Driver Initialized.
    [    0.347074] clocksource: Switched to clocksource arch_sys_counter
    [    0.353365] VFS: Disk quotas dquot_6.6.0
    [    0.357412] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
    [    0.366832] NET: Registered protocol family 2
    [    0.371540] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes)
    [    0.379590] TCP established hash table entries: 32768 (order: 2, 262144 bytes)
    [    0.387081] TCP bind hash table entries: 32768 (order: 3, 524288 bytes)
    [    0.394066] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.400796] UDP hash table entries: 2048 (order: 0, 65536 bytes)
    [    0.406975] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes)
    [    0.413644] NET: Registered protocol family 1
    [    0.418313] RPC: Registered named UNIX socket transport module.
    [    0.424366] RPC: Registered udp transport module.
    [    0.429169] RPC: Registered tcp transport module.
    [    0.433972] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.440554] PCI: CLS 0 bytes, default 64
    [    0.440792] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
    [    0.450477] Initialise system trusted keyrings
    [    0.455089] workingset: timestamp_bits=46 max_order=16 bucket_order=0
    [    0.463099] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.469247] NFS: Registering the id_resolver key type
    [    0.474415] Key type id_resolver registered
    [    0.478686] Key type id_legacy registered
    [    0.482783] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.489684] 9p: Installing v9fs 9p2000 file system support
    [    0.496821] Key type asymmetric registered
    [    0.501008] Asymmetric key parser 'x509' registered
    [    0.506010] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.513570] io scheduler noop registered
    [    0.517576] io scheduler deadline registered
    [    0.521976] io scheduler cfq registered (default)
    [    0.526782] io scheduler mq-deadline registered
    [    0.531409] io scheduler kyber registered
    [    0.536326] pinctrl-single 4301c000.pinmux: 94 pins, size 376
    [    0.542402] pinctrl-single 11c000.pinmux: 173 pins, size 692
    [    0.548537] pinctrl-single a40000.timesync_router: 512 pins, size 2048
    [    0.557506] ti-pat 31010000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.563923] ti-pat 31010000.pat: Failed to create 31010000.pat debugfs directory
    [    0.571597] ti-pat 31011000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.578009] ti-pat 31011000.pat: Failed to create 31011000.pat debugfs directory
    [    0.585650] ti-pat 31012000.pat: Found PAT Rev 1.0 with 16384 pages
    [    0.592064] ti-pat 31012000.pat: Failed to create 31012000.pat debugfs directory
    [    0.599706] ti-pat 31013000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.606028] ti-pat 31013000.pat: Failed to create 31013000.pat debugfs directory
    [    0.613670] ti-pat 31014000.pat: Found PAT Rev 1.0 with 2048 pages
    [    0.619992] ti-pat 31014000.pat: Failed to create 31014000.pat debugfs directory
    [    0.628878] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.640096] brd: module loaded
    [    0.645895] loop: module loaded
    [    0.650179] libphy: Fixed MDIO Bus: probed
    [    0.654515] tun: Universal TUN/TAP device driver, 1.6
    [    0.659905] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
    [    0.667912] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.673977] sky2: driver version 1.30
    [    0.678274] VFIO - User Level meta-driver version: 0.3
    [    0.683868] i2c /dev entries driver
    [    0.687864] sdhci: Secure Digital Host Controller Interface driver
    [    0.694180] sdhci: Copyright(c) Pierre Ossman
    [    0.698812] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.705047] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.711865] optee: probing for conduit method from DT.
    [    0.717128] optee: revision 3.7 (5208e5c1)
    [    0.717278] optee: initialized driver
    [    0.725903] NET: Registered protocol family 17
    [    0.730504] 9pnet: Installing 9P2000 support
    [    0.734881] Key type dns_resolver registered
    [    0.739432] registered taskstats version 1
    [    0.743616] Loading compiled-in X.509 certificates
    [    0.753056] ti-sci 44083000.dmsc: ABI: 2.9 (firmware rev 0x0013 '19.12.1-v2019.12a (Terrific Lla')
    [    0.777911] random: fast init done
    [    0.819969] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.825889] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.831843] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    0.837853] pca953x 3-0020: 3-0020 supply vcc not found, using dummy regulator
    [    0.845257] pca953x 3-0020: Linked as a consumer to regulator.0
    [    0.875611] pca953x 3-0022: 3-0022 supply vcc not found, using dummy regulator
    [    0.883010] pca953x 3-0022: Linked as a consumer to regulator.0
    [    0.889880] GPIO line 481 (MCASP/TRACE_MUX_S0) hogged as output/low
    [    0.896605] GPIO line 482 (MCASP/TRACE_MUX_S1) hogged as output/high
    [    0.903164] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    0.909170] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.915045] omap_i2c 2020000.i2c: bus 5 rev0.12 at 100 kHz
    [    0.921003] pca953x 6-0020: 6-0020 supply vcc not found, using dummy regulator
    [    0.928405] pca953x 6-0020: Linked as a consumer to regulator.0
    [    0.955738] GPIO line 464 (CODEC_RSTz) hogged as output/high
    [    0.961630] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
    [    0.967493] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
    [    0.973342] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
    [    0.979254] pca953x 9-0020: 9-0020 supply vcc not found, using dummy regulator
    [    0.986654] pca953x 9-0020: Linked as a consumer to regulator.0
    [    1.015498] omap_i2c 2060000.i2c: bus 9 rev0.12 at 400 kHz
    [    1.030442] cdns-torrent-phy 5050000.serdes: 4 lanes, max bit rate 5.400 Gbps
    [    1.039120] cdns-pcie-host d000000.pcie: missing "mem"
    [    1.044710] cdns-pcie-host d000000.pcie: Linked as a consumer to phy-5000000.serdes.0
    [    2.051109] cdns-pcie-host d000000.pcie: Phy link never came up
    [    2.057162] cdns-pcie-host d000000.pcie: host bridge /interconnect@100000/pcie@2900000/pcie@d000000 ranges:
    [    2.067132] cdns-pcie-host d000000.pcie:    IO 0x10001000..0x10010fff -> 0x10001000
    [    2.074963] cdns-pcie-host d000000.pcie:   MEM 0x4000000000..0x407fffffff -> 0x00000000
    [    2.083205] cdns-pcie-host d000000.pcie: PCI host bridge to bus 0000:00
    [    2.089967] pci_bus 0000:00: root bus resource [bus 00-0f]
    [    2.095572] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x10001000-0x10010fff])
    [    2.105263] pci_bus 0000:00: root bus resource [mem 0x4000000000-0x407fffffff] (bus address [0x00000000-0x7fffffff])
    [    2.116032] pci 0000:00:00.0: [104c:b00d] type 01 class 0x060400
    [    2.116044] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    2.125914] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    2.135806] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x92 may corrupt adjacent RW1C bits
    [    2.145768] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0xb2 may corrupt adjacent RW1C bits
    [    2.155749] pci 0000:00:00.0: supports D1
    [    2.155752] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    2.155756] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x84 may corrupt adjacent RW1C bits
    [    2.167512] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    2.175695] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
    [    2.185654] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
    [    2.195614] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
    [    2.205573] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x6 may corrupt adjacent RW1C bits
    [    2.217198] pci_bus 0000:01: busn_res: [bus 01-0f] end is updated to 01
    [    2.217201] pci_bus 0000:00: 1-byte config write to 0000:00:00.0 offset 0x1a may corrupt adjacent RW1C bits
    [    2.227169] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    2.232626] cdns-pcie-host d800000.pcie: missing "mem"
    [    2.238281] cdns-pcie-host d800000.pcie: Linked as a consumer to phy-5010000.serdes.1
    [    3.247654] cdns-pcie-host d800000.pcie: Phy link never came up
    [    3.253707] cdns-pcie-host d800000.pcie: host bridge /interconnect@100000/pcie@2910000/pcie@d800000 ranges:
    [    3.263674] cdns-pcie-host d800000.pcie:    IO 0x18001000..0x18010fff -> 0x18001000
    [    3.271504] cdns-pcie-host d800000.pcie:   MEM 0x4100000000..0x417fffffff -> 0x00000000
    [    3.279736] cdns-pcie-host d800000.pcie: PCI host bridge to bus 0001:00
    [    3.286497] pci_bus 0001:00: root bus resource [bus 00-0f]
    [    3.292101] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x18001000-0x18010fff])
    [    3.301970] pci_bus 0001:00: root bus resource [mem 0x4100000000-0x417fffffff] (bus address [0x00000000-0x7fffffff])
    [    3.312735] pci 0001:00:00.0: [104c:b00d] type 01 class 0x060400
    [    3.312792] pci 0001:00:00.0: supports D1
    [    3.312794] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
    [    3.314513] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    3.324382] pci_bus 0001:01: busn_res: [bus 01-0f] end is updated to 01
    [    3.324392] pci 0001:00:00.0: PCI bridge to [bus 01]
    [    3.329805] cdns-pcie-host e000000.pcie: missing "mem"
    [    3.335393] cdns-pcie-host e000000.pcie: Linked as a consumer to phy-5020000.serdes.2
    [    4.344764] cdns-pcie-host e000000.pcie: Phy link never came up
    [    4.350816] cdns-pcie-host e000000.pcie: host bridge /interconnect@100000/pcie@2920000/pcie@e000000 ranges:
    [    4.360783] cdns-pcie-host e000000.pcie:    IO 0x4400001000..0x4400010fff -> 0x00001000
    [    4.368969] cdns-pcie-host e000000.pcie:   MEM 0x4400011000..0x4407ffffff -> 0x00011000
    [    4.377201] cdns-pcie-host e000000.pcie: PCI host bridge to bus 0002:00
    [    4.383962] pci_bus 0002:00: root bus resource [bus 00-0f]
    [    4.389567] pci_bus 0002:00: root bus resource [io  0x20000-0x2ffff] (bus address [0x1000-0x10fff])
    [    4.398813] pci_bus 0002:00: root bus resource [mem 0x4400011000-0x4407ffffff] (bus address [0x00011000-0x07ffffff])
    [    4.409579] pci 0002:00:00.0: [104c:b00d] type 01 class 0x060400
    [    4.409635] pci 0002:00:00.0: supports D1
    [    4.409637] pci 0002:00:00.0: PME# supported from D0 D1 D3hot
    [    4.411335] pci 0002:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    4.421267] pci_bus 0002:01: busn_res: [bus 01-0f] end is updated to 01
    [    4.421276] pci 0002:00:00.0: PCI bridge to [bus 01]
    [    4.426751] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [    4.436624] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    4.443384] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    4.451053] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [    4.461192] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    4.467951] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    4.475565] omap8250 40a00000.serial: PM domain pd:149 will not be powered off
    [    4.483090] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 7, base_baud = 6000000) is a 8250
    [    4.492195] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 19, base_baud = 3000000) is a 8250
    [    4.500932] console [ttyS2] enabled
    [    4.507965] bootconsole [ns16550a0] disabled
    [    4.516861] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 20, base_baud = 3000000) is a 8250
    [    4.525652] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 21, base_baud = 3000000) is a 8250
    [    4.534375] arm-smmu-v3 36600000.smmu: ias 48-bit, oas 48-bit (features 0x00001faf)
    [    4.543132] arm-smmu-v3 36600000.smmu: msi_domain absent - falling back to wired irqs
    [    4.552799] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
    [    4.563311] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled
    [    4.573466] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
    [    4.583707] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
    [    4.594517] scsi host0: ufshcd
    [    4.609632] cadence-qspi 47040000.spi: mt35xu512aba (65536 Kbytes)
    [    4.615811] 7 cmdlinepart partitions found on MTD device 47040000.spi.0
    [    4.622409] Creating 7 MTD partitions on "47040000.spi.0":
    [    4.624529] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[1, 1], lane[1, 1], pwr[SLOWAUTO_MODE, SLOWAUTO_MODE], rate = 0
    [    4.627881] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    4.645923] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    4.651419] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    4.656988] 0x000000680000-0x0000006a0000 : "ospi.env"
    [    4.662318] 0x0000006a0000-0x0000006c0000 : "ospi.env.backup"
    [    4.665952] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[3, 3], lane[2, 2], pwr[FAST MODE, FAST MODE], rate = 2
    [    4.679723] cdns-ufshcd 4e84000.ufs: ufshcd_find_max_sup_active_icc_level: Regulator capability was not set, actvIccLevel=0
    [    4.690892] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
    [    4.690963] scsi 0:0:0:49488: Well-known LUN    TOSHIBA  THGAF8G8T23BAILB 0300 PQ: 0 ANSI: 6
    [    4.696392] 0x000000800000-0x000004000000 : "ospi.rootfs"
    [    4.710126] scsi 0:0:0:49476: Well-known LUN    TOSHIBA  THGAF8G8T23BAILB 0300 PQ: 0 ANSI: 6
    [    4.719107] cdns-ufshcd 4e84000.ufs: ufshcd_scsi_add_wlus: BOOT WLUN not found
    [    4.835156] cadence-qspi 47040000.spi: Cadence QSPI NOR probe failed -517
    [    4.842666] cadence-qspi 47050000.spi: n25q512a (65536 Kbytes)
    [    4.863166] cadence-qspi 47050000.spi: Cadence QSPI NOR probe failed -517
    [    4.870421] am65-cpsw-nuss 46000000.ethernet: rx-flow-id-base is not set -22
    [    4.877472] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2
    [    4.888914] UDMA has not been proped
    [    4.892490] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
    [    4.900900] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    4.909385] mmc0: Unknown controller version (4). You may experience problems.
    [    4.916642] mmc0: CQHCI version 5.10
    [    4.950924] mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADMA 64-bit
    [    4.964805] vdd_mmc1: supplied by vsys_3v3
    [    4.969310] pca953x 4-0020: 4-0020 supply vcc not found, using dummy regulator
    [    4.976548] pca953x 4-0020: Linked as a consumer to regulator.0
    [    5.003730] GPIO line 448 (DP0_PWR_SW_EN) hogged as output/high
    [    5.010297] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    5.017192] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    5.024083] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
    [    5.030968] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
    [    5.037834] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
    [    5.048072] mmc0: Command Queue Engine enabled
    [    5.052513] mmc0: new HS400 MMC card at address 0001
    [    5.057831] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
    [    5.062602] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB
    [    5.068762] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB
    [    5.074746] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (242:0)
    [    5.364784] ti-udma 285c0000.udmap: Channels: 24 (tchan: 48, echan: 0, rchan: 48, rflow: 96)
    [    5.374376] ti-udma 31150000.udmap: Channels: 84 (tchan: 140, echan: 160, rchan: 140, rflow: 300)
    [    5.387239] cadence-qspi 47040000.spi: mt35xu512aba (65536 Kbytes)
    [    5.393411] 7 cmdlinepart partitions found on MTD device 47040000.spi.0
    [    5.400011] Creating 7 MTD partitions on "47040000.spi.0":
    [    5.405489] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    5.411214] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    5.416706] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    5.422300] 0x000000680000-0x0000006a0000 : "ospi.env"
    [    5.427622] 0x0000006a0000-0x0000006c0000 : "ospi.env.backup"
    [    5.433542] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
    [    5.439059] 0x000000800000-0x000004000000 : "ospi.rootfs"
    [    5.446613] cadence-qspi 47050000.spi: n25q512a (65536 Kbytes)
    [    5.454359] am65-cpsw-nuss 46000000.ethernet: rx-flow-id-base is not set -22
    [    5.461412] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2
    [    5.479143] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    5.489644] pps pps0: new PPS source ptp1
    [    5.493767] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:1
    [    5.502711] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 0.4
    [    5.509916] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    5.555081] am65-cpsw-nuss 46000000.ethernet: davinci mdio revision 9.7, bus freq 1000000
    [    5.563241] libphy: 46000000.ethernet: probed
    [    5.568846] sdhci-am654 4fb0000.sdhci: Linked as a consumer to regulator.4
    [    5.575756] sdhci-am654 4fb0000.sdhci: Linked as a consumer to regulator.5
    [    5.582644] mmc1: Unknown controller version (4). You may experience problems.
    [    5.589894] mmc1: CQHCI version 5.10
    [    5.623636] mmc1: SDHCI controller on 4fb0000.sdhci [4fb0000.sdhci] using ADMA 64-bit
    [    5.641091] input: gpio-keys as /devices/platform/gpio-keys/input/input0
    [    5.648006] hctosys: unable to open rtc device (rtc0)
    [    5.674924] ALSA device list:
    [    5.677889]   No soundcards found.
    [    5.681489] Waiting for root device PARTUUID=09eeda39-02...
    [    7.034283] mmc1: new ultra high speed DDR50 SDHC card at address aaaa
    [    7.041316] mmcblk1: mmc1:aaaa SC16G 14.8 GiB
    [    7.055085]  mmcblk1: p1 p2
    [    7.302452] EXT4-fs (mmcblk1p2): recovery complete
    [    7.308101] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    7.316194] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    7.328575] devtmpfs: mounted
    [    7.331676] Freeing unused kernel memory: 576K
    [    7.336122] Run /sbin/init as init process
    [    7.491167] systemd[1]: System time before build time, advancing clock.
    [    7.545556] NET: Registered protocol family 10
    [    7.550343] Segment Routing with IPv6
    [    7.574189] systemd[1]: systemd 239 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.595597] systemd[1]: Detected architecture arm64.
    [    7.621731] systemd[1]: Set hostname to <j7-evm>.
    [    7.722693] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
    [    7.739710] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
    [    7.850648] random: systemd: uninitialized urandom read (16 bytes read)
    [    7.857290] systemd[1]: Reached target Swap.
    [    7.875137] random: systemd: uninitialized urandom read (16 bytes read)
    [    7.881857] systemd[1]: Listening on udev Kernel Socket.
    [    7.899108] random: systemd: uninitialized urandom read (16 bytes read)
    [    7.906539] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [    7.923213] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    7.943259] systemd[1]: Listening on Network Service Netlink Socket.
    [    8.038543] cmemk: loading out-of-tree module taints kernel.
    [    8.045131] CMEMK module: reference Linux version 4.19.94
    [    8.050811] no physical memory specified
    [    8.055459] cmemk initialized
    [    8.069004] cryptodev: driver 1.9 loaded.
    [    8.246745] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    [    8.627559] systemd-journald[159]: Received request to flush runtime journal from PID 1
    [    8.760346] rti-wdt 2200000.rti: heartbeat 60 sec
    [    8.795893] rti-wdt 2210000.rti: heartbeat 60 sec
    [    8.830252] pcm3168a 6-0044: Linked as a consumer to regulator.2
    [    8.848208] pcm3168a 6-0044: Linked as a consumer to regulator.3
    [    8.914340] img_enc 4200000.video-encoder: vxe_enc_probe: adding heap of type 1
    [    8.927947] img_enc 4200000.video-encoder: vxe_enc_probe: using heap 1 for internal alloc
    [    8.955149] img_enc 4200000.video-encoder: encoder registered as /dev/video0
    [    8.978986] k3-dsp-rproc 4d80800000.dsp: assigned reserved memory node c66-dma-memory@a7000000
    [    9.002707] k3-dsp-rproc 4d80800000.dsp: configured DSP for remoteproc mode
    [    9.009877] img_dec 4300000.video-decoder: decoder registered as /dev/video1
    [    9.017247] k3-dsp-rproc 4d80800000.dsp: local reset is deasserted for device
    [    9.026642] remoteproc remoteproc0: 4d80800000.dsp is available
    [    9.034350] k3-dsp-rproc 4d81800000.dsp: assigned reserved memory node c66-dma-memory@a6000000
    [    9.047521] k3-dsp-rproc 4d81800000.dsp: configured DSP for remoteproc mode
    [    9.057287] k3-dsp-rproc 4d81800000.dsp: local reset is deasserted for device
    [    9.067940] remoteproc remoteproc1: 4d81800000.dsp is available
    [    9.076148] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a8000000
    [    9.085235] k3-dsp-rproc 64800000.dsp: configured DSP for remoteproc mode
    [    9.095933] remoteproc remoteproc2: 64800000.dsp is available
    [    9.104509] pci-endpoint-test 0000:00:00.0: of_irq_parse_pci: failed with rc=-22
    [    9.115996] remoteproc remoteproc0: powering up 4d80800000.dsp
    [    9.117580] pci_generic_config_write32: 29 callbacks suppressed
    [    9.117586] pci_bus 0000:00: 1-byte config write to 0000:00:00.0 offset 0x3c may corrupt adjacent RW1C bits
    [    9.127776] remoteproc remoteproc0: Booting fw image j7-c66_0-fw, size 147084
    [    9.138675] pci-endpoint-test 0001:00:00.0: of_irq_parse_pci: failed with rc=-22
    [    9.156624] k3-dsp-rproc 4d80800000.dsp: booting DSP core using boot addr = 0xa6200000
    [    9.158685] pci_bus 0001:00: 1-byte config write to 0001:00:00.0 offset 0x3c may corrupt adjacent RW1C bits
    [    9.171649] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    9.179905] remoteproc remoteproc1: powering up 4d81800000.dsp
    [    9.182755] pci-endpoint-test 0002:00:00.0: of_irq_parse_pci: failed with rc=-22
    [    9.185778] remoteproc remoteproc1: Booting fw image j7-c66_1-fw, size 147084
    [    9.194057] pci_bus 0002:00: 1-byte config write to 0002:00:00.0 offset 0x3c may corrupt adjacent RW1C bits
    [    9.207112] remoteproc remoteproc0: registered virtio0 (type 7)
    [    9.215946] remoteproc remoteproc0: remote processor 4d80800000.dsp is now up
    [    9.223908] k3-dsp-rproc 4d81800000.dsp: booting DSP core using boot addr = 0xa7200000
    [    9.241752] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    9.251397] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    9.264135] remoteproc remoteproc1: registered virtio1 (type 7)
    [    9.270350] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    9.277001] [drm] No driver support for vblank timestamp query.
    [    9.283386] remoteproc remoteproc1: remote processor 4d81800000.dsp is now up
    [    9.292357] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
    [    9.308644] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 0
    [    9.316275] [drm] Cannot find any crtc or sizes
    [    9.323371] [drm] Cannot find any crtc or sizes
    [    9.412513] ntb_hw_epf 0000:00:00.0: of_irq_parse_pci: failed with rc=-22
    [    9.424342] pci_bus 0000:00: 1-byte config write to 0000:00:00.0 offset 0x3c may corrupt adjacent RW1C bits
    [    9.442868] ntb_hw_epf 0001:00:00.0: of_irq_parse_pci: failed with rc=-22
    [    9.453351] pci_bus 0001:00: 1-byte config write to 0001:00:00.0 offset 0x3c may corrupt adjacent RW1C bits
    [    9.480357] ntb_hw_epf 0002:00:00.0: of_irq_parse_pci: failed with rc=-22
    [    9.495546] pci_bus 0002:00: 1-byte config write to 0002:00:00.0 offset 0x3c may corrupt adjacent RW1C bits
    [    9.522005] k3_r5_rproc interconnect@100000:interconnect@28380000:r5fss@41000000: creating child devices for R5F cores
    [    9.535696] remoteproc remoteproc2: powering up 64800000.dsp
    [    9.542257] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    9.543478] remoteproc remoteproc2: Booting fw image j7-c71_0-fw, size 8393788
    [    9.572499] platform 41000000.r5f: configured R5F for IPC-only mode
    [    9.584347] k3-dsp-rproc 64800000.dsp: booting DSP core using boot addr = 0xa8200000
    [    9.603729] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [    9.608653] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    9.631222] remoteproc remoteproc2: registered virtio2 (type 7)
    [    9.641878] remoteproc remoteproc2: remote processor 64800000.dsp is now up
    [    9.647202] remoteproc remoteproc3: 41000000.r5f is available
    [    9.705421] k3_r5_rproc interconnect@100000:r5fss@5c00000: creating child devices for R5F cores
    [    9.741204] remoteproc remoteproc3: powering up 41000000.r5f
    [    9.749485] remoteproc remoteproc3: Booting fw image j7-mcu-r5f0_0-fw, size 87056
    [    9.766639] TI DP83867 k3-cpsw-mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=k3-cpsw-mdio:00, irq=POLL)
    [    9.776263] platform 41000000.r5f: R5F core initialized in IPC-only mode
    [    9.790074] virtio_rpmsg_bus virtio3: rpmsg host is online
    [    9.790711] platform 5c00000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    9.815333] virtio_rpmsg_bus virtio3: creating channel ti.ipc4.ping-pong addr 0xd
    [    9.817916] remoteproc remoteproc3: registered virtio3 (type 7)
    [    9.823855] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    9.847612] remoteproc remoteproc3: remote processor 41000000.r5f is now up
    [    9.868756] pvrsrvkm 4e20000000.gpu: Linked as a consumer to genpd:0:4e20000000.gpu
    [    9.879269] pvrsrvkm 4e20000000.gpu: Linked as a consumer to genpd:1:4e20000000.gpu
    [    9.891140] PVR_K:  373: Read BVNC 22.104.208.318 from HW device registers
    [    9.904240] PVR_K:  373: RGX Device initialised with BVNC 22.104.208.318
    [    9.916815] [drm] Initialized pvr 1.10.5371573 20170530 for 4e20000000.gpu on minor 1
    [   10.041833] platform 5c00000.r5f: configured R5F for IPC-only mode
    [   10.070588] j721e-audio sound@0: pcm3168a-dac <-> 2ba0000.mcasp mapping ok
    [   10.074681] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [   10.098447] j721e-audio sound@0: pcm3168a-adc <-> 2ba0000.mcasp mapping ok
    [   10.124126] remoteproc remoteproc4: 5c00000.r5f is available
    [   10.150477] platform 5d00000.r5f: configured R5F for remoteproc mode
    [   10.164264] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
    [   10.178741] remoteproc remoteproc4: powering up 5c00000.r5f
    [   10.184476] remoteproc remoteproc4: Booting fw image j7-main-r5f0_0-fw, size 735916
    [   10.195851] platform 5c00000.r5f: R5F core initialized in IPC-only mode
    [   10.211094] virtio_rpmsg_bus virtio4: rpmsg host is online
    [   10.217583] remoteproc remoteproc5: 5d00000.r5f is available
    [   10.223490] remoteproc remoteproc4: registered virtio4 (type 7)
    [   10.240027] remoteproc remoteproc4: remote processor 5c00000.r5f is now up
    [   10.295124] k3_r5_rproc interconnect@100000:r5fss@5e00000: creating child devices for R5F cores
    [   10.312720] remoteproc remoteproc5: powering up 5d00000.r5f
    [   10.318353] remoteproc remoteproc5: Booting fw image j7-main-r5f0_1-fw, size 86984
    [   10.334340] platform 5d00000.r5f: booting R5F core using boot addr = 0x0
    [   10.342101] platform 5e00000.r5f: configured R5F for remoteproc mode
    [   10.349198] virtio_rpmsg_bus virtio5: rpmsg host is online
    [   10.354759] remoteproc remoteproc5: registered virtio5 (type 7)
    [   10.366532] remoteproc remoteproc5: remote processor 5d00000.r5f is now up
    [   10.386317] platform 5e00000.r5f: assigned reserved memory node r5f-dma-memory@a4000000
    [   10.403766] remoteproc remoteproc6: 5e00000.r5f is available
    [   10.441468] remoteproc remoteproc6: powering up 5e00000.r5f
    [   10.447204] remoteproc remoteproc6: Booting fw image j7-main-r5f1_0-fw, size 86984
    [   10.454841] virtio_rpmsg_bus virtio5: creating channel ti.ipc4.ping-pong addr 0xd
    [   10.468063] platform 5e00000.r5f: booting R5F core using boot addr = 0x0
    [   10.477954] virtio_rpmsg_bus virtio6: rpmsg host is online
    [   10.484781] remoteproc remoteproc6: registered virtio6 (type 7)
    [   10.492367] remoteproc remoteproc6: remote processor 5e00000.r5f is now up
    [   10.574806] virtio_rpmsg_bus virtio6: creating channel ti.ipc4.ping-pong addr 0xd
    [   10.725704] cdns-usb3 6000000.usb: DRD version v1 (ID: 0004024e, rev: 00000200)
    [   10.746802] omap_rng 4e10000.trng: Random Number Generator ver. 241b34c
    [   10.746914] random: crng init done
    [   10.757249] random: 7 urandom warning(s) missed due to ratelimiting
    [   10.804007] cdns-usb3 6400000.usb: DRD version v1 (ID: 0004024e, rev: 00000200)
    [   10.837731] am65-cpsw-nuss 46000000.ethernet eth0: Link is Down
    [   10.910962] remoteproc remoteproc7: b034000.pru is available
    [   10.918710] pru-rproc b034000.pru: PRU rproc node pru@b034000 probed successfully
    [   10.931473] remoteproc remoteproc8: b004000.rtu is available
    [   10.943644] pru-rproc b004000.rtu: PRU rproc node rtu@b004000 probed successfully
    [   10.951624] remoteproc remoteproc9: b00a000.txpru is available
    [   10.957574] pru-rproc b00a000.txpru: PRU rproc node txpru@b00a000 probed successfully
    [   10.966098] remoteproc remoteproc10: b038000.pru is available
    [   10.971921] pru-rproc b038000.pru: PRU rproc node pru@b038000 probed successfully
    [   10.980450] remoteproc remoteproc11: b006000.rtu is available
    [   10.990571] pru-rproc b006000.rtu: PRU rproc node rtu@b006000 probed successfully
    [   11.002345] remoteproc remoteproc12: b00c000.txpru is available
    [   11.008393] pru-rproc b00c000.txpru: PRU rproc node txpru@b00c000 probed successfully
    [   11.016678] remoteproc remoteproc13: b134000.pru is available
    [   11.022453] pru-rproc b134000.pru: PRU rproc node pru@b134000 probed successfully
    [   11.030311] remoteproc remoteproc14: b104000.rtu is available
    [   11.036105] pru-rproc b104000.rtu: PRU rproc node rtu@b104000 probed successfully
    [   11.043865] remoteproc remoteproc15: b10a000.txpru is available
    [   11.049860] pru-rproc b10a000.txpru: PRU rproc node txpru@b10a000 probed successfully
    [   11.058042] remoteproc remoteproc16: b138000.pru is available
    [   11.063829] pru-rproc b138000.pru: PRU rproc node pru@b138000 probed successfully
    [   11.071634] remoteproc remoteproc17: b106000.rtu is available
    [   11.077432] pru-rproc b106000.rtu: PRU rproc node rtu@b106000 probed successfully
    [   11.085180] remoteproc remoteproc18: b10c000.txpru is available
    [   11.091131] pru-rproc b10c000.txpru: PRU rproc node txpru@b10c000 probed successfully
    [   11.144561] usbcore: registered new interface driver usbfs
    [   11.150294] usbcore: registered new interface driver hub
    [   11.155668] usbcore: registered new device driver usb
    [   11.182521] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [   11.188773] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
    [   11.197800] xhci-hcd xhci-hcd.2.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000000000010010
    [   11.207293] xhci-hcd xhci-hcd.2.auto: irq 324, io mem 0x06410000
    [   11.213558] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [   11.221824] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   11.229049] usb usb1: Product: xHCI Host Controller
    [   11.234046] usb usb1: Manufacturer: Linux 4.19.94-g5a23bc00e0 xhci-hcd
    [   11.240582] usb usb1: SerialNumber: xhci-hcd.2.auto
    [   11.245752] hub 1-0:1.0: USB hub found
    [   11.249832] hub 1-0:1.0: 1 port detected
    [   11.254242] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [   11.259754] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
    [   11.267478] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
    [   11.274041] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   11.282172] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
    [   11.290432] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   11.297654] usb usb2: Product: xHCI Host Controller
    [   11.302539] usb usb2: Manufacturer: Linux 4.19.94-g5a23bc00e0 xhci-hcd
    [   11.309082] usb usb2: SerialNumber: xhci-hcd.2.auto
    [   11.314199] hub 2-0:1.0: USB hub found
    [   11.317994] hub 2-0:1.0: 1 port detected
    [   11.587096] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [   11.743391] usb 1-1: New USB device found, idVendor=0451, idProduct=8142, bcdDevice= 1.00
    [   11.751580] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [   11.758725] usb 1-1: SerialNumber: 5E0108797885
    [   11.764070] hub 1-1:1.0: USB hub found
    [   11.767877] hub 1-1:1.0: 4 ports detected
    [   13.908327] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
    [   13.916857] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   27.664286] NET: Registered protocol family 15
    [   27.699634] Initializing XFRM netlink socket
    

  • Tom,

     Sorry for the late response. You are correct. We have documented the DIP SWITCH settings incorrectly. For RC mode 5th and 6th PIN should be OFF position.

    I have a follow-up question. Which PCIe instance are you trying to use? I see "Phy link never came up" log for all devices. Also, if you have made any changes in any configuration, let me know. Please provide latest logs if possible.

    Regards

    Dhaval Khandla

  • Hi Dhaval,

    The PCIe expansion card is plugged into the «PCIe X 1 LANE» connector J11, which provides the traces to the PCIE0 instance. The other PCIe edge connector J8 and the M.2 connector J47 are unpopulated.

    The hardware runs the pristine prebuilt SD card image without any changes in any configuration. Only the DIP switches have been set accordingly.

    Regards,
    Tom

  • Hi Tom,

    Can you also probe the CLK lines to check if you get a 100MHz clock?

    Which PCIe Ethernet card are you using? what is the number of lanes supported by the card? Probably a trivial thing, but wanted to check if the card is inserted in the correct orientation?

    Also did you try any other card other than the PCIe Ethernet card?

    Thanks

    Kishon

  • Hi Kishon,

    The PCIe reference clock is present and runs at 100 MHz:

    I'm using a Marvell 88E8052 based PCIe x1 Ethernet adapter. The add-in card has a standard I/O bracket protruding over the edge connector, which prevents the card from being inserted the wrong way.

    As the Ethernet adapter runs fine in a normal Linux PC, I haven't tried other add-in cards.

    Regards,
    Tom

  • Hi Tom,

    Okay, clock look fine, you've already clarified you could see PERST signal toggling properly. Can you also probe and see if the voltages to the PCIe card looks fine?

    Can you dump PCIE_USER_CFG registers? Specifically PCIE_USER_CMD_STATUS  (02907004h) and PCIE_USER_LINKSTATUS (02907014h).

    Was there any changes to the device tree?

    Thanks

    Kishon

  • Hi Kishon,

    Both 12V and 3.3V supplies are present and look good.

    Here is the dump of two requested PCIE0_CORE_USER_CFG_USER_CFG registers:

    • PCIE_USER_CMD_STATUS (02907004h): 0x00000001
      • LINK_TRAINING_ENABLE = 0b1
    • PCIE_USER_LINKSTATUS (02907014h): 0x05000005
      • LTSSM_STATE = 0b000101 (?)
      • POWER_STATE_CHANGE_FUNCTION_NUM = 0b0
      • L1_PM_SUBSTATE = 0b000 (L: 1-substate machine not active)
      • LINK_POWER_STATE = 0b0000 (?)
      • NEGOTIATED_SPEED = 0b00 (2.5GT/s)
      • NEGOTIATED_LINK_WIDTH = 0b1 (x2)
      • LINK_STATUS = 0b01 (Link training in progress)

    I assume that link speed and width are not meaningful as long as link training has not completed (should be 2.5GT/s, x1). Moreover, I was not able to find documentation about the LTSSM state encoding.

    The prebuilt SD card image is used as is without any modification. And so is the device tree on the SD card.

    Regards,
    Tom

  • Hi Tom,

    Does the value in PCIE_USER_LINKSTATUS (02907014h): register change ever? Right now it seems to be at Configuration.Linkwidth.Start but would you be able to read the value of that register after the kernel boots up also at different intervals.

    You've mentioned you used pre-built SD card image but would you be able to modify kernel or dtb for experiments?

    FWIW we've not observed this issue before.

    Thanks

    Kishon

  • Hi Kishon,

    The value popping up at PCIE_USER_LINKSTATUS (02907014h) is almost always 0x05000005, only once 0x01000004 was returned directly after logon. If the LTSSM states are enumerated in ascending order, this would indicate Detect.Active, right?

    I will also try to get hold of another PCIe expansion card to rule out all incompatibility concerns.

    Generating custom device tree overlays and adding them to SD card should be no problem. Modifying the kernel is possible, although this would be more involved for my current development setup.

    Regards,
    Tom

  • Hi Kishon,

    Using an Intel Ethernet adapter, all observed problems disappear! The LTSSM successfully reaches L0 (PCIE_USER_LINKSTATUS = 0x10000103) and the lspci output shows the successfully detected expansion card.

    Obviously, there is an interoperability issue between the TI TDA4VMXEVM and the Marvell 88E8052. However, the determination of the exact cause would be quite involved.

    Regards,
    Tom

  • Hi Tom,

    Do you have link to the Marvell 88E8052 part with which you observed issues? We'll procure this and try to debug.

    Thanks

    Kishon

  • Hi Kishon,

    The exact product designation is SysKonnect SK-9E21D 10/100/1000Base-T Adapter (PCI vendor/device ID: 1148:9e00). The product is end of life, so it seems only procurable from remaining stock sellers or second hand. There are some offers on eBay.

    Regards,
    Tom