DRA821U-Q1: How to configure cpsw5g with rgmii and sgmii ports mixed rightly?

Part Number: DRA821U-Q1

Tool/software:

Hello expoerts,

Because there were no sufficient hardware ports for using, we have to mix rgmii and sgmii ports for cpsw5g, ports 1, 3, and 4 are sgmii ports, port 2 is rgmii port. Because of the difference from the evm, we mocified some configure code from qsgmii to sgmii. But it assert CpswMacPort_isSgmiiSupported and said "SGMII port not ready, SERDES PLL not locked".

So, I checked the CPSW0_SGMII Registers, for example, CPSW_SGMII_IDVER_REG_0 has non-zero value(0x4EC21102), but CPSW_SGMII_IDVER_REG_1, CPSW_SGMII_IDVER_REG_2, CPSW_SGMII_IDVER_REG_3 all have zero content, and so the check function failed.

And, if there was a manual for our custom usage(not for qsgmii ports)? Thanks

  • The QSGMII would use a main CPSW port followed by next lower three QSGMII_sub ports; since you have modified the qsgmii ports, it may be the issue that other ports are showing a zero value.

    PLL not locked means that the SERDES is not seeing the ref clk or is misconfigured, SGMII supports 100MHz (or 156.25MHz) ref clk.

  • thanks for your reply, I will check them. It seems a long way to make it worked.

  • I had checked the refclk, it is 100MHz.

    clk

  • Hi, 

    Which SDK version you are using? 

    Also are you using CPSW5G with ETHFW Or Native Linux driver? 

    Also share the debug log. 

    Best Regards, 

    Sudheer

  • OK. I use sdk 10.0 with native linux driver. For our custom board, I disabled port 1 and port 2 of cpsw5g.

    and the linux booting log like:

    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.6.32-g6de6e418c80e-dirty (igs@5209907) (aarch64-oe-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240716) #48 SMP PREEMPT Tue Jan 14 16:57:18 CST 2025
    [    0.000000] KASLR disabled due to lack of seed
    [    0.000000] Machine model: Texas Instruments J7200 EVM
    [    0.000000] efi: UEFI not found.
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a0000000..0x00000000a00fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a0000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a0100000..0x00000000a0ffffff (15360 KiB) nomap non-reusable r5f-memory@a0100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a1000000..0x00000000a10fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a1000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a1100000..0x00000000a1ffffff (15360 KiB) nomap non-reusable r5f-memory@a1100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2000000..0x00000000a20fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a2000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2100000..0x00000000a2ffffff (15360 KiB) nomap non-reusable r5f-memory@a2100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3000000..0x00000000a30fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a3000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3100000..0x00000000a3ffffff (15360 KiB) nomap non-reusable r5f-memory@a3100000
    [    0.000000] OF: reserved mem: 0x00000000a4000000..0x00000000a47fffff (8192 KiB) nomap non-reusable ipc-memories@a4000000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a47fffff]
    [    0.000000]   node   0: [mem 0x00000000a4800000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] cma: Reserved 32 MiB at 0x00000000fe000000 on node -1
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.4
    [    0.000000] percpu: Embedded 20 pages/cpu s42920 r8192 d30808 u81920
    [    0.000000] pcpu-alloc: s42920 r8192 d30808 u81920 alloc=20*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: Spectre-v3a
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: detected: ARM erratum 1742098
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Kernel command line: console=ttyS2,115200n8 root=PARTUUID=79a22181-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 2.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fa000000-0x00000000fe000000] (64MB)
    [    0.000000] Memory: 3896908K/4194304K available (11584K kernel code, 1254K rwdata, 3896K rodata, 2368K init, 431K bss, 264628K reserved, 32768K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu: 	RCU event tracing is enabled.
    [    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000] 	Trampoline variant of Tasks RCU enabled.
    [    0.000000] 	Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @880800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000880040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880050000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.000164] Console: colour dummy device 80x25
    [    0.000191] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.000197] pid_max: default: 32768 minimum: 301
    [    0.000237] LSM: initializing lsm=capability,integrity
    [    0.000293] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.000312] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.001204] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.001254] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.001376] rcu: Hierarchical SRCU implementation.
    [    0.001379] rcu: 	Max phase no-delay instances is 1000.
    [    0.001557] Platform MSI: msi-controller@1820000 domain created
    [    0.001659] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.001773] EFI services will not be available.
    [    0.001882] smp: Bringing up secondary CPUs ...
    [    0.010409] Detected PIPT I-cache on CPU1
    [    0.010458] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.010472] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
    [    0.010506] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.010563] smp: Brought up 1 node, 2 CPUs
    [    0.010568] SMP: Total of 2 processors activated.
    [    0.010570] CPU features: detected: 32-bit EL0 Support
    [    0.010573] CPU features: detected: CRC32 instructions
    [    0.010628] CPU: All CPU(s) started at EL2
    [    0.010630] alternatives: applying system-wide alternatives
    [    0.011494] devtmpfs: initialized
    [    0.016495] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.016509] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.017127] pinctrl core: initialized pinctrl subsystem
    [    0.017395] DMI not present or invalid.
    [    0.017718] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.018322] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.018427] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.018552] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.018578] audit: initializing netlink subsys (disabled)
    [    0.018683] audit: type=2000 audit(0.016:1): state=initialized audit_enabled=0 res=1
    [    0.018885] thermal_sys: Registered thermal governor 'step_wise'
    [    0.018889] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.018914] cpuidle: using governor menu
    [    0.018989] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.019018] ASID allocator initialised with 65536 entries
    [    0.027122] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@100000/pinctrl@a40000/mcu-cpsw-cpts
    [    0.028074] Modules: 27840 pages in range for non-PLT usage
    [    0.028078] Modules: 519360 pages in range for PLT usage
    [    0.028504] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.028508] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.028511] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.028513] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.028515] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.028517] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.028520] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.028522] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.029289] k3-chipinfo 43000014.chipid: Family:J7200 rev:SR2.0 JTAGID[0x1bb6d02f] Detected
    [    0.030131] iommu: Default domain type: Translated
    [    0.030136] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.030264] SCSI subsystem initialized
    [    0.030344] libata version 3.00 loaded.
    [    0.030423] usbcore: registered new interface driver usbfs
    [    0.030438] usbcore: registered new interface driver hub
    [    0.030450] usbcore: registered new device driver usb
    [    0.030662] pps_core: LinuxPPS API ver. 1 registered
    [    0.030664] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.030669] PTP clock support registered
    [    0.030760] EDAC MC: Ver: 3.0.0
    [    0.031003] scmi_core: SCMI protocol bus registered
    [    0.031135] FPGA manager framework
    [    0.031184] Advanced Linux Sound Architecture Driver Initialized.
    [    0.031661] clocksource: Switched to clocksource arch_sys_counter
    [    0.031781] VFS: Disk quotas dquot_6.6.0
    [    0.031797] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.034941] NET: Registered PF_INET protocol family
    [    0.035235] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.036725] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.036760] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.036770] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.036942] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [    0.038138] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.038297] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.038355] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.038496] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.038831] RPC: Registered named UNIX socket transport module.
    [    0.038836] RPC: Registered udp transport module.
    [    0.038839] RPC: Registered tcp transport module.
    [    0.038840] RPC: Registered tcp-with-tls transport module.
    [    0.038843] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.038848] NET: Registered PF_XDP protocol family
    [    0.038861] PCI: CLS 0 bytes, default 64
    [    0.039518] Initialise system trusted keyrings
    [    0.039631] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.039817] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.039949] NFS: Registering the id_resolver key type
    [    0.039962] Key type id_resolver registered
    [    0.039964] Key type id_legacy registered
    [    0.039974] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.039977] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.053656] Key type asymmetric registered
    [    0.053661] Asymmetric key parser 'x509' registered
    [    0.053690] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.053694] io scheduler mq-deadline registered
    [    0.053697] io scheduler kyber registered
    [    0.053720] io scheduler bfq registered
    [    0.054857] phy_gmii_sel_probe: ==:ti,am654-phy-gmii-sel
    [    0.054861] ==phy_gmii_sel_probe: data:(____ptrval____):(____ptrval____),feature:0
    [    0.054931] phy-gmii-sel 40f04040.phy: phy_gmii_sel_init_ports 1
    [    0.054935] phy-gmii-sel 40f04040.phy: phy_gmii_init_phy field 4040 2 0
    [    0.055054] phy_gmii_sel_probe: ==:ti,j7200-cpsw5g-phy-gmii-sel
    [    0.055056] ==phy_gmii_sel_probe: data:(____ptrval____):(____ptrval____),feature:16
    [    0.055107] phy-gmii-sel 104044.phy: phy_gmii_sel_init_ports 4
    [    0.055111] phy-gmii-sel 104044.phy: phy_gmii_init_phy field 4044 2 0
    [    0.055149] phy-gmii-sel 104044.phy: phy_gmii_init_phy field 4048 2 0
    [    0.055180] phy-gmii-sel 104044.phy: phy_gmii_init_phy field 404c 2 0
    [    0.055213] phy-gmii-sel 104044.phy: phy_gmii_init_phy field 4050 2 0
    [    0.055476] pinctrl-single 4301c000.pinctrl: 13 pins, size 52
    [    0.055582] pinctrl-single 4301c038.pinctrl: 2 pins, size 8
    [    0.055697] pinctrl-single 4301c068.pinctrl: 59 pins, size 236
    [    0.055954] pinctrl-single 4301c174.pinctrl: 8 pins, size 32
    [    0.056093] pinctrl-single 104200.pinctrl: 20 pins, size 80
    [    0.056167] pinctrl-single 104280.pinctrl: 8 pins, size 32
    [    0.056247] pinctrl-single 11c000.pinctrl: 67 pins, size 268
    [    0.056475] pinctrl-single 11c11c.pinctrl: 3 pins, size 12
    [    0.056843] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.060227] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.065248] loop: module loaded
    [    0.065796] megasas: 07.725.01.00-rc1
    [    0.067409] tun: Universal TUN/TAP device driver, 1.6
    [    0.067993] VFIO - User Level meta-driver version: 0.3
    [    0.068552] usbcore: registered new interface driver usb-storage
    [    0.068691] gadgetfs: USB Gadget filesystem, version 24 Aug 2004
    [    0.068699] file system registered
    [    0.068922] i2c_dev: i2c /dev entries driver
    [    0.069524] sdhci: Secure Digital Host Controller Interface driver
    [    0.069526] sdhci: Copyright(c) Pierre Ossman
    [    0.069636] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.069930] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.070083] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.070497] usbcore: registered new interface driver usbhid
    [    0.070499] usbhid: USB HID core driver
    [    0.071283] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.071508] optee: probing for conduit method.
    [    0.071523] optee: revision 4.2 (12d7c4ee)
    [    0.087969] optee: dynamic shared memory is enabled
    [    0.088404] random: crng init done
    [    0.088459] optee: initialized driver
    [    0.089648] NET: Registered PF_PACKET protocol family
    [    0.089688] Key type dns_resolver registered
    [    0.093282] registered taskstats version 1
    [    0.093480] Loading compiled-in X.509 certificates
    [    0.097897] ti-sci 44083000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    [    0.161922] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.162122] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 137 domain created
    [    0.162217] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 131 domain created
    [    0.162301] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 213 domain created
    [    0.162453] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 209 created
    [    0.162703] wiz bus@100000:wiz@5060000: wiz_probe
    [    0.162778] wiz bus@100000:wiz@5060000: wiz_get_lane_phy_types: Lanes 1-3 have phy-type 8
    [    0.164346] wiz bus@100000:wiz@5060000: wiz_probe OK
    [    0.164499] tisci_psil_ops:000000006ba96a0a:000000006ba96a0a
    [    0.164697] tisci_psil_ops:000000006ba96a0a:000000006ba96a0a
    [    0.165386] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,32] sci-dev-id:235
    [    0.165393] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    0.165396] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    0.168364] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[120,200] sci-dev-id:211
    [    0.168373] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    0.168375] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    0.169049] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 266, base_baud = 6000000) is a 8250
    [    0.169686] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 267, base_baud = 3000000) is a 8250
    [    0.169717] printk: console [ttyS2] enabled
    [    1.735595] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 268, base_baud = 3000000) is a 8250
    [    1.744821] 2830000.serial: ttyS5 at MMIO 0x2830000 (irq = 269, base_baud = 3000000) is a 8250
    [    1.753780] am65-cpsw-nuss 46000000.ethernet: MDIO node found, with 1 ports
    [    1.760919] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.807667] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.815319]  == is_c45:0
    [    1.818379] --call get_phy_device at addr 1 return:000000003f022dab
    [    1.824894] hwmon hwmon0: temp1_input not attached to any thermal zone
    [    1.832842] davinci_mdio 46000f00.mdio: phy[1]: device 46000f00.mdio:01, driver Marvell 88E1510
    [    1.841547] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.854314] phy-gmii-sel 40f04040.phy: phy_gmii_sel_of_xlate id:1 ext:0
    [    1.854358] phy-gmii-sel 40f04040.phy: phy_gmii_sel_mode id:1 mode:11 rgmii_id:0 rmii_clk_ext:0, gmii_sel_mode:2
    [    1.854411] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.861620] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.867850] pps pps0: new PPS source ptp0
    [    1.871994] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1
    [    1.881985] am65-cpsw-nuss c000000.ethernet: MDIO node found, with 4 ports
    [    1.889108] davinci_mdio c000f00.mdio: Configuring MDIO in manual mode
    [    1.935664] davinci_mdio c000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.943229]  == is_c45:0
    [    1.948845] --call get_phy_device at addr 4 return:0000000070c4440b
    [    1.956429]  == is_c45:0
    [    1.961928] --call get_phy_device at addr 5 return:000000003f022dab
    [    1.969479]  == is_c45:0
    [    1.972400] --call get_phy_device at addr 17 return:ffffffffffffffed
    [    1.978742] mdio_bus c000f00.mdio: MDIO device at address 17 is missing.
    [    1.985463]  == is_c45:0
    [    1.988360] --call get_phy_device at addr 16 return:ffffffffffffffed
    [    1.994698] mdio_bus c000f00.mdio: MDIO device at address 16 is missing.
    [    2.001387] davinci_mdio c000f00.mdio: phy[4]: device c000f00.mdio:04, driver mv88q2110
    [    2.009372] davinci_mdio c000f00.mdio: phy[5]: device c000f00.mdio:05, driver mv88q2110
    [    2.017383] am65-cpsw-nuss c000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 5 quirks:00000000
    [    2.030099] phy-gmii-sel 104044.phy: phy_gmii_sel_of_xlate id:3 ext:0
    [    2.030145] phy-gmii-sel 104044.phy: phy_gmii_sel_mode id:3 mode:4 rgmii_id:0 rmii_clk_ext:0, gmii_sel_mode:3
    [    2.030191] am65-cpsw-nuss c000000.ethernet: Use random MAC address
    [    2.036451] phy-gmii-sel 104044.phy: phy_gmii_sel_of_xlate id:4 ext:0
    [    2.036490] phy-gmii-sel 104044.phy: phy_gmii_sel_mode id:4 mode:4 rgmii_id:0 rmii_clk_ext:0, gmii_sel_mode:3
    [    2.036516] am65-cpsw-nuss c000000.ethernet: Use random MAC address
    [    2.042772] am65-cpsw-nuss c000000.ethernet: initialized cpsw ale version 1.4
    [    2.049891] am65-cpsw-nuss c000000.ethernet: ALE Table size 512
    [    2.056136] am65-cpsw-nuss c000000.ethernet: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [    2.066931] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [    2.075748] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc8900
    [    2.082468] mmc1: CQHCI version 5.10
    [    2.082678] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc8900
    [    2.092635] mmc0: CQHCI version 5.10
    [    2.119720] tps6594 0-0048: error -EREMOTEIO: Failed to set PMIC state
    [    2.126279] tps6594: probe of 0-0048 failed with error -121
    [    2.132017] tps6594 0-004c: error -EREMOTEIO: Failed to set PMIC state
    [    2.134230] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    2.138613] tps6594: probe of 0-004c failed with error -121
    [    2.152305] cdns-torrent-phy 5060000.serdes: Single-link configuration:
    [    2.152313] cdns-torrent-phy 5060000.serdes: SGMII (3 lanes)
    [    2.152475] tisci_psil_ops:000000006ba96a0a:000000006ba96a0a
    [    2.158788] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    2.168208] tisci_psil_ops:000000006ba96a0a:000000006ba96a0a
    [    2.175069] ti-udma 31150000.dma-controller: Channels: 50 (tchan: 25, rchan: 25, gp-rflow: 8)
    [    2.185076] am65-cpsw-nuss 46000000.ethernet: MDIO node found, with 1 ports
    [    2.192219] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    2.235665] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    2.243323]  == is_c45:0
    [    2.246414] --call get_phy_device at addr 1 return:000000005b48ba71
    [    2.252949] hwmon hwmon0: temp1_input not attached to any thermal zone
    [    2.260915] davinci_mdio 46000f00.mdio: phy[1]: device 46000f00.mdio:01, driver Marvell 88E1510
    [    2.269619] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    2.282410] phy-gmii-sel 40f04040.phy: phy_gmii_sel_of_xlate id:1 ext:0
    [    2.282460] phy-gmii-sel 40f04040.phy: phy_gmii_sel_mode id:1 mode:11 rgmii_id:0 rmii_clk_ext:0, gmii_sel_mode:2
    [    2.282516] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    2.289735] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    2.295908] pps pps0: new PPS source ptp1
    [    2.300089] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1
    [    2.316561] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    2.327014] am65-cpsw-nuss c000000.ethernet: MDIO node found, with 4 ports
    [    2.334093] mmc0: Command Queue Engine enabled
    [    2.334144] davinci_mdio c000f00.mdio: Configuring MDIO in manual mode
    [    2.338544] mmc0: new HS400 MMC card at address 0001
    [    2.350352] mmcblk0: mmc0:0001 G1M15L 29.6 GiB
    [    2.355868]  mmcblk0: p1 p2
    [    2.358988] mmcblk0boot0: mmc0:0001 G1M15L 31.5 MiB
    [    2.364587] mmcblk0boot1: mmc0:0001 G1M15L 31.5 MiB
    [    2.370135] mmcblk0rpmb: mmc0:0001 G1M15L 4.00 MiB, chardev (238:0)
    [    2.383671] davinci_mdio c000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    2.391244]  == is_c45:0
    [    2.396938] --call get_phy_device at addr 4 return:00000000b227809e
    [    2.404562]  == is_c45:0
    [    2.410113] --call get_phy_device at addr 5 return:00000000eaf6f0e0
    [    2.417671]  == is_c45:0
    [    2.420584] --call get_phy_device at addr 17 return:ffffffffffffffed
    [    2.426936] mdio_bus c000f00.mdio: MDIO device at address 17 is missing.
    [    2.433628]  == is_c45:0
    [    2.436551] --call get_phy_device at addr 16 return:ffffffffffffffed
    [    2.442894] mdio_bus c000f00.mdio: MDIO device at address 16 is missing.
    [    2.449587] davinci_mdio c000f00.mdio: phy[4]: device c000f00.mdio:04, driver mv88q2110
    [    2.457574] davinci_mdio c000f00.mdio: phy[5]: device c000f00.mdio:05, driver mv88q2110
    [    2.465587] am65-cpsw-nuss c000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 5 quirks:00000000
    [    2.478302] phy-gmii-sel 104044.phy: phy_gmii_sel_of_xlate id:3 ext:0
    [    2.478354] phy-gmii-sel 104044.phy: phy_gmii_sel_mode id:3 mode:4 rgmii_id:0 rmii_clk_ext:0, gmii_sel_mode:3
    [    2.478409] am65-cpsw-nuss c000000.ethernet: Use random MAC address
    [    2.484668] phy-gmii-sel 104044.phy: phy_gmii_sel_of_xlate id:4 ext:0
    [    2.484707] phy-gmii-sel 104044.phy: phy_gmii_sel_mode id:4 mode:4 rgmii_id:0 rmii_clk_ext:0, gmii_sel_mode:3
    [    2.484734] am65-cpsw-nuss c000000.ethernet: Use random MAC address
    [    2.490990] am65-cpsw-nuss c000000.ethernet: initialized cpsw ale version 1.4
    [    2.498108] am65-cpsw-nuss c000000.ethernet: ALE Table size 512
    [    2.504337] am65-cpsw-nuss c000000.ethernet: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [    2.521042] am65-cpsw-nuss c000000.ethernet: set new flow-id-base 60
    [    2.530812] am65-cpsw-nuss c000000.ethernet: am65_cpsw_dl_switch_mode_get id:17
    [    2.532007] debugfs: Directory 'pd:49' with parent 'pm_genpd' already present!
    [    2.540546] debugfs: Directory 'pd:35' with parent 'pm_genpd' already present!
    [    2.548102] clk: Disabling unused clocks
    [    2.564507] ALSA device list:
    [    2.567467]   No soundcards found.
    [    3.606176] sdhci-am654 4fb0000.mmc: Power on failed
    [    3.641717] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    3.735486] EXT4-fs (mmcblk0p2): recovery complete
    [    3.740666] EXT4-fs (mmcblk0p2): mounted filesystem 4491332d-275b-418b-ae1e-9a6c0b5641aa r/w with ordered data mode. Quota mode: none.
    [    3.752779] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    3.759317] devtmpfs: mounted
    [    3.763744] Freeing unused kernel memory: 2368K
    [    3.768354] Run /sbin/init as init process
    [    3.772443]   with arguments:
    [    3.772445]     /sbin/init
    [    3.772447]   with environment:
    [    3.772449]     HOME=/
    [    3.772451]     TERM=linux
    [    3.868957] systemd[1]: System time before build time, advancing clock.
    [    3.889335] NET: Registered PF_INET6 protocol family
    [    3.894924] Segment Routing with IPv6
    [    3.898610] In-situ OAM (IOAM) with IPv6
    [    3.922149] systemd[1]: systemd 255.4^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
    [    3.953927] systemd[1]: Detected architecture arm64.
    [    3.972699] systemd[1]: Hostname set to <j7200-evm>.
    [    4.136521] systemd[1]: /usr/lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    4.194480] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    4.239391] systemd[1]: Queued start job for default target Graphical Interface.
    [    4.270686] systemd[1]: Created slice Slice /system/getty.
    [    4.292925] systemd[1]: Created slice Slice /system/modprobe.
    [    4.316797] systemd[1]: Created slice Slice /system/serial-getty.
    [    4.340542] systemd[1]: Created slice User and Session Slice.
    [    4.363894] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    4.387837] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    4.411748] systemd[1]: Expecting device /dev/ttyS2...
    [    4.427764] systemd[1]: Reached target Path Units.
    [    4.443726] systemd[1]: Reached target Remote File Systems.
    [    4.463714] systemd[1]: Reached target Slice Units.
    [    4.479722] systemd[1]: Reached target Swaps.
    [    4.522493] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    4.547839] systemd[1]: Reached target RPC Port Mapper.
    [    4.570796] systemd[1]: Listening on Process Core Dump Socket.
    [    4.591928] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    4.616323] systemd[1]: Listening on Journal Audit Socket.
    [    4.640047] systemd[1]: Listening on Journal Socket (/dev/log).
    [    4.660065] systemd[1]: Listening on Journal Socket.
    [    4.680093] systemd[1]: Listening on Network Service Netlink Socket.
    [    4.706163] systemd[1]: Listening on udev Control Socket.
    [    4.727989] systemd[1]: Listening on udev Kernel Socket.
    [    4.747998] systemd[1]: Listening on User Database Manager Socket.
    [    4.787925] systemd[1]: Mounting Huge Pages File System...
    [    4.809885] systemd[1]: Mounting POSIX Message Queue File System...
    [    4.836049] systemd[1]: Mounting Kernel Debug File System...
    [    4.856005] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
    [    4.873333] systemd[1]: Mounting Temporary Directory /tmp...
    [    4.892207] systemd[1]: Starting Create List of Static Device Nodes...
    [    4.936278] systemd[1]: Starting Load Kernel Module configfs...
    [    4.984232] systemd[1]: Starting Load Kernel Module drm...
    [    5.012347] systemd[1]: Starting Load Kernel Module fuse...
    [    5.052234] systemd[1]: Starting RPC Bind...
    [    5.058694] fuse: init (API version 7.39)
    [    5.067955] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
    [    5.110238] systemd[1]: Starting Journal Service...
    [    5.140276] systemd[1]: Starting Load Kernel Modules...
    [    5.166408] systemd[1]: Starting Generate network units from Kernel command line...
    [    5.172831] systemd-journald[120]: Collecting audit messages is enabled.
    [    5.217043] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    5.255752] EXT4-fs (mmcblk0p2): re-mounted 4491332d-275b-418b-ae1e-9a6c0b5641aa r/w. Quota mode: none.
    [    5.260269] systemd[1]: Starting Coldplug All udev Devices...
    [    5.274892] systemd[1]: Started RPC Bind.
    [    5.307786] systemd[1]: Started Journal Service.
    [    5.671560] systemd-journald[120]: Received client request to flush runtime journal.
    [    5.937136] audit: type=1334 audit(1709054766.064:2): prog-id=6 op=LOAD
    [    5.944178] audit: type=1334 audit(1709054766.072:3): prog-id=7 op=LOAD
    [    6.228750] audit: type=1334 audit(1709054766.352:4): prog-id=8 op=LOAD
    [    6.273902] audit: type=1334 audit(1709054766.400:5): prog-id=9 op=LOAD
    [    6.332589] audit: type=1334 audit(1709054766.460:6): prog-id=10 op=LOAD
    [    6.344691] audit: type=1334 audit(1709054766.472:7): prog-id=11 op=LOAD
    [    6.356537] audit: type=1334 audit(1709054766.472:8): prog-id=12 op=LOAD
    [    6.933974] audit: type=1334 audit(1709114311.728:9): prog-id=13 op=LOAD
    [    6.979518] CAN device driver interface
    [    7.086751] dbus-broker-lau[326]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
    [    7.129250] ti-udma 285c0000.dma-controller: chan1: is running!
    [    7.149894] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    7.162285] at24 0-0050: supply vcc not found, using dummy regulator
    [    7.171702] platform 41000000.r5f: configured R5F for IPC-only mode
    [    7.171887] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [    7.190990] remoteproc remoteproc0: 41000000.r5f is available
    [    7.191040] remoteproc remoteproc0: attaching to 41000000.r5f
    [    7.200646] platform 41000000.r5f: R5F core initialized in IPC-only mode
    [    7.200666] rproc-virtio rproc-virtio.1.auto: assigned reserved memory node r5f-dma-memory@a0000000
    [    7.207787] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    7.207859] rproc-virtio rproc-virtio.1.auto: registered virtio0 (type 7)
    [    7.207865] remoteproc remoteproc0: remote processor 41000000.r5f is now attached
    [    7.215044] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    7.215159] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    7.258296] platform 5c00000.r5f: configured R5F for remoteproc mode
    [    7.265894] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [    7.266672] remoteproc remoteproc1: 5c00000.r5f is available
    [    7.273462] remoteproc remoteproc1: Direct firmware load for j7200-main-r5f0_0-fw failed with error -2
    [    7.273477] remoteproc remoteproc1: powering up 5c00000.r5f
    [    7.273496] remoteproc remoteproc1: Direct firmware load for j7200-main-r5f0_0-fw failed with error -2
    [    7.273501] remoteproc remoteproc1: request_firmware failed: -2
    [    7.298572] m_can_platform 2701000.can: m_can device registered (irq=540, version=32)
    [    7.299813] m_can_platform 40528000.can: m_can device registered (irq=541, version=32)
    [    7.372511] m_can_platform 40568000.can: m_can device registered (irq=542, version=32)
    [    7.546855] audit: type=1334 audit(1709114312.340:10): prog-id=14 op=LOAD
    [    7.563780] audit: type=1334 audit(1709114312.360:11): prog-id=15 op=LOAD
    [    7.814932] Bluetooth: Core ver 2.22
    [    7.823756] NET: Registered PF_BLUETOOTH protocol family
    [    7.829283] Bluetooth: HCI device and connection manager initialized
    [    7.839701] Bluetooth: HCI socket layer initialized
    [    7.844993] Bluetooth: L2CAP socket layer initialized
    [    7.857500] Bluetooth: SCO socket layer initialized
    [    7.936993] m_can_platform 2701000.can main_mcan0: renamed from can0
    [    8.020537] m_can_platform 40568000.can mcu_mcan1: renamed from can2
    [    8.055911] m_can_platform 40528000.can mcu_mcan0: renamed from can1
    [    8.083840] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    8.117016] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    8.127637] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    8.282608] am65-cpsw-nuss 46000000.ethernet: unset P0_UNI_FLOOD
    [    8.335645] am65-cpsw-nuss 46000000.ethernet: cpsw_nuss started
    [    8.409933] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:01] driver [Marvell 88E1510] (irq=POLL)
    [    8.427704] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [    8.446105] am65-cpsw-nuss 46000000.ethernet: promisc disabled
    [    8.454842] am65-cpsw-nuss 46000000.ethernet: promisc disabled
    [    8.483003] am65-cpsw-nuss c000000.ethernet: unset P0_UNI_FLOOD
    [    8.503169] am65-cpsw-nuss c000000.ethernet: cpsw_nuss started
    [    8.624280] am65-cpsw-nuss c000000.ethernet eth1: PHY [c000f00.mdio:05] driver [mv88q2110] (irq=POLL)
    [    8.636341] am65-cpsw-nuss c000000.ethernet eth1: configuring for phy/sgmii link mode
    [    8.645462] am65-cpsw-nuss c000000.ethernet: promisc disabled
    [    8.648933] am65-cpsw-nuss c000000.ethernet: promisc disabled
    [    8.653764] am65-cpsw-nuss c000000.ethernet: promisc disabled
    [    8.672198] am65-cpsw-nuss c000000.ethernet: promisc disabled
    [    8.682560] am65-cpsw-nuss c000000.ethernet: promisc disabled
    [    8.692655] am65-cpsw-nuss 46000000.ethernet: promisc disabled
    [    8.693069] am65-cpsw-nuss 46000000.ethernet: promisc disabled
    [    8.800064] am65-cpsw-nuss c000000.ethernet eth2: PHY [c000f00.mdio:04] driver [mv88q2110] (irq=POLL)
    [    8.809425] am65-cpsw-nuss c000000.ethernet eth2: configuring for phy/sgmii link mode
    [    8.817281] am65-cpsw-nuss c000000.ethernet: promisc disabled
    [    8.819989] am65-cpsw-nuss c000000.ethernet: promisc disabled
    [    8.823297] am65-cpsw-nuss 46000000.ethernet: promisc disabled
    [    9.283712] k3_r5_rproc bus@100000:r5fss@5c00000: Timed out waiting for 5c00000.r5f core to power up!
    [   19.428268] platform can-phy3: deferred probe pending
    [   19.433343] platform 2731000.can: deferred probe pending
    [   19.438650] platform mux-controller-0: deferred probe pending
    [   19.444395] platform mux-controller-1: deferred probe pending
    [  144.666612] kauditd_printk_skb: 8 callbacks suppressed
    [  144.666620] audit: type=1006 audit(1709114449.460:16): pid=905 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res=1
    [  144.684711] audit: type=1300 audit(1709114449.460:16): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffd897f688 a2=1 a3=1 items=0 ppid=1 pid=905 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [  144.711256] audit: type=1327 audit(1709114449.460:16): proctitle="(systemd)"
    [  144.718465] audit: type=1334 audit(1709114449.468:17): prog-id=18 op=LOAD
    [  144.725403] audit: type=1300 audit(1709114449.468:17): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffee2b0db8 a2=90 a3=0 items=0 ppid=1 pid=905 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/usr/lib/systemd/systemd" key=(null)
    [  144.751166] audit: type=1327 audit(1709114449.468:17): proctitle="(systemd)"
    [  144.758283] audit: type=1334 audit(1709114449.480:18): prog-id=18 op=UNLOAD
    [  144.765288] audit: type=1300 audit(1709114449.480:18): arch=c00000b7 syscall=57 success=yes exit=0 a0=8 a1=1 a2=0 a3=ffffae8f8c60 items=0 ppid=1 pid=905 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/usr/lib/systemd/systemd" key=(null)
    [  144.790865] audit: type=1327 audit(1709114449.480:18): proctitle="(systemd)"
    [  144.797945] audit: type=1334 audit(1709114449.480:19): prog-id=19 op=LOAD
    

    And, if so, the CPSW_SGMII_IDVER_REG_j for first two disabled port were valid.

    and for related dts like:

    &cpsw0_port3 {
    	status = "okay";
    	phy-handle = <&cpsw5g_phy2>;
    	phy-mode = "sgmii";
    	mac-address = [01 02 03 04 05 06];
    	phys = <&cpsw0_phy_gmii_sel 3>;
    };
    
    &cpsw0_port4 {
    	status = "okay";
    	phy-handle = <&cpsw5g_phy3>;
    	phy-mode = "sgmii";
    	mac-address = [00 00 00 00 00 00];
    	phys = <&cpsw0_phy_gmii_sel 4>;
    };
    
    &serdes0 {
    	serdes0_qsgmii_link: phy@0 {
    		reg = <1>;
    		cdns,num-lanes = <3>;
    		#phy-cells = <0>;
    		cdns,phy-type = <PHY_TYPE_SGMII>;
    		resets = <&serdes_wiz0 1>, <&serdes_wiz0 3>, <&serdes_wiz0 4>;
    	};
    };

  • would just a single interface work? either SGMII only or RGMII only but not both?

  • no. if so, only the enabled port's version reg became zero.

  • Hi, 

    CPSW port configuration for sgmii, needs to refer to serses0_qsgmii_link node.  Please refer to quad-eth-expansion overlay from SDK. 

    Also,  serdes can only configures lanes continuous, enable all 4 lanes of Serdes for sgmii from serdes configuration.

    But, from cpsw ports side, configure required port in Rgmii. 

    Also, make sure ETHFW is not loaded on MCU2_0 core. 

    Best Regards, 

    Sudheer

  • Yes, there was nothing load for MCU2_0 core. 

    Because I only test two ports(3 and 4), I modified the dts looks like:

    &cpsw0_port3 {
    	status = "okay";
    	phy-handle = <&cpsw5g_phy2>;
    	phy-mode = "sgmii";
    	phy-names = "portmode", "serdes-phy";
    	mac-address = [00 00 00 00 00 00];
    	phys = <&cpsw0_phy_gmii_sel 3>, <&serdes0_qsgmii_link>;
    };
    
    &cpsw0_port4 {
    	status = "disabled";
    	phy-handle = <&cpsw5g_phy3>;
    	phy-mode = "sgmii";
    	phy-names = "portmode", "serdes-phy";
    	mac-address = [00 00 00 00 00 00];
    	phys = <&cpsw0_phy_gmii_sel 4>, <&serdes0_qsgmii_link>;
    };
    &serdes0 {
    	serdes0_qsgmii_link: phy@1 {
    		reg = <2>;
    		cdns,num-lanes = <2>;
    		#phy-cells = <0>;
    		cdns,phy-type = <PHY_TYPE_SGMII>;
    		resets = <&serdes_wiz0 3>,<&serdes_wiz0 4>;
    	};
    };

    any problems? It dose not work too. I can find the link up, but can't ping others successfully.

    From your recent reply, I have two question:

    1. "Also,  serdes can only configures lanes continuous, enable all 4 lanes of Serdes for sgmii from serdes configuration."

        I use continues 2 ports, ok or not? or users have to configure whole 4 lanes as same?

    2. "from cpsw ports side, configure required port in Rgmii. "

       this need more configures?  CTRLMMR_ENET3_CTRL and CTRLMMR_ENET4_CTRL's PORT_MODE_SEL value is SGMII.

  • Hi, 

    Yes, there was nothing load for MCU2_0 core. 

    Thank you for confirming. 

      I use continues 2 ports, ok or not? or users have to configure whole 4 lanes as same?

    2 continuous ports also fine. 

    I could see you are serdes0_qsgmii_link @1 was mentioned, can you use as @2

    Also, phy-names in cpsw port as "mac", "serdes".

     CTRLMMR_ENET3_CTRL and CTRLMMR_ENET4_CTRL's PORT_MODE_SEL value is SGMII

    It is fine as you want to enable port-3, port-4 in sgmii.

     Can you please check with above suggestions. 

    Best Regards, 

    Sudheer

  • I have tried your suggestions above, but the problem still there.

    And, I have to new problems now:

    1. the contents for CPSW_SGMII_IDVER_REG_3 and CPSW_SGMII_IDVER_REG_4 became zero since phy_set_mode_ext() call within am65_cpsw_nuss_init_slave_ports() entry, and I traced phy_set_mode_ext() call and found it really configure the phy mode to sgmii.

    2. the dts node about serdes-wiz like:

    	serdes_wiz0: wiz@5060000 {
    		compatible = "ti,j721e-wiz-10g";
    		#address-cells = <1>;
    		#size-cells = <1>;
    		power-domains = <&k3_pds 292 TI_SCI_PD_EXCLUSIVE>;
    		clocks = <&k3_clks 292 11>, <&k3_clks 292 85>, <&serdes_refclk>;
    		clock-names = "fck", "core_ref_clk", "ext_ref_clk";
    		num-lanes = <4>;
    		#reset-cells = <1>;
    		ranges = <0x5060000 0x0 0x5060000 0x10000>;
    
    		assigned-clocks = <&k3_clks 292 85>;
    		assigned-clock-parents = <&k3_clks 292 89>;
    
    		wiz0_pll0_refclk: pll0-refclk {
    			clocks = <&k3_clks 292 85>, <&serdes_refclk>;
    			clock-output-names = "wiz0_pll0_refclk";
    			#clock-cells = <0>;
    			assigned-clocks = <&wiz0_pll0_refclk>;
    			assigned-clock-parents = <&k3_clks 292 85>;
    		};
    
    		wiz0_pll1_refclk: pll1-refclk {
    			clocks = <&k3_clks 292 85>, <&serdes_refclk>;
    			clock-output-names = "wiz0_pll1_refclk";
    			#clock-cells = <0>;
    			assigned-clocks = <&wiz0_pll1_refclk>;
    			assigned-clock-parents = <&k3_clks 292 85>;
    		};
    
    		wiz0_refclk_dig: refclk-dig {
    			clocks = <&k3_clks 292 85>, <&serdes_refclk>;
    			clock-output-names = "wiz0_refclk_dig";
    			#clock-cells = <0>;
    			assigned-clocks = <&wiz0_refclk_dig>;
    			assigned-clock-parents = <&k3_clks 292 85>;
    		};
    
    		wiz0_cmn_refclk_dig_div: cmn-refclk-dig-div {
    			clocks = <&wiz0_refclk_dig>;
    			#clock-cells = <0>;
    		};
    
    		serdes0: serdes@5060000 {
    			compatible = "ti,j7200-serdes-10g";
    			reg = <0x05060000 0x00010000>;
    			reg-names = "torrent_phy";
    			resets = <&serdes_wiz0 0>;
    			reset-names = "torrent_reset";
    			clocks = <&wiz0_pll0_refclk>;
    			clock-names = "refclk";
    			#address-cells = <1>;
    			#size-cells = <0>;
    		};
    	};

    here, the compatible seems for j721e, why not j7200?

    3. I found another topic: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1113616/dra821u-how-to-configure-four-sgmii-ports-for-cpsw5g-linux-native-driver, witch said the refclk of the serdes should be internal, from my dts, it think it was, right?

  • Hi,

    1. the contents for CPSW_SGMII_IDVER_REG_3 and CPSW_SGMII_IDVER_REG_4 became zero since phy_set_mode_ext() call within am65_cpsw_nuss_init_slave_ports() entry, and I traced phy_set_mode_ext() call and found it really configure the phy mode to sgmii.

    By default SerDes enabled in u-boot for PCIe + QSGMII.

    If enabled from u-boot, Linux will not reconfigure the SerDes.

    Make sure, u-boot side SerDes is not enabled.

    Also, default SerDes configuration in SDK enabled SerDes and clock.
    Only, you need to make change in SerDes node (serdes0) for interface selection and reset of lanes.

    here, the compatible seems for j721e, why not j7200?

    As J721E and J7200 has same SerDes IP. No need to make any change for this from SDK.

    Can you please share the Linux-boot log.

    Best Regards,
    Sudheer

  • Thanks for your help. I disabled the serdes in u-boot and re-checked it and the problem still there.

    I captured a full log here:

    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.6.44-ti-g541c20281af7-dirty (kezhh@slack.kslack.org) (aarch64-oe-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240723) #14 SMP PREEMPT Thu Jan 16 20:37:34 CST 2025
    [    0.000000] KASLR disabled due to lack of seed
    [    0.000000] Machine model: Texas Instruments J7200 EVM
    [    0.000000] efi: UEFI not found.
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a0000000..0x00000000a00fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a0000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a0100000..0x00000000a0ffffff (15360 KiB) nomap non-reusable r5f-memory@a0100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a1000000..0x00000000a10fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a1000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a1100000..0x00000000a1ffffff (15360 KiB) nomap non-reusable r5f-memory@a1100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2000000..0x00000000a20fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a2000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a2100000..0x00000000a2ffffff (15360 KiB) nomap non-reusable r5f-memory@a2100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3000000..0x00000000a30fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a3000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a3100000..0x00000000a3ffffff (15360 KiB) nomap non-reusable r5f-memory@a3100000
    [    0.000000] OF: reserved mem: 0x00000000a4000000..0x00000000a47fffff (8192 KiB) nomap non-reusable ipc-memories@a4000000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a47fffff]
    [    0.000000]   node   0: [mem 0x00000000a4800000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] cma: Reserved 32 MiB at 0x00000000fe000000 on node -1
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.4
    [    0.000000] percpu: Embedded 20 pages/cpu s43176 r8192 d30552 u81920
    [    0.000000] pcpu-alloc: s43176 r8192 d30552 u81920 alloc=20*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: Spectre-v3a
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: detected: ARM erratum 1742098
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Kernel command line: console=ttyS2,115200n8 root=PARTUUID=79a22181-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 2.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fa000000-0x00000000fe000000] (64MB)
    [    0.000000] Memory: 3896072K/4194304K available (12096K kernel code, 1276K rwdata, 4040K rodata, 2496K init, 457K bss, 265464K reserved, 32768K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu: 	RCU event tracing is enabled.
    [    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000] 	Trampoline variant of Tasks RCU enabled.
    [    0.000000] 	Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @880800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000880040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880050000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.000175] Console: colour dummy device 80x25
    [    0.000203] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.000208] pid_max: default: 32768 minimum: 301
    [    0.000248] LSM: initializing lsm=capability,selinux,integrity
    [    0.000263] SELinux:  Initializing.
    [    0.000337] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.000357] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.001284] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.001335] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.001457] rcu: Hierarchical SRCU implementation.
    [    0.001460] rcu: 	Max phase no-delay instances is 1000.
    [    0.001648] Platform MSI: msi-controller@1820000 domain created
    [    0.001761] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.001883] EFI services will not be available.
    [    0.001996] smp: Bringing up secondary CPUs ...
    [    0.010544] Detected PIPT I-cache on CPU1
    [    0.010590] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.010605] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
    [    0.010639] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.010697] smp: Brought up 1 node, 2 CPUs
    [    0.010701] SMP: Total of 2 processors activated.
    [    0.010704] CPU features: detected: 32-bit EL0 Support
    [    0.010707] CPU features: detected: CRC32 instructions
    [    0.010742] CPU: All CPU(s) started at EL2
    [    0.010744] alternatives: applying system-wide alternatives
    [    0.011653] devtmpfs: initialized
    [    0.017132] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.017144] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.017793] pinctrl core: initialized pinctrl subsystem
    [    0.018035] DMI not present or invalid.
    [    0.018358] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.019007] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.019113] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.019236] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.019263] audit: initializing netlink subsys (disabled)
    [    0.019380] audit: type=2000 audit(0.016:1): state=initialized audit_enabled=0 res=1
    [    0.019590] thermal_sys: Registered thermal governor 'step_wise'
    [    0.019593] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.019616] cpuidle: using governor menu
    [    0.019694] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.019725] ASID allocator initialised with 65536 entries
    [    0.028413] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@100000/pinctrl@a40000/mcu-cpsw-cpts
    [    0.029389] Modules: 27632 pages in range for non-PLT usage
    [    0.029393] Modules: 519152 pages in range for PLT usage
    [    0.029844] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.029848] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.029851] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.029853] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.029856] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.029857] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.029859] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.029861] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.030665] k3-chipinfo 43000014.chipid: Family:J7200 rev:SR2.0 JTAGID[0x1bb6d02f] Detected
    [    0.031377] iommu: Default domain type: Translated
    [    0.031382] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.031524] SCSI subsystem initialized
    [    0.031614] libata version 3.00 loaded.
    [    0.031708] usbcore: registered new interface driver usbfs
    [    0.031722] usbcore: registered new interface driver hub
    [    0.031738] usbcore: registered new device driver usb
    [    0.031969] pps_core: LinuxPPS API ver. 1 registered
    [    0.031972] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.031978] PTP clock support registered
    [    0.032073] EDAC MC: Ver: 3.0.0
    [    0.032369] scmi_core: SCMI protocol bus registered
    [    0.032525] FPGA manager framework
    [    0.032577] Advanced Linux Sound Architecture Driver Initialized.
    [    0.033090] clocksource: Switched to clocksource arch_sys_counter
    [    0.033217] VFS: Disk quotas dquot_6.6.0
    [    0.033232] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.036657] NET: Registered PF_INET protocol family
    [    0.036947] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.038434] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.038468] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.038476] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.038613] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [    0.039833] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.039991] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.040055] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.040204] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.040611] RPC: Registered named UNIX socket transport module.
    [    0.040615] RPC: Registered udp transport module.
    [    0.040617] RPC: Registered tcp transport module.
    [    0.040619] RPC: Registered tcp-with-tls transport module.
    [    0.040621] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.040626] NET: Registered PF_XDP protocol family
    [    0.040641] PCI: CLS 0 bytes, default 64
    [    0.041315] Initialise system trusted keyrings
    [    0.041429] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.041592] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.041732] NFS: Registering the id_resolver key type
    [    0.041746] Key type id_resolver registered
    [    0.041748] Key type id_legacy registered
    [    0.041757] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.041760] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.055517] Key type asymmetric registered
    [    0.055522] Asymmetric key parser 'x509' registered
    [    0.055557] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.055653] io scheduler mq-deadline registered
    [    0.055658] io scheduler kyber registered
    [    0.055677] io scheduler bfq registered
    [    0.057517] pinctrl-single 4301c000.pinctrl: 13 pins, size 52
    [    0.057619] pinctrl-single 4301c038.pinctrl: 2 pins, size 8
    [    0.057712] pinctrl-single 4301c068.pinctrl: 59 pins, size 236
    [    0.057968] pinctrl-single 4301c174.pinctrl: 8 pins, size 32
    [    0.058103] pinctrl-single 104200.pinctrl: 20 pins, size 80
    [    0.058166] pinctrl-single 104280.pinctrl: 8 pins, size 32
    [    0.058260] pinctrl-single 11c000.pinctrl: 67 pins, size 268
    [    0.058505] pinctrl-single 11c110.pinctrl: 1 pins, size 4
    [    0.058572] pinctrl-single 11c11c.pinctrl: 3 pins, size 12
    [    0.058673] pinctrl-single 11c164.pinctrl: 2 pins, size 8
    [    0.059008] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.062593] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.068162] loop: module loaded
    [    0.068776] megasas: 07.725.01.00-rc1
    [    0.070490] tun: Universal TUN/TAP device driver, 1.6
    [    0.071065] VFIO - User Level meta-driver version: 0.3
    [    0.071637] usbcore: registered new interface driver usb-storage
    [    0.071792] gadgetfs: USB Gadget filesystem, version 24 Aug 2004
    [    0.071797] file system registered
    [    0.071993] i2c_dev: i2c /dev entries driver
    [    0.072595] sdhci: Secure Digital Host Controller Interface driver
    [    0.072598] sdhci: Copyright(c) Pierre Ossman
    [    0.072710] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.073019] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.073205] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.073633] usbcore: registered new interface driver usbhid
    [    0.073635] usbhid: USB HID core driver
    [    0.074336] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.074570] optee: probing for conduit method.
    [    0.074585] optee: revision 4.2 (12d7c4ee)
    [    0.091084] optee: dynamic shared memory is enabled
    [    0.091528] random: crng init done
    [    0.091584] optee: initialized driver
    [    0.092810] Initializing XFRM netlink socket
    [    0.092830] NET: Registered PF_PACKET protocol family
    [    0.092870] Key type dns_resolver registered
    [    0.096809] registered taskstats version 1
    [    0.096874] Loading compiled-in X.509 certificates
    [    0.101597] ti-sci 44083000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    [    0.166730] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.166956] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 137 domain created
    [    0.167083] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 131 domain created
    [    0.167174] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 213 domain created
    [    0.167316] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 209 created
    [    0.170241] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,32] sci-dev-id:235
    [    0.170249] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    0.170252] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    0.173414] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[120,200] sci-dev-id:211
    [    0.173422] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    0.173425] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    0.174113] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 266, base_baud = 6000000) is a 8250
    [    0.174780] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 267, base_baud = 3000000) is a 8250
    [    0.174823] printk: console [ttyS2] enabled
    [    1.713920] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 268, base_baud = 3000000) is a 8250
    [    1.723152] 2830000.serial: ttyS5 at MMIO 0x2830000 (irq = 269, base_baud = 3000000) is a 8250
    [    1.732518] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.777094] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.785089] mdio_bus 46000f00.mdio: MDIO device at address 0 is missing.
    [    1.791795] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.804657] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.811869] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.818107] pps pps0: new PPS source ptp0
    [    1.822282] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1
    [    1.832496] davinci_mdio c000f00.mdio: Configuring MDIO in manual mode
    [    1.877094] davinci_mdio c000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.893799] mdio_bus c000f00.mdio: MDIO device at address 0 is missing.
    [    1.900776] mdio_bus c000f00.mdio: MDIO device at address 1 is missing.
    [    1.907377] davinci_mdio c000f00.mdio: phy[4]: device c000f00.mdio:04, driver mv88q2110
    [    1.915363] davinci_mdio c000f00.mdio: phy[5]: device c000f00.mdio:05, driver mv88q2110
    [    1.923372] am65-cpsw-nuss c000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 5 quirks:00000000
    [    1.937430] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [    1.946468] mmc1: CQHCI version 5.10
    [    1.950277] mmc0: CQHCI version 5.10
    [    1.977184] tps6594 0-0048: error -EREMOTEIO: Failed to set PMIC state
    [    1.983787] tps6594: probe of 0-0048 failed with error -121
    [    1.989362] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    1.991659] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    1.997016] tps6594 0-004c: error -EREMOTEIO: Failed to set PMIC state
    [    2.010974] tps6594: probe of 0-004c failed with error -121
    [    2.017504] cdns-torrent-phy 5060000.serdes: Single-link configuration:
    [    2.017511] cdns-torrent-phy 5060000.serdes: SGMII (2 lanes)
    [    2.018387] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    2.029301] ti-udma 31150000.dma-controller: Channels: 50 (tchan: 25, rchan: 25, gp-rflow: 8)
    [    2.039674] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    2.085093] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    2.093098] mdio_bus 46000f00.mdio: MDIO device at address 0 is missing.
    [    2.099823] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    2.112717] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    2.119950] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    2.126178] pps pps0: new PPS source ptp1
    [    2.130341] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1
    [    2.146795] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    2.151234] mmc1: new ultra high speed SDR104 SDHC card at address 5048
    [    2.160757] mmcblk1: mmc1:5048 SD32G 29.7 GiB
    [    2.166999]  mmcblk1: p1 p2
    [    2.170742] mmc0: Command Queue Engine enabled
    [    2.175224] mmc0: new HS400 MMC card at address 0001
    [    2.175489] davinci_mdio c000f00.mdio: Configuring MDIO in manual mode
    [    2.180564] mmcblk0: mmc0:0001 G1M15L 29.6 GiB
    [    2.192155]  mmcblk0: p1 p2
    [    2.195328] mmcblk0boot0: mmc0:0001 G1M15L 31.5 MiB
    [    2.200957] mmcblk0boot1: mmc0:0001 G1M15L 31.5 MiB
    [    2.206549] mmcblk0rpmb: mmc0:0001 G1M15L 4.00 MiB, chardev (238:0)
    [    2.225105] davinci_mdio c000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    2.241946] mdio_bus c000f00.mdio: MDIO device at address 0 is missing.
    [    2.248921] mdio_bus c000f00.mdio: MDIO device at address 1 is missing.
    [    2.255521] davinci_mdio c000f00.mdio: phy[4]: device c000f00.mdio:04, driver mv88q2110
    [    2.263506] davinci_mdio c000f00.mdio: phy[5]: device c000f00.mdio:05, driver mv88q2110
    [    2.271515] am65-cpsw-nuss c000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 5 quirks:00000000
    [    2.285157] am65-cpsw-nuss c000000.ethernet: Use random MAC address
    [    2.291511] am65-cpsw-nuss c000000.ethernet: Use random MAC address
    [    2.297783] am65-cpsw-nuss c000000.ethernet: initialized cpsw ale version 1.4
    [    2.304905] am65-cpsw-nuss c000000.ethernet: ALE Table size 512
    [    2.311232] am65-cpsw-nuss c000000.ethernet: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [    2.328009] am65-cpsw-nuss c000000.ethernet: set new flow-id-base 60
    [    2.340840] clk: Disabling unused clocks
    [    2.357170] ALSA device list:
    [    2.360131]   No soundcards found.
    [    2.435181] EXT4-fs (mmcblk0p2): recovery complete
    [    2.440444] EXT4-fs (mmcblk0p2): mounted filesystem 4491332d-275b-418b-ae1e-9a6c0b5641aa r/w with ordered data mode. Quota mode: none.
    [    2.452560] VFS: Mounted root (ext4 filesystem) on device 179:34.
    [    2.459161] devtmpfs: mounted
    [    2.463668] Freeing unused kernel memory: 2496K
    [    2.468297] Run /sbin/init as init process
    [    2.472386]   with arguments:
    [    2.472388]     /sbin/init
    [    2.472390]   with environment:
    [    2.472392]     HOME=/
    [    2.472394]     TERM=linux
    [    2.569192] systemd[1]: System time before build time, advancing clock.
    [    2.593923] NET: Registered PF_INET6 protocol family
    [    2.599510] Segment Routing with IPv6
    [    2.603189] In-situ OAM (IOAM) with IPv6
    [    2.627122] systemd[1]: systemd 255.4^ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
    [    2.658952] systemd[1]: Detected architecture arm64.
    [    2.678147] systemd[1]: Hostname set to <j7200-evm>.
    [    2.857624] systemd[1]: /usr/lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.914199] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.958604] systemd[1]: Queued start job for default target Graphical Interface.
    [    3.000302] systemd[1]: Created slice Slice /system/getty.
    [    3.022440] systemd[1]: Created slice Slice /system/modprobe.
    [    3.046298] systemd[1]: Created slice Slice /system/serial-getty.
    [    3.070059] systemd[1]: Created slice User and Session Slice.
    [    3.093346] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    3.117274] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    3.141185] systemd[1]: Expecting device /dev/ttyS2...
    [    3.157196] systemd[1]: Reached target Path Units.
    [    3.173178] systemd[1]: Reached target Remote File Systems.
    [    3.193151] systemd[1]: Reached target Slice Units.
    [    3.209151] systemd[1]: Reached target Swaps.
    [    3.252137] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    3.277274] systemd[1]: Reached target RPC Port Mapper.
    [    3.300208] systemd[1]: Listening on Process Core Dump Socket.
    [    3.321394] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    3.345787] systemd[1]: Listening on Journal Audit Socket.
    [    3.369511] systemd[1]: Listening on Journal Socket (/dev/log).
    [    3.393513] systemd[1]: Listening on Journal Socket.
    [    3.413561] systemd[1]: Listening on Network Service Netlink Socket.
    [    3.439217] systemd[1]: Listening on udev Control Socket.
    [    3.461436] systemd[1]: Listening on udev Kernel Socket.
    [    3.481460] systemd[1]: Listening on User Database Manager Socket.
    [    3.525346] systemd[1]: Mounting Huge Pages File System...
    [    3.547460] systemd[1]: Mounting POSIX Message Queue File System...
    [    3.597537] systemd[1]: Mounting Kernel Debug File System...
    [    3.617431] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
    [    3.632719] systemd[1]: Mounting Temporary Directory /tmp...
    [    3.654583] systemd[1]: Starting Create List of Static Device Nodes...
    [    3.663834] systemd[1]: Starting Load Kernel Module configfs...
    [    3.709558] systemd[1]: Starting Load Kernel Module drm...
    [    3.727749] systemd[1]: Starting Load Kernel Module fuse...
    [    3.753391] systemd[1]: Starting RPC Bind...
    [    3.758163] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
    [    3.775394] fuse: init (API version 7.39)
    [    3.781566] systemd[1]: Starting Journal Service...
    [    3.825518] systemd[1]: Starting Load Kernel Modules...
    [    3.844991] systemd[1]: Starting Generate network units from Kernel command line...
    [    3.867881] systemd-journald[119]: Collecting audit messages is enabled.
    [    3.898306] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    3.941781] systemd[1]: Starting Coldplug All udev Devices...
    [    3.953163] EXT4-fs (mmcblk0p2): re-mounted 4491332d-275b-418b-ae1e-9a6c0b5641aa r/w. Quota mode: none.
    [    3.967713] systemd[1]: Started RPC Bind.
    [    3.989665] systemd[1]: Started Journal Service.
    [    4.317706] systemd-journald[119]: Received client request to flush runtime journal.
    [    4.582673] audit: type=1334 audit(1709054766.008:2): prog-id=6 op=LOAD
    [    4.589665] audit: type=1334 audit(1709054766.016:3): prog-id=7 op=LOAD
    [    4.788398] audit: type=1334 audit(1709054766.212:4): prog-id=8 op=LOAD
    [    4.829361] audit: type=1334 audit(1709054766.252:5): prog-id=9 op=LOAD
    [    4.978355] audit: type=1334 audit(1709054766.404:6): prog-id=10 op=LOAD
    [    4.990243] audit: type=1334 audit(1709054766.412:7): prog-id=11 op=LOAD
    [    5.002986] audit: type=1334 audit(1709054766.412:8): prog-id=12 op=LOAD
    [    5.720288] audit: type=1334 audit(1736986900.076:9): prog-id=13 op=LOAD
    [    5.831296] CAN device driver interface
    [    5.896347] dbus-broker-lau[367]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
    [    5.977606] ti-udma 285c0000.dma-controller: chan1: is running!
    [    6.093371] at24 0-0050: supply vcc not found, using dummy regulator
    [    6.105910] audit: type=1334 audit(1736986900.464:10): prog-id=14 op=LOAD
    [    6.117990] audit: type=1334 audit(1736986900.476:11): prog-id=15 op=LOAD
    [    6.129144] audit: type=1334 audit(1736986900.476:12): prog-id=16 op=LOAD
    [    6.213993] k3_r5_rproc bus@100000:bus@28380000:r5fss@41000000: k3_r5_cluster_rproc_init failed, ret = -517
    [    6.283745] audit: type=1334 audit(1736986900.640:13): prog-id=17 op=LOAD
    [    6.296968] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc8900
    [    6.322213] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc8900
    [    6.355014] remoteproc remoteproc0: releasing 41000000.r5f
    [    6.369419] m_can_platform 2701000.can: m_can device registered (irq=538, version=32)
    [    6.403197] platform 5c00000.r5f: configured R5F for remoteproc mode
    [    6.414792] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [    6.426960] m_can_platform 40528000.can: m_can device registered (irq=541, version=32)
    [    6.439039] m_can_platform 40568000.can: m_can device registered (irq=542, version=32)
    [    6.451685] Bluetooth: Core ver 2.22
    [    6.459994] NET: Registered PF_BLUETOOTH protocol family
    [    6.470778] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    6.485125] Bluetooth: HCI device and connection manager initialized
    [    6.493189] Bluetooth: HCI socket layer initialized
    [    6.498131] remoteproc remoteproc0: 5c00000.r5f is available
    [    6.501444] Bluetooth: L2CAP socket layer initialized
    [    6.512057] platform 41000000.r5f: configured R5F for IPC-only mode
    [    6.517178] Bluetooth: SCO socket layer initialized
    [    6.518476] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [    6.531987] remoteproc remoteproc1: 41000000.r5f is available
    [    6.537790] remoteproc remoteproc1: attaching to 41000000.r5f
    [    6.544826] rproc-virtio rproc-virtio.1.auto: assigned reserved memory node r5f-dma-memory@a0000000
    [    6.559358] remoteproc remoteproc0: Direct firmware load for j7200-main-r5f0_0-fw failed with error -2
    [    6.571653] remoteproc remoteproc0: powering up 5c00000.r5f
    [    6.581205] remoteproc remoteproc0: Direct firmware load for j7200-main-r5f0_0-fw failed with error -2
    [    6.594018] remoteproc remoteproc0: request_firmware failed: -2
    [    6.618062] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    6.623562] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    6.623650] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    6.640977] rproc-virtio rproc-virtio.1.auto: registered virtio0 (type 7)
    [    6.647858] remoteproc remoteproc1: remote processor 41000000.r5f is now attached
    [    6.788259] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    6.812320] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    6.818626] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    7.152296] am65-cpsw-nuss c000000.ethernet eth1: PHY [c000f00.mdio:05] driver [mv88q2110] (irq=POLL)
    [    7.180903] am65-cpsw-nuss c000000.ethernet eth1: configuring for phy/sgmii link mode
    [    7.345716] am65-cpsw-nuss c000000.ethernet eth2: PHY [c000f00.mdio:04] driver [mv88q2110] (irq=POLL)
    [    7.379583] am65-cpsw-nuss c000000.ethernet eth2: configuring for phy/sgmii link mode
    [    7.634054] audit: type=1006 audit(1736986901.992:14): pid=543 uid=0 subj=kernel old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
    [    7.637072] m_can_platform 40568000.can mcu_mcan1: renamed from can2
    [    7.652620] audit: type=1300 audit(1736986901.992:14): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffed73aee8 a2=4 a3=1 items=0 ppid=1 pid=543 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" subj=kernel key=(null)
    [    7.689133] audit: type=1327 audit(1736986901.992:14): proctitle="(systemd)"
    [    7.723139] m_can_platform 40528000.can mcu_mcan0: renamed from can1
    [    7.757310] m_can_platform 2701000.can main_mcan0: renamed from can0
    [    7.797472] configfs-gadget.g1 gadget.0: HOST MAC 2a:fa:92:e7:d0:5c
    [    7.840281] configfs-gadget.g1 gadget.0: MAC f2:94:29:90:57:6a
    [    8.227473] audit: type=1006 audit(1736986902.580:15): pid=511 uid=0 subj=kernel old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
    [    8.257157] audit: type=1300 audit(1736986902.580:15): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=fffffac4b9c8 a2=4 a3=1 items=0 ppid=1 pid=511 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=2 comm="(weston)" exe="/usr/lib/systemd/systemd-executor" subj=kernel key=(null)
    [    8.581785] k3_r5_rproc bus@100000:r5fss@5c00000: Timed out waiting for 5c00000.r5f core to power up!
    [    8.861318] EXT4-fs (mmcblk1p2): mounted filesystem 1aa41dab-ffe6-4d06-b869-45d214303bb2 r/w with ordered data mode. Quota mode: none.
    [   11.502905] kauditd_printk_skb: 1 callbacks suppressed
    [   11.502912] audit: type=1006 audit(1736986905.860:16): pid=1061 uid=0 subj=kernel old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res=1
    [   11.522030] audit: type=1300 audit(1736986905.860:16): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffce887838 a2=1 a3=1 items=0 ppid=1 pid=1061 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" subj=kernel key=(null)
    [   11.551044] audit: type=1327 audit(1736986905.860:16): proctitle="(systemd)"
    [   11.558390] audit: type=1334 audit(1736986905.868:17): prog-id=18 op=LOAD
    [   11.565551] audit: type=1300 audit(1736986905.868:17): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffdbb67e38 a2=90 a3=0 items=0 ppid=1 pid=1061 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/usr/lib/systemd/systemd" subj=kernel key=(null)
    [   11.592765] audit: type=1327 audit(1736986905.868:17): proctitle="(systemd)"
    [   11.600001] audit: type=1334 audit(1736986905.880:18): prog-id=18 op=UNLOAD
    [   11.607180] audit: type=1300 audit(1736986905.880:18): arch=c00000b7 syscall=57 success=yes exit=0 a0=8 a1=1 a2=0 a3=ffffa59a6c60 items=0 ppid=1 pid=1061 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/usr/lib/systemd/systemd" subj=kernel key=(null)
    [   11.634754] audit: type=1327 audit(1736986905.880:18): proctitle="(systemd)"
    [   11.642019] audit: type=1334 audit(1736986905.880:19): prog-id=19 op=LOAD
    [   18.909682] platform can-phy3: deferred probe pending
    [   18.914756] platform 2731000.can: deferred probe pending
    [   18.920064] platform mux-controller-0: deferred probe pending
    [   18.925810] platform mux-controller-1: deferred probe pending
    

    And, if I connected the enabled port, I can find the link will become UP. but can't communication with others:

    root@j7200-evm:~# ethtool -S eth1|grep good
         p0_rx_good_frames: 41
         p0_tx_good_frames: 0
         rx_good_frames: 0
         tx_good_frames: 0

  • Hi,

    Can you check mdio node for the PHYs.

    [ 2.225105] davinci_mdio c000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [ 2.241946] mdio_bus c000f00.mdio: MDIO device at address 0 is missing.
    [ 2.248921] mdio_bus c000f00.mdio: MDIO device at address 1 is missing.
    [ 2.255521] davinci_mdio c000f00.mdio: phy[4]: device c000f00.mdio:04, driver mv88q2110
    [ 2.263506] davinci_mdio c000f00.mdio: phy[5]: device c000f00.mdio:05, driver mv88q2110

    can you please share CPSW and MDIO node configuration.

    Also, can you please share the full list of CPSW statistics.

    Best Regards,
    Sudheer

  • As log slice above, because port 1 and port 2 were disabled, their phy id were 0 and 1.

    Here is the related dts:

    1. in k3-j7200-main.dts

    	cpsw0: ethernet@c000000 {
    		compatible = "ti,j7200-cpswxg-nuss";
    		#address-cells = <2>;
    		#size-cells = <2>;
    		reg = <0x00 0xc000000 0x00 0x200000>;
    		reg-names = "cpsw_nuss";
    		ranges = <0x00 0x00 0x00 0xc000000 0x00 0x200000>;
    		clocks = <&k3_clks 19 33>;
    		clock-names = "fck";
    		power-domains = <&k3_pds 19 TI_SCI_PD_EXCLUSIVE>;
    
    		dmas = <&main_udmap 0xca00>,
    		       <&main_udmap 0xca01>,
    		       <&main_udmap 0xca02>,
    		       <&main_udmap 0xca03>,
    		       <&main_udmap 0xca04>,
    		       <&main_udmap 0xca05>,
    		       <&main_udmap 0xca06>,
    		       <&main_udmap 0xca07>,
    		       <&main_udmap 0x4a00>;
    		dma-names = "tx0", "tx1", "tx2", "tx3",
    			    "tx4", "tx5", "tx6", "tx7",
    			    "rx";
    
    		status = "disabled";
    
    		ethernet-ports {
    			#address-cells = <1>;
    			#size-cells = <0>;
    			cpsw0_port1: port@1 {
    				reg = <1>;
    				ti,mac-only;
    				label = "port1";
    				status = "disabled";
    			};
    
    			cpsw0_port2: port@2 {
    				reg = <2>;
    				ti,mac-only;
    				label = "port2";
    				status = "disabled";
    			};
    
    			cpsw0_port3: port@3 {
    				reg = <3>;
    				ti,mac-only;
    				label = "port3";
    				status = "disabled";
    			};
    
    			cpsw0_port4: port@4 {
    				reg = <4>;
    				ti,mac-only;
    				label = "port4";
    				status = "disabled";
    			};
    		};
    
    		cpsw5g_mdio: mdio@f00 {
    			compatible = "ti,cpsw-mdio","ti,davinci_mdio";
    			reg = <0x00 0xf00 0x00 0x100>;
    			#address-cells = <1>;
    			#size-cells = <0>;
    			clocks = <&k3_clks 19 33>;
    			clock-names = "fck";
    			bus_freq = <1000000>;
    			status = "disabled";
    		};

    2. in k3-j7200-common-proc-board.dts:

    &serdes0 {
    	serdes0_qsgmii_link: phy@2 {
    		reg = <2>;
    		cdns,num-lanes = <2>;
    		#phy-cells = <0>;
    		cdns,phy-type = <PHY_TYPE_SGMII>;
    		resets = <&serdes_wiz0 3>,<&serdes_wiz0 4>;
    	};
    };

    3. in k3-j7200-evm-quad-port-eth-exp.dtso:

    &cpsw0 {
    	status = "okay";
    };
    &mcu_cpsw 
    {
    	status = "okay";
    };
    /*
    &cpsw0_port1 {
    	status = "okay";
    	phy-handle = <&cpsw5g_phy0>;
    	phy-mode = "sgmii";
    	mac-address = [00 00 00 00 00 00];
    	phys = <&cpsw0_phy_gmii_sel 1>, <&serdes0_gsgmii_link>;
    };
    
    &cpsw0_port2 {
    	status = "okay";
    	phy-handle = <&cpsw5g_phy1>;
    	phy-mode = "rgmii";
    	mac-address = [00 00 00 00 00 00];
    	phys = <&cpsw0_phy_gmii_sel 2>;
    };*/
    
    
    &cpsw0_port3 {
    	status = "okay";
    	phy-handle = <&cpsw5g_phy2>;
    	phy-mode = "sgmii";
    	phy-names = "mac", "serdes";
    	mac-address = [00 00 00 00 00 00];
    	phys = <&cpsw0_phy_gmii_sel 3>, <&serdes0_qsgmii_link>;
    };
    
    &cpsw0_port4 {
    	status = "okay";
    	phy-handle = <&cpsw5g_phy3>;
    	phy-mode = "sgmii";
    	phy-names = "mac", "serdes";
    	mac-address = [00 00 00 00 00 00];
    	phys = <&cpsw0_phy_gmii_sel 4>, <&serdes0_qsgmii_link>;
    };
    
    &cpsw5g_mdio {
    	status = "okay";
    	pinctrl-names = "default";
    	pinctrl-0 = <&mdio0_pins_default>;
    	//reset-gpios = <&exp2 17 GPIO_ACTIVE_LOW>;
    	reset-post-delay-us = <120000>;
    	#address-cells = <1>;
    	#size-cells = <0>;
    
    	cpsw5g_phy0: ethernet-phy@1 {
    		reg = <1>;
    	};
    	cpsw5g_phy1: ethernet-phy@0 {
    		reg = <0>;
    	};
    	cpsw5g_phy2: ethernet-phy@5 {
    		reg = <5>;
    	};
    	cpsw5g_phy3: ethernet-phy@4 {
    		reg = <4>;
    	};
    };

    4. after a link was ok:

    [   24.029608] am65-cpsw-nuss c000000.ethernet eth2: Link is Down
    [   26.077969] am65-cpsw-nuss c000000.ethernet eth2: Link is Up - 1Gbps/Full - flow control off
    
    root@j7200-evm:~# ifconfig eth2
    eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet6 fe80::405d:eff:fe6e:f8f9  prefixlen 64  scopeid 0x20<link>
            ether 42:5d:0e:6e:f8:f9  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 27  bytes 4822 (4.7 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    root@j7200-evm:~# ifconfig eth2 192.168.2.70 netmask 255.255.255.0 up
    root@j7200-evm:~# ping 192.168.2.100
    PING 192.168.2.100 (192.168.2.100) 56(84) bytes of data.
    ^C
    --- 192.168.2.100 ping statistics ---
    2 packets transmitted, 0 received, 100% packet loss, time 1026ms
    
    root@j7200-evm:~# ethtool -S eth2 
    NIC statistics:
         p0_rx_good_frames: 39
         p0_rx_broadcast_frames: 9
         p0_rx_multicast_frames: 30
         p0_rx_crc_errors: 0
         p0_rx_oversized_frames: 0
         p0_rx_undersized_frames: 0
         p0_ale_drop: 0
         p0_ale_overrun_drop: 0
         p0_rx_octets: 7368
         p0_tx_good_frames: 0
         p0_tx_broadcast_frames: 0
         p0_tx_multicast_frames: 0
         p0_tx_octets: 0
         p0_tx_64B_frames: 2
         p0_tx_65_to_127B_frames: 16
         p0_tx_128_to_255B_frames: 9
         p0_tx_256_to_511B_frames: 12
         p0_tx_512_to_1023B_frames: 0
         p0_tx_1024B_frames: 0
         p0_net_octets: 7368
         p0_rx_bottom_fifo_drop: 0
         p0_rx_port_mask_drop: 0
         p0_rx_top_fifo_drop: 0
         p0_ale_rate_limit_drop: 0
         p0_ale_vid_ingress_drop: 0
         p0_ale_da_eq_sa_drop: 0
         p0_ale_block_drop: 0
         p0_ale_secure_drop: 0
         p0_ale_auth_drop: 0
         p0_ale_unknown_ucast: 0
         p0_ale_unknown_ucast_bytes: 0
         p0_ale_unknown_mcast: 0
         p0_ale_unknown_mcast_bytes: 0
         p0_ale_unknown_bcast: 0
         p0_ale_unknown_bcast_bytes: 0
         p0_ale_pol_match: 0
         p0_ale_pol_match_red: 0
         p0_ale_pol_match_yellow: 0
         p0_ale_mcast_sa_drop: 0
         p0_ale_dual_vlan_drop: 0
         p0_ale_len_err_drop: 0
         p0_ale_ip_next_hdr_drop: 0
         p0_ale_ipv4_frag_drop: 0
         p0_tx_mem_protect_err: 0
         p0_tx_pri0: 0
         p0_tx_pri1: 0
         p0_tx_pri2: 0
         p0_tx_pri3: 0
         p0_tx_pri4: 0
         p0_tx_pri5: 0
         p0_tx_pri6: 0
         p0_tx_pri7: 0
         p0_tx_pri0_bcnt: 0
         p0_tx_pri1_bcnt: 0
         p0_tx_pri2_bcnt: 0
         p0_tx_pri3_bcnt: 0
         p0_tx_pri4_bcnt: 0
         p0_tx_pri5_bcnt: 0
         p0_tx_pri6_bcnt: 0
         p0_tx_pri7_bcnt: 0
         p0_tx_pri0_drop: 0
         p0_tx_pri1_drop: 0
         p0_tx_pri2_drop: 0
         p0_tx_pri3_drop: 0
         p0_tx_pri4_drop: 0
         p0_tx_pri5_drop: 0
         p0_tx_pri6_drop: 0
         p0_tx_pri7_drop: 0
         p0_tx_pri0_drop_bcnt: 0
         p0_tx_pri1_drop_bcnt: 0
         p0_tx_pri2_drop_bcnt: 0
         p0_tx_pri3_drop_bcnt: 0
         p0_tx_pri4_drop_bcnt: 0
         p0_tx_pri5_drop_bcnt: 0
         p0_tx_pri6_drop_bcnt: 0
         p0_tx_pri7_drop_bcnt: 0
         rx_good_frames: 0
         rx_broadcast_frames: 0
         rx_multicast_frames: 0
         rx_pause_frames: 0
         rx_crc_errors: 0
         rx_align_code_errors: 0
         rx_oversized_frames: 0
         rx_jabber_frames: 0
         rx_undersized_frames: 0
         rx_fragments: 0
         ale_drop: 0
         ale_overrun_drop: 0
         rx_octets: 0
         tx_good_frames: 0
         tx_broadcast_frames: 0
         tx_multicast_frames: 0
         tx_pause_frames: 0
         tx_deferred_frames: 0
         tx_collision_frames: 0
         tx_single_coll_frames: 0
         tx_mult_coll_frames: 0
         tx_excessive_collisions: 0
         tx_late_collisions: 0
         rx_ipg_error: 0
         tx_carrier_sense_errors: 0
         tx_octets: 0
         tx_64B_frames: 0
         tx_65_to_127B_frames: 0
         tx_128_to_255B_frames: 0
         tx_256_to_511B_frames: 0
         tx_512_to_1023B_frames: 0
         tx_1024B_frames: 0
         net_octets: 0
         rx_bottom_fifo_drop: 0
         rx_port_mask_drop: 0
         rx_top_fifo_drop: 0
         ale_rate_limit_drop: 0
         ale_vid_ingress_drop: 0
         ale_da_eq_sa_drop: 0
         ale_block_drop: 0
         ale_secure_drop: 0
         ale_auth_drop: 0
         ale_unknown_ucast: 0
         ale_unknown_ucast_bytes: 0
         ale_unknown_mcast: 0
         ale_unknown_mcast_bytes: 0
         ale_unknown_bcast: 0
         ale_unknown_bcast_bytes: 0
         ale_pol_match: 0
         ale_pol_match_red: 0
         ale_pol_match_yellow: 0
         ale_mcast_sa_drop: 0
         ale_dual_vlan_drop: 0
         ale_len_err_drop: 0
         ale_ip_next_hdr_drop: 0
         ale_ipv4_frag_drop: 0
         iet_rx_assembly_err: 0
         iet_rx_assembly_ok: 0
         iet_rx_smd_err: 0
         iet_rx_frag: 0
         iet_tx_hold: 0
         iet_tx_frag: 0
         tx_mem_protect_err: 0
         tx_pri0: 39
         tx_pri1: 0
         tx_pri2: 0
         tx_pri3: 0
         tx_pri4: 0
         tx_pri5: 0
         tx_pri6: 0
         tx_pri7: 0
         tx_pri0_bcnt: 7368
         tx_pri1_bcnt: 0
         tx_pri2_bcnt: 0
         tx_pri3_bcnt: 0
         tx_pri4_bcnt: 0
         tx_pri5_bcnt: 0
         tx_pri6_bcnt: 0
         tx_pri7_bcnt: 0
         tx_pri0_drop: 0
         tx_pri1_drop: 0
         tx_pri2_drop: 0
         tx_pri3_drop: 0
         tx_pri4_drop: 0
         tx_pri5_drop: 0
         tx_pri6_drop: 0
         tx_pri7_drop: 0
         tx_pri0_drop_bcnt: 0
         tx_pri1_drop_bcnt: 0
         tx_pri2_drop_bcnt: 0
         tx_pri3_drop_bcnt: 0
         tx_pri4_drop_bcnt: 0
         tx_pri5_drop_bcnt: 0
         tx_pri6_drop_bcnt: 0
         tx_pri7_drop_bcnt: 0
    root@j7200-evm:~# 
    

    In fact, there are four ethernet ports for our custom boards: port 1, port 3 and port 4 are sgmii, port 2 is rgmii. I want to check the two continuous sgmii ports first(otherwise, more dts node have to be written, but Im not sure)

  • Hi,

    Device tree configuration looks fine.

    Can you please share SGMII status and control register values for Port-3, Port-4.
    0x0C000310 -> Port-3 control register
    0x0C000410 -> Port-4 control register
    0x0C000314 -> Port-3 status register
    0x0C000414 -> Port-4 status register
    0x0C000318 -> MR Advertise register for Port-3.
    0x0C000418 -> MR advertise for Port-4.

    Best Regards,
    Sudheer

  • Hi,

    Also, add  "status = "okay"; " in serdes0 node.

    Best Regards,
    Sudheer

  • Hi,

    As mentioned earlier SerDes driver can't enable ports non continuous.

    If you want to enable Port-1 also, your serdes node should be as follows.

    &serdes0 {
    	serdes0_qsgmii_link: phy@0 {
    		reg = <0>;
    		cdns,num-lanes = <4>;
    		#phy-cells = <0>;
    		cdns,phy-type = <PHY_TYPE_SGMII>;
    		resets = <&serdes_wiz0 1>,<&serdes_wiz0 2>,<&serdes_wiz0 3>,<&serdes_wiz0 4>;
    	};
    };


    CPSW Port-2 you will configure in RGMII mode, and reset all ports in SGMII mode.

    I find the error is a little less for port1, from 0xc000110, it is slave, but shoule be master, 

    The master/slave mode selection depends on PHY configuration.
    If PHY is slave, MAC in Master and vice-versa.

    Can you check with driver changes, for mater mode configuration.



    Best Regards,
    Sudheer

  • Im sorry, I delete my last post before, because I want to change my status. I wrote wrong dts.

    0xc000310:1
    0xc000314:0x3d
    0xc000318:1
    0xc000410:1
    0xc000414:0x3d
    0xc000418:01

    and the ethtool:

    ethtool -S eth3
    NIC statistics:
         p0_rx_good_frames: 38
         p0_rx_broadcast_frames: 22
         p0_rx_multicast_frames: 16
         p0_rx_crc_errors: 0
         p0_rx_oversized_frames: 0
         p0_rx_undersized_frames: 0
         p0_ale_drop: 0
         p0_ale_overrun_drop: 0
         p0_rx_octets: 6032
         p0_tx_good_frames: 0
         p0_tx_broadcast_frames: 0
         p0_tx_multicast_frames: 0
         p0_tx_octets: 0
         p0_tx_64B_frames: 16
         p0_tx_65_to_127B_frames: 0
         p0_tx_128_to_255B_frames: 12
         p0_tx_256_to_511B_frames: 10
         p0_tx_512_to_1023B_frames: 0
         p0_tx_1024B_frames: 0
         p0_net_octets: 6032
         p0_rx_bottom_fifo_drop: 0
         p0_rx_port_mask_drop: 0
         p0_rx_top_fifo_drop: 0
         p0_ale_rate_limit_drop: 0
         p0_ale_vid_ingress_drop: 0
         p0_ale_da_eq_sa_drop: 0
         p0_ale_block_drop: 0
         p0_ale_secure_drop: 0
         p0_ale_auth_drop: 0
         p0_ale_unknown_ucast: 0
         p0_ale_unknown_ucast_bytes: 0
         p0_ale_unknown_mcast: 0
         p0_ale_unknown_mcast_bytes: 0
         p0_ale_unknown_bcast: 0
         p0_ale_unknown_bcast_bytes: 0
         p0_ale_pol_match: 0
         p0_ale_pol_match_red: 0
         p0_ale_pol_match_yellow: 0
         p0_ale_mcast_sa_drop: 0
         p0_ale_dual_vlan_drop: 0
         p0_ale_len_err_drop: 0
         p0_ale_ip_next_hdr_drop: 0
         p0_ale_ipv4_frag_drop: 0
         p0_tx_mem_protect_err: 0
         p0_tx_pri0: 0
         p0_tx_pri1: 0
         p0_tx_pri2: 0
         p0_tx_pri3: 0
         p0_tx_pri4: 0
         p0_tx_pri5: 0
         p0_tx_pri6: 0
         p0_tx_pri7: 0
         p0_tx_pri0_bcnt: 0
         p0_tx_pri1_bcnt: 0
         p0_tx_pri2_bcnt: 0
         p0_tx_pri3_bcnt: 0
         p0_tx_pri4_bcnt: 0
         p0_tx_pri5_bcnt: 0
         p0_tx_pri6_bcnt: 0
         p0_tx_pri7_bcnt: 0
         p0_tx_pri0_drop: 0
         p0_tx_pri1_drop: 0
         p0_tx_pri2_drop: 0
         p0_tx_pri3_drop: 0
         p0_tx_pri4_drop: 0
         p0_tx_pri5_drop: 0
         p0_tx_pri6_drop: 0
         p0_tx_pri7_drop: 0
         p0_tx_pri0_drop_bcnt: 0
         p0_tx_pri1_drop_bcnt: 0
         p0_tx_pri2_drop_bcnt: 0
         p0_tx_pri3_drop_bcnt: 0
         p0_tx_pri4_drop_bcnt: 0
         p0_tx_pri5_drop_bcnt: 0
         p0_tx_pri6_drop_bcnt: 0
         p0_tx_pri7_drop_bcnt: 0
         rx_good_frames: 0
         rx_broadcast_frames: 0
         rx_multicast_frames: 0
         rx_pause_frames: 0
         rx_crc_errors: 0
         rx_align_code_errors: 0
         rx_oversized_frames: 0
         rx_jabber_frames: 0
         rx_undersized_frames: 0
         rx_fragments: 0
         ale_drop: 0
         ale_overrun_drop: 0
         rx_octets: 0
         tx_good_frames: 38
         tx_broadcast_frames: 22
         tx_multicast_frames: 16
         tx_pause_frames: 0
         tx_deferred_frames: 0
         tx_collision_frames: 0
         tx_single_coll_frames: 0
         tx_mult_coll_frames: 0
         tx_excessive_collisions: 0
         tx_late_collisions: 0
         rx_ipg_error: 0
         tx_carrier_sense_errors: 0
         tx_octets: 6032
         tx_64B_frames: 16
         tx_65_to_127B_frames: 0
         tx_128_to_255B_frames: 12
         tx_256_to_511B_frames: 10
         tx_512_to_1023B_frames: 0
         tx_1024B_frames: 0
         net_octets: 6032
         rx_bottom_fifo_drop: 0
         rx_port_mask_drop: 0
         rx_top_fifo_drop: 0
         ale_rate_limit_drop: 0
         ale_vid_ingress_drop: 0
         ale_da_eq_sa_drop: 0
         ale_block_drop: 0
         ale_secure_drop: 0
         ale_auth_drop: 0
         ale_unknown_ucast: 0
         ale_unknown_ucast_bytes: 0
         ale_unknown_mcast: 0
         ale_unknown_mcast_bytes: 0
         ale_unknown_bcast: 0
         ale_unknown_bcast_bytes: 0
         ale_pol_match: 0
         ale_pol_match_red: 0
         ale_pol_match_yellow: 0
         ale_mcast_sa_drop: 0
         ale_dual_vlan_drop: 0
         ale_len_err_drop: 0
         ale_ip_next_hdr_drop: 0
         ale_ipv4_frag_drop: 0
         iet_rx_assembly_err: 0
         iet_rx_assembly_ok: 0
         iet_rx_smd_err: 0
         iet_rx_frag: 0
         iet_tx_hold: 0
         iet_tx_frag: 0
         tx_mem_protect_err: 0
         tx_pri0: 38
         tx_pri1: 0
         tx_pri2: 0
         tx_pri3: 0
         tx_pri4: 0
         tx_pri5: 0
         tx_pri6: 0
         tx_pri7: 0
         tx_pri0_bcnt: 6032
         tx_pri1_bcnt: 0
         tx_pri2_bcnt: 0
         tx_pri3_bcnt: 0
         tx_pri4_bcnt: 0
         tx_pri5_bcnt: 0
         tx_pri6_bcnt: 0
         tx_pri7_bcnt: 0
         tx_pri0_drop: 0
         tx_pri1_drop: 0
         tx_pri2_drop: 0
         tx_pri3_drop: 0
         tx_pri4_drop: 0
         tx_pri5_drop: 0
         tx_pri6_drop: 0
         tx_pri7_drop: 0
         tx_pri0_drop_bcnt: 0
         tx_pri1_drop_bcnt: 0
         tx_pri2_drop_bcnt: 0
         tx_pri3_drop_bcnt: 0
         tx_pri4_drop_bcnt: 0
         tx_pri5_drop_bcnt: 0
         tx_pri6_drop_bcnt: 0
         tx_pri7_drop_bcnt: 0
    
    

  • Hi,

    From the register dump it seems like Port-4 is Link Up.

    Also, from statistics packets are sent out of CPSW (tx_good_frames) as tx good frames count is increased.
    But, MAC is not receiving any from PHY.

    Can you please check once with above suggested driver changes? 

    Best Regards,
    Sudheer

  • Hi export Sudheer, I am sorry that I had to leave the office immediately after my last try last Friday. In fact, my board should be OK for two ports enabled before, because after reading your last post I change a new board, it works fine. I finally found the serdes was damaged, becuase the usb does not work too.

    Thanks very much, and hope you good luck every day.

  • Hi,

    Thanks for the update, will be closing this thread.

    If you have any queries, please create a new thread.

    Best Regards,
    Sudheer