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.
Hi team,
SDK version: 8.5/8.6
Platform: Tda4al
Phy: Marvell 88E1510
Because the platform has two identical PHYs attached (different phy addr), the one in the MCU domain is ready to acquire IP, connect the network cable and power on (CLK:25M->125M).
When debugging phy in the Linux main domain and getting IP with udhcpc, the IP is not available and the static IP is not pinged.
When debugging the chip, the RGMII output from phy to clk of Mac, the measured value is 125M,but 50M from Mac to clk, the cable removed is 10M.
Output from MAC to clk of phy as follows:
10M speed:10MHz
100M speed:10MHz
1000M speed:50MHz
I think the problem should be with the output clock "TX_CLK is 10MHz/10MHz/50MHz".
The following figure shows the pin diagram main domain:
ifconfig -a show:
root@j721s2-evm:~# ifconfig -a can0: flags=128<NOARP> mtu 16 metric 1 unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 10 (UNSPEC) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 29 docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 metric 1 inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255 ether 02:42:9a:20:b5:66 txqueuelen 0 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 metric 1 inet6 fe80::10a9:ecff:feea:375b prefixlen 64 scopeid 0x20<link> ether 12:a9:ec:ea:37:5b txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 43 bytes 9142 (8.9 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 metric 1 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 82 bytes 6220 (6.0 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 82 bytes 6220 (6.0 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 root@j721s2-evm:~#
This is what the DTS modifications:
diff --git a/board-support/linux-5.10.162+gitAUTOINC+76b3e88d56-g76b3e88d56/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts b/board-support/linux-5.10.162+gitAUTOINC+76b3e88d56-g76b3e88d56/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts index 1b2591552..a5bf3adc9 100755 --- a/board-support/linux-5.10.162+gitAUTOINC+76b3e88d56-g76b3e88d56/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts +++ b/board-support/linux-5.10.162+gitAUTOINC+76b3e88d56-g76b3e88d56/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts @@ -242,6 +242,30 @@ >; }; + main_cpsw_mdio_pins_default: main-cpsw-mdio-pins-default { + pinctrl-single,pins = < + J721S2_IOPAD(0x0c0, PIN_OUTPUT, 6) /* (T28) MCASP1_AXR0.MDIO0_MDC */ + J721S2_IOPAD(0x0bc, PIN_INPUT, 6) /* (V28) MCASP1_AFSX.MDIO0_MDIO */ + >; + }; + + rgmii1_pins_default: rgmii1_pins_default { + pinctrl-single,pins = < + J721S2_IOPAD(0x0b8, PIN_INPUT, 6) /* (AA24) MCASP1_ACLKX.RGMII1_RD0 */ + J721S2_IOPAD(0x0a0, PIN_INPUT, 6) /* (AB25) MCASP0_AXR12.RGMII1_RD1 */ + J721S2_IOPAD(0x0a4, PIN_INPUT, 6) /* (T23) MCASP0_AXR13.RGMII1_RD2 */ + J721S2_IOPAD(0x0a8, PIN_INPUT, 6) /* (U24) MCASP0_AXR14.RGMII1_RD3 */ + J721S2_IOPAD(0x0b0, PIN_INPUT, 6) /* (AD26) MCASP1_AXR3.RGMII1_RXC */ + J721S2_IOPAD(0x0ac, PIN_INPUT, 6) /* (AC25) MCASP0_AXR15.RGMII1_RX_CTL */ + J721S2_IOPAD(0x08c, PIN_OUTPUT, 6) /* (T25) MCASP0_AXR7.RGMII1_TD0 */ + J721S2_IOPAD(0x090, PIN_OUTPUT, 6) /* (W24) MCASP0_AXR8.RGMII1_TD1 */ + J721S2_IOPAD(0x094, PIN_OUTPUT, 6) /* (AA25) MCASP0_AXR9.RGMII1_TD2 */ + J721S2_IOPAD(0x098, PIN_OUTPUT, 6) /* (V25) MCASP0_AXR10.RGMII1_TD3 */ + J721S2_IOPAD(0x0b4, PIN_OUTPUT, 6) /* (U25) MCASP1_AXR4.RGMII1_TXC */ + J721S2_IOPAD(0x09c, PIN_OUTPUT, 6) /* (T24) MCASP0_AXR11.RGMII1_TX_CTL */ + >; + }; + main_i2c4_pins_default: main-i2c4-pins-default { pinctrl-single,pins = < J721S2_IOPAD(0x014, PIN_INPUT_PULLUP, 8) /* (AD25) I2C4_SCL */ @@ -407,6 +431,14 @@ "PCIE_1L_RC_RSTZ", "PCIE_1L_EP_RST_EN", "PCIE_2L_PRSNT#", "PCIE_1L_PRSNT#", "CDCI1_OE1/OE4", "CDCI1_OE2/OE3", "EXP_MUX1", "EXP_MUX2", "EXP_MUX3", "GESI_EXP_PHY_RSTz"; + + p15 { + /* P15 - EXP_MUX2 */ + gpio-hog; + gpios = <13 GPIO_ACTIVE_HIGH>; + output-high; + line-name = "EXP_MUX2"; + }; }; exp2: gpio@22 { @@ -485,6 +517,26 @@ /*vqmmc-supply = <&vdd_sd_dv>;*/ }; +&main_cpsw { + pinctrl-names = "default"; + pinctrl-0 = <&main_cpsw_mdio_pins_default + &rgmii1_pins_default>; +}; + +&main_cpsw_mdio { + main_cpsw_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; + }; +}; + +&main_cpsw_port1 { + phy-mode = "rgmii-rxid"; + phy-handle = <&main_cpsw_phy0>; +}; + &mcu_cpsw { pinctrl-names = "default"; pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>; @@ -780,10 +832,6 @@ status = "disabled"; }; -&main_cpsw { - status = "disabled"; -}; - &csi0_port0 { status = "disabled"; };
Kernel log is as follows:
root@j721s2-evm:~# dmesg -c [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080] [ 0.000000] Linux version 5.10.162-g76b3e88d56 (linhaisheng@robin) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #10 SMP PREEMPT Tue May 16 16:13:12 CST 2023 [ 0.000000] Machine model: Texas Instruments J721S2 EVM [ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002880000 (options '') [ 0.000000] printk: bootconsole [ns16550a0] enabled [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node 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] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node c71-dma-memory@a6000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node c71-memory@a6100000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB [ 0.000000] OF: reserved mem: initialized node c71-dma-memory@a7000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB [ 0.000000] OF: reserved mem: initialized node c71-memory@a7100000, compatible id shared-dma-pool [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000080000000-0x00000000ffffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 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-0x00000000a9bfffff] [ 0.000000] node 0: [mem 0x00000000a9c00000-0x00000000ffffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff] [ 0.000000] On node 0 totalpages: 524288 [ 0.000000] DMA zone: 8192 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 524288 pages, LIFO batch:63 [ 0.000000] cma: Reserved 512 MiB at 0x00000000dd000000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: Trusted OS migration not required [ 0.000000] psci: SMC Calling Convention v1.2 [ 0.000000] percpu: Embedded 22 pages/cpu s50392 r8192 d31528 u90112 [ 0.000000] pcpu-alloc: s50392 r8192 d31528 u90112 alloc=22*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Detected PIPT I-cache on CPU0 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] CPU features: detected: EL2 vector hardening [ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923 [ 0.000000] CPU features: detected: Spectre-BHB [ 0.000000] CPU features: detected: ARM erratum 1742098 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096 [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02880000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m(hbmc.u-boot),256k(hbmc.env),-@8m(hbmc.rootfs) root=PARTUUID=4d04a327-02 rw rootfstype=ext4 rootwait [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 1329220K/2097152K available (11200K kernel code, 1160K rwdata, 4300K rodata, 1856K init, 433K bss, 243644K reserved, 524288K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GICv3: 960 SPIs implemented [ 0.000000] GICv3: 0 Extended SPIs implemented [ 0.000000] GICv3: Distributor has no Range Selector support [ 0.000000] GICv3: 16 PPIs implemented [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000 [ 0.000000] ITS [mem 0x01820000-0x0182ffff] [ 0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS [ 0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19 [ 0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x0000000080030000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000 [ 0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns [ 0.000002] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns [ 0.008373] Console: colour dummy device 80x25 [ 0.012936] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000) [ 0.023608] pid_max: default: 32768 minimum: 301 [ 0.028368] LSM: Security Framework initializing [ 0.033117] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.040685] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.049558] rcu: Hierarchical SRCU implementation. [ 0.054636] Platform MSI: msi-controller@1820000 domain created [ 0.060831] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created [ 0.070125] EFI services will not be available. [ 0.074854] smp: Bringing up secondary CPUs ... [ 0.087926] Detected PIPT I-cache on CPU1 [ 0.087953] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000 [ 0.087965] GICv3: CPU1: using allocated LPI pending table @0x0000000080050000 [ 0.088004] CPU1: Booted secondary processor 0x0000000001 [0x411fd080] [ 0.088056] smp: Brought up 1 node, 2 CPUs [ 0.117405] SMP: Total of 2 processors activated. [ 0.122210] CPU features: detected: 32-bit EL0 Support [ 0.127466] CPU features: detected: CRC32 instructions [ 0.142150] CPU: All CPU(s) started at EL2 [ 0.146351] alternatives: patching kernel code [ 0.151415] devtmpfs: initialized [ 0.159064] KASLR disabled due to lack of seed [ 0.163718] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.173686] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.187426] pinctrl core: initialized pinctrl subsystem [ 0.193113] DMI not present or invalid. [ 0.197380] NET: Registered protocol family 16 [ 0.202774] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 0.210070] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.218078] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.226412] thermal_sys: Registered thermal governor 'step_wise' [ 0.226415] thermal_sys: Registered thermal governor 'power_allocator' [ 0.233017] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.246662] ASID allocator initialised with 65536 entries [ 0.266294] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.273157] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.280005] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.286851] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 0.294354] cryptd: max_cpu_qlen set to 1000 [ 0.300487] k3-chipinfo 43000014.chipid: Family:J721S2 rev:SR1.0 JTAGID[0x0bb7502f] Detected [ 0.309572] vsys_3v3: supplied by evm_12v0 [ 0.313970] vsys_5v0: supplied by evm_12v0 [ 0.318703] iommu: Default domain type: Translated [ 0.323864] SCSI subsystem initialized [ 0.327972] mc: Linux media interface: v0.10 [ 0.332409] videodev: Linux video capture interface: v2.00 [ 0.338043] pps_core: LinuxPPS API ver. 1 registered [ 0.343114] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.352452] PTP clock support registered [ 0.356474] EDAC MC: Ver: 3.0.0 [ 0.360280] FPGA manager framework [ 0.363801] Advanced Linux Sound Architecture Driver Initialized. [ 0.370450] clocksource: Switched to clocksource arch_sys_counter [ 0.376794] VFS: Disk quotas dquot_6.6.0 [ 0.380831] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.390589] NET: Registered protocol family 2 [ 0.395218] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.403475] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 0.412224] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.420372] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear) [ 0.427979] TCP: Hash tables configured (established 16384 bind 16384) [ 0.434779] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.441660] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.449047] NET: Registered protocol family 1 [ 0.453779] RPC: Registered named UNIX socket transport module. [ 0.459845] RPC: Registered udp transport module. [ 0.464650] RPC: Registered tcp transport module. [ 0.469453] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.476035] NET: Registered protocol family 44 [ 0.480579] PCI: CLS 0 bytes, default 64 [ 0.484964] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available [ 0.495557] Initialise system trusted keyrings [ 0.500200] workingset: timestamp_bits=46 max_order=19 bucket_order=0 [ 0.508363] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.514625] NFS: Registering the id_resolver key type [ 0.519803] Key type id_resolver registered [ 0.524076] Key type id_legacy registered [ 0.528198] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.535047] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 0.542692] 9p: Installing v9fs 9p2000 file system support [ 0.567387] Key type asymmetric registered [ 0.571574] Asymmetric key parser 'x509' registered [ 0.576572] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243) [ 0.584131] io scheduler mq-deadline registered [ 0.588757] io scheduler kyber registered [ 0.594210] pinctrl-single 4301c000.pinctrl: 101 pins, size 404 [ 0.600433] pinctrl-single 11c000.pinctrl: 72 pins, size 288 [ 0.610827] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled [ 0.623647] brd: module loaded [ 0.630362] loop: module loaded [ 0.634123] megasas: 07.714.04.00-rc1 [ 0.639885] tun: Universal TUN/TAP device driver, 1.6 [ 0.645348] igbvf: Intel(R) Gigabit Virtual Function Network Driver [ 0.651761] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 0.657841] sky2: driver version 1.30 [ 0.662269] VFIO - User Level meta-driver version: 0.3 [ 0.668089] i2c /dev entries driver [ 0.672505] sdhci: Secure Digital Host Controller Interface driver [ 0.678833] sdhci: Copyright(c) Pierre Ossman [ 0.683589] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.689964] ledtrig-cpu: registered to indicate activity on CPUs [ 0.696315] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 0.703698] optee: probing for conduit method. [ 0.708262] optee: revision 3.20 (8e74d476) [ 0.724686] optee: dynamic shared memory is enabled [ 0.734162] optee: initialized driver [ 0.739272] NET: Registered protocol family 17 [ 0.743905] 9pnet: Installing 9P2000 support [ 0.748310] Key type dns_resolver registered [ 0.752778] Loading compiled-in X.509 certificates [ 0.766158] ti-sci 44083000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.6.3--v08.06.03 (Chill Capybar') [ 0.796895] omap_i2c 42120000.i2c: bus 0 rev0.12 at 100 kHz [ 0.803062] omap_i2c 40b00000.i2c: bus 1 rev0.12 at 100 kHz [ 0.809147] omap_i2c 40b10000.i2c: bus 2 rev0.12 at 100 kHz [ 0.815513] pca953x 3-0021: supply vcc not found, using dummy regulator [ 0.822346] pca953x 3-0021: using no AI [ 0.846496] pca953x 3-0021: failed writing register [ 0.851540] pca953x: probe of 3-0021 failed with error -121 [ 0.857385] pca953x 3-0020: supply vcc not found, using dummy regulator [ 0.864185] pca953x 3-0020: using no AI [ 0.868158] pca953x 3-0020: failed writing register [ 0.873185] pca953x: probe of 3-0020 failed with error -121 [ 0.879012] pca953x 3-0022: supply vcc not found, using dummy regulator [ 0.885811] pca953x 3-0022: using AI [ 0.889511] pca953x 3-0022: failed writing register [ 0.894532] pca953x: probe of 3-0022 failed with error -121 [ 0.900268] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz [ 0.906604] pca953x 4-0020: supply vcc not found, using dummy regulator [ 0.913421] pca953x 4-0020: using no AI [ 0.938510] pca953x 4-0020: failed writing register [ 0.943544] pca953x: probe of 4-0020 failed with error -121 [ 0.949285] omap_i2c 2040000.i2c: bus 4 rev0.12 at 400 kHz [ 0.955501] pca953x 5-0020: supply vcc not found, using dummy regulator [ 0.962337] pca953x 5-0020: using no AI [ 1.970480] i2c i2c-5: SCL is stuck low, exit recovery [ 1.975734] pca953x 5-0020: failed writing register [ 1.980771] pca953x: probe of 5-0020 failed with error -16 [ 1.986432] omap_i2c 2050000.i2c: bus 5 rev0.12 at 400 kHz [ 1.992878] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 125 domain created [ 2.001440] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 148 domain created [ 2.010779] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 227 domain created [ 2.019392] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 265 created [ 2.031987] ti-udma 311a0000.dma-controller: Number of rings: 48 [ 2.038793] ti-udma 311a0000.dma-controller: Channels: 24 (bchan: 0, tchan: 8, rchan: 16) [ 2.048018] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:272 [ 2.057901] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled [ 2.064661] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64 [ 2.073513] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[878,128] sci-dev-id:259 [ 2.083669] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled [ 2.090432] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64 [ 2.098122] omap8250 40a00000.serial: failed to get alias [ 2.104243] printk: console [ttyS2] disabled [ 2.108642] 2880000.serial: ttyS2 at MMIO 0x2880000 (irq = 20, base_baud = 3000000) is a 8250 [ 2.117390] printk: console [ttyS2] enabled [ 2.125828] printk: bootconsole [ns16550a0] disabled [ 2.137032] cadence-qspi 47040000.spi: error -ENODEV: No Rx DMA available [ 2.144017] spi-nor spi0.0: unrecognized JEDEC id bytes: 80 00 00 00 00 00 [ 2.150887] spi-nor: probe of spi0.0 failed with error -2 [ 2.159511] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode [ 2.202453] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [ 2.210416] get_phy_c22_id:phy_reg2 == [65535],phy_id2==[0xFFFF] [ 2.216547] get_phy_c22_id:ireg0 ==[0x0000] [ 2.220889] get_phy_c22_id:ireg1 ==[0xFFFF] [ 2.225197] get_phy_c22_id:ireg2 ==[0x0000] [ 2.229537] get_phy_c22_id:ireg3 ==[0xFFFF] [ 2.233845] get_phy_c22_id:ireg4 ==[0x0000] [ 2.238186] get_phy_c22_id:ireg5 ==[0xFFFF] [ 2.242498] get_phy_c22_id:ireg6 ==[0x0000] [ 2.246838] get_phy_c22_id:ireg7 ==[0xFFFF] [ 2.251147] get_phy_c22_id:ireg8 ==[0x0000] [ 2.255487] get_phy_c22_id:ireg9 ==[0xFFFF] [ 2.259796] get_phy_c22_id:ireg10 ==[0x0000] [ 2.264226] get_phy_c22_id:ireg11 ==[0xFFFF] [ 2.268621] get_phy_c22_id:ireg12 ==[0x0000] [ 2.273049] get_phy_c22_id:ireg13 ==[0xFFFF] [ 2.277443] get_phy_c22_id:ireg14 ==[0x0000] [ 2.281871] get_phy_c22_id:ireg15 ==[0xFFFF] [ 2.286266] get_phy_c22_id:ireg16 ==[0x0000] [ 2.290694] get_phy_c22_id:ireg17 ==[0xFFFF] [ 2.295088] get_phy_c22_id:ireg18 ==[0x0000] [ 2.299516] get_phy_c22_id:ireg19 ==[0xFFFF] [ 2.303910] get_phy_c22_id:ireg20 ==[0x0000] [ 2.308338] get_phy_c22_id:ireg21 ==[0xFFFF] [ 2.312732] get_phy_c22_id:ireg22 ==[0x0000] [ 2.317160] get_phy_c22_id:ireg23 ==[0xFFFF] [ 2.321555] get_phy_c22_id:ireg24 ==[0x0000] [ 2.325984] get_phy_c22_id:ireg25 ==[0xFFFF] [ 2.330379] get_phy_c22_id:ireg26 ==[0x0000] [ 2.334808] get_phy_c22_id:ireg27 ==[0xFFFF] [ 2.339202] get_phy_c22_id:ireg28 ==[0x0000] [ 2.343630] get_phy_c22_id:ireg29 ==[0xFFFF] [ 2.348025] get_phy_c22_id:ireg30 ==[0x0000] [ 2.352453] get_phy_c22_id:ireg31 ==[0xFFFF] [ 2.357083] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver unknown [ 2.365130] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000 [ 2.377891] am65-cpsw-nuss 46000000.ethernet: No Ext. port are available [ 2.385472] davinci_mdio c200f00.mdio: Configuring MDIO in manual mode [ 2.430454] davinci_mdio c200f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [ 2.438287] get_phy_c22_id:phy_reg2 == [3537],phy_id2==[0x1410DD1] [ 2.444587] get_phy_c22_id:ireg0 ==[0x1140] [ 2.448892] get_phy_c22_id:ireg1 ==[0x7969] [ 2.453200] get_phy_c22_id:ireg2 ==[0x0141] [ 2.457505] get_phy_c22_id:ireg3 ==[0x0DD1] [ 2.461810] get_phy_c22_id:ireg4 ==[0x01E1] [ 2.466116] get_phy_c22_id:ireg5 ==[0x45E1] [ 2.470421] get_phy_c22_id:ireg6 ==[0x0007] [ 2.474727] get_phy_c22_id:ireg7 ==[0x2801] [ 2.479032] get_phy_c22_id:ireg8 ==[0x0000] [ 2.483336] get_phy_c22_id:ireg9 ==[0x0300] [ 2.487643] get_phy_c22_id:ireg10 ==[0x4000] [ 2.492037] get_phy_c22_id:ireg11 ==[0x0000] [ 2.496429] get_phy_c22_id:ireg12 ==[0x0000] [ 2.500821] get_phy_c22_id:ireg13 ==[0x0003] [ 2.505213] get_phy_c22_id:ireg14 ==[0x0000] [ 2.509605] get_phy_c22_id:ireg15 ==[0x3000] [ 2.513997] get_phy_c22_id:ireg16 ==[0x3060] [ 2.518388] get_phy_c22_id:ireg17 ==[0x7C08] [ 2.522781] get_phy_c22_id:ireg18 ==[0x0000] [ 2.527173] get_phy_c22_id:ireg19 ==[0x1C40] [ 2.531565] get_phy_c22_id:ireg20 ==[0x0020] [ 2.535957] get_phy_c22_id:ireg21 ==[0x0000] [ 2.540348] get_phy_c22_id:ireg22 ==[0x0000] [ 2.544740] get_phy_c22_id:ireg23 ==[0x0000] [ 2.549132] get_phy_c22_id:ireg24 ==[0x0000] [ 2.553526] get_phy_c22_id:ireg25 ==[0x0000] [ 2.557918] get_phy_c22_id:ireg26 ==[0x0040] [ 2.562310] get_phy_c22_id:ireg27 ==[0x0000] [ 2.566702] get_phy_c22_id:ireg28 ==[0x0000] [ 2.571094] get_phy_c22_id:ireg29 ==[0x0000] [ 2.575486] get_phy_c22_id:ireg30 ==[0x0000] [ 2.579877] get_phy_c22_id:ireg31 ==[0x0000] [ 2.584566] hwmon hwmon0: temp1_input not attached to any thermal zone [ 2.591113] davinci_mdio c200f00.mdio: phy[0]: device c200f00.mdio:00, driver Marvell 88E1510 [ 2.599666] am65-cpsw-nuss c200000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000 [ 2.612428] am65-cpsw-nuss c200000.ethernet: Use random MAC address [ 2.618687] am65-cpsw-nuss c200000.ethernet: initialized cpsw ale version 1.4 [ 2.625804] am65-cpsw-nuss c200000.ethernet: ALE Table size 64 [ 2.632006] am65-cpsw-nuss c200000.ethernet: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0 [ 2.642356] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010c, freq:200000000, add_val:4 pps:0 [ 2.752190] mmc0: CQHCI version 5.10 [ 2.754857] mmc1: CQHCI version 5.10 [ 2.763239] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fca100 [ 2.770086] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fca100 [ 2.776893] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fca100 [ 2.783701] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fca100 [ 2.790838] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8) [ 2.793068] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit [ 2.800854] ti-udma 31150000.dma-controller: Channels: 60 (tchan: 30, rchan: 30, gp-rflow: 16) [ 2.806857] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit [ 2.817585] davinci_mdio c200f00.mdio: Configuring MDIO in manual mode [ 2.864147] mmc1: new high speed SDHC card at address aaaa [ 2.866454] davinci_mdio c200f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [ 2.870010] mmcblk1: mmc1:aaaa SD32G 29.7 GiB [ 2.877490] get_phy_c22_id:phy_reg2 == [3537],phy_id2==[0x1410DD1] [ 2.887855] mmcblk1: p1 p2 [ 2.887996] get_phy_c22_id:ireg0 ==[0x1140] [ 2.894956] get_phy_c22_id:ireg1 ==[0x796D] [ 2.899274] get_phy_c22_id:ireg2 ==[0x0141] [ 2.903591] get_phy_c22_id:ireg3 ==[0x0DD1] [ 2.907914] get_phy_c22_id:ireg4 ==[0x01E1] [ 2.912228] get_phy_c22_id:ireg5 ==[0x45E1] [ 2.916546] get_phy_c22_id:ireg6 ==[0x0005] [ 2.920856] get_phy_c22_id:ireg7 ==[0x2801] [ 2.925162] get_phy_c22_id:ireg8 ==[0x0000] [ 2.929497] get_phy_c22_id:ireg9 ==[0x0300] [ 2.933822] get_phy_c22_id:ireg10 ==[0x4000] [ 2.938224] get_phy_c22_id:ireg11 ==[0x0000] [ 2.942624] get_phy_c22_id:ireg12 ==[0x0000] [ 2.947023] get_phy_c22_id:ireg13 ==[0x0003] [ 2.951432] get_phy_c22_id:ireg14 ==[0x0000] [ 2.955874] get_phy_c22_id:ireg15 ==[0x3000] [ 2.960343] get_phy_c22_id:ireg16 ==[0x3060] [ 2.964738] get_phy_c22_id:ireg17 ==[0x6C08] [ 2.969133] get_phy_c22_id:ireg18 ==[0x0000] [ 2.973525] get_phy_c22_id:ireg19 ==[0x0000] [ 2.977916] get_phy_c22_id:ireg20 ==[0x0020] [ 2.982307] get_phy_c22_id:ireg21 ==[0x0000] [ 2.986700] get_phy_c22_id:ireg22 ==[0x0000] [ 2.991092] get_phy_c22_id:ireg23 ==[0x0000] [ 2.995483] get_phy_c22_id:ireg24 ==[0x0000] [ 2.999875] get_phy_c22_id:ireg25 ==[0x0000] [ 3.004267] get_phy_c22_id:ireg26 ==[0x0040] [ 3.008659] get_phy_c22_id:ireg27 ==[0x0000] [ 3.013050] get_phy_c22_id:ireg28 ==[0x0000] [ 3.017442] get_phy_c22_id:ireg29 ==[0x0000] [ 3.021833] get_phy_c22_id:ireg30 ==[0x0000] [ 3.026224] get_phy_c22_id:ireg31 ==[0x0000] [ 3.030685] mmc0: Command Queue Engine enabled [ 3.031073] hwmon hwmon0: temp1_input not attached to any thermal zone [ 3.035145] mmc0: new high speed MMC card at address 0001 [ 3.035432] mmcblk0: mmc0:0001 8GUF4R 7.28 GiB [ 3.041721] davinci_mdio c200f00.mdio: phy[0]: device c200f00.mdio:00, driver Marvell 88E1510 [ 3.047138] mmcblk0boot0: mmc0:0001 8GUF4R partition 1 31.9 MiB [ 3.051649] am65-cpsw-nuss c200000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000 [ 3.060162] mmcblk0boot1: mmc0:0001 8GUF4R partition 2 31.9 MiB [ 3.066151] am65-cpsw-nuss c200000.ethernet: Use random MAC address [ 3.078758] mmcblk0rpmb: mmc0:0001 8GUF4R partition 3 4.00 MiB, chardev (237:0) [ 3.084594] am65-cpsw-nuss c200000.ethernet: initialized cpsw ale version 1.4 [ 3.098183] mmcblk0: p1 p2 [ 3.105305] am65-cpsw-nuss c200000.ethernet: ALE Table size 64 [ 3.114328] am65-cpsw-nuss c200000.ethernet: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0 [ 3.124350] am65-cpsw-nuss c200000.ethernet: set new flow-id-base 82 [ 3.133755] debugfs: Directory 'pd:39' with parent 'pm_genpd' already present! [ 3.141049] debugfs: Directory 'pd:38' with parent 'pm_genpd' already present! [ 3.148763] debugfs: Directory 'pd:276' with parent 'pm_genpd' already present! [ 3.156610] debugfs: Directory 'pd:154' with parent 'pm_genpd' already present! [ 3.167998] ALSA device list: [ 3.170982] No soundcards found. [ 3.221717] EXT4-fs (mmcblk1p2): recovery complete [ 3.227397] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null) [ 3.235513] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 3.248397] devtmpfs: mounted [ 3.252192] Freeing unused kernel memory: 1856K [ 3.256839] Run /sbin/init as init process [ 3.260938] with arguments: [ 3.260940] /sbin/init [ 3.260942] with environment: [ 3.260944] HOME=/ [ 3.260946] TERM=linux [ 3.560854] systemd[1]: System time before build time, advancing clock. [ 3.647625] NET: Registered protocol family 10 [ 3.652635] Segment Routing with IPv6 [ 3.697338] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid) [ 3.719097] systemd[1]: Detected architecture arm64. [ 3.759090] systemd[1]: Set hostname to <j721s2-evm>. [ 3.966252] systemd[1]: /lib/systemd/system/irqbalanced.service:6: Unknown key name 'ConditionCPUs' in section 'Unit', ignoring. [ 3.989164] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock \xe2\x86\x92 /run/docker.sock; please update the unit file accordingly. [ 4.059946] random: systemd: uninitialized urandom read (16 bytes read) [ 4.068398] systemd[1]: Created slice system-getty.slice. [ 4.090557] random: systemd: uninitialized urandom read (16 bytes read) [ 4.098020] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 4.118535] random: systemd: uninitialized urandom read (16 bytes read) [ 4.125832] systemd[1]: Created slice User and Session Slice. [ 4.146677] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 4.170622] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 4.194596] systemd[1]: Reached target Paths. [ 4.210527] systemd[1]: Reached target Remote File Systems. [ 4.230506] systemd[1]: Reached target Slices. [ 4.246517] systemd[1]: Reached target Swap. [ 4.277576] systemd[1]: Listening on RPCbind Server Activation Socket. [ 4.298605] systemd[1]: Reached target RPC Port Mapper. [ 4.321020] systemd[1]: Listening on Process Core Dump Socket. [ 4.342686] systemd[1]: Listening on initctl Compatibility Named Pipe. [ 4.368336] systemd[1]: Condition check resulted in Journal Audit Socket being skipped. [ 4.376732] systemd[1]: Listening on Journal Socket (/dev/log). [ 4.398836] systemd[1]: Listening on Journal Socket. [ 4.414843] systemd[1]: Listening on Network Service Netlink Socket. [ 4.438743] systemd[1]: Listening on udev Control Socket. [ 4.458668] systemd[1]: Listening on udev Kernel Socket. [ 4.481014] systemd[1]: Mounting Huge Pages File System... [ 4.501036] systemd[1]: Mounting POSIX Message Queue File System... [ 4.525109] systemd[1]: Mounting Kernel Debug File System... [ 4.553819] systemd[1]: Mounting Temporary Directory (/tmp)... [ 4.573273] systemd[1]: Starting Create list of static device nodes for the current kernel... [ 4.609472] systemd[1]: Starting Start psplash boot splash screen... [ 4.633210] systemd[1]: Starting RPC Bind... [ 4.646676] systemd[1]: Condition check resulted in File System Check on Root Device being skipped. [ 4.659181] systemd[1]: Starting Journal Service... [ 4.679933] systemd[1]: Starting Load Kernel Modules... [ 4.697500] systemd[1]: Starting Remount Root and Kernel File Systems... [ 4.714988] cryptodev: loading out-of-tree module taints kernel. [ 4.725792] systemd[1]: Starting udev Coldplug all Devices... [ 4.726686] cryptodev: driver 1.10 loaded. [ 4.738579] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null) [ 4.765651] systemd[1]: Started RPC Bind. [ 4.782986] systemd[1]: Started Journal Service. [ 5.009480] systemd-journald[177]: Received client request to flush runtime journal. [ 5.139163] random: systemd: uninitialized urandom read (16 bytes read) [ 5.162571] random: systemd: uninitialized urandom read (16 bytes read) [ 5.173475] random: systemd-journal: uninitialized urandom read (16 bytes read) [ 5.647332] random: crng init done [ 5.650901] random: 66 urandom warning(s) missed due to ratelimiting [ 5.899069] [drm:ti_sn_bridge_probe [ti_sn65dsi86]] *ERROR* could not find any panel node [ 5.911937] [drm:ti_sn_bridge_probe [ti_sn65dsi86]] *ERROR* could not find any panel node [ 5.960012] [drm:ti_sn_bridge_probe [ti_sn65dsi86]] *ERROR* could not find any panel node [ 5.977354] CAN device driver interface [ 5.985443] PVR_K: 207: Read BVNC 36.53.104.796 from HW device registers [ 5.992806] PVR_K: 207: RGX Device registered BVNC 36.53.104.796 with 1 core in the system [ 6.004261] [drm] Initialized pvr 1.15.6133109 20170530 for 4e20000000.gpu on minor 0 [ 6.015306] [drm:ti_sn_bridge_probe [ti_sn65dsi86]] *ERROR* could not find any panel node [ 6.027959] [drm:ti_sn_bridge_probe [ti_sn65dsi86]] *ERROR* could not find any panel node [ 6.038672] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a6000000 [ 6.055041] k3-dsp-rproc 64800000.dsp: configured DSP for remoteproc mode [ 6.061979] remoteproc remoteproc0: 64800000.dsp is available [ 6.073136] [drm:ti_sn_bridge_probe [ti_sn65dsi86]] *ERROR* could not find any panel node [ 6.085489] k3-dsp-rproc 65800000.dsp: assigned reserved memory node c71-dma-memory@a7000000 [ 6.100168] k3-dsp-rproc 65800000.dsp: configured DSP for remoteproc mode [ 6.137397] remoteproc remoteproc1: 65800000.dsp is available [ 6.146622] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1) [ 6.173559] [drm:ti_sn_bridge_probe [ti_sn65dsi86]] *ERROR* could not find any panel node [ 6.185364] platform 41000000.r5f: configured R5F for IPC-only mode [ 6.193497] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000 [ 6.206364] remoteproc remoteproc2: 41000000.r5f is available [ 6.213938] remoteproc remoteproc2: attaching to 41000000.r5f [ 6.221728] platform 41000000.r5f: R5F core initialized in IPC-only mode [ 6.231276] remoteproc2#vdev0buffer: assigned reserved memory node r5f-dma-memory@a0000000 [ 6.241409] virtio_rpmsg_bus virtio0: rpmsg host is online [ 6.250155] remoteproc2#vdev0buffer: registered virtio0 (type 7) [ 6.256718] [drm:ti_sn_bridge_probe [ti_sn65dsi86]] *ERROR* could not find any panel node [ 6.267322] remoteproc remoteproc2: remote processor 41000000.r5f is now attached [ 6.275018] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd [ 6.282673] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe [ 6.289609] [drm:ti_sn_bridge_probe [ti_sn65dsi86]] *ERROR* could not find any panel node [ 6.305076] [drm:ti_sn_bridge_probe [ti_sn65dsi86]] *ERROR* could not find any panel node [ 6.320906] platform 5c00000.r5f: configured R5F for remoteproc mode [ 6.329183] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000 [ 6.340876] remoteproc remoteproc3: 5c00000.r5f is available [ 6.348033] platform 5d00000.r5f: configured R5F for remoteproc mode [ 6.355943] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000 [ 6.365102] [drm:ti_sn_bridge_probe [ti_sn65dsi86]] *ERROR* could not find any panel node [ 6.376893] remoteproc remoteproc4: 5d00000.r5f is available [ 6.383273] m_can_platform 26a1000.can: m_can device registered (irq=29, version=32) [ 6.394863] platform 5e00000.r5f: configured R5F for remoteproc mode [ 6.395349] [drm:ti_sn_bridge_probe [ti_sn65dsi86]] *ERROR* could not find any panel node [ 6.457003] remoteproc remoteproc3: powering up 5c00000.r5f [ 6.462624] remoteproc remoteproc3: Booting fw image j721s2-main-r5f0_0-fw, size 924808 [ 6.468463] remoteproc remoteproc4: powering up 5d00000.r5f [ 6.472980] platform 5e00000.r5f: assigned reserved memory node r5f-dma-memory@a4000000 [ 6.478472] remoteproc remoteproc4: Booting fw image j721s2-main-r5f0_1-fw, size 306060 [ 6.487307] remoteproc remoteproc5: 5e00000.r5f is available [ 6.498324] remoteproc remoteproc4: bad phdr da 0xa4100000 mem 0x8c [ 6.500100] remoteproc remoteproc3: bad phdr da 0xa2f9c000 mem 0x13c000 [ 6.506469] remoteproc remoteproc4: Failed to load program segments: -22 [ 6.514845] remoteproc remoteproc3: Failed to load program segments: -22 [ 6.530431] remoteproc remoteproc5: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -2 [ 6.545741] platform 5f00000.r5f: configured R5F for remoteproc mode [ 6.552158] remoteproc remoteproc5: powering up 5e00000.r5f [ 6.558508] remoteproc remoteproc5: Direct firmware load for j721s2-main-r5f1_0-fw failed with error -2 [ 6.565460] remoteproc remoteproc0: powering up 64800000.dsp [ 6.573578] remoteproc remoteproc0: Booting fw image j721s2-c71_0-fw, size 14815296 [ 6.578524] remoteproc remoteproc5: request_firmware failed: -2 [ 6.586519] remoteproc remoteproc0: unsupported resource 65538 [ 6.593642] remoteproc remoteproc0: bad phdr da 0xb0100000 mem 0x98 [ 6.599977] remoteproc remoteproc0: Failed to load program segments: -22 [ 6.618165] platform 5f00000.r5f: assigned reserved memory node r5f-dma-memory@a5000000 [ 6.636043] remoteproc remoteproc1: powering up 65800000.dsp [ 6.637317] remoteproc remoteproc6: 5f00000.r5f is available [ 6.641821] remoteproc remoteproc1: Booting fw image j721s2-c71_1-fw, size 9760696 [ 6.648569] remoteproc remoteproc6: Direct firmware load for j721s2-main-r5f1_1-fw failed with error -2 [ 6.664444] remoteproc remoteproc1: unsupported resource 65538 [ 6.670319] remoteproc remoteproc1: bad phdr da 0xb6100000 mem 0x98 [ 6.673742] remoteproc remoteproc6: powering up 5f00000.r5f [ 6.676620] remoteproc remoteproc1: Failed to load program segments: -22 [ 6.678378] [drm:ti_sn_bridge_probe [ti_sn65dsi86]] *ERROR* could not find any panel node [ 6.687742] remoteproc remoteproc6: Direct firmware load for j721s2-main-r5f1_1-fw failed with error -2 [ 6.726713] remoteproc remoteproc6: request_firmware failed: -2 [ 7.473754] usbcore: registered new interface driver usbfs [ 7.489555] usbcore: registered new interface driver hub [ 7.500992] cdns-csi2rx: probe of 4504000.csi-bridge failed with error -22 [ 7.514141] [drm:ti_sn_bridge_probe [ti_sn65dsi86]] *ERROR* could not find any panel node [ 7.535842] usbcore: registered new device driver usb [ 7.546816] cdns-csi2rx: probe of 4514000.csi-bridge failed with error -22 [ 7.671466] [drm:ti_sn_bridge_probe [ti_sn65dsi86]] *ERROR* could not find any panel node [ 7.713134] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 7.718744] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 [ 7.727552] xhci-hcd xhci-hcd.0.auto: hcc params 0x200073c9 hci version 0x100 quirks 0x0000002000010010 [ 7.737018] xhci-hcd xhci-hcd.0.auto: irq 495, io mem 0x06010000 [ 7.743283] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 7.751553] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 7.758866] usb usb1: Product: xHCI Host Controller [ 7.763781] usb usb1: Manufacturer: Linux 5.10.162-g76b3e88d56 xhci-hcd [ 7.770401] usb usb1: SerialNumber: xhci-hcd.0.auto [ 7.775632] hub 1-0:1.0: USB hub found [ 7.779491] hub 1-0:1.0: 1 port detected [ 7.784171] [drm:ti_sn_bridge_probe [ti_sn65dsi86]] *ERROR* could not find any panel node [ 7.786945] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller [ 7.793791] [drm:ti_sn_bridge_probe [ti_sn65dsi86]] *ERROR* could not find any panel node [ 7.798273] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 [ 7.813794] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed [ 7.824943] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 7.838808] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 [ 7.847972] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 7.855239] usb usb2: Product: xHCI Host Controller [ 7.860469] usb usb2: Manufacturer: Linux 5.10.162-g76b3e88d56 xhci-hcd [ 7.867160] usb usb2: SerialNumber: xhci-hcd.0.auto [ 7.872812] hub 2-0:1.0: USB hub found [ 7.878760] hub 2-0:1.0: 1 port detected [ 7.884817] [drm:ti_sn_bridge_probe [ti_sn65dsi86]] *ERROR* could not find any panel node [ 7.896734] [drm:ti_sn_bridge_probe [ti_sn65dsi86]] *ERROR* could not find any panel node [ 8.819609] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 8.845100] Bluetooth: Core ver 2.22 [ 8.854593] NET: Registered protocol family 31 [ 8.859069] Bluetooth: HCI device and connection manager initialized [ 8.870498] Bluetooth: HCI socket layer initialized [ 8.876505] Bluetooth: L2CAP socket layer initialized [ 8.881790] Bluetooth: SCO socket layer initialized [ 9.025987] am65-cpsw-nuss c200000.ethernet eth0: PHY [c200f00.mdio:00] driver [Marvell 88E1510] (irq=POLL) [ 9.050338] am65-cpsw-nuss c200000.ethernet eth0: configuring for phy/rgmii-rxid link mode [ 11.207730] am65-cpsw-nuss c200000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 11.221470] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 12.396905] PVR_K: 914: RGX Firmware image 'rgx.fw.36.53.104.796' loaded [ 12.441743] PVR_K: 914: Shader binary image 'rgx.sh.36.53.104.796' loaded [ 13.793151] PVR_K:(Error): 7: RGXSafetyEventHandler: Safety Watchdog Trigger ! [358] [ 33.862478] tlv71033: disabling [ 131.059008] Initializing XFRM netlink socket [ 133.568996] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 133.585798] Bridge firewalling registered [ 134.329166] process 'docker/tmp/qemu-check530036677/check' started with executable stack root@j721s2-evm:~#
Regs of the phy is as follows:
[ 2.442275] get_phy_c22_id:phy_reg == [3537],phy_id==[0x1410DD1] [ 2.448578] get_phy_c22_id:ireg0 ==[0x1140] [ 2.452883] get_phy_c22_id:ireg1 ==[0x7969] [ 2.457189] get_phy_c22_id:ireg2 ==[0x0141] [ 2.461494] get_phy_c22_id:ireg3 ==[0x0DD1] [ 2.465798] get_phy_c22_id:ireg4 ==[0x01E1] [ 2.470102] get_phy_c22_id:ireg5 ==[0x45E1] [ 2.474407] get_phy_c22_id:ireg6 ==[0x0007] [ 2.478711] get_phy_c22_id:ireg7 ==[0x2801] [ 2.483016] get_phy_c22_id:ireg8 ==[0x0000] [ 2.487320] get_phy_c22_id:ireg9 ==[0x0300] [ 2.491625] get_phy_c22_id:ireg10 ==[0x4000] [ 2.496017] get_phy_c22_id:ireg11 ==[0x0000] [ 2.500408] get_phy_c22_id:ireg12 ==[0x0000] [ 2.504799] get_phy_c22_id:ireg13 ==[0x0003] [ 2.509191] get_phy_c22_id:ireg14 ==[0x0000] [ 2.513582] get_phy_c22_id:ireg15 ==[0x3000] [ 2.517974] get_phy_c22_id:ireg16 ==[0x3060] [ 2.522365] get_phy_c22_id:ireg17 ==[0x7C08] [ 2.526756] get_phy_c22_id:ireg18 ==[0x0000] [ 2.531146] get_phy_c22_id:ireg19 ==[0x1C00] [ 2.535537] get_phy_c22_id:ireg20 ==[0x0020] [ 2.539928] get_phy_c22_id:ireg21 ==[0x0000] [ 2.544320] get_phy_c22_id:ireg22 ==[0x0000] [ 2.548711] get_phy_c22_id:ireg23 ==[0x0000] [ 2.553102] get_phy_c22_id:ireg24 ==[0x0000] [ 2.557494] get_phy_c22_id:ireg25 ==[0x0000] [ 2.561886] get_phy_c22_id:ireg26 ==[0x0040] [ 2.566276] get_phy_c22_id:ireg27 ==[0x0000] [ 2.570668] get_phy_c22_id:ireg28 ==[0x0000] [ 2.575059] get_phy_c22_id:ireg29 ==[0x0000] [ 2.579450] get_phy_c22_id:ireg30 ==[0x0000] [ 2.583840] get_phy_c22_id:ireg31 ==[0x0000]
ethtools -S is as follows:
root@j721s2-evm:~# ethtool -S eth0 NIC statistics: p0_rx_good_frames: 69 p0_rx_broadcast_frames: 43 p0_rx_multicast_frames: 26 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: 17574 p0_tx_good_frames: 0 p0_tx_broadcast_frames: 0 p0_tx_multicast_frames: 0 p0_tx_octets: 0 p0_tx_64B_frames: 0 p0_tx_65_to_127B_frames: 19 p0_tx_128_to_255B_frames: 7 p0_tx_256_to_511B_frames: 43 p0_tx_512_to_1023B_frames: 0 p0_tx_1024B_frames: 0 p0_net_octets: 17574 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: 240 rx_broadcast_frames: 0 rx_multicast_frames: 240 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: 240 ale_overrun_drop: 0 rx_octets: 84096 tx_good_frames: 69 tx_broadcast_frames: 43 tx_multicast_frames: 26 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: 17574 tx_64B_frames: 0 tx_65_to_127B_frames: 19 tx_128_to_255B_frames: 7 tx_256_to_511B_frames: 283 tx_512_to_1023B_frames: 0 tx_1024B_frames: 0 net_octets: 101670 rx_bottom_fifo_drop: 0 rx_port_mask_drop: 240 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: 240 ale_unknown_mcast_bytes: 84096 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: 69 tx_pri1: 0 tx_pri2: 0 tx_pri3: 0 tx_pri4: 0 tx_pri5: 0 tx_pri6: 0 tx_pri7: 0 tx_pri0_bcnt: 17574 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@j721s2-evm:~# root@j721s2-evm:~# root@j721s2-evm:~# root@j721s2-evm:~# ping^C root@j721s2-evm:~# ifconfig eth0 192.168.2.100 root@j721s2-evm:~# route add default gw 192.168.2.1 root@j721s2-evm:~# ping 192.168.2.1 PING 192.168.2.1 (192.168.2.1): 56 data bytes ^C --- 192.168.2.1 ping statistics --- 10 packets transmitted, 0 packets received, 100% packet loss root@j721s2-evm:~# root@j721s2-evm:~# ethtool -S eth0 NIC statistics: p0_rx_good_frames: 98 p0_rx_broadcast_frames: 61 p0_rx_multicast_frames: 37 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: 20848 p0_tx_good_frames: 0 p0_tx_broadcast_frames: 0 p0_tx_multicast_frames: 0 p0_tx_octets: 0 p0_tx_64B_frames: 17 p0_tx_65_to_127B_frames: 24 p0_tx_128_to_255B_frames: 10 p0_tx_256_to_511B_frames: 47 p0_tx_512_to_1023B_frames: 0 p0_tx_1024B_frames: 0 p0_net_octets: 20848 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: 240 rx_broadcast_frames: 0 rx_multicast_frames: 240 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: 240 ale_overrun_drop: 0 rx_octets: 84096 tx_good_frames: 98 tx_broadcast_frames: 61 tx_multicast_frames: 37 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: 20848 tx_64B_frames: 17 tx_65_to_127B_frames: 24 tx_128_to_255B_frames: 10 tx_256_to_511B_frames: 287 tx_512_to_1023B_frames: 0 tx_1024B_frames: 0 net_octets: 104944 rx_bottom_fifo_drop: 0 rx_port_mask_drop: 240 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: 240 ale_unknown_mcast_bytes: 84096 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: 98 tx_pri1: 0 tx_pri2: 0 tx_pri3: 0 tx_pri4: 0 tx_pri5: 0 tx_pri6: 0 tx_pri7: 0 tx_pri0_bcnt: 20848 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
Configure phy from 1000M to 100M speed,enter the following command:
devmem2 0x00683030 w 0x00000068
devmem2 0x00683034 w 0x002AAAAB
devmem2 0x00683080 w 0x00008007
TX output becomes 25M,and the ping is ok!
root@j721s2-evm:~# root@j721s2-evm:~# root@j721s2-evm:~# devmem2 0x00683030 w 0x00000068 /dev/mem opened. Memory mapped at address 0xffff8aa73000. Read at address 0x00683030 (0xffff8aa73030): 0x00000029 Write at address 0x00683030 (0xffff8aa73030): 0x00000068, readback 0x00000068 root@j721s2-evm:~# devmem2 0x00683034 w 0x002AAAAB /dev/mem opened. Memory mapped at address 0xffff8d59f000. Read at address 0x00683034 (0xffff8d59f034): 0x00AAAAAB Write at address 0x00683034 (0xffff8d59f034): 0x002AAAAB, readback 0x002AAAAB root@j721s2-evm:~# devmem2 0x00683080 w 0x00008007 /dev/mem opened. Memory mapped at address 0xffff8e78e000. Read at address 0x00683080 (0xffff8e78e080): 0x00008007 Write at address 0x00683080 (0xffff8e78e080): 0x00008007, readback 0x00008007 root@j721s2-evm:~# root@j721s2-evm:~# root@j721s2-evm:~# ping 192.168.2.1 PING 192.168.2.1 (192.168.2.1): 56 data bytes 64 bytes from 192.168.2.1: seq=0 ttl=64 time=0.621 ms 64 bytes from 192.168.2.1: seq=1 ttl=64 time=0.495 ms 64 bytes from 192.168.2.1: seq=2 ttl=64 time=0.529 ms 64 bytes from 192.168.2.1: seq=3 ttl=64 time=0.492 ms 64 bytes from 192.168.2.1: seq=4 ttl=64 time=0.501 ms 64 bytes from 192.168.2.1: seq=5 ttl=64 time=0.425 ms 64 bytes from 192.168.2.1: seq=6 ttl=64 time=0.484 ms 64 bytes from 192.168.2.1: seq=7 ttl=64 time=0.506 ms 64 bytes from 192.168.2.1: seq=8 ttl=64 time=0.452 ms ^C --- 192.168.2.1 ping statistics --- 9 packets transmitted, 9 packets received, 0% packet loss round-trip min/avg/max = 0.425/0.500/0.621 ms root@j721s2-evm:~# root@j721s2-evm:~# ethtool -S eth0 NIC statistics: p0_rx_good_frames: 402 p0_rx_broadcast_frames: 335 p0_rx_multicast_frames: 37 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: 42336 p0_tx_good_frames: 11 p0_tx_broadcast_frames: 0 p0_tx_multicast_frames: 0 p0_tx_octets: 1046 p0_tx_64B_frames: 289 p0_tx_65_to_127B_frames: 62 p0_tx_128_to_255B_frames: 10 p0_tx_256_to_511B_frames: 52 p0_tx_512_to_1023B_frames: 0 p0_tx_1024B_frames: 0 p0_net_octets: 43382 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: 281 rx_broadcast_frames: 0 rx_multicast_frames: 270 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: 270 ale_overrun_drop: 0 rx_octets: 95654 tx_good_frames: 402 tx_broadcast_frames: 335 tx_multicast_frames: 37 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: 42336 tx_64B_frames: 289 tx_65_to_127B_frames: 62 tx_128_to_255B_frames: 10 tx_256_to_511B_frames: 322 tx_512_to_1023B_frames: 0 tx_1024B_frames: 0 net_octets: 137990 rx_bottom_fifo_drop: 0 rx_port_mask_drop: 270 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: 11 ale_unknown_ucast_bytes: 1046 ale_unknown_mcast: 270 ale_unknown_mcast_bytes: 94608 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: 402 tx_pri1: 0 tx_pri2: 0 tx_pri3: 0 tx_pri4: 0 tx_pri5: 0 tx_pri6: 0 tx_pri7: 0 tx_pri0_bcnt: 42336 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@j721s2-evm:~#
But speed 10M and 1000M and automatic negotiation mode still can't pinged,now output clk is as follows:
10M speed:25MHz,
100M speed:25MHz,
1000M speed:125MHz.
How to adjust the clk so that the RGMII output the correct clock like in the MCU domain to get the IP?
Could you help check this case? Thanks.
Hi Renf,
Sorry for the delay.
Is this issue still observed?
Regards,
Tanmay