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.

SK-AM69: Help with enabling SERDES/ACSPCIe output on SK-AM69

Part Number: SK-AM69
Other Parts Discussed in Thread: TDA4VH, AM69

Tool/software:

Hello, we are attempting to enable the PCIE_SOC_REFCLK0_OUT and PCIE_SOC_REFCLK1_OUT pins on an SK-AM69 board as part of a proof-of-concept development. However, after making the device tree modifications that we thought were necessary, I am still unable to see a reference clock being generated on those pins. These pins are directly connected to test points on the SK-AM69, as follows:

Pin SERDES# Test Point Notes
PCIE_REFCLK1_P_OUT (AN9) SERDES0 TP106 We soldered a 50Ω resistor between the test point and ground.
PCIE_REFCLK1_N_OUT (AN8) SERDES0 TP107 We soldered a 50Ω resistor between the test point and ground.
PCIE_REFCLK0_P_OUT (AP5) SERDES1 TP104 We soldered a 50Ω resistor between the test point and ground.
PCIE_REFCLK0_N_OUT (AP4) SERDES1 TP105 We soldered a 50Ω resistor between the test point and ground.

For now, let's ignore SERDES1, and focus only on SERDES0. From looking at k3-am69-sk.dts, which indirectly includes k3-j784s4-main.dtsi, it appears that SERDES0 is configured to use internal reference clock MAIN_PLL2_HSDIV4_CLKOUT (100 MHz):

serdes_wiz0: wiz@5060000 {
    ...
    assigned-clocks = <&k3_clks 404 6>;
    assigned-clock-parents = <&k3_clks 404 10>;
    ...
    serdes0: serdes@5060000 {
	    ...
        assigned-clocks = <&serdes_wiz0 TI_WIZ_PLL0_REFCLK>,
                          <&serdes_wiz0 TI_WIZ_PLL1_REFCLK>,
                          <&serdes_wiz0 TI_WIZ_REFCLK_DIG>;
        assigned-clock-parents = <&k3_clks 404 6>,
                                 <&k3_clks 404 6>,
                                 <&k3_clks 404 6>;
        ...

So now we want to source out the reference clock (MAIN_PLL2_HSDIV4_CLKOUT) from SERDES0 to TP106 and TP107. But again, looking at k3-j784s4-main.dtsi, it appears that this should already be occurring:

acspcie0_proxy_ctrl: acspcie0-ctrl@1a090 {
	compatible = "ti,j784s4-acspcie-proxy-ctrl", "syscon";
	reg = <0x1a090 0x4>;
};
...
pcie1_rc: pcie@2910000 {
    ...
    ti,syscon-acspcie-proxy-ctrl = <&acspcie0_proxy_ctrl 0x1>;
    ...
    clocks = <&k3_clks 333 0>, <&serdes0 CDNS_TORRENT_REFCLK_DRIVER>;
	clock-names = "fck", "pcie_refclk";
	...

However, when I connect my oscilloscope probe to TP106 or TP107, I only see a constant voltage of ~1.8 V. Any assistance that you can provide to help with debugging this would be greatly appreciated!

Best regards,
Dave

  • Hi Dave,

    That looks correct. Can you share full output from "dmesg" in case there are errors while initializing PCIe?

    Regards,

    Takuma

  • Hi Takuma, certainly:
     

    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.6.41-gdb8871293143-dirty (oe-user@oe-host) (aarch64-xxx-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT IRQ_PIPELINE Thu Aug  1 19:10:56 UTC 2024
    [    0.000000] KASLR disabled due to lack of seed
    [    0.000000] Machine model: Texas Instruments AM69 SK
    [    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 CMA memory pool at 0x0000000f90000000, size 1792 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000f90000000..0x0000000fffffffff (1835008 KiB) map reusable linux,cma
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a0000000..0x00000000a00fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a0000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a0100000..0x00000000a0ffffff (15360 KiB) nomap non-reusable r5f-memory@a0100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a1000000..0x00000000a10fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a1000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a1100000..0x00000000a1ffffff (15360 KiB) nomap non-reusable r5f-memory@a1100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2000000..0x00000000a20fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a2000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2100000..0x00000000a2ffffff (15360 KiB) nomap non-reusable r5f-memory@a2100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3000000..0x00000000a30fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a3000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3100000..0x00000000a3ffffff (15360 KiB) nomap non-reusable r5f-memory@a3100000
    [    0.000000] 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] OF: reserved mem: 0x00000000a4000000..0x00000000a40fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a4000000
    [    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] OF: reserved mem: 0x00000000a4100000..0x00000000a4ffffff (15360 KiB) nomap non-reusable r5f-memory@a4100000
    [    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] OF: reserved mem: 0x00000000a5000000..0x00000000a50fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a5000000
    [    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] OF: reserved mem: 0x00000000a5100000..0x00000000a5ffffff (15360 KiB) nomap non-reusable r5f-memory@a5100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a6000000..0x00000000a60fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a6000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a6100000..0x00000000a6ffffff (15360 KiB) nomap non-reusable r5f-memory@a6100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7000000..0x00000000a70fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a7000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a7100000..0x00000000a7ffffff (15360 KiB) nomap non-reusable r5f-memory@a7100000
    [    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] OF: reserved mem: 0x00000000a8000000..0x00000000a80fffff (1024 KiB) nomap non-reusable c71-dma-memory@a8000000
    [    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] OF: reserved mem: 0x00000000a8100000..0x00000000a8ffffff (15360 KiB) nomap non-reusable c71-memory@a8100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a9000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a9000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a9000000..0x00000000a90fffff (1024 KiB) nomap non-reusable c71-dma-memory@a9000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a9100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a9100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a9100000..0x00000000a9ffffff (15360 KiB) nomap non-reusable c71-memory@a9100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000aa000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@aa000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000aa000000..0x00000000aa0fffff (1024 KiB) nomap non-reusable c71-dma-memory@aa000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000aa100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@aa100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000aa100000..0x00000000aaffffff (15360 KiB) nomap non-reusable c71-memory@aa100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ab000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@ab000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000ab000000..0x00000000ab0fffff (1024 KiB) nomap non-reusable c71-dma-memory@ab000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ab100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@ab100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000ab100000..0x00000000abffffff (15360 KiB) nomap non-reusable c71-memory@ab100000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x0000000fffffffff]
    [    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-0x00000000abffffff]
    [    0.000000]   node   0: [mem 0x00000000ac000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x0000000fffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000fffffffff]
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.5
    [    0.000000] percpu: Embedded 22 pages/cpu s50280 r8192 d31640 u90112
    [    0.000000] pcpu-alloc: s50280 r8192 d31640 u90112 alloc=22*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: Spectre-v3a
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: detected: ARM erratum 1742098
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Kernel command line: root=/dev/mmcblk0p2 console=ttyS2,115200n8 isolcpus=2-7 threadirqs rootwait 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);spi-nand0:512k(ospi_nand.tiboot3),2m(ospi_nand.tispl),4m(ospi_nand.u-boot),256k(ospi_nand.env),256k(ospi_nand.env.backup),98048k@32m(ospi_nand.rootfs),256k@130816k(ospi_nand.phypattern)
    [    0.000000] Dentry cache hash table entries: 4194304 (order: 13, 33554432 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8257536
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 8.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 30771120K/33554432K available (12160K kernel code, 1274K rwdata, 4148K rodata, 2432K init, 506K bss, 948304K reserved, 1835008K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, 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=8.
    [    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=8
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: [Firmware Bug]: GICR region 0x0000000001900000 has overlapping address
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @880800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000880060000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880070000
    [    0.000000] IRQ pipeline enabled
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: freq: 200000000 Hz, mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.000239] Console: colour dummy device 80x25
    [    0.042605] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.053277] pid_max: default: 32768 minimum: 301
    [    0.058040] LSM: initializing lsm=capability,integrity
    [    0.063395] Mount-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.071196] Mountpoint-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.080482] RCU Tasks: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1.
    [    0.087743] RCU Tasks Trace: Setting shift to 3 and lim to 1 rcu_task_cb_adjust=1.
    [    0.095595] rcu: Hierarchical SRCU implementation.
    [    0.100495] rcu:     Max phase no-delay instances is 1000.
    [    0.106003] Platform MSI: msi-controller@1820000 domain created
    [    0.112200] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.121630] EFI services will not be available.
    [    0.126497] smp: Bringing up secondary CPUs ...
    [    0.139605] Detected PIPT I-cache on CPU1
    [    0.139651] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.139665] GICv3: CPU1: using allocated LPI pending table @0x0000000880080000
    [    0.139696] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.152607] Detected PIPT I-cache on CPU2
    [    0.152634] GICv3: CPU2: found redistributor 2 region 0:0x0000000001940000
    [    0.152646] GICv3: CPU2: using allocated LPI pending table @0x0000000880090000
    [    0.152670] CPU2: Booted secondary processor 0x0000000002 [0x411fd080]
    [    0.169110] Detected PIPT I-cache on CPU3
    [    0.169140] GICv3: CPU3: found redistributor 3 region 0:0x0000000001960000
    [    0.169152] GICv3: CPU3: using allocated LPI pending table @0x00000008800a0000
    [    0.169176] CPU3: Booted secondary processor 0x0000000003 [0x411fd080]
    [    0.185799] Detected PIPT I-cache on CPU4
    [    0.185857] GICv3: CPU4: found redistributor 100 region 0:0x0000000001980000
    [    0.185870] GICv3: CPU4: using allocated LPI pending table @0x00000008800b0000
    [    0.185902] CPU4: Booted secondary processor 0x0000000100 [0x411fd080]
    [    0.202472] Detected PIPT I-cache on CPU5
    [    0.202510] GICv3: CPU5: found redistributor 101 region 0:0x00000000019a0000
    [    0.202522] GICv3: CPU5: using allocated LPI pending table @0x00000008800c0000
    [    0.202546] CPU5: Booted secondary processor 0x0000000101 [0x411fd080]
    [    0.219152] Detected PIPT I-cache on CPU6
    [    0.219190] GICv3: CPU6: found redistributor 102 region 0:0x00000000019c0000
    [    0.219202] GICv3: CPU6: using allocated LPI pending table @0x00000008800d0000
    [    0.219227] CPU6: Booted secondary processor 0x0000000102 [0x411fd080]
    [    0.235746] Detected PIPT I-cache on CPU7
    [    0.235786] GICv3: CPU7: found redistributor 103 region 0:0x00000000019e0000
    [    0.235799] GICv3: CPU7: using allocated LPI pending table @0x00000008800e0000
    [    0.235822] CPU7: Booted secondary processor 0x0000000103 [0x411fd080]
    [    0.235888] smp: Brought up 1 node, 8 CPUs
    [    0.368018] SMP: Total of 8 processors activated.
    [    0.372829] CPU features: detected: 32-bit EL0 Support
    [    0.378088] CPU features: detected: CRC32 instructions
    [    0.383398] CPU: All CPU(s) started at EL2
    [    0.387592] alternatives: applying system-wide alternatives
    [    0.394285] devtmpfs: initialized
    [    0.408641] clocksource: jiffies: freq: 0 Hz, mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.419690] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
    [    0.448828] pinctrl core: initialized pinctrl subsystem
    [    0.454453] DMI not present or invalid.
    [    0.458715] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.465963] DMA: preallocated 4096 KiB GFP_KERNEL pool for atomic allocations
    [    0.473978] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.482689] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.490903] audit: initializing netlink subsys (disabled)
    [    0.496515] audit: type=2000 audit(0.348:1): state=initialized audit_enabled=0 res=1
    [    0.496717] thermal_sys: Registered thermal governor 'step_wise'
    [    0.504440] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.510596] cpuidle: using governor menu
    [    0.521337] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.528391] ASID allocator initialised with 65536 entries
    [    0.545378] platform a000000.bridge: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.554158] platform a000000.bridge: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.562733] platform 4a00000.dss: Fixed dependency cycle(s) with /bus@100000/bridge@a000000
    [    0.571899] platform a000000.bridge: Fixed dependency cycle(s) with /connector-dp0
    [    0.579678] platform connector-dp0: Fixed dependency cycle(s) with /bus@100000/bridge@a000000
    [    0.588635] platform connector-hdmi: Fixed dependency cycle(s) with /bridge-dvi
    [    0.596143] platform 4a00000.dss: Fixed dependency cycle(s) with /bridge-dvi
    [    0.603374] platform bridge-dvi: Fixed dependency cycle(s) with /connector-hdmi
    [    0.610876] platform bridge-dvi: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.619683] Modules: 27584 pages in range for non-PLT usage
    [    0.619686] Modules: 519104 pages in range for PLT usage
    [    0.625822] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.638185] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.644593] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.651527] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.657930] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.664865] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.671268] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.678203] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.685389] k3-chipinfo 43000014.chipid: Family:J784S4 rev:SR1.0 JTAGID[0x0bb8002f] Detected
    [    0.694464] iommu: Default domain type: Translated
    [    0.699362] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.705810] SCSI subsystem initialized
    [    0.709711] libata version 3.00 loaded.
    [    0.709791] usbcore: registered new interface driver usbfs
    [    0.715428] usbcore: registered new interface driver hub
    [    0.720883] usbcore: registered new device driver usb
    [    0.726298] pps_core: LinuxPPS API ver. 1 registered
    [    0.731369] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.740709] PTP clock support registered
    [    0.744829] EDAC MC: Ver: 3.0.0
    [    0.748267] scmi_core: SCMI protocol bus registered
    [    0.753389] FPGA manager framework
    [    0.756900] Advanced Linux Sound Architecture Driver Initialized.
    [    0.763538] vgaarb: loaded
    [    0.766462] clocksource: Switched to clocksource arch_sys_counter
    [    0.772819] VFS: Disk quotas dquot_6.6.0
    [    0.776851] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.787512] NET: Registered PF_INET protocol family
    [    0.792791] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.805496] tcp_listen_portaddr_hash hash table entries: 16384 (order: 6, 262144 bytes, linear)
    [    0.814544] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.822479] TCP established hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.831574] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
    [    0.839992] TCP: Hash tables configured (established 262144 bind 65536)
    [    0.846866] UDP hash table entries: 16384 (order: 7, 524288 bytes, linear)
    [    0.854207] UDP-Lite hash table entries: 16384 (order: 7, 524288 bytes, linear)
    [    0.862101] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.868199] RPC: Registered named UNIX socket transport module.
    [    0.874267] RPC: Registered udp transport module.
    [    0.879072] RPC: Registered tcp transport module.
    [    0.883876] RPC: Registered tcp-with-tls transport module.
    [    0.889480] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.896066] NET: Registered PF_XDP protocol family
    [    0.900973] PCI: CLS 0 bytes, default 64
    [    0.906057] IRQ pipeline: high-priority EVL stage added.
    [    0.911965] CPU1: proxy tick device registered (200.00MHz)
    [    0.911968] CPU0: proxy tick device registered (200.00MHz)
    [    0.911971] CPU3: proxy tick device registered (200.00MHz)
    [    0.911974] CPU2: proxy tick device registered (200.00MHz)
    [    0.911980] CPU7: proxy tick device registered (200.00MHz)
    [    0.911982] CPU4: proxy tick device registered (200.00MHz)
    [    0.911986] CPU6: proxy tick device registered (200.00MHz)
    [    0.911989] CPU5: proxy tick device registered (200.00MHz)
    [    0.957263] EVL: core started
    [    0.960445] Initialise system trusted keyrings
    [    0.965084] workingset: timestamp_bits=46 max_order=23 bucket_order=0
    [    0.971849] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.977955] NFS: Registering the id_resolver key type
    [    0.983138] Key type id_resolver registered
    [    0.987417] Key type id_legacy registered
    [    0.991522] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.998373] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    1.019484] Key type asymmetric registered
    [    1.023670] Asymmetric key parser 'x509' registered
    [    1.028676] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 237)
    [    1.036238] io scheduler mq-deadline registered
    [    1.040866] io scheduler kyber registered
    [    1.044979] io scheduler bfq registered
    [    1.051319] pinctrl-single 4301c000.pinctrl: 13 pins, size 52
    [    1.057301] pinctrl-single 4301c038.pinctrl: 11 pins, size 44
    [    1.063321] pinctrl-single 4301c068.pinctrl: 72 pins, size 288
    [    1.069564] pinctrl-single 4301c190.pinctrl: 1 pins, size 4
    [    1.075417] pinctrl-single 11c000.pinctrl: 72 pins, size 288
    [    1.081568] pinctrl-single 104200.pinctrl: 20 pins, size 80
    [    1.087332] pinctrl-single 104280.pinctrl: 8 pins, size 32
    [    1.097103] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    1.109736] loop: module loaded
    [    1.113547] megasas: 07.725.01.00-rc1
    [    1.119229] tun: Universal TUN/TAP device driver, 1.6
    [    1.124989] VFIO - User Level meta-driver version: 0.3
    [    1.130955] usbcore: registered new interface driver usb-storage
    [    1.137458] i2c_dev: i2c /dev entries driver
    [    1.142563] sdhci: Secure Digital Host Controller Interface driver
    [    1.148889] sdhci: Copyright(c) Pierre Ossman
    [    1.153489] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.159800] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.166132] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    1.173118] usbcore: registered new interface driver usbhid
    [    1.178815] usbhid: USB HID core driver
    [    1.183818] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    1.192480] optee: probing for conduit method.
    [    1.197041] optee: revision 4.4 (8f645256efc0dc66)
    [    1.213479] optee: dynamic shared memory is enabled
    [    1.223792] random: crng init done
    [    1.227322] optee: initialized driver
    [    1.232253] NET: Registered PF_PACKET protocol family
    [    1.237470] Key type dns_resolver registered
    [    1.245310] registered taskstats version 1
    [    1.249761] Loading compiled-in X.509 certificates
    [    1.261394] ti-sci 44083000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.1.6--v10.01.06 (Fiery Fox)')
    [    1.313459] ti-sci-clk 44083000.system-controller:clock-controller: get-parent failed for dev=157, clk=34, ret=-19
    [    1.324151] ti-sci-clk 44083000.system-controller:clock-controller: get-parent failed for dev=157, clk=34, ret=-19
    [    1.334877] ti-sci-clk 44083000.system-controller:clock-controller: get-parent failed for dev=157, clk=34, ret=-19
    [    1.369508] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.375852] omap_i2c 40b00000.i2c: bus 4 rev0.12 at 400 kHz
    [    1.381947] omap_i2c 40b10000.i2c: bus 5 rev0.12 at 100 kHz
    [    1.388186] pca953x 3-0021: supply vcc not found, using dummy regulator
    [    1.395012] pca953x 3-0021: using no AI
    [    1.423076] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    1.429200] pca953x 6-0021: supply vcc not found, using dummy regulator
    [    1.436018] pca953x 6-0021: using no AI
    [    1.454874] pca954x 6-0070: supply vdd not found, using dummy regulator
    [    1.461865] i2c i2c-6: Added multiplexed i2c bus 7
    [    1.466860] i2c i2c-6: Added multiplexed i2c bus 8
    [    1.471761] pca954x 6-0070: registered 2 multiplexed busses for I2C switch pca9543
    [    1.479527] omap_i2c 2010000.i2c: bus 6 rev0.12 at 400 kHz
    [    1.485260] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 177 domain created
    [    1.493814] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 10 domain created
    [    1.503078] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 283 domain created
    [    1.511753] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 321 created
    [    1.526166] ti-udma 311a0000.dma-controller: Number of rings: 48
    [    1.533119] ti-udma 311a0000.dma-controller: Channels: 24 (bchan: 0, tchan: 8, rchan: 16)
    [    1.542476] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:328
    [    1.552351] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.559119] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.568466] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[878,128] sci-dev-id:315
    [    1.578643] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.585405] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.593598] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 229, base_baud = 6000000) is a 8250
    [    1.603249] 2880000.serial: ttyS2 at MMIO 0x2880000 (irq = 230, base_baud = 3000000) is a 8250
    [    1.612146] printk: console [ttyS2] enabled
    [    1.620597] printk: bootconsole [ns16550a0] disabled
    [    1.674471] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.685389] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.693658] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.706491] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.713704] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.719961] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    1.730343] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010c, freq:250000000, add_val:3 pps:0
    [    1.739062] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fca100
    [    1.745703] mmc0: CQHCI version 5.10
    [    1.745919] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fca100
    [    1.756112] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fca100
    [    1.762931] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fca100
    [    1.769806] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fca100
    [    1.776631] omap-mailbox 31f85000.mailbox: omap mailbox rev 0x66fca100
    [    1.786471] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    1.877099] mmc0: Command Queue Engine enabled
    [    1.881543] mmc0: new HS400 MMC card at address 0001
    [    1.886814] mmcblk0: mmc0:0001 G1M15L 29.6 GiB
    [    1.892937]  mmcblk0: p1 p2 p3 p4 < p5 p6 >
    [    1.897587] mmcblk0boot0: mmc0:0001 G1M15L 31.5 MiB
    [    1.903089] mmcblk0boot1: mmc0:0001 G1M15L 31.5 MiB
    [    1.908530] mmcblk0rpmb: mmc0:0001 G1M15L 4.00 MiB, chardev (510:0)
    [    2.067433] tps6594-rtc tps6594-rtc.4.auto: registered as rtc0
    [    2.073409] tps6594-rtc tps6594-rtc.4.auto: hctosys: unable to read the hardware clock
    [    2.083962] j721e-pcie 2900000.pcie: host bridge /bus@100000/pcie@2900000 ranges:
    [    2.091459] j721e-pcie 2900000.pcie:       IO 0x0010001000..0x0010010fff -> 0x0010001000
    [    2.099562] j721e-pcie 2900000.pcie:      MEM 0x0010011000..0x0017ffffff -> 0x0010011000
    [    2.107656] j721e-pcie 2900000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    3.120323] j721e-pcie 2900000.pcie: PCI host bridge to bus 0000:00
    [    3.126589] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    3.132086] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x10001000-0x10010fff])
    [    3.141548] pci_bus 0000:00: root bus resource [mem 0x10011000-0x17ffffff]
    [    3.148439] pci 0000:00:00.0: [104c:b012] type 01 class 0x060400
    [    3.154437] pci_bus 0000:00: 2-byte config write to 0000:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    3.164179] pci 0000:00:00.0: supports D1
    [    3.168180] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    3.175800] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    3.183901] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
    [    3.190515] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    3.195537] pcieport 0000:00:00.0: of_irq_parse_pci: failed with rc=-22
    [    3.202429] pcieport 0000:00:00.0: PME: Signaling with IRQ 496
    [    3.208448] pcieport 0000:00:00.0: AER: enabled with IRQ 496
    [    3.214367] j721e-pcie 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    3.221855] j721e-pcie 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    3.229942] j721e-pcie 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    3.238034] j721e-pcie 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    4.248302] j721e-pcie 2910000.pcie: PCI host bridge to bus 0001:00
    [    4.254561] pci_bus 0001:00: root bus resource [bus 00-ff]
    [    4.260051] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x18001000-0x18010fff])
    [    4.269688] pci_bus 0001:00: root bus resource [mem 0x18011000-0x1fffffff]
    [    4.276572] pci 0001:00:00.0: [104c:b012] type 01 class 0x060400
    [    4.282694] pci_bus 0001:00: 2-byte config write to 0001:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    4.292460] pci 0001:00:00.0: supports D1
    [    4.296460] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
    [    4.302219] pci 0001:00:00.0: reg 0x224: [mem 0x00000000-0x003fffff 64bit]
    [    4.309080] pci 0001:00:00.0: VF(n) BAR0 space: [mem 0x00000000-0x00ffffff 64bit] (contains BAR0 for 4 VFs)
    [    4.320745] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    4.328847] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
    [    4.335462] pci 0001:00:00.0: BAR 7: assigned [mem 0x18400000-0x193fffff 64bit]
    [    4.342760] pci 0001:00:00.0: PCI bridge to [bus 01]
    [    4.347774] pcieport 0001:00:00.0: of_irq_parse_pci: failed with rc=-22
    [    4.354640] pcieport 0001:00:00.0: PME: Signaling with IRQ 498
    [    4.360654] pcieport 0001:00:00.0: AER: enabled with IRQ 498
    [    4.366562] j721e-pcie 2930000.pcie: host bridge /bus@100000/pcie@2930000 ranges:
    [    4.374053] j721e-pcie 2930000.pcie:       IO 0x4410001000..0x4410010fff -> 0x0000001000
    [    4.382143] j721e-pcie 2930000.pcie:      MEM 0x4410011000..0x4417ffffff -> 0x0000011000
    [    4.390242] j721e-pcie 2930000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [    5.400528] j721e-pcie 2930000.pcie: PCI host bridge to bus 0002:00
    [    5.406809] pci_bus 0002:00: root bus resource [bus 00-ff]
    [    5.412293] pci_bus 0002:00: root bus resource [io  0x20000-0x2ffff] (bus address [0x1000-0x10fff])
    [    5.421322] pci_bus 0002:00: root bus resource [mem 0x4410011000-0x4417ffffff] (bus address [0x00011000-0x07ffffff])
    [    5.431841] pci 0002:00:00.0: [104c:b012] type 01 class 0x060400
    [    5.437837] pci_bus 0002:00: 2-byte config write to 0002:00:00.0 offset 0x4 may corrupt adjacent RW1C bits
    [    5.447598] pci 0002:00:00.0: supports D1
    [    5.451598] pci 0002:00:00.0: PME# supported from D0 D1 D3hot
    [    5.457357] pci 0002:00:00.0: reg 0x224: [mem 0x00000000-0x003fffff 64bit]
    [    5.464219] pci 0002:00:00.0: VF(n) BAR0 space: [mem 0x00000000-0x00ffffff 64bit] (contains BAR0 for 4 VFs)
    [    5.475872] pci 0002:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    5.483973] pci_bus 0002:01: busn_res: [bus 01-ff] end is updated to 01
    [    5.490584] pci 0002:00:00.0: BAR 7: assigned [mem 0x4410400000-0x44113fffff 64bit]
    [    5.498227] pci 0002:00:00.0: PCI bridge to [bus 01]
    [    5.503231] pcieport 0002:00:00.0: of_irq_parse_pci: failed with rc=-22
    [    5.510063] pcieport 0002:00:00.0: PME: Signaling with IRQ 500
    [    5.516066] pcieport 0002:00:00.0: AER: enabled with IRQ 500
    [    5.522534] ti-udma 285c0000.dma-controller: Channels: 22 (tchan: 11, rchan: 11, gp-rflow: 8)
    [    5.532826] ti-udma 31150000.dma-controller: Channels: 66 (tchan: 33, rchan: 33, gp-rflow: 16)
    [    5.545922] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    5.550922] 7 cmdlinepart partitions found on MTD device 47040000.spi.0
    [    5.557552] Creating 7 MTD partitions on "47040000.spi.0":
    [    5.563028] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    5.569224] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    5.575098] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    5.581036] 0x000000680000-0x0000006c0000 : "ospi.env"
    [    5.586733] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
    [    5.593016] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    5.598955] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    5.650473] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    5.661431] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    5.669701] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    5.682525] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    5.689740] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    5.695987] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    5.711212] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    5.721227] mmc1: CQHCI version 5.10
    [    5.723896] clk: Disabling unused clocks
    [    5.740845] ALSA device list:
    [    5.743878]   No soundcards found.
    [    7.235527] sdhci-am654 4fb0000.mmc: Power on failed
    [    7.271054] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    7.281600] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
    [    7.288902] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
    [    7.347898] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs
    [    7.354446] EXT4-fs (mmcblk0p2): recovery complete
    [    7.359976] EXT4-fs (mmcblk0p2): mounted filesystem e54aaa54-328a-4d72-8ae7-481f5c10ac7d ro with ordered data mode. Quota mode: none.
    [    7.372013] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [    7.379004] devtmpfs: mounted
    [    7.382869] Freeing unused kernel memory: 2432K
    [    7.387441] Run /sbin/init as init process
    [    7.391529]   with arguments:
    [    7.391531]     /sbin/init
    [    7.391533]   with environment:
    [    7.391535]     HOME=/
    [    7.391536]     TERM=linux
    [    7.499963] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [    7.527384] EXT4-fs (mmcblk0p5): recovery complete
    [    7.532610] EXT4-fs (mmcblk0p5): mounted filesystem 41a1f1f9-cbb9-4322-8627-02a5d3186ca7 r/w with ordered data mode. Quota mode: none.
    [    7.545396] EXT4-fs (mmcblk0p6): Using encoding defined by superblock: utf8-12.1.0 with flags 0x0
    [    7.606448] EXT4-fs (mmcblk0p6): recovery complete
    [    7.611678] EXT4-fs (mmcblk0p6): mounted filesystem 9e81c8d8-98d0-45e7-973c-17731ff8fcb1 r/w with ordered data mode. Quota mode: none.
    [    7.704611] udevd[180]: starting version 3.2.14
    [    7.724507] udevd[181]: starting eudev-3.2.14
    [    7.847591] CAN device driver interface
    [    7.854153] mc: Linux media interface: v0.10
    [    7.872589] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a8000000
    [    7.874727] videodev: Linux video capture interface: v2.00
    [    7.883225] k3-dsp-rproc 64800000.dsp: configured DSP for remoteproc mode
    [    7.909684] remoteproc remoteproc0: 64800000.dsp is available
    [    7.916190] remoteproc remoteproc0: Direct firmware load for j784s4-c71_0-fw failed with error -2
    [    7.926486] remoteproc remoteproc0: powering up 64800000.dsp
    [    7.933920] remoteproc remoteproc0: Direct firmware load for j784s4-c71_0-fw failed with error -2
    [    7.937340] vdec 4210000.video-codec: Added wave5 driver with caps: 'ENCODE' 'DECODE'
    [    7.942982] omap_rng 4e10000.rng: Random Number Generator ver. 241b34c
    [    7.957152] remoteproc remoteproc0: request_firmware failed: -2
    [    7.963312] k3-dsp-rproc 65800000.dsp: assigned reserved memory node c71-dma-memory@a9000000
    [    7.973066] cdns-mhdp8546 a000000.bridge: invalid resource (null)
    [    7.979204] cdns-mhdp8546 a000000.bridge: Failed to get SAPB memory resource, HDCP not supported
    [    7.988584] k3-dsp-rproc 65800000.dsp: configured DSP for remoteproc mode
    [    7.994991] vdec 4210000.video-codec: Product Code:      0x521c
    [    8.001604] remoteproc remoteproc1: 65800000.dsp is available
    [    8.005662] vdec 4210000.video-codec: Firmware Revision: 334314
    [    8.013801] k3-dsp-rproc 66800000.dsp: assigned reserved memory node c71-dma-memory@aa000000
    [    8.022386] remoteproc remoteproc1: Direct firmware load for j784s4-c71_1-fw failed with error -2
    [    8.034842] remoteproc remoteproc1: powering up 65800000.dsp
    [    8.040546] remoteproc remoteproc1: Direct firmware load for j784s4-c71_1-fw failed with error -2
    [    8.053008] at24 0-0051: supply vcc not found, using dummy regulator
    [    8.054048] remoteproc remoteproc1: request_firmware failed: -2
    [    8.059754] k3-dsp-rproc 66800000.dsp: configured DSP for remoteproc mode
    [    8.076301] vdec 4220000.video-codec: Added wave5 driver with caps: 'ENCODE' 'DECODE'
    [    8.085967] at24 0-0051: 65536 byte 24c512 EEPROM, writable, 1 bytes/write
    [    8.093076] vdec 4220000.video-codec: Product Code:      0x521c
    [    8.094933] remoteproc remoteproc2: 66800000.dsp is available
    [    8.106860] vdec 4220000.video-codec: Firmware Revision: 334314
    [    8.108371] remoteproc remoteproc2: Direct firmware load for j784s4-c71_2-fw failed with error -2
    [    8.128820] k3-dsp-rproc 67800000.dsp: assigned reserved memory node c71-dma-memory@ab000000
    [    8.137403] remoteproc remoteproc2: powering up 66800000.dsp
    [    8.143087] remoteproc remoteproc2: Direct firmware load for j784s4-c71_2-fw failed with error -2
    [    8.154033] remoteproc remoteproc2: request_firmware failed: -2
    [    8.160613] k3-dsp-rproc 67800000.dsp: configured DSP for remoteproc mode
    [    8.167922] remoteproc remoteproc3: 67800000.dsp is available
    [    8.174064] remoteproc remoteproc3: Direct firmware load for j784s4-c71_3-fw failed with error -2
    [    8.182985] remoteproc remoteproc3: powering up 67800000.dsp
    [    8.189107] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    8.190722] remoteproc remoteproc3: Direct firmware load for j784s4-c71_3-fw failed with error -2
    [    8.213421] remoteproc remoteproc3: request_firmware failed: -2
    [    8.220105] m_can_platform 40528000.can: m_can device registered (irq=607, version=32)
    [    8.230366] gpio-mux mux-controller: 2-way mux-controller registered
    [    8.234558] platform 41000000.r5f: configured R5F for IPC-only mode
    [    8.243908] m_can_platform 40568000.can: m_can device registered (irq=608, version=32)
    [    8.252639] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [    8.265525] remoteproc remoteproc4: 41000000.r5f is available
    [    8.265715] m_can_platform 2761000.can: m_can device registered (irq=609, version=32)
    [    8.271727] remoteproc remoteproc4: attaching to 41000000.r5f
    [    8.280166] m_can_platform 2771000.can: m_can device registered (irq=610, version=32)
    [    8.285389] platform 41000000.r5f: R5F core initialized in IPC-only mode
    [    8.306793] rproc-virtio rproc-virtio.6.auto: assigned reserved memory node r5f-dma-memory@a0000000
    [    8.316791] [drm] Initialized tidss 1.0.0 20180215 for 4a00000.dss on minor 0
    [    8.318267] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    8.324358] tidss 4a00000.dss: [drm] Cannot find any crtc or sizes
    [    8.335748] tidss 4a00000.dss: [drm] Cannot find any crtc or sizes
    [    8.341943] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    8.349499] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    8.354287] rproc-virtio rproc-virtio.6.auto: registered virtio0 (type 7)
    [    8.367106] remoteproc remoteproc4: remote processor 41000000.r5f is now attached
    [    8.378421] platform 5c00000.r5f: configured R5F for remoteproc mode
    [    8.385381] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [    8.394240] remoteproc remoteproc5: 5c00000.r5f is available
    [    8.405368] remoteproc remoteproc5: powering up 5c00000.r5f
    [    8.411129] remoteproc remoteproc5: Booting fw image j784s4-main-r5f0_0-fw, size 888316
    [    8.422938] platform 5d00000.r5f: configured R5F for remoteproc mode
    [    8.429364] rproc-virtio rproc-virtio.7.auto: assigned reserved memory node r5f-dma-memory@a2000000
    [    8.439292] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
    [    8.448750] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    8.454362] rproc-virtio rproc-virtio.7.auto: registered virtio1 (type 7)
    [    8.461238] remoteproc remoteproc5: remote processor 5c00000.r5f is now up
    [    8.468672] remoteproc remoteproc6: 5d00000.r5f is available
    [    8.474646] remoteproc remoteproc6: Direct firmware load for j784s4-main-r5f0_1-fw failed with error -2
    [    8.484087] remoteproc remoteproc6: powering up 5d00000.r5f
    [    8.489719] remoteproc remoteproc6: Direct firmware load for j784s4-main-r5f0_1-fw failed with error -2
    [    8.499126] remoteproc remoteproc6: request_firmware failed: -2
    [    8.550100] xhci-hcd xhci-hcd.8.auto: xHCI Host Controller
    [    8.555592] xhci-hcd xhci-hcd.8.auto: new USB bus registered, assigned bus number 1
    [    8.563354] xhci-hcd xhci-hcd.8.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000002000008010
    [    8.572877] xhci-hcd xhci-hcd.8.auto: irq 612, io mem 0x06010000
    [    8.579002] xhci-hcd xhci-hcd.8.auto: xHCI Host Controller
    [    8.584484] xhci-hcd xhci-hcd.8.auto: new USB bus registered, assigned bus number 2
    [    8.592131] xhci-hcd xhci-hcd.8.auto: Host supports USB 3.0 SuperSpeed
    [    8.599010] hub 1-0:1.0: USB hub found
    [    8.602771] hub 1-0:1.0: 1 port detected
    [    8.606868] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    8.615166] hub 2-0:1.0: USB hub found
    [    8.618928] hub 2-0:1.0: 1 port detected
    [    8.862470] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [    9.015359] hub 1-1:1.0: USB hub found
    [    9.019239] hub 1-1:1.0: 4 ports detected
    [    9.028446] usbcore: registered new device driver onboard-usb-hub
    [    9.142506] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
    [    9.167290] hub 2-1:1.0: USB hub found
    [    9.171071] hub 2-1:1.0: 4 ports detected
    [    9.176928] hub 2-1:1.0: USB hub found
    [    9.180717] hub 2-1:1.0: 4 ports detected
    [    9.194907] hub 1-1:1.0: USB hub found
    [    9.198698] hub 1-1:1.0: 4 ports detected
    [    9.204553] hub 1-1:1.0: USB hub found
    [    9.208332] hub 1-1:1.0: 4 ports detected
    [    9.342879] hub 2-1:1.0: USB hub found
    [    9.346667] hub 2-1:1.0: 4 ports detected
    [    9.578925] virtio_rpmsg_bus virtio1: creating channel ti.ethfw.ethdevice addr 0x65
    [    9.586663] virtio_rpmsg_bus virtio1: creating channel ti.ethfw.notifyservice addr 0x66
    [   10.407246] virtio_rpmsg_bus virtio1: creating channel ti.ethfw.ethdevice addr 0x65
    [   10.414898] virtio_rpmsg_bus virtio1: channel ti.ethfw.ethdevice:ffffffff:65 already exist
    [   10.423146] virtio_rpmsg_bus virtio1: rpmsg_create_channel failed
    [   10.479257] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x15
    [   10.486426] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x15
    [   10.493553] virtio_rpmsg_bus virtio1: channel rpmsg_chrdev:ffffffff:15 already exist
    [   10.501278] virtio_rpmsg_bus virtio1: rpmsg_create_channel failed
    [   10.522475] k3_r5_rproc bus@100000:r5fss@5c00000: Timed out waiting for 5d00000.r5f core to power up!
    [   10.533097] platform 5e00000.r5f: configured R5F for remoteproc mode
    [   10.539837] platform 5e00000.r5f: assigned reserved memory node r5f-dma-memory@a4000000
    [   10.548246] remoteproc remoteproc7: 5e00000.r5f is available
    [   10.553976] remoteproc remoteproc7: Direct firmware load for j784s4-main-r5f1_0-fw failed with error -2
    [   10.563386] remoteproc remoteproc7: powering up 5e00000.r5f
    [   10.568957] remoteproc remoteproc7: Direct firmware load for j784s4-main-r5f1_0-fw failed with error -2
    [   10.578337] remoteproc remoteproc7: request_firmware failed: -2
    [   12.570477] k3_r5_rproc bus@100000:r5fss@5e00000: Timed out waiting for 5e00000.r5f core to power up!
    [   12.581380] platform 5900000.r5f: configured R5F for remoteproc mode
    [   12.588094] platform 5900000.r5f: assigned reserved memory node r5f-dma-memory@a6000000
    [   12.596496] remoteproc remoteproc8: 5900000.r5f is available
    [   12.602234] remoteproc remoteproc8: Direct firmware load for j784s4-main-r5f2_0-fw failed with error -2
    [   12.611621] remoteproc remoteproc8: powering up 5900000.r5f
    [   12.617210] remoteproc remoteproc8: Direct firmware load for j784s4-main-r5f2_0-fw failed with error -2
    [   12.626588] remoteproc remoteproc8: request_firmware failed: -2
    [   14.618473] k3_r5_rproc bus@100000:r5fss@5900000: Timed out waiting for 5900000.r5f core to power up!
    [   15.720354] ti_cpsw_proxy_client virtio1.ti.ethfw.ethdevice.-1.101: 1 Virtual Switch Port(s), 1 Virtual MAC Only Port(s)
    [   15.731216] ti_cpsw_proxy_client virtio1.ti.ethfw.ethdevice.-1.101: Virt Port: 0, Type: Switch Port, Iface: eth1, Num TX: 2, Num RX: 1, Token: 0
    [   15.744166] ti_cpsw_proxy_client virtio1.ti.ethfw.ethdevice.-1.101: Virt Port: 4, Type: MAC Port, Iface: eth2, Num TX: 1, Num RX: 1, Token: 400
    [   15.802957] EXT4-fs (mmcblk0p2): re-mounted e54aaa54-328a-4d72-8ae7-481f5c10ac7d r/w. Quota mode: none.
    [   16.048135] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [   16.057616] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [   20.155961] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   22.409727] NET: Registered PF_INET6 protocol family
    [   22.416254] Segment Routing with IPv6
    [   22.419935] In-situ OAM (IOAM) with IPv6
    [   22.507967] EXT4-fs (mmcblk0p5): unmounting filesystem 41a1f1f9-cbb9-4322-8627-02a5d3186ca7.
    [   22.555043] EXT4-fs (mmcblk0p5): mounted filesystem 41a1f1f9-cbb9-4322-8627-02a5d3186ca7 r/w with ordered data mode. Quota mode: none.
    [   22.569873] EXT4-fs (mmcblk0p6): unmounting filesystem 9e81c8d8-98d0-45e7-973c-17731ff8fcb1.
    [   22.592092] EXT4-fs (mmcblk0p6): Using encoding defined by superblock: utf8-12.1.0 with flags 0x0
    [   22.650196] EXT4-fs (mmcblk0p6): mounted filesystem 9e81c8d8-98d0-45e7-973c-17731ff8fcb1 r/w with ordered data mode. Quota mode: none.

  • Hi Dave,

    So far, everything looks correct including the dmesg logs. I'll see if I can replicate the set up on my end and check the refclk behavior tomorrow on a SK-AM69.

    Regards,

    Takuma

  • Hi Dave,

    I will need to look more into this. I tried the same and see the same behavior as you. I did some register dumps and it looks like some registers are not set to the correct value. The reason for this I am still looking into.

    However, as proof-of-concept, we have a very similar SoC called TDA4VH (essentially the same chip with small differences geared towards automotive usecase) that uses the internal reference clock on the EVM. The EVM board is called J784S4 EVM. So, using the internal reference clock is a completely valid thing to do. It is strange that SK-AM69 is not showing clock on the PCIE_SOC_REFCLK lines.

    Regards,

    Takuma

  • Hi Dave,

    Currently thinking the behavior is due to lack of termination resistors. 

    Below is what the J784S4 EVM does when enabling the internal reference clock:

    There are 50Ohm resistors going to ground from the PCIE_REFCLK lines.

    For comparison, AM69-SK board that just has a test point:

    Changing the ACSPCIE related registers will show on scope that signals go high or low. For example,

    • devmem2 0x118090 w 0x01000003 - This makes the TP106 go low. This register is the CTRL_MMR_CFG0_ACSPCIE0_CTRL and bits 0 and 1 power down respectively PCIe1 and PCIe3 clock out from the ACSPCIE clock buffer.
    • devmem2 0x118090 w 0x01000002 - This makes TP106 go high, since it de-asserts the power down bit for PCIe1

    This means that there is some sort of activity going out from the test point from the clock buffer, but I have suspicion that the lack of termination resistance to pull down the voltage is just keeping the clock line high.

    Regards,

    Takuma

  • Hi Takuma, I should have made this more clear in my original post, but we have soldered 50 ohm terminating resistors between each of the test points and ground. Prior to adding those resistors, I could barely see any voltage on the test points (for example, TP106). After adding the resistors, I could clearly see TP106 going high (I saw ~1.8 V) when the power down bit was de-asserted. So definitely the 50 ohm resistors are having an effect, but I am still unable to see any clock edges on the test points.

    My main concern here is that we are designing a custom board that is loosely based on the SK-AM69 design, and I plan to remove all of the components on schematic sheet 61, "SERDES Clock Generators." As a consequence, I need to be certain that when we get our prototype boards in, we will be able to do PCIe communication over the SERDES with the reference clock being sourced from the ACSPCIE clock buffers. As of right now, even though I know that it must be working on the J784S4 EVM, I cannot demonstrate that it is working in the SK-AM69 design. And so I am worried that when we get our prototypes in, it will not be working on them either.

    Thanks again for your continued support on this issue -- I appreciate it!

    Best regards,
    Dave

  • Hi Dave,

    Understood. If the 50 ohm resistors are there on your board, then I will see if the issue is elsewhere. Can I have two, maybe 3 more days to look into this?

    Regards,

    Takuma

  • Hi Takuma, that's no problem at all. And if there is anything that you would like for me to try on my end, just let me know. Thank you!  -- Dave

  • Hi Dave,

    Apologies, but this is taking a bit longer than expected on my end. I will update by end of this week.

    Regards,

    Takuma

  • Hi Takuma, I just wanted to make sure that this hasn't fallen off of your radar. Please let me know at your convenience. Thanks, Dave

  • Hi Dave,

    Thanks for the reminder. Yes, this thread is not forgotten. Just not getting what I am expecting still. I have some ideas, but they are a bit more involved to test.

    One suspicion I have is that some clock divider is not being set up properly within the serdes phy. In below scope measurement, I see a very slight waveform at around 1GHz on the test point for REFCLK1. It could be noise, but it would also make sense if it was actually a clock out that is too high frequency and the pin does not have enough time to go down.

    The fact that the serdes module is shared with USB, and the fact that there is an external clock generator that is providing input to the serdes module makes it a bit uncertain if these are causing issues. Trying to see if I can remove them from the board.

    If there is time constraint and need to lock down board design while still having confidence with board design, then I would recommend copying what the SK-AM69 board is doing, although it will add a bit to BOM cost. In theory, the J784S4 EVM design where they do not have an external clock generator can also be used for reference when designing a board using AM69, since they are pin-to-pin compatible.

    Regards,

    Takuma