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 RC mode and card enumeration

Part Number: TDA4VMXEVM

Hi, 

a customer has been trying to get the J7 PCIe RC to enumerate a few cards, such as a Marvell ACQ111 based network card or a Vantex USB card.

The customer is using the kernel driver documentation at

https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-jacinto7/latest/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/PCIe/PCIe_Root_Complex.html?highlight=pci

There was a question about a RC mode switch setting on the J7 EVM and the customer has used this thread to turn switch 5 and 6 to OFF, but still the cards don't enumerate.

https://e2e.ti.com/support/processors/f/791/t/888333

Please see attached the dmesg log:

root@j7-evm:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
[    0.000000] Linux version 5.4.40-g66cf445b76 (lisahuan@u18a70acb128550.ant.amazon.com) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #3 SMP PREEMPT Fri Sep 18 19:37:12 PDT 2020
[    0.000000] Machine model: Texas Instruments K3 J721E SoC
[    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
[    0.000000] printk: 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 31 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 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] Reserved memory: created DMA memory pool at 0x00000000fb000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@fb000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000fb100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@fb100000, compatible id shared-dma-pool
[    0.000000] cma: Reserved 512 MiB at 0x00000000c0000000
[    0.000000] On node 0 totalpages: 47872
[    0.000000]   DMA zone: 13 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 13184 pages, LIFO batch:3
[    0.000000]   DMA32 zone: 2 pages used for memmap
[    0.000000]   DMA32 zone: 1920 pages, LIFO batch:0
[    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.0
[    0.000000] percpu: Embedded 2 pages/cpu s48408 r8192 d74472 u131072
[    0.000000] pcpu-alloc: s48408 r8192 d74472 u131072 alloc=2*65536
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: EL2 vector hardening
[    0.000000] Built 1 zonelists, mobility grouping off.  Total pages: 47825
[    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=1fbe633f-02 rw rootfstype=ext4 rootwait
[    0.000000] Dentry cache hash table entries: 524288 (order: 6, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 5, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0xbbff0000-0xbfff0000] (64MB)
[    0.000000] Memory: 3353984K/3063808K available (9598K kernel code, 840K rwdata, 3840K rodata, 1728K init, 695K bss, 18446744073708737152K 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=256 to nr_cpu_ids=2.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=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] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
[    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] GICv3: using LPI property table @0x00000008c00c0000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008c00d0000
[    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x438 with crng_init=0
[    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.008320] Console: colour dummy device 80x25
[    0.012874] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.023542] pid_max: default: 32768 minimum: 301
[    0.028288] LSM: Security Framework initializing
[    0.033030] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
[    0.040598] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes, linear)
[    0.072638] ASID allocator initialised with 32768 entries
[    0.086163] rcu: Hierarchical SRCU implementation.
[    0.099107] Platform MSI: gic-its@1820000 domain created
[    0.104626] PCI/MSI: /interconnect@100000/interrupt-controller@1800000/gic-its@1820000 domain created
[    0.122061] smp: Bringing up secondary CPUs ...
[    0.159008] Detected PIPT I-cache on CPU1
[    0.159025] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
[    0.159035] GICv3: CPU1: using allocated LPI pending table @0x00000008c00e0000
[    0.159054] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
[    0.159091] smp: Brought up 1 node, 2 CPUs
[    0.188434] SMP: Total of 2 processors activated.
[    0.193238] CPU features: detected: 32-bit EL0 Support
[    0.198490] CPU features: detected: CRC32 instructions
[    0.209712] CPU: All CPU(s) started at EL2
[    0.213904] alternatives: patching kernel code
[    0.218829] devtmpfs: initialized
[    0.226258] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.236225] futex hash table entries: 512 (order: -1, 32768 bytes, linear)
[    0.243642] pinctrl core: initialized pinctrl subsystem
[    0.249323] NET: Registered protocol family 16
[    0.256302] DMA: preallocated 256 KiB pool for atomic allocations
[    0.262796] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.277993] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages
[    0.284845] HugeTLB registered 512 MiB page size, pre-allocated 0 pages
[    0.291605] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.300145] cryptd: max_cpu_qlen set to 1000
[    0.307128] vsys_3v3: supplied by evm_12v0
[    0.311410] vsys_5v0: supplied by evm_12v0
[    0.316005] iommu: Default domain type: Translated 
[    0.321123] SCSI subsystem initialized
[    0.325206] mc: Linux media interface: v0.10
[    0.329591] videodev: Linux video capture interface: v2.00
[    0.335207] pps_core: LinuxPPS API ver. 1 registered
[    0.340276] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.349613] PTP clock support registered
[    0.353622] EDAC MC: Ver: 3.0.0
[    0.357267] FPGA manager framework
[    0.360770] Advanced Linux Sound Architecture Driver Initialized.
[    0.367264] clocksource: Switched to clocksource arch_sys_counter
[    0.373567] VFS: Disk quotas dquot_6.6.0
[    0.377612] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes)
[    0.386873] thermal_sys: Registered thermal governor 'step_wise'
[    0.386874] thermal_sys: Registered thermal governor 'power_allocator'
[    0.393179] NET: Registered protocol family 2
[    0.404515] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 65536 bytes, linear)
[    0.413277] TCP established hash table entries: 32768 (order: 2, 262144 bytes, linear)
[    0.421470] TCP bind hash table entries: 32768 (order: 3, 524288 bytes, linear)
[    0.429148] TCP: Hash tables configured (established 32768 bind 32768)
[    0.435875] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)
[    0.442764] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
[    0.450140] NET: Registered protocol family 1
[    0.454811] RPC: Registered named UNIX socket transport module.
[    0.460864] RPC: Registered udp transport module.
[    0.465667] RPC: Registered tcp transport module.
[    0.470468] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.477050] PCI: CLS 0 bytes, default 64
[    0.481291] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.492573] Initialise system trusted keyrings
[    0.497193] workingset: timestamp_bits=46 max_order=16 bucket_order=0
[    0.505631] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.511857] NFS: Registering the id_resolver key type
[    0.517027] Key type id_resolver registered
[    0.521298] Key type id_legacy registered
[    0.525394] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.532351] 9p: Installing v9fs 9p2000 file system support
[    0.544853] Key type asymmetric registered
[    0.549046] Asymmetric key parser 'x509' registered
[    0.554051] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.561610] io scheduler mq-deadline registered
[    0.566236] io scheduler kyber registered
[    0.571360] pinctrl-single 4301c000.pinmux: 94 pins, size 376
[    0.577426] pinctrl-single 11c000.pinmux: 173 pins, size 692
[    0.583574] pinctrl-single a40000.timesync_router: 512 pins, size 2048
[    0.592471] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
[    0.598726] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
[    0.605046] ti-pat 31010000.pat: Found PAT Rev 1.0 with 16384 pages
[    0.611454] debugfs: Directory '31010000.pat' with parent 'regmap' already present!
[    0.619397] ti-pat 31011000.pat: Found PAT Rev 1.0 with 16384 pages
[    0.625807] debugfs: Directory '31011000.pat' with parent 'regmap' already present!
[    0.633726] ti-pat 31012000.pat: Found PAT Rev 1.0 with 16384 pages
[    0.640138] debugfs: Directory '31012000.pat' with parent 'regmap' already present!
[    0.648058] ti-pat 31013000.pat: Found PAT Rev 1.0 with 2048 pages
[    0.654382] debugfs: Directory '31013000.pat' with parent 'regmap' already present!
[    0.662300] ti-pat 31014000.pat: Found PAT Rev 1.0 with 2048 pages
[    0.668621] debugfs: Directory '31014000.pat' with parent 'regmap' already present!
[    0.677886] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.689479] brd: module loaded
[    0.695336] loop: module loaded
[    0.699845] libphy: Fixed MDIO Bus: probed
[    0.704175] tun: Universal TUN/TAP device driver, 1.6
[    0.709703] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    0.717713] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.723777] sky2: driver version 1.30
[    0.727986] VFIO - User Level meta-driver version: 0.3
[    0.733530] i2c /dev entries driver
[    0.737587] sdhci: Secure Digital Host Controller Interface driver
[    0.743901] sdhci: Copyright(c) Pierre Ossman
[    0.748539] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.754776] ledtrig-cpu: registered to indicate activity on CPUs
[    0.761487] optee: probing for conduit method from DT.
[    0.766751] optee: revision 3.8 (199fca17)
[    0.767042] optee: initialized driver
[    0.775649] NET: Registered protocol family 17
[    0.780250] 9pnet: Installing 9P2000 support
[    0.784628] Key type dns_resolver registered
[    0.789107] registered taskstats version 1
[    0.793293] Loading compiled-in X.509 certificates
[    0.801964] k3-ringacc 2b800000.ringacc: Failed to get MSI domain
[    0.808279] k3-ringacc 3c000000.ringacc: Failed to get MSI domain
[    0.815893] ti-sci 44083000.dmsc: ABI: 3.0 (firmware rev 0x0014 '20.04.1-v2020.04a (Terrific Lla')
[    0.840555] random: fast init done
[    0.871482] davinci-mcasp 2ba0000.mcasp: IRQ common not found
[    0.878708] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
[    0.884684] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
[    0.890642] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
[    0.896664] pca953x 3-0020: 3-0020 supply vcc not found, using dummy regulator
[    0.927770] pca953x 3-0022: 3-0022 supply vcc not found, using dummy regulator
[    0.935796] GPIO line 481 (MCASP/TRACE_MUX_S0) hogged as output/low
[    0.942390] GPIO line 482 (MCASP/TRACE_MUX_S1) hogged as output/high
[    0.949217] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
[    0.955185] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
[    0.961052] omap_i2c 2020000.i2c: bus 5 rev0.12 at 100 kHz
[    0.967005] pca953x 6-0020: 6-0020 supply vcc not found, using dummy regulator
[    0.995614] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
[    1.001498] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
[    1.007369] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
[    1.013304] pca953x 9-0020: 9-0020 supply vcc not found, using dummy regulator
[    1.043569] omap_i2c 2060000.i2c: bus 9 rev0.12 at 400 kHz
[    1.049768] ti-sci-intr interconnect@100000:interconnect@28380000:interrupt-controller2: Interrupt Router 137 domain created
[    1.061331] ti-sci-intr interconnect@100000:interrupt-controller0: Interrupt Router 131 domain created
[    1.070936] ti-sci-intr interconnect@100000:navss@30000000:interrupt-controller1: Interrupt Router 213 domain created
[    1.081938] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
[    1.098473] cdns-torrent-phy 5050000.serdes: 4 lanes, max bit rate 5.400 Gbps
[    2.106971] j721e-pcie 2900000.pcie: host bridge /interconnect@100000/pcie@2900000 ranges:
[    2.115441] j721e-pcie 2900000.pcie:    IO 0x10001000..0x10010fff -> 0x10001000
[    2.122917] j721e-pcie 2900000.pcie:   MEM 0x10011000..0x17ffffff -> 0x10011000
[    2.130449] j721e-pcie 2900000.pcie: PCI host bridge to bus 0000:00
[    2.136855] pci_bus 0000:00: root bus resource [bus 00-0f]
[    2.142459] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x10001000-0x10010fff])
[    2.152149] pci_bus 0000:00: root bus resource [mem 0x10011000-0x17ffffff]
[    2.159186] pci 0000:00:00.0: [104c:b00d] type 01 class 0x060400
[    2.165338] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
[    2.175207] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
[    2.185092] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0xe8 may corrupt adjacent RW1C bits
[    2.195050] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x3e may corrupt adjacent RW1C bits
[    2.205014] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x92 may corrupt adjacent RW1C bits
[    2.214974] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0xb2 may corrupt adjacent RW1C bits
[    2.224972] pci 0000:00:00.0: supports D1
[    2.229066] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    2.234937] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x84 may corrupt adjacent RW1C bits
[    2.244901] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x208 may corrupt adjacent RW1C bits
[    2.254953] pci 0000:00:00.0: reg 0x224: [mem 0x00000000-0x003fffff 64bit]
[    2.261978] pci 0000:00:00.0: VF(n) BAR0 space: [mem 0x00000000-0x00ffffff 64bit] (contains BAR0 for 4 VFs)
[    2.271944] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x210 may corrupt adjacent RW1C bits
[    2.281991] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x210 may corrupt adjacent RW1C bits
[    2.293452] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.302924] pci_bus 0000:01: busn_res: [bus 01-0f] end is updated to 01
[    2.309693] pci 0000:00:00.0: BAR 7: assigned [mem 0x10400000-0x113fffff 64bit]
[    2.317165] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.322389] pcieport 0000:00:00.0: PME: Signaling with IRQ 40
[    2.328421] pcieport 0000:00:00.0: AER: enabled with IRQ 40
[    3.336188] j721e-pcie 2910000.pcie: host bridge /interconnect@100000/pcie@2910000 ranges:
[    3.344660] j721e-pcie 2910000.pcie:    IO 0x18001000..0x18010fff -> 0x18001000
[    3.352136] j721e-pcie 2910000.pcie:   MEM 0x18011000..0x1fffffff -> 0x18011000
[    3.359661] j721e-pcie 2910000.pcie: PCI host bridge to bus 0001:00
[    3.366066] pci_bus 0001:00: root bus resource [bus 00-0f]
[    3.371670] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x18001000-0x18010fff])
[    3.381537] pci_bus 0001:00: root bus resource [mem 0x18011000-0x1fffffff]
[    3.388572] pci 0001:00:00.0: [104c:b00d] type 01 class 0x060400
[    3.394770] pci 0001:00:00.0: supports D1
[    3.398863] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    3.406074] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.415540] pci_bus 0001:01: busn_res: [bus 01-0f] end is updated to 01
[    3.422303] pci 0001:00:00.0: PCI bridge to [bus 01]
[    3.427506] pcieport 0001:00:00.0: PME: Signaling with IRQ 43
[    3.433483] pcieport 0001:00:00.0: AER: enabled with IRQ 43
[    4.441311] j721e-pcie 2920000.pcie: host bridge /interconnect@100000/pcie@2920000 ranges:
[    4.449787] j721e-pcie 2920000.pcie:    IO 0x4400001000..0x4400010fff -> 0x00001000
[    4.457618] j721e-pcie 2920000.pcie:   MEM 0x4400011000..0x4407ffffff -> 0x00011000
[    4.465518] j721e-pcie 2920000.pcie: PCI host bridge to bus 0002:00
[    4.471924] pci_bus 0002:00: root bus resource [bus 00-0f]
[    4.477528] pci_bus 0002:00: root bus resource [io  0x20000-0x2ffff] (bus address [0x1000-0x10fff])
[    4.486774] pci_bus 0002:00: root bus resource [mem 0x4400011000-0x4407ffffff] (bus address [0x00011000-0x07ffffff])
[    4.497540] pci 0002:00:00.0: [104c:b00d] type 01 class 0x060400
[    4.503739] pci 0002:00:00.0: supports D1
[    4.507833] pci 0002:00:00.0: PME# supported from D0 D1 D3hot
[    4.515038] pci 0002:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.524502] pci_bus 0002:01: busn_res: [bus 01-0f] end is updated to 01
[    4.531266] pci 0002:00:00.0: PCI bridge to [bus 01]
[    4.536470] pcieport 0002:00:00.0: PME: Signaling with IRQ 46
[    4.542446] pcieport 0002:00:00.0: AER: enabled with IRQ 46
[    4.548765] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
[    4.558644] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
[    4.565402] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
[    4.574199] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
[    4.584341] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
[    4.591099] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
[    4.598752] omap8250 40a00000.serial: PM domain pd:149 will not be powered off
[    4.606267] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 7, base_baud = 6000000) is a 8250
[    4.615407] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 19, base_baud = 3000000) is a 8250
[    4.624141] printk: console [ttyS2] enabled
[    4.632577] printk: bootconsole [ns16550a0] disabled
[    4.642903] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 20, base_baud = 3000000) is a 8250
[    4.651720] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 21, base_baud = 3000000) is a 8250
[    4.660451] arm-smmu-v3 36600000.smmu: ias 48-bit, oas 48-bit (features 0x00001faf)
[    4.669613] arm-smmu-v3 36600000.smmu: allocated 524288 entries for cmdq
[    4.678162] arm-smmu-v3 36600000.smmu: allocated 524288 entries for evtq
[    4.685531] arm-smmu-v3 36600000.smmu: msi_domain absent - falling back to wired irqs
[    4.695057] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vdd-hba-supply regulator, assuming enabled
[    4.705567] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc-supply regulator, assuming enabled
[    4.715718] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq-supply regulator, assuming enabled
[    4.725956] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vccq2-supply regulator, assuming enabled
[    4.736724] scsi host0: ufshcd
[    4.743397] cadence-qspi 47040000.spi: mt35xu512aba (65536 Kbytes)
[    4.749574] 7 cmdlinepart partitions found on MTD device 47040000.spi.0
[    4.756173] Creating 7 MTD partitions on "47040000.spi.0":
[    4.761645] 0x000000000000-0x000000080000 : "ospi.tiboot3"
[    4.767568] 0x000000080000-0x000000280000 : "ospi.tispl"
[    4.773245] 0x000000280000-0x000000680000 : "ospi.u-boot"
[    4.778968] 0x000000680000-0x0000006a0000 : "ospi.env"
[    4.784477] 0x0000006a0000-0x0000006c0000 : "ospi.env.backup"
[    4.790591] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
[    4.796236] 0x000000800000-0x000004000000 : "ospi.rootfs"
[    5.043467] cadence-qspi 47040000.spi: Cadence QSPI NOR probe failed -517
[    5.051044] cadence-qspi 47050000.spi: mt25qu512a (65536 Kbytes)
[    5.087454] cadence-qspi 47050000.spi: Cadence QSPI NOR probe failed -517
[    5.131269] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    5.138912] libphy: 46000f00.mdio: probed
[    5.143924] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
[    5.152188] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2
[    5.163623] am65-cpsw-nuss 46000000.ethernet: Failed to request tx dma channel -517
[    5.164670] cdns-ufshcd 4e84000.ufs: link startup failed 1
[    5.175407] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
[    5.176744] cdns-ufshcd 4e84000.ufs: UFS Host state=0
[    5.185237] mmc0: CQHCI version 5.10
[    5.189930] cdns-ufshcd 4e84000.ufs: lrb in use=0x0, outstanding reqs=0x0 tasks=0x0
[    5.189932] cdns-ufshcd 4e84000.ufs: saved_err=0x0, saved_uic_err=0x0
[    5.189935] cdns-ufshcd 4e84000.ufs: Device power mode=1, UIC link state=0
[    5.214411] cdns-ufshcd 4e84000.ufs: PM in progress=0, sys. suspended=0
[    5.221009] cdns-ufshcd 4e84000.ufs: Auto BKOPS=0, Host self-block=0
[    5.227347] cdns-ufshcd 4e84000.ufs: Clk gate=1
[    5.227830] mmc0: SDHCI controller on 4f80000.sdhci [4f80000.sdhci] using ADMA 64-bit
[    5.231865] cdns-ufshcd 4e84000.ufs: error handling flags=0x0, req. abort count=0
[    5.231867] cdns-ufshcd 4e84000.ufs: Host capabilities=0x1587031f, caps=0x0
[    5.240441] davinci-mcasp 2ba0000.mcasp: IRQ common not found
[    5.247138] cdns-ufshcd 4e84000.ufs: quirks=0x0, dev. quirks=0x0
[    5.247142] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[0, 0], lane[0, 0], pwr[INVALID MODE, INVALID MODE], rate = 0
[    5.247161] host_regs: 00000000: 1587031f 00000000 00000210 00000000
[    5.254929] davinci_gpio 42110000.gpio: IRQ index 4 not found
[    5.259817] host_regs: 00000010: 00000000 00000000 00000000 00000000
[    5.259819] host_regs: 00000020: 00000000 00000470 00000000 00000000
[    5.259822] host_regs: 00000030: 00000008 00000001 00000000 00000000
[    5.265822] davinci_gpio 42110000.gpio: IRQ not populated, err = -6
[    5.277963] host_regs: 00000040: 00000000 00000000 00000000 00000000
[    5.287772] vdd_mmc1: supplied by vsys_3v3
[    5.290032] host_regs: 00000050: 00000000 00000000 00000000 00000000
[    5.296840] pca953x 4-0020: 4-0020 supply vcc not found, using dummy regulator
[    5.302701] host_regs: 00000060: 00000000 00000000 00000000 00000000
[    5.302703] host_regs: 00000070: 00000000 00000000 00000000 00000000
[    5.302706] host_regs: 00000080: 00000000 00000000 00000000 00000000
[    5.335868] GPIO line 284 (DP0_PWR_SW_EN) hogged as output/high
[    5.339244] host_regs: 00000090: 00000000 00000000 00000000 00000000
[    5.346170] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
[    5.351917] cdns-ufshcd 4e84000.ufs: hba->ufs_version = 0x210, hba->capabilities = 0x1587031f
[    5.351920] cdns-ufshcd 4e84000.ufs: hba->outstanding_reqs = 0x0, hba->outstanding_tasks = 0x0
[    5.358596] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
[    5.364160] cdns-ufshcd 4e84000.ufs: last_hibern8_exit_tstamp at 0 us, hibern8_exit_cnt = 0
[    5.364163] cdns-ufshcd 4e84000.ufs: No record of pa_err errors
[    5.370821] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
[    5.377007] cdns-ufshcd 4e84000.ufs: No record of dl_err errors
[    5.377009] cdns-ufshcd 4e84000.ufs: No record of nl_err errors
[    5.377011] cdns-ufshcd 4e84000.ufs: No record of tl_err errors
[    5.385842] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
[    5.394103] cdns-ufshcd 4e84000.ufs: No record of dme_err errors
[    5.394104] cdns-ufshcd 4e84000.ufs: No record of auto_hibern8_err errors
[    5.394107] cdns-ufshcd 4e84000.ufs: No record of fatal_err errors
[    5.400926] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
[    5.408946] cdns-ufshcd 4e84000.ufs: link_startup_fail[0] = 0x1 at 5077408 us
[    5.408948] cdns-ufshcd 4e84000.ufs: No record of resume_fail errors
[    5.408950] cdns-ufshcd 4e84000.ufs: No record of suspend_fail errors
[    5.408951] cdns-ufshcd 4e84000.ufs: No record of dev_reset errors
[    5.408954] cdns-ufshcd 4e84000.ufs: No record of host_reset errors
[    5.417925] ti-udma 285c0000.dma-controller: Channels: 24 (tchan: 12, rchan: 12, gp-rflow: 8)
[    5.421371] cdns-ufshcd 4e84000.ufs: No record of task_abort errors
[    5.421374] cdns-ufshcd 4e84000.ufs: clk: core_clk, rate: 250000000
[    5.421376] cdns-ufshcd 4e84000.ufs: clk: phy_clk, rate: 19200000
[    5.429123] ti-udma 31150000.dma-controller: Channels: 84 (tchan: 42, rchan: 42, gp-rflow: 16)
[    5.433184] cdns-ufshcd 4e84000.ufs: clk: ref_clk, rate: 19200000
[    5.549012] cadence-qspi 47040000.spi: mt35xu512aba (65536 Kbytes)
[    5.555220] 7 cmdlinepart partitions found on MTD device 47040000.spi.0
[    5.561856] Creating 7 MTD partitions on "47040000.spi.0":
[    5.567343] 0x000000000000-0x000000080000 : "ospi.tiboot3"
[    5.573546] 0x000000080000-0x000000280000 : "ospi.tispl"
[    5.579454] 0x000000280000-0x000000680000 : "ospi.u-boot"
[    5.585237] 0x000000680000-0x0000006a0000 : "ospi.env"
[    5.590772] 0x0000006a0000-0x0000006c0000 : "ospi.env.backup"
[    5.596643] mmc0: Command Queue Engine enabled
[    5.601081] mmc0: new HS400 MMC card at address 0001
[    5.606519] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
[    5.611969] mmcblk0: mmc0:0001 S0J56X 14.8 GiB 
[    5.616603] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB
[    5.622744] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB
[    5.628911] 0x000000800000-0x000004000000 : "ospi.rootfs"
[    5.634328] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (240:0)
[    5.643865] cadence-qspi 47050000.spi: mt25qu512a (65536 Kbytes)
[    5.691272] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    5.698916] libphy: 46000f00.mdio: probed
[    5.703940] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
[    5.712204] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2
[    5.724376] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
[    5.731457] pps pps0: new PPS source ptp1
[    5.735568] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:1
[    5.744520] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 57.4
[    5.751810] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
[    5.758691] mmc1: CQHCI version 5.10
[    5.793073] mmc1: SDHCI controller on 4fb0000.sdhci [4fb0000.sdhci] using ADMA 64-bit
[    5.801193] davinci-mcasp 2ba0000.mcasp: IRQ common not found
[    5.813026] debugfs: Directory 'pd:242' with parent 'pm_genpd' already present!
[    5.820379] debugfs: Directory 'pd:241' with parent 'pm_genpd' already present!
[    5.827739] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
[    5.835054] debugfs: Directory 'pd:239' with parent 'pm_genpd' already present!
[    5.842955] hctosys: unable to open rtc device (rtc0)
[    5.863285] ALSA device list:
[    5.866241]   No soundcards found.
[    5.869839] Waiting for root device PARTUUID=1fbe633f-02...
[    7.357388] mmc1: new ultra high speed DDR50 SDHC card at address aaaa
[    7.364198] mmcblk1: mmc1:aaaa SA16G 14.8 GiB 
[    7.372980]  mmcblk1: p1 p2
[    7.420638] EXT4-fs (mmcblk1p2): recovery complete
[    7.426234] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[    7.434329] VFS: Mounted root (ext4 filesystem) on device 179:98.
[    7.445385] devtmpfs: mounted
[    7.448812] Freeing unused kernel memory: 1728K
[    7.453355] Run /sbin/init as init process
[    7.631761] systemd[1]: System time before build time, advancing clock.
[    7.694549] NET: Registered protocol family 10
[    7.699335] Segment Routing with IPv6
[    7.726154] systemd[1]: systemd 244.3+ 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.747860] systemd[1]: Detected architecture arm64.
[    7.793176] systemd[1]: Set hostname to <j7-evm>.
[    7.988482] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock \xe2\x86\x92 /run/docker.sock; please update the unit file accordingly.
[    8.060115] random: systemd: uninitialized urandom read (16 bytes read)
[    8.066792] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    8.079115] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    8.088831] systemd[1]: Created slice system-getty.slice.
[    8.107353] random: systemd: uninitialized urandom read (16 bytes read)
[    8.114467] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    8.131307] random: systemd: uninitialized urandom read (16 bytes read)
[    8.138335] systemd[1]: Created slice User and Session Slice.
[    8.159391] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    8.183363] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    8.207352] systemd[1]: Reached target Paths.
[    8.223314] systemd[1]: Reached target Remote File Systems.
[    8.239310] systemd[1]: Reached target Slices.
[    8.255313] systemd[1]: Reached target Swap.
[    8.273175] systemd[1]: Listening on RPCbind Server Activation Socket.
[    8.291330] systemd[1]: Reached target RPC Port Mapper.
[    8.309985] systemd[1]: Listening on Process Core Dump Socket.
[    8.327401] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    8.361065] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[    8.369307] systemd[1]: Listening on Journal Socket (/dev/log).
[    8.387531] systemd[1]: Listening on Journal Socket.
[    8.403523] systemd[1]: Listening on Network Service Netlink Socket.
[    8.427439] systemd[1]: Listening on udev Control Socket.
[    8.447393] systemd[1]: Listening on udev Kernel Socket.
[    8.469497] systemd[1]: Mounting Huge Pages File System...
[    8.489688] systemd[1]: Mounting POSIX Message Queue File System...
[    8.509573] systemd[1]: Mounting Kernel Debug File System...
[    8.530282] systemd[1]: Mounting Temporary Directory (/tmp)...
[    8.553569] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    8.581305] systemd[1]: Starting Start psplash boot splash screen...
[    8.605421] systemd[1]: Started Hardware RNG Entropy Gatherer Daemon.
[    8.625838] systemd[1]: Starting RPC Bind...
[    8.647398] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    8.667596] systemd[1]: Starting Journal Service...
[    8.686913] systemd[1]: Starting Load Kernel Modules...
[    8.702162] cryptodev: loading out-of-tree module taints kernel.
[    8.710220] systemd[1]: Starting Remount Root and Kernel File Systems...
[    8.723653] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[    8.733354] systemd[1]: Starting udev Coldplug all Devices...
[    8.739222] cryptodev: driver 1.10 loaded.
[    8.757447] systemd[1]: Started RPC Bind.
[    8.776218] systemd[1]: Started Journal Service.
[    8.982221] systemd-journald[233]: Received client request to flush runtime journal.
[    9.719890] rti-wdt 2200000.rti: heartbeat 60 sec
[    9.770350] rti-wdt 2210000.rti: heartbeat 60 sec
[    9.824918] PVR_K:  313: Read BVNC 22.104.208.318 from HW device registers
[    9.834601] PVR_K:  313: RGX Device initialised with BVNC 22.104.208.318
[    9.856654] [drm] Initialized pvr 1.10.5371573 20170530 for 4e20000000.gpu on minor 0
[   10.216751] k3-dsp-rproc 4d80800000.dsp: assigned reserved memory node c66-dma-memory@a7000000
[   10.474091] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   10.482371] [drm] No driver support for vblank timestamp query.
[   10.498460] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 1
[   10.511448] [drm] Cannot find any crtc or sizes
[   10.595739] k3-dsp-rproc 4d80800000.dsp: configured DSP for remoteproc mode
[   10.891516] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
[   10.980572] k3-dsp-rproc 4d80800000.dsp: local reset is deasserted for device
[   11.025173] random: crng init done
[   11.028567] random: 7 urandom warning(s) missed due to ratelimiting
[   11.192617] remoteproc remoteproc0: 4d80800000.dsp is available
[   11.309561] platform 41000000.r5f: configured R5F for IPC-only mode
[   11.325998] k3-dsp-rproc 4d81800000.dsp: assigned reserved memory node c66-dma-memory@a6000000
[   11.338345] remoteproc remoteproc0: powering up 4d80800000.dsp
[   11.349713] remoteproc remoteproc0: Booting fw image j7-c66_0-fw, size 192416
[   11.367630] k3-dsp-rproc 4d80800000.dsp: booting DSP core using boot addr = 0xa6200000
[   11.379510] k3-dsp-rproc 4d81800000.dsp: configured DSP for remoteproc mode
[   11.385693] TI DP83867 46000f00.mdio:00: attached PHY driver [TI DP83867] (mii_bus:phy_addr=46000f00.mdio:00, irq=POLL)
[   11.404505]  remoteproc0#vdev0buffer: assigned reserved memory node c66-dma-memory@a7000000
[   11.404894] virtio_rpmsg_bus virtio0: rpmsg host is online
[   11.418421] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
[   11.423904] k3-dsp-rproc 4d81800000.dsp: local reset is deasserted for device
[   11.444017]  remoteproc0#vdev0buffer: registered virtio0 (type 7)
[   11.455690] remoteproc remoteproc0: remote processor 4d80800000.dsp is now up
[   11.472917] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
[   11.496040] am65-cpsw-nuss 46000000.ethernet eth0: Link is Down
[   11.521607] remoteproc remoteproc2: 4d81800000.dsp is available
[   11.638608] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a8000000
[   11.652454] remoteproc remoteproc2: powering up 4d81800000.dsp
[   11.658341] remoteproc remoteproc2: Booting fw image j7-c66_1-fw, size 192416
[   11.674316] k3-dsp-rproc 4d81800000.dsp: booting DSP core using boot addr = 0xa7200000
[   11.690285]  remoteproc2#vdev0buffer: assigned reserved memory node c66-dma-memory@a6000000
[   11.693226] remoteproc remoteproc1: 41000000.r5f is available
[   11.703204] virtio_rpmsg_bus virtio1: rpmsg host is online
[   11.713848]  remoteproc2#vdev0buffer: registered virtio1 (type 7)
[   11.722394] remoteproc remoteproc2: remote processor 4d81800000.dsp is now up
[   11.743308] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
[   11.782508] k3-dsp-rproc 64800000.dsp: configured DSP for remoteproc mode
[   11.857123] remoteproc remoteproc1: powering up 41000000.r5f
[   11.862800] remoteproc remoteproc1: Booting fw image j7-mcu-r5f0_0-fw, size 95552
[   11.875395] platform 41000000.r5f: R5F core initialized in IPC-only mode
[   11.886413] platform 5c00000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
[   11.886953]  remoteproc1#vdev0buffer: assigned reserved memory node r5f-dma-memory@a0000000
[   11.908537] remoteproc remoteproc3: 64800000.dsp is available
[   11.915590] virtio_rpmsg_bus virtio2: rpmsg host is online
[   11.923329]  remoteproc1#vdev0buffer: registered virtio2 (type 7)
[   11.932816] remoteproc remoteproc1: remote processor 41000000.r5f is now up
[   12.206865] j721e-audio sound@0: pcm3168a-dac <-> 2ba0000.mcasp mapping ok
[   12.278552] remoteproc remoteproc3: powering up 64800000.dsp
[   12.284254] remoteproc remoteproc3: Booting fw image j7-c71_0-fw, size 10489904
[   12.291661] platform 5c00000.r5f: configured R5F for IPC-only mode
[   12.298358] k3-dsp-rproc 64800000.dsp: booting DSP core using boot addr = 0xa8e00000
[   12.311627]  remoteproc3#vdev0buffer: assigned reserved memory node c71-dma-memory@a8000000
[   12.322863] virtio_rpmsg_bus virtio3: rpmsg host is online
[   12.330863]  remoteproc3#vdev0buffer: registered virtio3 (type 7)
[   12.339764] remoteproc remoteproc3: remote processor 64800000.dsp is now up
[   12.350769] virtio_rpmsg_bus virtio3: creating channel ti.ipc4.ping-pong addr 0xd
[   12.360041] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a1000000
[   12.363550] j721e-audio sound@0: pcm3168a-adc <-> 2ba0000.mcasp mapping ok
[   12.569459] remoteproc remoteproc4: 5c00000.r5f is available
[   12.695070] platform 5d00000.r5f: configured R5F for remoteproc mode
[   12.720236] remoteproc remoteproc4: powering up 5c00000.r5f
[   12.725868] remoteproc remoteproc4: Booting fw image j7-main-r5f0_0-fw, size 1669948
[   12.739677] platform 5c00000.r5f: Allocated carveout doesn't fit device address request
[   12.753340] platform 5c00000.r5f: Allocated carveout doesn't fit device address request
[   12.765325] platform 5c00000.r5f: R5F core initialized in IPC-only mode
[   12.775319]  remoteproc4#vdev0buffer: assigned reserved memory node r5f-dma-memory@a1000000
[   12.791204] virtio_rpmsg_bus virtio4: rpmsg host is online
[   12.796736]  remoteproc4#vdev0buffer: registered virtio4 (type 7)
[   12.809743] remoteproc remoteproc4: remote processor 5c00000.r5f is now up
[   12.920666] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
[   13.083749] remoteproc remoteproc5: 5d00000.r5f is available
[   13.165742] remoteproc remoteproc5: powering up 5d00000.r5f
[   13.174475] remoteproc remoteproc5: Booting fw image j7-main-r5f0_1-fw, size 95476
[   13.187515] platform 5d00000.r5f: booting R5F core using boot addr = 0x0
[   13.197774]  remoteproc5#vdev0buffer: assigned reserved memory node r5f-dma-memory@a3000000
[   13.213535] virtio_rpmsg_bus virtio5: rpmsg host is online
[   13.222537]  remoteproc5#vdev0buffer: registered virtio5 (type 7)
[   13.233945] remoteproc remoteproc5: remote processor 5d00000.r5f is now up
[   13.260117] remoteproc remoteproc6: b034000.pru is available
[   13.271790] platform 5e00000.r5f: configured R5F for remoteproc mode
[   13.291329] virtio_rpmsg_bus virtio5: creating channel ti.ipc4.ping-pong addr 0xd
[   13.460741] pru-rproc b034000.pru: PRU rproc node /interconnect@100000/icssg@b000000/pru@34000 probed successfully
[   13.569482] platform 5e00000.r5f: assigned reserved memory node r5f-dma-memory@a4000000
[   13.594144] omap_rng 4e10000.trng: Random Number Generator ver. 241b34c
[   13.684605] remoteproc remoteproc7: 5e00000.r5f is available
[   13.705525] remoteproc remoteproc8: b004000.rtu is available
[   13.713727] pru-rproc b004000.rtu: PRU rproc node /interconnect@100000/icssg@b000000/rtu@4000 probed successfully
[   13.729025] platform 5f00000.r5f: configured R5F for remoteproc mode
[   13.736869] pru-rproc b00a000.txpru: IRQ vring not found
[   13.745944] remoteproc remoteproc7: powering up 5e00000.r5f
[   13.751752] remoteproc remoteproc7: Booting fw image j7-main-r5f1_0-fw, size 95476
[   13.764339] platform 5e00000.r5f: booting R5F core using boot addr = 0x0
[   13.771124] pru-rproc b00a000.txpru: IRQ kick not found
[   13.776447]  remoteproc7#vdev0buffer: assigned reserved memory node r5f-dma-memory@a4000000
[   13.787979] virtio_rpmsg_bus virtio6: rpmsg host is online
[   13.795465]  remoteproc7#vdev0buffer: registered virtio6 (type 7)
[   13.801901] remoteproc remoteproc10: b00a000.txpru is available
[   13.805301] remoteproc remoteproc7: remote processor 5e00000.r5f is now up
[   13.819373] platform 5f00000.r5f: assigned reserved memory node r5f-dma-memory@a5000000
[   13.833535] pru-rproc b00a000.txpru: PRU rproc node /interconnect@100000/icssg@b000000/txpru@a000 probed successfully
[   13.854091] remoteproc remoteproc9: 5f00000.r5f is available
[   13.874036] virtio_rpmsg_bus virtio6: creating channel ti.ipc4.ping-pong addr 0xd
[   13.922534] remoteproc remoteproc9: powering up 5f00000.r5f
[   13.928198] remoteproc remoteproc9: Booting fw image j7-main-r5f1_1-fw, size 95476
[   13.941211] platform 5f00000.r5f: booting R5F core using boot addr = 0x0
[   13.951031]  remoteproc9#vdev0buffer: assigned reserved memory node r5f-dma-memory@a5000000
[   13.962483] virtio_rpmsg_bus virtio7: rpmsg host is online
[   13.972594]  remoteproc9#vdev0buffer: registered virtio7 (type 7)
[   13.980479] cdns-usb3 6000000.usb: DRD version v1 (ID: 0004024e, rev: 00000200)
[   13.981056] remoteproc remoteproc9: remote processor 5f00000.r5f is now up
[   14.013441] remoteproc remoteproc11: b038000.pru is available
[   14.052723] virtio_rpmsg_bus virtio7: creating channel ti.ipc4.ping-pong addr 0xd
[   14.072109] pru-rproc b038000.pru: PRU rproc node /interconnect@100000/icssg@b000000/pru@38000 probed successfully
[   14.124702] cdns-usb3 6400000.usb: DRD version v1 (ID: 0004024e, rev: 00000200)
[   14.135533] remoteproc remoteproc12: b006000.rtu is available
[   14.147415] pru-rproc b006000.rtu: PRU rproc node /interconnect@100000/icssg@b000000/rtu@6000 probed successfully
[   14.170056] pru-rproc b00c000.txpru: IRQ vring not found
[   14.215807] pru-rproc b00c000.txpru: IRQ kick not found
[   14.236681] remoteproc remoteproc13: b00c000.txpru is available
[   14.325676] pru-rproc b00c000.txpru: PRU rproc node /interconnect@100000/icssg@b000000/txpru@c000 probed successfully
[   14.363340] remoteproc remoteproc14: b134000.pru is available
[   14.383028] pru-rproc b134000.pru: PRU rproc node /interconnect@100000/icssg@b100000/pru@34000 probed successfully
[   14.400171] usbcore: registered new interface driver usbfs
[   14.412483] usbcore: registered new interface driver hub
[   14.422023] usbcore: registered new device driver usb
[   14.422223] remoteproc remoteproc15: b104000.rtu is available
[   14.450406] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[   14.453680] pru-rproc b104000.rtu: PRU rproc node /interconnect@100000/icssg@b100000/rtu@4000 probed successfully
[   14.480178] pru-rproc b10a000.txpru: IRQ vring not found
[   14.492762] pru-rproc b10a000.txpru: IRQ kick not found
[   14.506798] remoteproc remoteproc16: b10a000.txpru is available
[   14.506947] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
[   14.523621] pru-rproc b10a000.txpru: PRU rproc node /interconnect@100000/icssg@b100000/txpru@a000 probed successfully
[   14.547701] xhci-hcd xhci-hcd.2.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000000000010010
[   14.554957] remoteproc remoteproc17: b138000.pru is available
[   14.563477] xhci-hcd xhci-hcd.2.auto: irq 516, io mem 0x06410000
[   14.575405] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[   14.576511] pru-rproc b138000.pru: PRU rproc node /interconnect@100000/icssg@b100000/pru@38000 probed successfully
[   14.591271] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.607272] usb usb1: Product: xHCI Host Controller
[   14.615268] usb usb1: Manufacturer: Linux 5.4.40-g66cf445b76 xhci-hcd
[   14.622254] remoteproc remoteproc18: b106000.rtu is available
[   14.627439] usb usb1: SerialNumber: xhci-hcd.2.auto
[   14.637356] pru-rproc b106000.rtu: PRU rproc node /interconnect@100000/icssg@b100000/rtu@6000 probed successfully
[   14.639861] hub 1-0:1.0: USB hub found
[   14.655297] hub 1-0:1.0: 1 port detected
[   14.663394] pru-rproc b10c000.txpru: IRQ vring not found
[   14.664311] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[   14.676240] pru-rproc b10c000.txpru: IRQ kick not found
[   14.681470] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
[   14.689161] remoteproc remoteproc19: b10c000.txpru is available
[   14.695375] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed
[   14.707306] pru-rproc b10c000.txpru: PRU rproc node /interconnect@100000/icssg@b100000/txpru@c000 probed successfully
[   14.723297] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   14.735308] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[   14.834373] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   14.852204] usb usb2: Product: xHCI Host Controller
[   14.875708] usb usb2: Manufacturer: Linux 5.4.40-g66cf445b76 xhci-hcd
[   14.930010] usb usb2: SerialNumber: xhci-hcd.2.auto
[   14.940092] hub 2-0:1.0: USB hub found
[   14.947289] hub 2-0:1.0: 1 port detected
[   15.608117] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   15.616639] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   29.698118] Initializing XFRM netlink socket
[   31.814064] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[   31.829915] Bridge firewalling registered

root@j7-evm:~# zegrep -i "^config_pci" /proc/config.gz
CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_PCI_DOMAINS_GENERIC=y
CONFIG_PCI_SYSCALL=y
CONFIG_PCIEPORTBUS=y
CONFIG_PCIEAER=y
CONFIG_PCIEASPM=y
CONFIG_PCIEASPM_DEFAULT=y
CONFIG_PCIE_PME=y
CONFIG_PCI_MSI=y
CONFIG_PCI_MSI_IRQ_DOMAIN=y
CONFIG_PCI_QUIRKS=y
CONFIG_PCI_ATS=y
CONFIG_PCI_ECAM=y
CONFIG_PCI_IOV=y
CONFIG_PCI_HOST_COMMON=y
CONFIG_PCI_HOST_GENERIC=y
CONFIG_PCIE_ALTERA=y
CONFIG_PCIE_ALTERA_MSI=y
CONFIG_PCI_HOST_THUNDER_PEM=y
CONFIG_PCI_HOST_THUNDER_ECAM=y
CONFIG_PCIE_DW=y
CONFIG_PCIE_DW_HOST=y
CONFIG_PCIE_DW_EP=y
CONFIG_PCI_KEYSTONE=y
CONFIG_PCI_KEYSTONE_HOST=y
CONFIG_PCI_KEYSTONE_EP=y
CONFIG_PCIE_CADENCE=y
CONFIG_PCIE_CADENCE_HOST=y
CONFIG_PCIE_CADENCE_EP=y
CONFIG_PCI_J721E=y
CONFIG_PCI_J721E_HOST=y
CONFIG_PCI_J721E_EP=y
CONFIG_PCI_ENDPOINT=y
CONFIG_PCI_ENDPOINT_CONFIGFS=y
CONFIG_PCI_EPF_TEST=y
CONFIG_PCI_EPF_NTB=y
CONFIG_PCI_ENDPOINT_TEST=m

root@j7-evm:~# lspci -v
0000:00:00.0 PCI bridge: Texas Instruments Device b00d (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 40
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	Capabilities: [80] Power Management version 3
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable+ 64bit+
	Capabilities: [b0] MSI-X: Enable- Count=1 Masked-
	Capabilities: [c0] Express Root Port (Slot+), MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Alternative Routing-ID Interpretation (ARI)
	Capabilities: [150] Device Serial Number 00-00-00-00-00-00-00-00
	Capabilities: [160] Power Budgeting <?>
	Capabilities: [1b8] Latency Tolerance Reporting
	Capabilities: [1c0] #16
	Capabilities: [200] Single Root I/O Virtualization (SR-IOV)
	Capabilities: [300] #19
	Capabilities: [400] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [440] Process Address Space ID (PASID)
	Capabilities: [4c0] Virtual Channel
	Capabilities: [5c0] Address Translation Service (ATS)
	Capabilities: [640] Page Request Interface (PRI)
	Capabilities: [900] L1 PM Substates
	Capabilities: [910] #25
	Capabilities: [920] #27
	Capabilities: [9c0] #26
	Capabilities: [a20] Precision Time Measurement
	Kernel driver in use: pcieport
	Kernel modules: pci_endpoint_test, ntb_hw_epf

0001:00:00.0 PCI bridge: Texas Instruments Device b00d (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 43
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	Capabilities: [80] Power Management version 3
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable+ 64bit+
	Capabilities: [b0] MSI-X: Enable- Count=1 Masked-
	Capabilities: [c0] Express Root Port (Slot+), MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [150] Device Serial Number 00-00-00-00-00-00-00-00
	Capabilities: [300] #19
	Capabilities: [4c0] Virtual Channel
	Capabilities: [5c0] Address Translation Service (ATS)
	Capabilities: [640] Page Request Interface (PRI)
	Capabilities: [900] L1 PM Substates
	Kernel driver in use: pcieport
	Kernel modules: pci_endpoint_test, ntb_hw_epf

0002:00:00.0 PCI bridge: Texas Instruments Device b00d (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 46
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	Capabilities: [80] Power Management version 3
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable+ 64bit+
	Capabilities: [b0] MSI-X: Enable- Count=1 Masked-
	Capabilities: [c0] Express Root Port (Slot+), MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [150] Device Serial Number 00-00-00-00-00-00-00-00
	Capabilities: [300] #19
	Capabilities: [4c0] Virtual Channel
	Capabilities: [5c0] Address Translation Service (ATS)
	Capabilities: [640] Page Request Interface (PRI)
	Capabilities: [900] L1 PM Substates
	Kernel driver in use: pcieport
	Kernel modules: pci_endpoint_test, ntb_hw_epf

Could you provide feedback?

Thanks,

--Gunter

  • Hi,

    could we have an update on this?

    The customer is using the following switch setting:

    SW3: 1, 3, 4 are OFF. The others are ON.

    Can you confirm the SW3 setting? It is not documented clearly in the software link above.

    Thanks,

    --Gunter

  • Hi,

    I just checked on my J7 EVM with a default kernel and no changes to dts.

    The SW3 setting was: 1, 3, 4, 5, 6 is OFF, the rest ON.

    So essentially both SW3[5] and SW[6] are OFF. (This was not documented, the EP mode documentation says to turn these OFF, which is incorrect)

    With that both a BRCM Gigabit Ethernet card and Realtek Gigabit Ethernet enumerated without an issue.

    root@j7-evm:~# lspci
    0000:00:00.0 PCI bridge: Texas Instruments Device b00d
    0000:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
    0001:00:00.0 PCI bridge: Texas Instruments Device b00d
    0002:00:00.0 PCI bridge: Texas Instruments Device b00d

    Maybe there are issues with the Marvell ACQ111, but we will check.

    Thanks,

    --Gunter

    Regards,

    --Gunter

  • Gunter, 

    It seems you already confirmed the EVM can recognize PCIe cards other than the Marvell card. I can also confirm the SW3 DIP switches are fine. 

    On Marvell card, did you also try to put it to the second slot (the x2 slot)? I have a on-going debug that some cards did not work on the x1 slot, only with E7 version of the processor SOM. 

    I also see from the log you are using latest SDK release, which matches mine. You may also try to run 

        /usr/sbin/lspci -vv 

    that will print more details. 

    regards

    Jian