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.

TDA4VM: pcie output refclk not work.

Part Number: TDA4VM
Other Parts Discussed in Thread: PCM3168A, TDA4VL

apply hardware and software modification according to : [FAQ] TDA4VM: TDA4VM/DRA829V: routing PCIE reference clock externally - Processors forum - Processors - TI E2E support forums, but no clk detected.

dumped registers:

root@j7-evm:/boot# ./analyze_pcie_register_tda4vm.sh
//// Starting register dump ////
CTRLMMR_PCIE0_CLKSEL at addr 0x00108080 is 0x00000000
CTRLMMR_PCIE1_CLKSEL at addr 0x00108084 is 0x00000000
CTRLMMR_PCIE2_CLKSEL at addr 0x00108088 is 0x00000000
CTRLMMR_PCIE3_CLKSEL at addr 0x0010808C is 0x00000000
CTRLMMR_PCIE0_CTRL at addr 0x00104070 is 0x00000082
CTRLMMR_PCIE1_CTRL at addr 0x00104074 is 0x00000182
CTRLMMR_PCIE2_CTRL at addr 0x00104078 is 0x00000182
CTRLMMR_PCIE3_CTRL at addr 0x0010407C is 0x00000103
CTRLMMR_PCIE_REFCLK0_CLKSEL at addr 0x00108070 is 0x00000100
CTRLMMR_PCIE_REFCLK1_CLKSEL at addr 0x00108074 is 0x00000101
CTRLMMR_PCIE_REFCLK2_CLKSEL at addr 0x00108078 is 0x00000100
CTRLMMR_PCIE_REFCLK3_CLKSEL at addr 0x0010807C is 0x00000101
CTRLMMR_ACSPCIE0_CTRL at addr 0x00118090 is 0x01000000
CTRLMMR_ACSPCIE1_CTRL at addr 0x00118094 is 0x01000000
PCIE_CORE_PF0_I_LINK_CTRL_STATUS/PCIE_CORE_RP_I_LINK_CTRL_STATUS at addr 0x0D8000D0 is 0x00210000
PCIE_CORE_PF1_I_LINK_CTRL_STATUS at addr 0x0D8010D0 is 0x00210000
PCIE_CORE_PF2_I_LINK_CTRL_STATUS at addr 0x0D8020D0 is 0x00210000
PCIE_CORE_PF3_I_LINK_CTRL_STATUS at addr 0x0D8030D0 is 0x00210000
PCIE_CORE_PF4_I_LINK_CTRL_STATUS at addr 0x0D8040D0 is 0x00210000
PCIE_CORE_PF5_I_LINK_CTRL_STATUS at addr 0x0D8050D0 is 0x00210000
CTRLMMR_SERDES0_LN0_CTRL at addr 0x00104080 is 0x00000001
CTRLMMR_SERDES0_LN1_CTRL at addr 0x00104084 is 0x00000000
CTRLMMR_SERDES1_LN0_CTRL at addr 0x00104090 is 0x00000001
CTRLMMR_SERDES1_LN1_CTRL at addr 0x00104094 is 0x00000001
CTRLMMR_SERDES2_LN0_CTRL at addr 0x001040A0 is 0x00000001
CTRLMMR_SERDES2_LN1_CTRL at addr 0x001040A4 is 0x00000001
CTRLMMR_SERDES3_LN0_CTRL at addr 0x001040B0 is 0x00000002
CTRLMMR_SERDES3_LN1_CTRL at addr 0x001040B4 is 0x00000002
//// Ending register dump ////
root@j7-evm:/boot#

we are using sdk8.6 with EVM - TDA4VM and the modifications we make to the hardware are:

we also add 49.9R resister to  clock output

We change serdes2 only, because we only want to verify if an NVME ssd CAN work with internal clock.

dmesg log are normal, but we do not see linkup log...

root@j7-evm:/boot#
root@j7-evm:/boot#
root@j7-evm:/boot# dmesg | grep pci
[ 1.144926] j721e-pcie 2900000.pcie: host bridge /bus@100000/pcie@2900000 ranges:
[ 1.152626] j721e-pcie 2900000.pcie: IO 0x0010001000..0x0010010fff -> 0x0010001000
[ 1.160904] j721e-pcie 2900000.pcie: MEM 0x0010011000..0x0017ffffff -> 0x0010011000
[ 1.169181] j721e-pcie 2900000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[ 2.188529] j721e-pcie 2900000.pcie: PCI host bridge to bus 0000:00
[ 2.194951] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 2.200566] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] (bus address [0x10001000-0x10010fff])
[ 2.210263] pci_bus 0000:00: root bus resource [mem 0x10011000-0x17ffffff]
[ 2.217318] pci 0000:00:00.0: [104c:b00d] type 01 class 0x060400
[ 2.223457] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
[ 2.233407] pci 0000:00:00.0: supports D1
[ 2.237501] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 2.243388] pci 0000:00:00.0: reg 0x224: [mem 0x00000000-0x003fffff 64bit]
[ 2.250414] pci 0000:00:00.0: VF(n) BAR0 space: [mem 0x00000000-0x00ffffff 64bit] (contains BAR0 for 4 VFs)
[ 2.262555] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 2.272688] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 2.279460] pci 0000:00:00.0: BAR 7: assigned [mem 0x10400000-0x113fffff 64bit]
[ 2.286934] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 2.292226] pcieport 0000:00:00.0: PME: Signaling with IRQ 61
[ 2.298583] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
[ 2.306252] j721e-pcie 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000
[ 2.314527] j721e-pcie 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000
[ 2.322808] j721e-pcie 2910000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[ 3.334110] j721e-pcie 2910000.pcie: PCI host bridge to bus 0001:00
[ 3.340527] pci_bus 0001:00: root bus resource [bus 00-ff]
[ 3.346133] pci_bus 0001:00: root bus resource [io 0x10000-0x1ffff] (bus address [0x18001000-0x18010fff])
[ 3.356000] pci_bus 0001:00: root bus resource [mem 0x18011000-0x1fffffff]
[ 3.363045] pci 0001:00:00.0: [104c:b00d] type 01 class 0x060400
[ 3.369184] pci_bus 0001:00: 2-byte config write to 0001:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
[ 3.379113] pci 0001:00:00.0: supports D1
[ 3.383207] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[ 3.391164] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 3.401291] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
[ 3.408059] pci 0001:00:00.0: PCI bridge to [bus 01]
[ 3.413337] pcieport 0001:00:00.0: PME: Signaling with IRQ 64
[ 3.419688] j721e-pcie 2920000.pcie: host bridge /bus@100000/pcie@2920000 ranges:
[ 3.427357] j721e-pcie 2920000.pcie: IO 0x4400001000..0x4400010fff -> 0x0000001000
[ 3.435634] j721e-pcie 2920000.pcie: MEM 0x4400011000..0x4407ffffff -> 0x0000011000
[ 3.443910] j721e-pcie 2920000.pcie: IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[ 4.455351] j721e-pcie 2920000.pcie: PCI host bridge to bus 0002:00
[ 4.461771] pci_bus 0002:00: root bus resource [bus 00-ff]
[ 4.467377] pci_bus 0002:00: root bus resource [io 0x20000-0x2ffff] (bus address [0x1000-0x10fff])
[ 4.476624] pci_bus 0002:00: root bus resource [mem 0x4400011000-0x4407ffffff] (bus address [0x00011000-0x07ffffff])
[ 4.487399] pci 0002:00:00.0: [104c:b00d] type 01 class 0x060400
[ 4.493538] pci_bus 0002:00: 2-byte config write to 0002:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
[ 4.503467] pci 0002:00:00.0: supports D1
[ 4.507562] pci 0002:00:00.0: PME# supported from D0 D1 D3hot
[ 4.515514] pci 0002:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 4.525637] pci_bus 0002:01: busn_res: [bus 01-ff] end is updated to 01
[ 4.532404] pci 0002:00:00.0: PCI bridge to [bus 01]
[ 4.537677] pcieport 0002:00:00.0: PME: Signaling with IRQ 67
[ 9.921857] Modules linked in: ti_k3_r5_remoteproc(+) vxe_enc vxd_dec videobuf2_dma_sg videobuf2_dma_contig pruss sa2ul pci_endpoint_test v4l2_mem2mem ti_am335x_tscadc videobuf2_memops videobuf2_v4l2 ti_k3_dsp_remoteproc(+) pvrsrvkm(O) videobuf2_common sha512_generic virtio_rpmsg_bus cdns_dphy authenc cdns3_ti m_can_platform m_can can_dev snd_soc_pcm3168a_i2c snd_soc_pcm3168a rti_wdt ina2xx optee_rng rng_core sch_fq_codel rpmsg_kdrv_switch cryptodev(O) ipv6
root@j7-evm:/boot#

@

  • Hi,

    From the logs, it looks like there were no errors in terms of PCIe controller initialization. On the other hand, it also looks like no PCIe device is linking up if you have a PCIe device connected.

    Could you post the full "dmesg" logs so that I can see if there are no serdes related error messages? Also, could you share device tree, so that I can confirm if dts file patches posted in the follow-up message in the FAQ: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1004565/faq-tda4vm-tda4vm-dra829v-routing-pcie-reference-clock-externally.

    Regards,

    Takuma

  • sorry for the late reply. 

    I can get the NVME SSD device detected by a "hot reset".  the lsblk DOES not show SSD device on first poweron.

    I can measure the refclk output is normal. I noticed that some posts memtion that, the clock should exist 100ms before the reset release. Is that the reason why I can not get SSD detected after power on?

  • Hi,

    As you suspect, it could be related to timing if a rescan of the PCIe bus detects the SSD card.

    Could you try applying this patch, which should fix the issue if it is caused by the lack of 100ms delay before PERST# deassertion: https://lore.kernel.org/lkml/20230718155515.GA483233@bhelgaas/t/

    Regards,

    Takuma

  • Thank you. I will try later. since we can use SSD now, it will not be a big problem.

    Another issue, is the same patch applies to  TDA4AL? we patch the sdk8.6 of TDA4AL, modify the hardware, but we can not get refclk out as expected. 

    Also, when check registers mentioned in the https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1004565/faq-tda4vm-tda4vm-dra829v-routing-pcie-reference-clock-externally 

    ·        //enable PADs of ACSPCIe

    devmem2 0x00118094 reads 0x01000000 as expected.

    ·        //refclk select for ACSPCIe

    devmem2 0x00108078 read 0x00000100 as expected.

    we do not get expected value, values we got:

    root@j721s2-evm:~# devmem2 0x00118094
    /dev/mem opened.
    Memory mapped at address 0xffff81af6000.
    Read at address 0x00118094 (0xffff81af6094): 0x00000003
    root@j721s2-evm:~# devmem2 0x00108078
    /dev/mem opened.
    Memory mapped at address 0xffff8b07d000.
    Read at address 0x00108078 (0xffff8b07d078): 0x00000000
    root@j721s2-evm:~#

    Please find the attached logs. hopefully, you can provide a patch for TDA4AL to route pcie refclk out, so we can use SSD with external 100M clock. Many thanks.

    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 5.10.162-g76b3e88d56 (lm-sw-dev@lmswdev-MS-7D54) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #2 SMP PREEMPT Sun Nov 12 22:52:56 CST 2023
    [    0.000000] Machine model: Texas Instruments J721S2 EVM
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002880000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-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 vision-apps-r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a2100000, 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 vision-apps-r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a4100000, 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 vision-apps-r5f-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 vision-apps-r5f-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 vision-apps-r5f-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 vision-apps-r5f-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-rtos-ipc-memory-region@a8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000aa000000, size 96 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-dma-memory@aa000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71-dma-memory@b0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b0100000, size 95 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_0-memory@b0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_1-dma-memory@b6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b6100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_1-memory@b6100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: initialized node vision_apps_shared-memories, compatible id dma-heap-carveout
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000d8000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-lo@d8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000880000000, size 704 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-hi@880000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000008ac000000, size 896 MiB
    [    0.000000] OF: reserved mem: initialized node linux-cma-buffers@8ac000000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x0000000bffffefff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000b7ffffff]
    [    0.000000]   node   0: [mem 0x00000000b8000000-0x00000000d7ffffff]
    [    0.000000]   node   0: [mem 0x00000000d8000000-0x00000000dbffffff]
    [    0.000000]   node   0: [mem 0x00000000dc000000-0x00000000ffffefff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008abffffff]
    [    0.000000]   node   0: [mem 0x00000008ac000000-0x0000000bffffefff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000bffffefff]
    [    0.000000] On node 0 totalpages: 4194302
    [    0.000000]   DMA zone: 8192 pages used for memmap
    [    0.000000]   DMA zone: 0 pages reserved
    [    0.000000]   DMA zone: 524287 pages, LIFO batch:63
    [    0.000000]   Normal zone: 57344 pages used for memmap
    [    0.000000]   Normal zone: 3670015 pages, LIFO batch:63
    [    0.000000] On node 0, zone Normal: 1 pages in unavailable ranges
    [    0.000000] On node 0, zone Normal: 1 pages in unavailable ranges
    [    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.2
    [    0.000000] percpu: Embedded 22 pages/cpu s50392 r8192 d31528 u90112
    [    0.000000] pcpu-alloc: s50392 r8192 d31528 u90112 alloc=22*4096
    [    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] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: detected: ARM erratum 1742098
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 4128766
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02880000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),-@8m(hbmc.rootfs) root=PARTUUID=5f70c683-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 13728304K/16777208K available (11200K kernel code, 1160K rwdata, 4300K rodata, 1856K init, 433K bss, 2131400K reserved, 917504K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu: 	RCU event tracing is enabled.
    [    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000] 	Trampoline variant of Tasks RCU enabled.
    [    0.000000] 	Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @8e4800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008e4030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008e4040000
    [    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.000002] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008396] Console: colour dummy device 80x25
    [    0.012980] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023651] pid_max: default: 32768 minimum: 301
    [    0.028416] LSM: Security Framework initializing
    [    0.033230] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.041053] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.050193] rcu: Hierarchical SRCU implementation.
    [    0.055282] Platform MSI: msi-controller@1820000 domain created
    [    0.061504] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.070811] EFI services will not be available.
    [    0.075548] smp: Bringing up secondary CPUs ...
    [    0.088635] Detected PIPT I-cache on CPU1
    [    0.088662] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.088675] GICv3: CPU1: using allocated LPI pending table @0x00000008e4050000
    [    0.088715] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.088778] smp: Brought up 1 node, 2 CPUs
    [    0.118125] SMP: Total of 2 processors activated.
    [    0.122932] CPU features: detected: 32-bit EL0 Support
    [    0.128188] CPU features: detected: CRC32 instructions
    [    0.142952] CPU: All CPU(s) started at EL2
    [    0.147161] alternatives: patching kernel code
    [    0.152269] devtmpfs: initialized
    [    0.160086] KASLR disabled due to lack of seed
    [    0.164739] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.174706] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.191851] pinctrl core: initialized pinctrl subsystem
    [    0.197541] DMI not present or invalid.
    [    0.201830] NET: Registered protocol family 16
    [    0.207390] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
    [    0.215046] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.223396] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.231823] thermal_sys: Registered thermal governor 'step_wise'
    [    0.231825] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.238443] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.252097] ASID allocator initialised with 65536 entries
    [    0.272627] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.279486] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.286332] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.293177] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.300690] cryptd: max_cpu_qlen set to 1000
    [    0.306926] k3-chipinfo 43000014.chipid: Family:J721S2 rev:SR1.0 JTAGID[0x0bb7502f] Detected
    [    0.316009] vsys_3v3: supplied by evm_12v0
    [    0.320420] vsys_5v0: supplied by evm_12v0
    [    0.324760] vdd_mmc1: supplied by vsys_3v3
    [    0.329485] iommu: Default domain type: Translated 
    [    0.334689] SCSI subsystem initialized
    [    0.338815] mc: Linux media interface: v0.10
    [    0.343191] videodev: Linux video capture interface: v2.00
    [    0.348828] pps_core: LinuxPPS API ver. 1 registered
    [    0.353899] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.363236] PTP clock support registered
    [    0.367255] EDAC MC: Ver: 3.0.0
    [    0.371088] FPGA manager framework
    [    0.374613] Advanced Linux Sound Architecture Driver Initialized.
    [    0.381267] clocksource: Switched to clocksource arch_sys_counter
    [    0.387614] VFS: Disk quotas dquot_6.6.0
    [    0.391652] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.401480] Carveout Heap: Exported 512 MiB at 0x00000000b8000000
    [    0.407779] NET: Registered protocol family 2
    [    0.413077] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.424187] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
    [    0.433097] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.441785] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
    [    0.449837] TCP: Hash tables configured (established 131072 bind 65536)
    [    0.456780] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.463893] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.471539] NET: Registered protocol family 1
    [    0.476331] RPC: Registered named UNIX socket transport module.
    [    0.482395] RPC: Registered udp transport module.
    [    0.487213] RPC: Registered tcp transport module.
    [    0.492017] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.498601] NET: Registered protocol family 44
    [    0.503149] PCI: CLS 0 bytes, default 64
    [    0.507569] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.518166] Initialise system trusted keyrings
    [    0.522828] workingset: timestamp_bits=46 max_order=22 bucket_order=0
    [    0.531029] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.537362] NFS: Registering the id_resolver key type
    [    0.542551] Key type id_resolver registered
    [    0.546825] Key type id_legacy registered
    [    0.550948] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.557797] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.565448] 9p: Installing v9fs 9p2000 file system support
    [    0.590825] Key type asymmetric registered
    [    0.595016] Asymmetric key parser 'x509' registered
    [    0.600016] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.607576] io scheduler mq-deadline registered
    [    0.612202] io scheduler kyber registered
    [    0.617803] pinctrl-single 4301c000.pinctrl: 101 pins, size 404
    [    0.624016] pinctrl-single 11c000.pinctrl: 72 pins, size 288
    [    0.634615] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.647644] brd: module loaded
    [    0.654378] loop: module loaded
    [    0.658282] megasas: 07.714.04.00-rc1
    [    0.664149] tun: Universal TUN/TAP device driver, 1.6
    [    0.669659] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.676069] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.682143] sky2: driver version 1.30
    [    0.686542] VFIO - User Level meta-driver version: 0.3
    [    0.692389] i2c /dev entries driver
    [    0.696856] sdhci: Secure Digital Host Controller Interface driver
    [    0.703186] sdhci: Copyright(c) Pierre Ossman
    [    0.707846] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.714215] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.720556] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.727968] optee: probing for conduit method.
    [    0.732537] optee: revision 3.20 (8e74d476)
    [    0.748978] optee: dynamic shared memory is enabled
    [    0.758460] optee: initialized driver
    [    0.763612] NET: Registered protocol family 17
    [    0.768263] 9pnet: Installing 9P2000 support
    [    0.772667] Key type dns_resolver registered
    [    0.777149] Loading compiled-in X.509 certificates
    [    0.790231] ti-sci 44083000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar')
    [    0.825066] omap_i2c 42120000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.831251] omap_i2c 40b00000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.837373] omap_i2c 40b10000.i2c: bus 2 rev0.12 at 100 kHz
    [    0.843802] pca953x 3-0021: supply vcc not found, using dummy regulator
    [    0.850637] pca953x 3-0021: using no AI
    [    0.877776] pca953x 3-0020: supply vcc not found, using dummy regulator
    [    0.884594] pca953x 3-0020: using no AI
    [    0.888568] pca953x 3-0020: failed writing register
    [    0.893615] pca953x: probe of 3-0020 failed with error -121
    [    0.899548] pca953x 3-0022: supply vcc not found, using dummy regulator
    [    0.906351] pca953x 3-0022: using AI
    [    0.910053] pca953x 3-0022: failed writing register
    [    0.915083] pca953x: probe of 3-0022 failed with error -121
    [    0.920825] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    0.927092] omap_i2c 2030000.i2c: bus 4 rev0.12 at 100 kHz
    [    0.933376] pca953x 5-0020: supply vcc not found, using dummy regulator
    [    0.940197] pca953x 5-0020: using no AI
    [    0.965309] pca953x 5-0020: failed writing register
    [    0.970343] pca953x: probe of 5-0020 failed with error -121
    [    0.976229] omap_i2c 2050000.i2c: bus 5 rev0.12 at 400 kHz
    [    0.982665] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 125 domain created
    [    0.991219] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 148 domain created
    [    1.000562] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 227 domain created
    [    1.009208] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 265 created
    [    1.021729] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    1.029415] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    1.037694] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    1.045970] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    2.056360] j721e-pcie 2910000.pcie: PCI host bridge to bus 0000:00
    [    2.062777] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    2.068384] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x18001000-0x18010fff])
    [    2.078075] pci_bus 0000:00: root bus resource [mem 0x18011000-0x1fffffff]
    [    2.085130] pci 0000:00:00.0: [104c:b013] type 01 class 0x060400
    [    2.091365] pci 0000:00:00.0: supports D1
    [    2.095460] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    2.103010] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    2.112715] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
    [    2.119487] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    2.124830] pcieport 0000:00:00.0: PME: Signaling with IRQ 54
    [    2.131479] ti-udma 311a0000.dma-controller: Number of rings: 48
    [    2.138269] ti-udma 311a0000.dma-controller: Channels: 24 (bchan: 0, tchan: 8, rchan: 16)
    [    2.147532] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:272
    [    2.157417] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    2.164177] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    2.173044] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[878,128] sci-dev-id:259
    [    2.183211] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    2.189970] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    2.197654] omap8250 40a00000.serial: failed to get alias
    [    2.203786] printk: console [ttyS2] disabled
    [    2.208186] 2850000.serial: ttyS2 at MMIO 0x2850000 (irq = 27, base_baud = 3000000) is a 8250
    [    2.216934] printk: console [ttyS2] enabled
    [    2.225370] printk: bootconsole [ns16550a0] disabled
    [    2.236615] cadence-qspi 47040000.spi: error -ENODEV: No Rx DMA available
    [    2.244067] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    2.249037] 7 cmdlinepart partitions found on MTD device 47040000.spi.0
    [    2.255636] Creating 7 MTD partitions on "47040000.spi.0":
    [    2.261109] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    2.267150] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    2.272896] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    2.278734] 0x000000680000-0x0000006c0000 : "ospi.env"
    [    2.284300] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
    [    2.290447] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    2.296278] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    2.304303] cadence-qspi 47050000.spi: error -ENODEV: No Rx DMA available
    [    2.311416] spi-nor spi1.0: mt25qu512a (65536 Kbytes)
    [    2.320535] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    2.365272] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    2.373886] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    2.382193] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    2.395058] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    2.402266] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    2.408591] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    2.418995] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010c, freq:200000000, add_val:4 pps:0
    [    2.528821] mmc0: CQHCI version 5.10
    [    2.532589] gpio-mux mux-controller0: 2-way mux-controller registered
    [    2.539511] gpio-mux mux-controller1: 2-way mux-controller registered
    [    2.550103] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fca100
    [    2.557010] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fca100
    [    2.563826] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fca100
    [    2.570637] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fca100
    [    2.571870] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    2.585146] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    2.595202] ti-udma 31150000.dma-controller: Channels: 60 (tchan: 30, rchan: 30, gp-rflow: 16)
    [    2.605941] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    2.649275] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    2.657903] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    2.666208] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    2.679080] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    2.686289] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    2.692515] mmc0: Command Queue Engine enabled
    [    2.692653] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    2.696976] mmc0: new HS400 MMC card at address 0001
    [    2.711210] mmcblk0: mmc0:0001 S0J56X 14.8 GiB 
    [    2.715857] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB
    [    2.721880] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB
    [    2.727894] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (237:0)
    [    2.735885] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    2.744696] mmc1: CQHCI version 5.10
    [    2.749000] debugfs: Directory 'pd:39' with parent 'pm_genpd' already present!
    [    2.756302] debugfs: Directory 'pd:38' with parent 'pm_genpd' already present!
    [    2.764052] debugfs: Directory 'pd:276' with parent 'pm_genpd' already present!
    [    2.771928] debugfs: Directory 'pd:154' with parent 'pm_genpd' already present!
    [    2.784593] ALSA device list:
    [    2.787570]   No soundcards found.
    [    2.787854] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    2.799595] Waiting for root device PARTUUID=5f70c683-02...
    [    2.848845] mmc1: new ultra high speed DDR50 SDHC card at address aaaa
    [    2.855761] mmcblk1: mmc1:aaaa SC16G 14.8 GiB 
    [    2.864332]  mmcblk1: p1 p2
    [    3.184960] EXT4-fs (mmcblk1p2): recovery complete
    [    3.190557] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    3.198676] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    3.212909] devtmpfs: mounted
    [    3.216619] Freeing unused kernel memory: 1856K
    [    3.221280] Run /sbin/init as init process
    [    3.225369]   with arguments:
    [    3.225371]     /sbin/init
    [    3.225373]   with environment:
    [    3.225375]     HOME=/
    [    3.225377]     TERM=linux
    [    3.457131] systemd[1]: System time before build time, advancing clock.
    [    3.516869] NET: Registered protocol family 10
    [    3.521928] Segment Routing with IPv6
    [    3.557144] systemd[1]: systemd 244.5+ 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)
    [    3.578948] systemd[1]: Detected architecture arm64.
    [    3.627904] systemd[1]: Set hostname to <j721s2-evm>.
    [    3.816668] 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.
    [    3.900337] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.908886] systemd[1]: Created slice system-getty.slice.
    [    3.929371] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.936857] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [    3.957354] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.964762] systemd[1]: Created slice system-syslog\x2dng.slice.
    [    3.986208] systemd[1]: Created slice User and Session Slice.
    [    4.009515] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    4.033419] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    4.057416] systemd[1]: Reached target Paths.
    [    4.073334] systemd[1]: Reached target Remote File Systems.
    [    4.093325] systemd[1]: Reached target Slices.
    [    4.109330] systemd[1]: Reached target Swap.
    [    4.136213] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    4.157435] systemd[1]: Reached target RPC Port Mapper.
    [    4.181877] systemd[1]: Listening on Process Core Dump Socket.
    [    4.205516] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    4.231280] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    [    4.239695] systemd[1]: Listening on Journal Socket (/dev/log).
    [    4.261649] systemd[1]: Listening on Journal Socket.
    [    4.277684] systemd[1]: Listening on Network Service Netlink Socket.
    [    4.307255] systemd[1]: Listening on udev Control Socket.
    [    4.329517] systemd[1]: Listening on udev Kernel Socket.
    [    4.351967] systemd[1]: Mounting Huge Pages File System...
    [    4.371992] systemd[1]: Mounting POSIX Message Queue File System...
    [    4.396004] systemd[1]: Mounting Kernel Debug File System...
    [    4.418689] systemd[1]: Mounting Temporary Directory (/tmp)...
    [    4.436444] systemd[1]: Starting Create list of static device nodes for the current kernel...
    [    4.466870] systemd[1]: Starting RPC Bind...
    [    4.481509] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
    [    4.494279] systemd[1]: Starting Journal Service...
    [    4.518863] systemd[1]: Starting Load Kernel Modules...
    [    4.540230] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    4.561095] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    [    4.570066] systemd[1]: Starting udev Coldplug all Devices...
    [    4.588560] systemd[1]: Started RPC Bind.
    [    4.601795] systemd[1]: Started Journal Service.
    [    4.782491] systemd-journald[169]: Received client request to flush runtime journal.
    [    4.902106] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.925463] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.938813] random: systemd-journal: uninitialized urandom read (16 bytes read)
    [    5.389486] random: crng init done
    [    5.392887] random: 65 urandom warning(s) missed due to ratelimiting
    [    5.442376] CAN device driver interface
    [    5.757661] k3-dsp-rproc 64800000.dsp: assigned reserved memory node vision-apps-c71-dma-memory@b0000000
    [    5.813491] k3-dsp-rproc 64800000.dsp: configured DSP for IPC-only mode
    [    5.825535] remoteproc remoteproc0: 64800000.dsp is available
    [    5.832940] remoteproc remoteproc0: attaching to 64800000.dsp
    [    5.843411] remoteproc remoteproc0: unsupported resource 65538
    [    5.892770] k3-dsp-rproc 64800000.dsp: DSP initialized in IPC-only mode
    [    5.985403]  remoteproc0#vdev0buffer: assigned reserved memory node vision-apps-c71-dma-memory@b0000000
    [    6.136892] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    6.137788] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    6.148713] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xd
    [    6.171469]  remoteproc0#vdev0buffer: registered virtio0 (type 7)
    [    6.229327] remoteproc remoteproc0: remote processor 64800000.dsp is now attached
    [    6.307406] platform 41000000.r5f: configured R5F for IPC-only mode
    [    6.349038] k3-dsp-rproc 65800000.dsp: assigned reserved memory node vision-apps-c71_1-dma-memory@b6000000
    [    6.391186] platform 41000000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a0000000
    [    6.450754] k3-dsp-rproc 65800000.dsp: configured DSP for IPC-only mode
    [    6.489675] remoteproc remoteproc1: 41000000.r5f is available
    [    6.546199] remoteproc remoteproc2: 65800000.dsp is available
    [    6.555788] remoteproc remoteproc1: attaching to 41000000.r5f
    [    6.565032] remoteproc remoteproc2: attaching to 65800000.dsp
    [    6.579519] m_can_platform 26a1000.can: m_can device registered (irq=41, version=32)
    [    6.588629] can-transceiver-phy: probe of can-phy4 failed with error -16
    [    6.599277] m_can_platform 40528000.can: m_can device registered (irq=19, version=32)
    [    6.611282] platform 41000000.r5f: R5F core initialized in IPC-only mode
    [    6.611387] m_can_platform 40568000.can: m_can device registered (irq=21, version=32)
    [    6.637228] remoteproc remoteproc2: unsupported resource 65538
    [    6.643310]  remoteproc1#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a0000000
    [    6.652844] k3-dsp-rproc 65800000.dsp: DSP initialized in IPC-only mode
    [    6.663776]  remoteproc2#vdev0buffer: assigned reserved memory node vision-apps-c71_1-dma-memory@b6000000
    [    6.673744] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    6.675467] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xd
    [    6.679770]  remoteproc2#vdev0buffer: registered virtio1 (type 7)
    [    6.694326] remoteproc remoteproc2: remote processor 65800000.dsp is now attached
    [    6.767836] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    6.780908] virtio_rpmsg_bus virtio2: creating channel ti.ipc4.ping-pong addr 0xd
    [    6.793429] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xe
    [    6.873063]  remoteproc1#vdev0buffer: registered virtio2 (type 7)
    [    6.970098] remoteproc remoteproc1: remote processor 41000000.r5f is now attached
    [    7.050111] platform 5c00000.r5f: configured R5F for IPC-only mode
    [    7.086829] platform 5c00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a2000000
    [    7.191324] remoteproc remoteproc3: 5c00000.r5f is available
    [    7.270295] remoteproc remoteproc3: attaching to 5c00000.r5f
    [    7.335748] platform 5c00000.r5f: R5F core initialized in IPC-only mode
    [    7.434086]  remoteproc3#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a2000000
    [    7.499151] virtio_rpmsg_bus virtio3: rpmsg host is online
    [    7.508000] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0xd
    [    7.535694]  remoteproc3#vdev0buffer: registered virtio3 (type 7)
    [    7.597327] remoteproc remoteproc3: remote processor 5c00000.r5f is now attached
    [    7.668304] platform 5d00000.r5f: configured R5F for IPC-only mode
    [    7.681858] platform 5d00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a4000000
    [    7.692899] remoteproc remoteproc4: 5d00000.r5f is available
    [    7.699560] remoteproc remoteproc4: attaching to 5d00000.r5f
    [    7.706429] platform 5d00000.r5f: R5F core initialized in IPC-only mode
    [    7.716379]  remoteproc4#vdev0buffer: assigned reserved memory node vision-apps-r5f-dma-memory@a4000000
    [    7.727171] virtio_rpmsg_bus virtio4: rpmsg host is online
    [    7.736236] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0xd
    [    7.744549] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0x15
    [    7.749782]  remoteproc4#vdev0buffer: registered virtio4 (type 7)
    [    7.752711] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0x15
    [    7.766010] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xe
    [    7.776484] virtio_rpmsg_bus virtio4: creating channel ti.ipc4.ping-pong addr 0xe
    [    7.784180] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x15
    [    7.793323] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xe
    [    7.800998] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0x15
    [    7.809583] remoteproc remoteproc4: remote processor 5d00000.r5f is now attached
    [    7.822128] platform 5e00000.r5f: configured R5F for remoteproc mode
    [    7.851532] platform 5e00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a6000000
    [    7.866179] usbcore: registered new interface driver usbfs
    [    7.915455] usbcore: registered new interface driver hub
    [    7.938002] remoteproc remoteproc5: 5e00000.r5f is available
    [    7.967538] usbcore: registered new device driver usb
    [    7.975330] remoteproc remoteproc5: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -2
    [    7.985187] remoteproc remoteproc5: powering up 5e00000.r5f
    [    7.991308] remoteproc remoteproc5: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -2
    [    8.001384] platform 5f00000.r5f: configured R5F for remoteproc mode
    [    8.007939] remoteproc remoteproc5: request_firmware failed: -2
    [    8.024636] platform 5f00000.r5f: assigned reserved memory node vision-apps-r5f-dma-memory@a7000000
    [    8.044914] remoteproc remoteproc6: 5f00000.r5f is available
    [    8.052916] remoteproc remoteproc6: Direct firmware load for j721s2-main-r5f1_1-fw failed with error -2
    [    8.063905] remoteproc remoteproc6: powering up 5f00000.r5f
    [    8.069547] remoteproc remoteproc6: Direct firmware load for j721s2-main-r5f1_1-fw failed with error -2
    [    8.082674] remoteproc remoteproc6: request_firmware failed: -2
    [    8.869733] Bluetooth: Core ver 2.22
    [    8.873458] NET: Registered protocol family 31
    [    8.877918] Bluetooth: HCI device and connection manager initialized
    [    8.889329] Bluetooth: HCI socket layer initialized
    [    8.894262] Bluetooth: L2CAP socket layer initialized
    [    8.905320] Bluetooth: SCO socket layer initialized
    [    9.108283] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [    9.166032] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [   13.322286] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   13.331003] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   27.851240] Initializing XFRM netlink socket
    [   29.637471] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
    [   29.655793] Bridge firewalling registered
    [   30.415123] process 'docker/tmp/qemu-check153247408/check' started with executable stack
    

  • Hello,

    The issue could be two things for TDA4VL, either the address offset has changed, or CTRLMMR lock kick register’s unlock value has changed. 
    These values can be found in the technical reference manual’s register description, which I will recommend you to reference.

    Regards, 

    Takuma

  • Hi,

    As a note, many of the US team including myself will be out due to holiday season this week, so responses will be delayed.

    Apologies for the inconvenience, and thank you for your patience.
    Regards,

    Takuma

  • Thank you. have a good holiday.

  • Hi,

    To close on this thread, did the PERST# patch fix the issue?

    Regards,

    Takuma

  • on TDA4VM, the patch fixed the issue.

    but for TDA4AL, no, not yet. 

     either the address offset has changed, or CTRLMMR lock kick register’s unlock value has changed. 
    These values can be found in the technical reference manual’s register description, which I will recommend you to reference.

    I applied the following patch for TDA4AL,

    	/* Un-lock Partition 1 : 4000h to 5FFFh */
    	writel(0x68EF3490, ioremap(0x00105008, 0x4)); /* LOCK1_KICK0 */
    	writel(0xD172BC5A, ioremap(0x0010500C, 0x4)); /* LOCK1_KICK1 */
    
    	/* Un-lock Partition 2 : 8000h to 9FFFh */
    	writel(0x68EF3490, ioremap(0x00109008, 0x4)); /* LOCK2_KICK0 */
    	writel(0xD172BC5A, ioremap(0x0010900C, 0x4)); /* LOCK2_KICK1 */
    
    
    	/* Enable ACSPCIe0 PAD 0 and 1 */
    	writel(0x01000000, ioremap(0x00118090, 0x4)); 
    	/* Enable ACSPCIe1 PAD 0 and 1 */
    	writel(0x01000000, ioremap(0x00118094, 0x4));  //no for TDA4AL
    
    	/* PCIE_REFCLK0_CLKSEL : EN + MAIN_PLL2_HSDIV4_CLKOUT */
    	writel(0x00000100, ioremap(0x00108070, 0x4));  //no for TDA4AL
    	/* PCIE_REFCLK1_CLKSEL : EN + MAIN_PLL2_HSDIV4_CLKOUT */
    	writel(0x00000101, ioremap(0x00108074, 0x4));	

    the value changed, it is not the problem of lock kick  unlock probem. BUT I still can not measure refclk output.

    the register value I got:

    root@j721s2-evm:~#
    root@j721s2-evm:~#
    root@j721s2-evm:~# ./analyze_pcie.sh
    //// Starting register dump ////
    CTRLMMR_PCIE0_CLKSEL at addr 0x00108080 is 0x00000000
    CTRLMMR_PCIE1_CLKSEL at addr 0x00108084 is 0x00000000
    CTRLMMR_PCIE2_CLKSEL at addr 0x00108088 is 0x00000000
    CTRLMMR_PCIE3_CLKSEL at addr 0x0010808C is 0x00000000
    CTRLMMR_PCIE0_CTRL at addr 0x00104070 is 0x00000002
    CTRLMMR_PCIE1_CTRL at addr 0x00104074 is 0x00000082
    CTRLMMR_PCIE2_CTRL at addr 0x00104078 is 0x00000002
    CTRLMMR_PCIE3_CTRL at addr 0x0010407C is 0x00000002
    CTRLMMR_PCIE_REFCLK0_CLKSEL at addr 0x00108070 is 0x00000100
    CTRLMMR_PCIE_REFCLK1_CLKSEL at addr 0x00108074 is 0x00000101
    CTRLMMR_PCIE_REFCLK2_CLKSEL at addr 0x00108078 is 0x00000000
    CTRLMMR_PCIE_REFCLK3_CLKSEL at addr 0x0010807C is 0x00000000
    CTRLMMR_ACSPCIE0_CTRL at addr 0x00118090 is 0x01000000
    CTRLMMR_ACSPCIE1_CTRL at addr 0x00118094 is 0x00000000
    PCIE_CORE_PF0_I_LINK_CTRL_STATUS/PCIE_CORE_RP_I_LINK_CTRL_STATUS at addr 0x0D8000D0 is 0x00410000
    PCIE_CORE_PF1_I_LINK_CTRL_STATUS at addr 0x0D8010D0 is 0x00410000
    PCIE_CORE_PF2_I_LINK_CTRL_STATUS at addr 0x0D8020D0 is 0x00410000
    PCIE_CORE_PF3_I_LINK_CTRL_STATUS at addr 0x0D8030D0 is 0x00410000
    PCIE_CORE_PF4_I_LINK_CTRL_STATUS at addr 0x0D8040D0 is 0x00410000
    PCIE_CORE_PF5_I_LINK_CTRL_STATUS at addr 0x0D8050D0 is 0x00410000
    CTRLMMR_SERDES0_LN0_CTRL at addr 0x00104080 is 0x00000001
    CTRLMMR_SERDES0_LN1_CTRL at addr 0x00104084 is 0x00000002
    CTRLMMR_SERDES1_LN0_CTRL at addr 0x00104090 is 0x00000000
    CTRLMMR_SERDES1_LN1_CTRL at addr 0x00104094 is 0x00000000
    CTRLMMR_SERDES2_LN0_CTRL at addr 0x001040A0 is 0x00000000
    CTRLMMR_SERDES2_LN1_CTRL at addr 0x001040A4 is 0x00000000
    CTRLMMR_SERDES3_LN0_CTRL at addr 0x001040B0 is 0x00000000
    CTRLMMR_SERDES3_LN1_CTRL at addr 0x001040B4 is 0x00000000
    //// Ending register dump ////
    root@j721s2-evm:~#

    Can you help me look into the problem why the patch does not work on TDA4AL?  Thank you very much

  • Hello,

    Understood the issue. We are looking into this issue for TDA4AL. However, from initial experimentation, it looks like the issue is a little more complex than what we thought. It will take some time to resolve.

    Regards,

    Takuma

  • Thank you. we have spent quite a long time resolving this issue.

  • Hello,

    We are still looking into this issue. I have a person from the SDK team also looking into this issue and he will be able to take a look at it on Friday.

    Regards,

    Takuma

  • is it possible to output refclk from the SOC? if not, we will just add extra clk source for this application.

  • Hi,

    Apologies, for the continued delay. It should be possible, but we currently do not have reference software for TDA4AL.

    We are currently working to add in this feature, but if deadline is coming close, then quickest solution would be to add an external clock.

    Regards,

    Takuma

  • ok. Thank you. , please share your progress as soon as possible,  because we have boards without this clock.  Thank you.

  • Hi,

    TDA4AL SOM board from TI by default does not connect SERDES from the SoC to the PCIe4L:

    TDA4AL SOM is different from TDA4VM SOM, and I see for TDA4VM SOM there were some hardware changes. However, could you describe what kind of hardware changes were done for TDA4AL?

    Regards,

    Takuma

  • Hi,

    I was able to confirm PCIe link is up using the internal clock on TI EVM:

    root@j721s2-evm:~# dmesg | grep pcie
    [    1.014188] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    1.021874] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    1.030157] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    1.038434] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    1.148643] j721e-pcie 2910000.pcie: Link up
    [    1.153078] j721e-pcie 2910000.pcie: PCI host bridge to bus 0000:00
    [    1.283231] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
    [    1.289604] pcieport 0000:00:00.0: PME: Signaling with IRQ 58
    root@j721s2-evm:~#
    

    Hardware changes needed for TI EVM were:

    1. On common processor board, install R3, R4, C1, C2 and remove R1, R2, R5, R6 in below schematic file, such that SOC_SERDES1_REFCLK_P/N are connected to CON_PCIE1_2L_REFCLK_P/N:

    2. On SOM board, remove R16, R17 and install R20, R21, R19, R18, such that PCIE_REFCLK1_OUT_P/N are connected to SOC_SERDES0_REFCLK_P/N. R20, R21 is the same resistor as R16, R17, while R19, R18 are 49.9Ohm resistors with 1% tolerance:

    3. Remove C35, C36, R7, R8, C7, C8, C9, C10 and connect C32, C33, R9, R10, C13, C14, C16, C16 in below schematics:

    For software changes:

    1. Enabling ACSPCIe with 100MHz clock from MAIN_PLL2_HSDIV4_CLKOUT should make PCIe functional:  https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/0001_2D00_enable_2D00_internal_2D00_refclk_2D00_for_2D00_J721S2_2D00_PCIe.patch

    Regards,

    Takuma

  • On the SOM/EVM board, we modified the R/C just to monitor the refclk out, and did not use it to test the PCIe device. we have our customized board which connects serdes to PCIe slot directly.

    I will try you patch on SOM see if we can have refclk out and then test PCIE device on our board. 

    Thank you for your reply.