This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

J7200XSOMXEVM: Ethernet communication is not working properly

Part Number: J7200XSOMXEVM
Other Parts Discussed in Thread: DRA821

Tool/software:

Hi Team,

I am checking the communication in the following environment.

EVM:J7200XSOMXEVM + J721EXCP01EVM
SDK:PROCESSOR-SDK-LINUX-RT-J7200
VER:09.01.00.07
BOOT Image:prebuilt-images内のtiboot3.bin,tispl.bin,u-boot.img
DeviceTree:k3-j7200-common-proc-board.dtb
FileSystem:tisdk-default-image-j7200-evm

I am experiencing the following issue with the Ethernet port (MCU_RGMII1) on connector J35 of the EVM. Could you please give me some advice on how to resolve this issue?

  • When the communication speed is set to 1000Mbps, communication is not possible.

In both u-boot and Linux, the IP address was not automatically obtained via DHCP at 1000Mbps, but it was obtained automatically when set to 100Mbps.

Also, when I set a static IP address, there was no response to PING.

u-boot (1000Mbps)

=> mii info 0
PHY 0x00: OUI = 0x80028, Model = 0x23, Rev = 0x01, 100baseT, FDX
=> mii dump 0 0
0.     (1140)                 -- PHY control register --
  (8000:0000) 0.15    =     0     reset
  (4000:0000) 0.14    =     0     loopback
  (2040:0040) 0. 6,13 =   b10    speed selection = 1000 Mbps
  (1000:1000) 0.12    =     1     A/N enable
  (0800:0000) 0.11    =     0     power-down
  (0400:0000) 0.10    =     0     isolate
  (0200:0000) 0. 9    =     0     restart A/N
  (0100:0100) 0. 8    =     1     duplex = full
  (0080:0000) 0. 7    =     0     collision test enable
  (003f:0000) 0. 5- 0 =     0     (reserved)
=> mii dump 0 1
1.     (796d)                 -- PHY status register --
  (8000:0000) 1.15    =     0     100BASE-T4 able
  (4000:4000) 1.14    =     1     100BASE-X  full duplex able
  (2000:2000) 1.13    =     1     100BASE-X  half duplex able
  (1000:1000) 1.12    =     1     10 Mbps    full duplex able
  (0800:0800) 1.11    =     1     10 Mbps    half duplex able
  (0400:0000) 1.10    =     0     100BASE-T2 full duplex able
  (0200:0000) 1. 9    =     0     100BASE-T2 half duplex able
  (0100:0100) 1. 8    =     1     extended status
  (0080:0000) 1. 7    =     0     (reserved)
  (0040:0040) 1. 6    =     1     MF preamble suppression
  (0020:0020) 1. 5    =     1     A/N complete
  (0010:0000) 1. 4    =     0     remote fault
  (0008:0008) 1. 3    =     1     A/N able
  (0004:0004) 1. 2    =     1     link status
  (0002:0000) 1. 1    =     0     jabber detect
  (0001:0001) 1. 0    =     1     extended capabilities
=> dhcp
am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
link up on port 1, speed 1000, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8
BOOTP broadcast 9
BOOTP broadcast 10
BOOTP broadcast 11
BOOTP broadcast 12
BOOTP broadcast 13
BOOTP broadcast 14
BOOTP broadcast 15
BOOTP broadcast 16
BOOTP broadcast 17

Retry time exceeded; starting again
=>

u-boot (100Mbps) : The test was rerun with a 100Mbps hub between the EVM and the DHCP server.

=> dhcp
am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
link up on port 1, speed 100, full duplex
BOOTP broadcast 1
DHCP client bound to address 192.168.11.2 (4 ms)
*** ERROR: `serverip' not set
Cannot autoload with TFTPGET
=>

Linux (1000Mbps)

root@j7200-evm:~# ethtool eth0
Settings for eth0:
		Supported ports: [ TP    MII ]
		Supported link modes:   10baseT/Half 10baseT/Full
								100baseT/Half 100baseT/Full
								1000baseT/Full
		Supported pause frame use: Symmetric
		Supports auto-negotiation: Yes
		Supported FEC modes: Not reported
		Advertised link modes:  10baseT/Half 10baseT/Full
								100baseT/Half 100baseT/Full
								1000baseT/Full
		Advertised pause frame use: Symmetric
		Advertised auto-negotiation: Yes
		Advertised FEC modes: Not reported
		Link partner advertised link modes:  10baseT/Half 10baseT/Full
											 100baseT/Half 100baseT/Full
											 1000baseT/Full
		Link partner advertised pause frame use: Symmetric
		Link partner advertised auto-negotiation: Yes
		Link partner advertised FEC modes: Not reported
		Speed: 1000Mb/s
		Duplex: Full
		Auto-negotiation: on
		master-slave cfg: preferred slave
		master-slave status: slave
		Port: Twisted Pair
		PHYAD: 0
		Transceiver: external
		MDI-X: Unknown
		Supports Wake-on: ubgs
		Wake-on: d
		SecureOn password: 00:00:00:00:00:00
		Current message level: 0x000020f7 (8439)
							   drv probe link ifdown ifup rx_err tx_err hw
		Link detected: yes
[   50.146674] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
root@j7200-evm:~# ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
		inet6 fe80::3608:e1ff:fe59:df4b  prefixlen 64  scopeid 0x20<link>
		ether 34:08:e1:59:df:4b  txqueuelen 1000  (Ethernet)
		RX packets 2  bytes 1180 (1.1 KiB)
		RX errors 0  dropped 0  overruns 0  frame 0
		TX packets 54  bytes 8016 (7.8 KiB)
		TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Linux (100Mbps) : While maintaining the network environment, I changed it to 100Mbps using ethtool and ran it again.

root@j7200-evm:~# ethtool -s eth0 speed 100 duplex full autoneg off
[  146.944289] am65-cpsw-nuss 46000000.ethernet eth0: Link is Down
[  151.074537] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
root@j7200-evm:~# ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
		inet 192.168.1.2  netmask 255.255.255.0  broadcast 192.168.1.255
		inet6 fe80::3608:e1ff:fe59:df4b  prefixlen 64  scopeid 0x20<link>
		ether 34:08:e1:59:df:4b  txqueuelen 1000  (Ethernet)
		RX packets 16  bytes 2584 (2.5 KiB)
		RX errors 0  dropped 12  overruns 0  frame 0
		TX packets 79  bytes 12159 (11.8 KiB)
		TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

  • When the communication speed is set to 100Mbps, communication is possible but not stable (frequent CRC errors occur).

When TFTP communication was performed at 100Mbps in u-boot, a timeout occurred.

=> tftp 0x82000000 Image
am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
link up on port 1, speed 100, full duplex
Using ethernet@46000000port@1 device
TFTP from server 192.168.1.250; our IP address is 192.168.11.2; sending through gateway 192.168.11.1
Filename 'Image'.
Load address: 0x82000000
Loading: ####T ############T T #T ##T T T T T #T
Retry count exceeded; starting again
=>

On Linux, when I ran netperf and checked for CRC errors before and after, I found a large number of errors.

root@j7200-evm:~# ethtool -s eth0 speed 100 duplex full autoneg off
root@j7200-evm:~# ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
		inet 192.168.1.2  netmask 255.255.255.0  broadcast 192.168.1.255
		inet6 fe80::3608:e1ff:fe59:df4b  prefixlen 64  scopeid 0x20<link>
		ether 34:08:e1:59:df:4b  txqueuelen 1000  (Ethernet)
		RX packets 17  bytes 1584 (1.5 KiB)
		RX errors 0  dropped 15  overruns 0  frame 0
		TX packets 44  bytes 6985 (6.8 KiB)
		TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
root@j7200-evm:~# ethtool -S eth0 | grep error
	 p0_rx_crc_errors: 0
	 rx_crc_errors: 67
	 rx_align_code_errors: 0
	 rx_ipg_error: 0
	 tx_carrier_sense_errors: 0
root@j7200-evm:~# netperf -H 192.168.1.250 -c -C
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.1.250 () port 0 AF_INET : histogram : interval
Recv   Send    Send                          Utilization       Service Demand
Socket Socket  Message  Elapsed              Send     Recv     Send    Recv
Size   Size    Size     Time     Throughput  local    remote   local   remote
bytes  bytes   bytes    secs.    10^6bits/s  % S      % S      us/KB   us/KB

131072  16384  16384    10.12        64.83   5.18     0.15     13.087  4.685
root@j7200-evm:~# ethtool -S eth0 | grep error
	 p0_rx_crc_errors: 0
	 rx_crc_errors: 4351
	 rx_align_code_errors: 0
	 rx_ipg_error: 0
	 tx_carrier_sense_errors: 0
root@j7200-evm:~# ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
		inet 192.168.1.2  netmask 255.255.255.0  broadcast 192.168.1.255
		inet6 fe80::3608:e1ff:fe59:df4b  prefixlen 64  scopeid 0x20<link>
		ether 34:08:e1:59:df:4b  txqueuelen 1000  (Ethernet)
		RX packets 21249  bytes 1404227 (1.3 MiB)
		RX errors 0  dropped 142  overruns 0  frame 0
		TX packets 56745  bytes 85803639 (81.8 MiB)
		TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

I want to achieve a stable communication speed of 1000mbps (without CRC errors). Can you tell me what I should do to achieve this?

The dmesg data for the system on which this issue occurs is shown below.

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
[    0.000000] Linux version 6.1.46-rt13-ga135c15322 (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT_RT Mon Nov 27 16:12:56 UTC 2023
[    0.000000] Machine model: Texas Instruments J7200 EVM
[    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
[    0.000000] printk: bootconsole [ns16550a0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
[    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
[    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
[    0.000000] 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
[    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 19 pages/cpu s38080 r8192 d31552 u77824
[    0.000000] pcpu-alloc: s38080 r8192 d31552 u77824 alloc=19*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] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
[    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=b1c85f8a-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] mem auto-init: stack:off, 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: 3897340K/4194304K available (11584K kernel code, 1254K rwdata, 3948K rodata, 1920K init, 455K bss, 264196K 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 restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
[    0.000000] rcu:     RCU priority boosting: priority 1 delay 500 ms.
[    0.000000] rcu:     RCU_SOFTIRQ processing moved to rcuc kthreads.
[    0.000000]  No expedited grace period (rcu_normal_after_boot).
[    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 100 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 @0x0000000880030000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880040000
[    0.000000] rcu:     Offload RCU callbacks from CPUs: 0-1.
[    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.000146] Console: colour dummy device 80x25
[    0.541358] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=200000)
[    0.541363] pid_max: default: 32768 minimum: 301
[    0.541394] LSM: Security Framework initializing
[    0.541464] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.541482] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.542392] cblist_init_generic: Setting adjustable number of callback queues.
[    0.585410] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.591678] cblist_init_generic: Setting adjustable number of callback queues.
[    0.599059] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.605477] rcu: Hierarchical SRCU implementation.
[    0.605479] rcu:     Max phase no-delay instances is 400.
[    0.605525] printk: bootconsole [ns16550a0] printing thread started
[    0.622454] Platform MSI: msi-controller@1820000 domain created
[    0.622543] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
[    0.622651] EFI services will not be available.
[    0.622783] smp: Bringing up secondary CPUs ...
[    0.656094] Detected PIPT I-cache on CPU1
[    0.656160] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
[    0.656175] GICv3: CPU1: using allocated LPI pending table @0x0000000880050000
[    0.656207] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
[    0.656275] smp: Brought up 1 node, 2 CPUs
[    0.656279] SMP: Total of 2 processors activated.
[    0.656281] CPU features: detected: 32-bit EL0 Support
[    0.656284] CPU features: detected: CRC32 instructions
[    0.656316] CPU: All CPU(s) started at EL2
[    0.656317] alternatives: applying system-wide alternatives
[    0.657084] devtmpfs: initialized
[    0.663694] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.663703] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.664449] pinctrl core: initialized pinctrl subsystem
[    0.664733] DMI not present or invalid.
[    0.665089] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.705754] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.705918] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.706103] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.706146] audit: initializing netlink subsys (disabled)
[    0.706493] thermal_sys: Registered thermal governor 'step_wise'
[    0.706585] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.706604] audit: type=2000 audit(0.705:1): state=initialized audit_enabled=0 res=1
[    0.732280] ASID allocator initialised with 65536 entries
[    0.739765] KASLR disabled due to lack of seed
[    0.744443] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[    0.744447] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[    0.744449] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[    0.744451] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[    0.744452] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[    0.744454] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[    0.744456] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    0.744457] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    0.747294] k3-chipinfo 43000014.chipid: Family:J7200 rev:SR2.0 JTAGID[0x1bb6d02f] Detected
[    0.748072] iommu: Default domain type: Translated
[    0.748075] iommu: DMA domain TLB invalidation policy: strict mode
[    0.748228] SCSI subsystem initialized
[    0.748320] libata version 3.00 loaded.
[    0.748436] usbcore: registered new interface driver usbfs
[    0.748458] usbcore: registered new interface driver hub
[    0.748471] usbcore: registered new device driver usb
[    0.748666] pps_core: LinuxPPS API ver. 1 registered
[    0.748668] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.748675] PTP clock support registered
[    0.748771] EDAC MC: Ver: 3.0.0
[    0.749219] FPGA manager framework
[    0.749262] Advanced Linux Sound Architecture Driver Initialized.
[    0.749789] clocksource: Switched to clocksource arch_sys_counter
[    0.749919] VFS: Disk quotas dquot_6.6.0
[    0.749939] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.753552] NET: Registered PF_INET protocol family
[    0.753877] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.755454] tcp_listen_portaddr_hash hash table entries: 2048 (order: 4, 81920 bytes, linear)
[    0.755519] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.755527] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.755761] TCP bind hash table entries: 32768 (order: 9, 2621440 bytes, linear)
[    0.759486] TCP: Hash tables configured (established 32768 bind 32768)
[    0.759700] UDP hash table entries: 2048 (order: 5, 196608 bytes, linear)
[    0.759968] UDP-Lite hash table entries: 2048 (order: 5, 196608 bytes, linear)
[    0.760357] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.760876] RPC: Registered named UNIX socket transport module.
[    0.760879] RPC: Registered udp transport module.
[    0.760881] RPC: Registered tcp transport module.
[    0.760882] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.760887] NET: Registered PF_XDP protocol family
[    0.760896] PCI: CLS 0 bytes, default 64
[    0.761812] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.762598] Initialise system trusted keyrings
[    0.762857] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.766636] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.766990] NFS: Registering the id_resolver key type
[    0.767006] Key type id_resolver registered
[    0.767008] Key type id_legacy registered
[    0.767052] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.767055] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.786449] Key type asymmetric registered
[    0.786453] Asymmetric key parser 'x509' registered
[    0.786498] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.786596] io scheduler mq-deadline registered
[    0.786599] io scheduler kyber registered
[    0.789299] pinctrl-single 4301c000.pinctrl: 13 pins, size 52
[    0.789391] pinctrl-single 4301c038.pinctrl: 2 pins, size 8
[    0.789498] pinctrl-single 4301c068.pinctrl: 59 pins, size 236
[    0.789582] pinctrl-single 4301c174.pinctrl: 8 pins, size 32
[    0.789756] pinctrl-single 11c000.pinctrl: 67 pins, size 268
[    0.789842] pinctrl-single 11c11c.pinctrl: 3 pins, size 12
[    0.790350] pinctrl-single a40000.pinctrl: 512 pins, size 2048
[    0.794130] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.799297] loop: module loaded
[    0.799927] megasas: 07.719.03.00-rc1
[    0.801771] tun: Universal TUN/TAP device driver, 1.6
[    0.802123] thunder_xcv, ver 1.0
[    0.802143] thunder_bgx, ver 1.0
[    0.802163] nicpf, ver 1.0
[    0.802246] e1000: Intel(R) PRO/1000 Network Driver
[    0.802248] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.802268] e1000e: Intel(R) PRO/1000 Network Driver
[    0.802270] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.802289] igb: Intel(R) Gigabit Ethernet Network Driver
[    0.802291] igb: Copyright (c) 2007-2014 Intel Corporation.
[    0.802306] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    0.802308] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    0.802366] sky2: driver version 1.30
[    0.802710] VFIO - User Level meta-driver version: 0.3
[    0.803117] usbcore: registered new interface driver usb-storage
[    0.803422] i2c_dev: i2c /dev entries driver
[    0.803681] sdhci: Secure Digital Host Controller Interface driver
[    0.803682] sdhci: Copyright(c) Pierre Ossman
[    0.803826] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.804136] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    0.804279] usbcore: registered new interface driver usbhid
[    0.804280] usbhid: USB HID core driver
[    0.805166] optee: probing for conduit method.
[    0.805187] optee: revision 4.0 (2a5b1d12)
[    0.838090] optee: dynamic shared memory is enabled
[    0.838350] optee: initialized driver
[    0.839481] Initializing XFRM netlink socket
[    0.839498] NET: Registered PF_PACKET protocol family
[    0.839541] Key type dns_resolver registered
[    0.839670] registered taskstats version 1
[    0.839687] Loading compiled-in X.509 certificates
[    0.846672] ti-sci 44083000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.1.2--v09.01.02 (Kool Koala)')
[    0.862694] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
[    0.863378] pca953x 1-0021: supply vcc not found, using dummy regulator
[    0.863447] pca953x 1-0021: using no AI
[    0.877232] pca953x 1-0020: supply vcc not found, using dummy regulator
[    0.877294] pca953x 1-0020: using no AI
[    0.877958] pca953x 1-0022: supply vcc not found, using dummy regulator
[    0.878006] pca953x 1-0022: using AI
[    0.878658] omap_i2c 2000000.i2c: bus 1 rev0.12 at 400 kHz
[    0.879206] pca953x 2-0020: supply vcc not found, using dummy regulator
[    0.879275] pca953x 2-0020: using no AI
[    0.892107] omap_i2c 2010000.i2c: bus 2 rev0.12 at 400 kHz
[    0.892255] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 137 domain created
[    0.892350] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 131 domain created
[    0.892444] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 213 domain created
[    0.892711] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 209 created
[    0.894799] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,32] sci-dev-id:235
[    0.894815] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
[    0.894818] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
[    0.898097] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[120,200] sci-dev-id:211
[    0.898104] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
[    0.898107] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
[    0.898233] pinctrl-single 4301c000.pinctrl: mux offset out of range: 0xf8 (0x34)
[    0.898237] pinctrl-single 4301c000.pinctrl: could not add functions for mcu-uart0-pins-default 248x
[    0.898629] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 251, base_baud = 6000000) is a 8250
[    0.899170] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 252, base_baud = 3000000) is a 8250
[    0.900542] printk: console [ttyS2] printing thread started
[    0.900552] printk: console [ttyS2] enabled
[    0.900555] printk: bootconsole [ns16550a0] disabled
[    0.909930] printk: bootconsole [ns16550a0] printing thread stopped
[    0.910470] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 253, base_baud = 3000000) is a 8250
[    0.912013] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
[    0.945795] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    0.946758] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
[    0.946816] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
[    0.946925] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
[    0.946928] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
[    0.947245] pps pps0: new PPS source ptp0
[    0.947395] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1
[    0.948921] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
[    0.951146] mmc0: CQHCI version 5.10
[    0.992399] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
[    1.079943] mmc0: Command Queue Engine enabled
[    1.079952] mmc0: new HS400 MMC card at address 0001
[    1.080364] mmcblk0: mmc0:0001 G1M15L 29.6 GiB
[    1.082161] mmcblk0boot0: mmc0:0001 G1M15L 31.5 MiB
[    1.083080] mmcblk0boot1: mmc0:0001 G1M15L 31.5 MiB
[    1.083905] mmcblk0rpmb: mmc0:0001 G1M15L 4.00 MiB, chardev (240:0)
[    1.233488] tps6594-rtc tps6594-rtc.4.auto: registered as rtc0
[    1.233623] tps6594-rtc tps6594-rtc.4.auto: hctosys: unable to read the hardware clock
[    1.264163] vdd_core_0v85: Bringing 800000uV into 850000-850000uV
[    1.373000] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc8900
[    1.373313] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc8900
[    1.374842] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
[    1.376812] ti-udma 31150000.dma-controller: Channels: 50 (tchan: 25, rchan: 25, gp-rflow: 8)
[    1.381542] spi-nor spi0.0: s28hs512t (65536 Kbytes)
[    1.381599] 7 fixed-partitions partitions found on MTD device 47040000.spi.0
[    1.381604] Creating 7 MTD partitions on "47040000.spi.0":
[    1.381608] 0x000000000000-0x000000100000 : "ospi.tiboot3"
[    1.382346] 0x000000100000-0x000000300000 : "ospi.tispl"
[    1.382998] 0x000000300000-0x000000700000 : "ospi.u-boot"
[    1.383607] 0x000000700000-0x000000740000 : "ospi.env"
[    1.384219] 0x000000740000-0x000000780000 : "ospi.env.backup"
[    1.384817] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
[    1.385449] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
[    1.390971] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
[    1.424800] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
[    1.425884] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
[    1.425908] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
[    1.426018] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
[    1.426022] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
[    1.426306] pps pps0: new PPS source ptp1
[    1.426462] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1
[    1.442659] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
[    1.444955] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
[    1.446092] mmc1: CQHCI version 5.10
[    1.449425] ALSA device list:
[    1.449430]   No soundcards found.
[    1.487851] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
[    1.542349] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
[    1.551071] mmcblk1: mmc1:aaaa SC16G 14.8 GiB
[    1.555727]  mmcblk1: p1 p2
[    1.762906] EXT4-fs (mmcblk1p2): recovery complete
[    1.763849] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
[    1.763891] VFS: Mounted root (ext4 filesystem) on device 179:98.
[    1.765328] devtmpfs: mounted
[    1.766611] Freeing unused kernel memory: 1920K
[    1.766716] Run /sbin/init as init process
[    1.766718]   with arguments:
[    1.766718]     /sbin/init
[    1.766720]   with environment:
[    1.766721]     HOME=/
[    1.766722]     TERM=linux
[    1.906821] systemd[1]: System time before build time, advancing clock.
[    1.938890] NET: Registered PF_INET6 protocol family
[    1.939532] Segment Routing with IPv6
[    1.939549] In-situ OAM (IOAM) with IPv6
[    1.956928] systemd[1]: systemd 250.5+ 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 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
[    1.957182] systemd[1]: Detected architecture arm64.
[    2.046427] systemd[1]: Hostname set to <j7200-evm>.
[    2.124833] systemd-sysv-generator[167]: SysV service '/etc/init.d/sysrepo' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[    2.126060] systemd-sysv-generator[167]: SysV service '/etc/init.d/netopeer2-server' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[    2.126660] systemd-sysv-generator[167]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[    2.260481] systemd[1]: /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.287849] 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.318142] systemd[1]: Queued start job for default target Graphical Interface.
[    2.361557] systemd[1]: Created slice Slice /system/getty.
[    2.377516] systemd[1]: Created slice Slice /system/modprobe.
[    2.393425] systemd[1]: Created slice Slice /system/serial-getty.
[    2.409169] systemd[1]: Created slice User and Session Slice.
[    2.423050] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    2.441980] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    2.458017] systemd[1]: Reached target Path Units.
[    2.468277] systemd[1]: Reached target Remote File Systems.
[    2.481866] systemd[1]: Reached target Slice Units.
[    2.492258] systemd[1]: Reached target Swaps.
[    2.540132] systemd[1]: Listening on RPCbind Server Activation Socket.
[    2.554929] systemd[1]: Reached target RPC Port Mapper.
[    2.574274] systemd[1]: Listening on Process Core Dump Socket.
[    2.588078] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    2.603270] systemd[1]: Listening on Journal Audit Socket.
[    2.617143] systemd[1]: Listening on Journal Socket (/dev/log).
[    2.631178] systemd[1]: Listening on Journal Socket.
[    2.642202] systemd[1]: Listening on Network Service Netlink Socket.
[    2.657266] systemd[1]: Listening on udev Control Socket.
[    2.671124] systemd[1]: Listening on udev Kernel Socket.
[    2.685146] systemd[1]: Listening on User Database Manager Socket.
[    2.718193] systemd[1]: Mounting Huge Pages File System...
[    2.732207] systemd[1]: Mounting POSIX Message Queue File System...
[    2.749965] systemd[1]: Mounting Kernel Debug File System...
[    2.761336] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
[    2.767086] systemd[1]: Mounting Temporary Directory /tmp...
[    2.791365] systemd[1]: Starting Create List of Static Device Nodes...
[    2.833295] systemd[1]: Starting Load Kernel Module configfs...
[    2.849737] systemd[1]: Starting Load Kernel Module drm...
[    2.866011] systemd[1]: Starting Load Kernel Module fuse...
[    2.880028] fuse: init (API version 7.37)
[    2.885139] systemd[1]: Starting RPC Bind...
[    2.896031] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
[    2.901040] systemd[1]: Starting Journal Service...
[    2.947431] systemd[1]: Starting Load Kernel Modules...
[    2.969645] systemd[1]: Starting Generate network units from Kernel command line...
[    2.986172] cryptodev: loading out-of-tree module taints kernel.
[    2.993079] cryptodev: driver 1.12 loaded.
[    2.998620] systemd[1]: Starting Remount Root and Kernel File Systems...
[    3.018384] systemd[1]: Starting Coldplug All udev Devices...
[    3.033548] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
[    3.038362] systemd[1]: Started RPC Bind.
[    3.052729] systemd[1]: Started Journal Service.
[    3.265639] systemd-journald[181]: Received client request to flush runtime journal.
[    3.392732] audit: type=1334 audit(1651167746.486:2): prog-id=5 op=LOAD
[    3.393839] audit: type=1334 audit(1651167746.487:3): prog-id=6 op=LOAD
[    3.628815] random: crng init done
[    3.758638] systemd-journald[181]: Oldest entry in /run/log/journal/ca0e6fd8eead4744ac685d45c406f462/system.journal is older than the configured file retention duration (1month), suggesting rotation.
[    3.758650] systemd-journald[181]: /run/log/journal/ca0e6fd8eead4744ac685d45c406f462/system.journal: Journal header limits reached or header out-of-date, rotating.
[    3.866158] j721e-pcie-host 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
[    3.866185] j721e-pcie-host 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
[    3.866197] j721e-pcie-host 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
[    3.866206] j721e-pcie-host 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
[    3.996882] ti-udma 285c0000.dma-controller: chan1: is running!
[    4.332771] audit: type=1334 audit(1722576545.888:4): prog-id=7 op=LOAD
[    4.332986] audit: type=1334 audit(1722576545.889:5): prog-id=8 op=LOAD
[    4.432759] Bluetooth: Core ver 2.22
[    4.439897] NET: Registered PF_BLUETOOTH protocol family
[    4.439903] Bluetooth: HCI device and connection manager initialized
[    4.439920] Bluetooth: HCI socket layer initialized
[    4.439925] Bluetooth: L2CAP socket layer initialized
[    4.439943] Bluetooth: SCO socket layer initialized
[    4.696738] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
[    4.704479] platform 41000000.r5f: configured R5F for IPC-only mode
[    4.704615] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
[    4.748532] remoteproc remoteproc0: 41000000.r5f is available
[    4.748598] remoteproc remoteproc0: attaching to 41000000.r5f
[    4.769449] platform 41000000.r5f: R5F core initialized in IPC-only mode
[    4.769470] rproc-virtio rproc-virtio.10.auto: assigned reserved memory node r5f-dma-memory@a0000000
[    4.811886] virtio_rpmsg_bus virtio0: rpmsg host is online
[    4.811921] rproc-virtio rproc-virtio.10.auto: registered virtio0 (type 7)
[    4.811926] remoteproc remoteproc0: remote processor 41000000.r5f is now attached
[    4.812009] platform 41400000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
[    4.812178] platform 41400000.r5f: configured R5F for IPC-only mode
[    4.812321] platform 41400000.r5f: assigned reserved memory node r5f-dma-memory@a1000000
[    4.822539] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
[    4.822681] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
[    4.842938] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    4.849141] remoteproc remoteproc1: 41400000.r5f is available
[    4.849195] remoteproc remoteproc1: attaching to 41400000.r5f
[    4.865310] platform 41400000.r5f: R5F core initialized in IPC-only mode
[    4.865335] rproc-virtio rproc-virtio.11.auto: assigned reserved memory node r5f-dma-memory@a1000000
[    4.877969] virtio_rpmsg_bus virtio1: rpmsg host is online
[    4.880543] rproc-virtio rproc-virtio.11.auto: registered virtio1 (type 7)
[    4.880553] remoteproc remoteproc1: remote processor 41400000.r5f is now attached
[    4.885205] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
[    4.885341] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
[    4.885913] j721e-pcie-host 2910000.pcie: PCI host bridge to bus 0000:00
[    4.885919] pci_bus 0000:00: root bus resource [bus 00-ff]
[    4.885926] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x18001000-0x18010fff])
[    4.885929] pci_bus 0000:00: root bus resource [mem 0x18011000-0x1fffffff]
[    4.885953] pci 0000:00:00.0: [104c:b00f] type 01 class 0x060400
[    4.886057] pci 0000:00:00.0: supports D1
[    4.886060] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    4.886082] pci 0000:00:00.0: reg 0x224: [mem 0x00000000-0x003fffff 64bit]
[    4.886087] pci 0000:00:00.0: VF(n) BAR0 space: [mem 0x00000000-0x00ffffff 64bit] (contains BAR0 for 4 VFs)
[    4.888692] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    4.888872] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    4.888894] pci 0000:00:00.0: BAR 7: assigned [mem 0x18400000-0x193fffff 64bit]
[    4.888902] pci 0000:00:00.0: PCI bridge to [bus 01]
[    4.896728] pcieport 0000:00:00.0: PME: Signaling with IRQ 685
[    4.906500] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    4.923366] platform 5c00000.r5f: configured R5F for IPC-only mode
[    4.923439] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
[    4.923994] pcieport 0000:00:00.0: AER: enabled with IRQ 685
[    4.940192] remoteproc remoteproc2: 5c00000.r5f is available
[    4.940242] remoteproc remoteproc2: attaching to 5c00000.r5f
[    4.949453] platform 5c00000.r5f: R5F core initialized in IPC-only mode
[    4.949476] rproc-virtio rproc-virtio.12.auto: assigned reserved memory node r5f-dma-memory@a2000000
[    4.953403] virtio_rpmsg_bus virtio2: rpmsg host is online
[    4.953436] rproc-virtio rproc-virtio.12.auto: registered virtio2 (type 7)
[    4.953442] remoteproc remoteproc2: remote processor 5c00000.r5f is now attached
[    4.954942] virtio_rpmsg_bus virtio2: creating channel ti.ethfw.ethdevice addr 0x65
[    4.955945] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0x15
[    4.961710] platform 5d00000.r5f: configured R5F for IPC-only mode
[    4.961822] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
[    4.962252] remoteproc remoteproc3: 5d00000.r5f is available
[    4.962301] remoteproc remoteproc3: attaching to 5d00000.r5f
[    4.981594] platform 5d00000.r5f: R5F core initialized in IPC-only mode
[    4.981618] rproc-virtio rproc-virtio.13.auto: assigned reserved memory node r5f-dma-memory@a3000000
[    4.983610] virtio_rpmsg_bus virtio3: rpmsg host is online
[    4.983645] rproc-virtio rproc-virtio.13.auto: registered virtio3 (type 7)
[    4.983650] remoteproc remoteproc3: remote processor 5d00000.r5f is now attached
[    4.990012] virtio_rpmsg_bus virtio3: creating channel ti.ipc4.ping-pong addr 0xd
[    4.992607] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0xe
[    5.054672] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI DP83867] (irq=POLL)
[    5.054688] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
[    5.962962] audit: type=1334 audit(1722576547.519:6): prog-id=9 op=LOAD
[    5.963106] audit: type=1334 audit(1722576547.519:7): prog-id=10 op=LOAD
[    6.222870] ti_cpsw_proxy_client virtio2.ti.ethfw.ethdevice.-1.101: 1 Virtual Switch Port(s), 1 Virtual MAC Only Port(s)
[    6.222878] ti_cpsw_proxy_client virtio2.ti.ethfw.ethdevice.-1.101: Virt Port: 0, Type: Switch Port, Iface: eth1, Token: 0
[    6.222882] ti_cpsw_proxy_client virtio2.ti.ethfw.ethdevice.-1.101: Virt Port: 4, Type: MAC Port, Iface: eth2, Token: 400
[    6.422300] audit: type=1006 audit(1722576547.978:8): pid=600 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
[    6.422356] audit: type=1300 audit(1722576547.978:8): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffdb95b618 a2=4 a3=ffffa8226020 items=0 ppid=1 pid=600 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="/lib/systemd/systemd" key=(null)
[    6.422398] audit: type=1327 audit(1722576547.978:8): proctitle="(systemd)"
[    6.470696] ti_cpsw_proxy_client virtio2.ti.ethfw.ethdevice.-1.101: started virt port: 0 on interface eth1
[    6.503600] ti_cpsw_proxy_client virtio2.ti.ethfw.ethdevice.-1.101: started virt port: 4 on interface eth2
[    6.851839] audit: type=1006 audit(1722576548.407:9): pid=540 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
[    6.851854] audit: type=1300 audit(1722576548.407:9): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffdb95b618 a2=4 a3=ffffa8226020 items=0 ppid=1 pid=540 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="/lib/systemd/systemd" key=(null)
[    6.851860] audit: type=1327 audit(1722576548.407:9): proctitle="(weston)"
[    9.186798] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    9.186826] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   13.971369] audit: type=1006 audit(1722576555.527:10): pid=662 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res=1
[   13.971408] audit: type=1300 audit(1722576555.527:10): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffdb95b618 a2=1 a3=ffffa8226020 items=0 ppid=1 pid=662 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="/lib/systemd/systemd" key=(null)
[   13.971436] audit: type=1327 audit(1722576555.527:10): proctitle="(systemd)"
[   13.986361] audit: type=1334 audit(1722576555.541:11): prog-id=11 op=LOAD
[   13.986372] audit: type=1300 audit(1722576555.541:11): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffc2d450f0 a2=78 a3=0 items=0 ppid=1 pid=662 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="/lib/systemd/systemd" key=(null)
[   13.986377] audit: type=1327 audit(1722576555.541:11): proctitle="(systemd)"
[   13.986385] audit: type=1334 audit(1722576555.542:12): prog-id=11 op=UNLOAD
[   13.986389] audit: type=1334 audit(1722576555.542:13): prog-id=12 op=LOAD
[   13.986394] audit: type=1300 audit(1722576555.542:13): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffc2d45190 a2=78 a3=0 items=0 ppid=1 pid=662 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="/lib/systemd/systemd" key=(null)
[   13.986399] audit: type=1327 audit(1722576555.542:13): proctitle="(systemd)"

Also, please tell me about coprocessors settings.

In the case of prebuilt-images, I think that the CPSW2g driver will be enabled for MCU_RGMII1.
In that case, would it be okay to disable the coprocessors (main-R5F, mcu-R5F) as follows?

&main_r5fss0_core0{
	status = "disabled";
};
&main_r5fss0_core1{
	status = "disabled";
};
&mcu_r5fss0_core0{
	status = "disabled";
};
&mcu_r5fss0_core1{
	status = "disabled";
};

Regards,

Mizutani

  • Hi,

    All of these are CRC errors could point to some issues with the link.

    So one end of the link is the MCU_RGMII port of the EVM. What is the other end connected to?

    Are you seeing the same results even if you change the EVM?

    Regards,
    Tanmay

  • Hi,

    The network configuration is shown below.

    We only have one J7200XSOMXEVM , so we can't check it on another J7200XSOMXEVM .

    However, when I checked communication with AM68-SK on the same network, it worked normally.

    root@am68-sk:~# ethtool eth0
    Settings for eth0:
            Supported ports: [ TP    MII ]
            Supported link modes:   10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Full
            Supported pause frame use: Symmetric
            Supports auto-negotiation: Yes
            Supported FEC modes: Not reported
            Advertised link modes:  10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Full
            Advertised pause frame use: Symmetric
            Advertised auto-negotiation: Yes
            Advertised FEC modes: Not reported
            Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                                 100baseT/Half 100baseT/Full
                                                 1000baseT/Full
            Link partner advertised pause frame use: Symmetric
            Link partner advertised auto-negotiation: Yes
            Link partner advertised FEC modes: Not reported
            Speed: 1000Mb/s
            Duplex: Full
            Auto-negotiation: on
            master-slave cfg: preferred slave
            master-slave status: slave
            Port: Twisted Pair
            PHYAD: 0
            Transceiver: external
            MDI-X: Unknown
            Supports Wake-on: ubgs
            Wake-on: d
            SecureOn password: 00:00:00:00:00:00
            Current message level: 0x000020f7 (8439)
                                   drv probe link ifdown ifup rx_err tx_err hw
            Link detected: yes
    root@am68-sk:~# ethtool -S eth0 | grep error
         p0_rx_crc_errors: 0
         rx_crc_errors: 0
         rx_align_code_errors: 0
         rx_ipg_error: 0
         tx_carrier_sense_errors: 0
    root@am68-sk:~# ifconfig eth0
    eth0: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST>  mtu 1500
            inet 192.168.11.2  netmask 255.255.255.0  broadcast 192.168.11.255
            inet6 fe80::1e63:49ff:fe2b:dedb  prefixlen 64  scopeid 0x20<link>
            ether 1c:63:49:2b:de:db  txqueuelen 1000  (Ethernet)
            RX packets 425  bytes 55704 (54.3 KiB)
            RX errors 0  dropped 282  overruns 0  frame 0
            TX packets 195  bytes 15372 (15.0 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

    Regards,

    Mizutani

  • Hi,

    I wrote a similar code based on the AM68-SK device tree, and was able to communicate normally on Linux.

    &davinci_mdio {
        phy0: ethernet-phy@0 {
            reg = <0>;
            ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
            ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    +       ti,min-output-impedance;
        };
    };

    Are there any problems with the modifications?

    I also made similar modifications to the "u-boot" device tree, but this did not improve the situation.

    What do I need to fix to communicate properly in '"u-boot"?

    Regards,

    Mizutani

  • Hi team,
    Could you please give me an update on the progress?

    Best regards,

    Mizutani

  • Hi Mizutani-san,

    Sorry for the delay.

    Can you check the value of rx-checksum-offload by defalult. Can you see if toggling that changes anything?

    To see the current value : ethtool -k eth0

    To change it : ethtool -K eth0 on/off

    If the current value is on, can you please try with on and vice-versa.

    Regards,
    Tanmay

  • Hi,

    I checked the results of running "ethtool -k eth0". However, the parameter "rx-checksum-offload" did not exist. (The parameter "rx-checksumming" did exist.)

    ~# ethtool -k eth0
    Features for eth0:
    rx-checksumming: on
    tx-checksumming: on
            tx-checksum-ipv4: off [fixed]
            tx-checksum-ip-generic: on
            tx-checksum-ipv6: off [fixed]
            tx-checksum-fcoe-crc: off [fixed]
            tx-checksum-sctp: off [fixed]
    scatter-gather: on
            tx-scatter-gather: on
            tx-scatter-gather-fraglist: off [fixed]
    tcp-segmentation-offload: off
            tx-tcp-segmentation: off [fixed]
            tx-tcp-ecn-segmentation: off [fixed]
            tx-tcp-mangleid-segmentation: off [fixed]
            tx-tcp6-segmentation: off [fixed]
    generic-segmentation-offload: on
    generic-receive-offload: on
    large-receive-offload: off [fixed]
    rx-vlan-offload: off [fixed]
    tx-vlan-offload: off [fixed]
    ntuple-filters: off [fixed]
    receive-hashing: off [fixed]
    highdma: off [fixed]
    rx-vlan-filter: on [fixed]
    vlan-challenged: off [fixed]
    tx-lockless: off [fixed]
    netns-local: off [fixed]
    tx-gso-robust: off [fixed]
    tx-fcoe-segmentation: off [fixed]
    tx-gre-segmentation: off [fixed]
    tx-gre-csum-segmentation: off [fixed]
    tx-ipxip4-segmentation: off [fixed]
    tx-ipxip6-segmentation: off [fixed]
    tx-udp_tnl-segmentation: off [fixed]
    tx-udp_tnl-csum-segmentation: off [fixed]
    tx-gso-partial: off [fixed]
    tx-tunnel-remcsum-segmentation: off [fixed]
    tx-sctp-segmentation: off [fixed]
    tx-esp-segmentation: off [fixed]
    tx-udp-segmentation: off [fixed]
    tx-gso-list: off [fixed]
    fcoe-mtu: off [fixed]
    tx-nocache-copy: off
    loopback: off [fixed]
    rx-fcs: off [fixed]
    rx-all: off [fixed]
    tx-vlan-stag-hw-insert: off [fixed]
    rx-vlan-stag-hw-parse: off [fixed]
    rx-vlan-stag-filter: off [fixed]
    l2-fwd-offload: off [fixed]
    hw-tc-offload: on
    esp-hw-offload: off [fixed]
    esp-tx-csum-hw-offload: off [fixed]
    rx-udp_tunnel-port-offload: off [fixed]
    tls-hw-tx-offload: off [fixed]
    tls-hw-rx-offload: off [fixed]
    rx-gro-hw: off [fixed]
    tls-hw-record: off [fixed]
    rx-gro-list: off
    macsec-hw-offload: off [fixed]
    rx-udp-gro-forwarding: off
    hsr-tag-ins-offload: off [fixed]
    hsr-tag-rm-offload: off [fixed]
    hsr-fwd-offload: off [fixed]
    hsr-dup-offload: off [fixed]

    This issue was resolved by making the following change: Is this the correct change?

    1. device tree file (k3-j7200-common-proc-board.dts)

    &davinci_mdio {
        phy0: ethernet-phy@0 {
            reg = <0>;
            ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
            ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
    +       ti,min-output-impedance;
        };
    };

    2. u-boot config file (j7200_evm_a72_defconfig)

    Add "CONFIG_PHY_TI_DP83867"
    By making the above modifications, I was able to communicate at 1000Mbps in both u-boot and linux.
    Also, when I was investigating the cause, I checked the Ethernet interrupts, but I didn't understand the contents of the following interrupts. Could you please tell me the contents of each interrupt and where to set it?
     35:      21206          0  MSI-INTA 15401056 Level     46000000.ethernet-tx0
     36:          0          9  MSI-INTA 15401057 Level     46000000.ethernet-tx1
     37:          6          0  MSI-INTA 15401058 Level     46000000.ethernet-tx2
     38:          0          0  MSI-INTA 15401059 Level     46000000.ethernet-tx3
     39:          9          0  MSI-INTA 15401060 Level     46000000.ethernet-tx4
     40:          0         22  MSI-INTA 15401061 Level     46000000.ethernet-tx5
     41:          7          0  MSI-INTA 15401062 Level     46000000.ethernet-tx6
     42:          0          0  MSI-INTA 15401063 Level     46000000.ethernet-tx7
     44:      78513          0  MSI-INTA 15401065 Level     46000000.ethernet

    Regards,

    Mizutani

  • Hi Mizutani-san,

    This issue was resolved by making the following change: Is this the correct change?

    I don't see issue with the change. It changes some configuration in the phy which is ususally not required for the DP83867 phy (the RGMII phy used on EVM), but is used with other TI phy's in some cases. I do not know how this exactly affects the phy. I'll find that out and let you know by next week.

    So there are in total 8 tx dma channels and 1 rx dma channel for data transfer with ethernet. There is one interrupt for each DMA channel. Thats the interrupt you see in the output of "cat /proc/interrupts".

    Could you please tell me the contents of each interrupt and where to set it?

    Can you please elaborate on the modifications needed for interrupts. Do you want to change irq number or something different?

    Regards,
    Tanmay

  • Hi,

    In the Jacinto7 DRA821 Evaluation Module (EVM) User's Guide, the PHY used in the J7200 is DP83867. Is this correct?

    Regarding interrupts, I would like to mask unnecessary interrupts.
    Therefore, I would like to know the details of each interrupt. Also, could you tell me how to set the interrupt mask?

    Regards,

    Mizutani

  • Hi,

    In the Jacinto7 DRA821 Evaluation Module (EVM) User's Guide, the PHY used in the J7200 is DP83867. Is this correct?

    Yes, This is correct.

    You will only have the interrupts for those channels (queues) which you have enabled. It seems you have enabled all 8 queues. You can change the number of interrupts by opening lesser number of queues.

    You can change number of queues by running "ethtool -L <dev name> tx <no of queues>"

    Regards,
    Tanmay

  • Hi,

    It changes some configuration in the phy which is ususally not required for the DP83867 phy (the RGMII phy used on EVM), but is used with other TI phy's in some cases. I do not know how this exactly affects the phy. I'll find that out and let you know by next week.

    This changes the "IO_IMPEDANCE_CTRL" property in "I/O Configuration (IO_MUX_CFG), Address 0x0170" register of the phy (phy datasheet).

    This means that there might some issue with a resistor on the EVM. This has to be investigated separately. Please create a ticket if you want to investigate the hardware issue.

    Regards,
    Tanmay

  • Hi,

    Please explain again about "changing some configurations of PHY that are not usually necessary for DP83867 PHY (RGMII PHY used in EVM)".
    The PHY used in J7200 is DP83867, so why not use CONFIG_PHY_TI_DP83867 (dp83867.o)?

    Also, please tell me about interrupts.
    If the number of channels is set to 2, will each channel be assigned to a CPU as follows?
    ethernet-tx0:CPU0
    ethernet-tx1:CPU1

    Regards,

    Mizutani

  • Hi,

    If the number of channels is set to 2, will each channel be assigned to a CPU as follows?

    This is configurable. you can attach the interrupts to one core or both cores as well. See this for more details on configuration.

    Please explain again about "changing some configurations of PHY that are not usually necessary for DP83867 PHY (RGMII PHY used in EVM)".
    The PHY used in J7200 is DP83867, so why not use CONFIG_PHY_TI_DP83867 (dp83867.o)?

    The phy driver (dp83867.o) is being used to configure the phy. On EVM, it seems that you have to add "ti,min-output-impedance;" property to make the phy work. This is not the case on other EVMs. Hence there might be some issue with the board you have. Hence my suggestion to investigate that separately if required. If you are just going to use EVM for testing and going to design your own board, then you can continue like this with "ti,min-output-impedance;" property.

    Regards,
    Tanmay