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.

AM3351: ethernet-phy@0" not found on slave 0

Part Number: AM3351
Other Parts Discussed in Thread: SYSCONFIG

Hi, 

We are using am3351 Custom board and board is booting with SD card .

We are using Marvell (88e1512).what is the changes to be done in both hardware and software to Ethernet to work(ping IP address) .

i am attaching the text file during the booting the  board from SD card:

ethernet_txt.docx

Regards, 

mounika.

  • Hi,

    We do not have a direct guide on how to port the ethernet interfaces to a new board. The DTS files for the TI EVM can serve as a starting place or as an example.

    If you provide a portion of the schematic that shows the ethernet interface and the DTS file you are using we can provide some feedback. Did you use the sysconfig tool to define the pin mux?

    Best Regards,

    Schuyler

  • hi,

    i am using am335x-evm.dts file and i am attaching ethernet  portion of dts fie


    &mac_sw {
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&cpsw_default>;
        pinctrl-1 = <&cpsw_sleep>;
        slaves = <1>;
        status = "okay";
    };

    &davinci_mdio_sw {
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&davinci_mdio_default>;
        pinctrl-1 = <&davinci_mdio_sleep>;
        status = "okay";

        ethphy0: ethernet-phy@0 {
        compatible = "marvell,88e152";
            reg = <0>;
        };
    };

    &cpsw_port1 {
        phy-handle = <&ethphy0>;
        phy-mode = "rgmii-id";
        ti,dual-emac-pvid = <1>;
    };

    &cpsw_port2 {
         status = "disabled";
    };

    cpsw_default: cpsw_default {
            pinctrl-single,pins = <
                /* Slave 1 */
                AM33XX_PADCONF(AM335X_PIN_MII1_TX_EN, PIN_OUTPUT_PULLDOWN, MUX_MODE2)    /* mii1_txen.rgmii1_tctl */
                AM33XX_PADCONF(AM335X_PIN_MII1_RX_DV, PIN_INPUT_PULLDOWN, MUX_MODE2)    /* mii1_rxdv.rgmii1_rctl */
                AM33XX_PADCONF(AM335X_PIN_MII1_TXD3, PIN_OUTPUT_PULLDOWN, MUX_MODE2)    /* mii1_txd3.rgmii1_td3 */
                AM33XX_PADCONF(AM335X_PIN_MII1_TXD2, PIN_OUTPUT_PULLDOWN, MUX_MODE2)    /* mii1_txd2.rgmii1_td2 */
                AM33XX_PADCONF(AM335X_PIN_MII1_TXD1, PIN_OUTPUT_PULLDOWN, MUX_MODE2)    /* mii1_txd1.rgmii1_td1 */
                AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_OUTPUT_PULLDOWN, MUX_MODE2)    /* mii1_txd0.rgmii1_td0 */
                AM33XX_PADCONF(AM335X_PIN_MII1_TX_CLK, PIN_OUTPUT_PULLDOWN, MUX_MODE2)    /* mii1_txclk.rgmii1_tclk */
                AM33XX_PADCONF(AM335X_PIN_MII1_RX_CLK, PIN_INPUT_PULLDOWN, MUX_MODE2)    /* mii1_rxclk.rgmii1_rclk */
                AM33XX_PADCONF(AM335X_PIN_MII1_RXD3, PIN_INPUT_PULLDOWN, MUX_MODE2)    /* mii1_rxd3.rgmii1_rd3 */
                AM33XX_PADCONF(AM335X_PIN_MII1_RXD2, PIN_INPUT_PULLDOWN, MUX_MODE2)    /* mii1_rxd2.rgmii1_rd2 */
                AM33XX_PADCONF(AM335X_PIN_MII1_RXD1, PIN_INPUT_PULLDOWN, MUX_MODE2)    /* mii1_rxd1.rgmii1_rd1 */
                AM33XX_PADCONF(AM335X_PIN_MII1_RXD0, PIN_INPUT_PULLDOWN, MUX_MODE2)    /* mii1_rxd0.rgmii1_rd0 */
            >;
        };

        cpsw_sleep: cpsw_sleep {
            pinctrl-single,pins = <
                /* Slave 1 reset value */
                AM33XX_PADCONF(AM335X_PIN_MII1_TX_EN, PIN_INPUT_PULLDOWN, MUX_MODE7)
                AM33XX_PADCONF(AM335X_PIN_MII1_RX_DV, PIN_INPUT_PULLDOWN, MUX_MODE7)
                AM33XX_PADCONF(AM335X_PIN_MII1_TXD3, PIN_INPUT_PULLDOWN, MUX_MODE7)
                AM33XX_PADCONF(AM335X_PIN_MII1_TXD2, PIN_INPUT_PULLDOWN, MUX_MODE7)
                AM33XX_PADCONF(AM335X_PIN_MII1_TXD1, PIN_INPUT_PULLDOWN, MUX_MODE7)
                AM33XX_PADCONF(AM335X_PIN_MII1_TXD0, PIN_INPUT_PULLDOWN, MUX_MODE7)
                AM33XX_PADCONF(AM335X_PIN_MII1_TX_CLK, PIN_INPUT_PULLDOWN, MUX_MODE7)
                AM33XX_PADCONF(AM335X_PIN_MII1_RX_CLK, PIN_INPUT_PULLDOWN, MUX_MODE7)
                AM33XX_PADCONF(AM335X_PIN_MII1_RXD3, PIN_INPUT_PULLDOWN, MUX_MODE7)
                AM33XX_PADCONF(AM335X_PIN_MII1_RXD2, PIN_INPUT_PULLDOWN, MUX_MODE7)
                AM33XX_PADCONF(AM335X_PIN_MII1_RXD1, PIN_INPUT_PULLDOWN, MUX_MODE7)
                AM33XX_PADCONF(AM335X_PIN_MII1_RXD0, PIN_INPUT_PULLDOWN, MUX_MODE7)
            >;
        };

        davinci_mdio_default: davinci_mdio_default {
            pinctrl-single,pins = <
                /* MDIO */
                AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT_PULLUP | SLEWCTRL_FAST, MUX_MODE0)
                AM33XX_PADCONF(AM335X_PIN_MDC, PIN_OUTPUT_PULLUP, MUX_MODE0)
            >;
        };

        davinci_mdio_sleep: davinci_mdio_sleep {
            pinctrl-single,pins = <
                /* MDIO reset value */
                AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT_PULLDOWN, MUX_MODE7)
                AM33XX_PADCONF(AM335X_PIN_MDC, PIN_INPUT_PULLDOWN, MUX_MODE7)
            >;
        };


    };

    i am attaching schematic related to Ethernet:

    Regards,

    mounika

  • Hi,

    Thanks for the data. Since the PHY does not seem to be found the pin mux for the MDIO lines need to be verified. The pin registers are using macro defines. Are you using the TI pinctrl.h? Looking at the sysconfig tool I am able to see that the pin names are matching what the schematic has for interface ball numbers. 

    If we can match register address in the TRM for the mdio lines to the macro used in the DTS file that will determine if the MDIO pin mux correct.

    Best Regards,

    Schuyler

  • hi,

    i verified with macros pins are defined correctly

    Marvell 88E1510 is detecting at phy1 and phy0 (MDIO device at address 0 is missing) .we are using only one Ethernet phy .

    if we enable dual mac then only marvell phy is detecting at phyl even through

     it is not pingging

    [    5.143631] mdio_bus 4a101000.mdio: MDIO device at address 0 is missing.
    [    5.154068] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driv
    er Marvell 88E1510
    [    5.164619] cpsw-switch 4a100000.switch: initialized cpsw ale version 1.4
    [    5.171706] cpsw-switch 4a100000.switch: ALE Table size 1024
    [    5.177730] cpsw-switch 4a100000.switch: cpts: overflow check period 500 (jif
    fies)
    [    5.185379] cpsw-switch 4a100000.switch: CPTS: ref_clk_freq:250000000 calc_mu
    lt:2147483648 calc_shift:29 error:0 nsec/sec
    [    5.196624] cpsw-switch 4a100000.switch: Detected MACID = 34:03:de:66:55:6b
    [    5.203692] cpsw-switch 4a100000.switch: Detected MACID = 34:03:de:66:55:6d
    [    5.214450] cpsw-switch 4a100000.switch: initialized (regs 0x4a100000, pool s
    ize 256) hw_ver:0019010C 1.12 (0)

    U-Boot SPL 2021.01-00001-gc59bf25a38-dirty (Sep 21 2023 - 14:21:48 +0530)
    Trying to boot from MMC1
    
    
    U-Boot 2021.01-00001-gc59bf25a38-dirty (Sep 21 2023 - 14:21:48 +0530)
    
    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x EVM
    DRAM:  1 GiB
    WDT:   Started with servicing (60s timeout)
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0
    Loading Environment from FAT... *** Warning - bad CRC, using default environment
    
    <ethaddr> not set. Validating first E-fuse MAC
    Net:   Could not get PHY for ethernet@4a100000: addr 0
    eth2: ethernet@4a100000, eth3: usb_ether
    Hit any key to stop autoboot:  0 
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    Failed to load 'boot.scr'
    213 bytes read in 4 ms (51.8 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc0 ...
    Running uenvcmd ...
    59187 bytes read in 15 ms (3.8 MiB/s)
    4993536 bytes read in 637 ms (7.5 MiB/s)
    ## Flattened Device Tree blob at 88080000
       Booting using the fdt blob at 0x88080000
       Loading Device Tree to 8ffee000, end 8ffff732 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 5.10.100-g7a7a3af903 (atl@Ramesh) (arm-none-linux-g
    nueabihf-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) #1 PREEMPT Sat Sep 16 15:03:22 IST 2023
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio
    n cache
    [    0.000000] OF: fdt: Machine model: TI AM335x Hello World 
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0xbd000000
    [    0.000000] Zone ranges:
    [    0.000000]   Normal   [mem 0x0000000080000000-0x00000000afefffff]
    [    0.000000]   HighMem  [mem 0x00000000aff00000-0x00000000bfffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x00000000afefffff]
    [    0.000000]   node   0: [mem 0x00000000b0000000-0x00000000bfffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260162
    [    0.000000] Kernel command line: console=ttyS0,115200n8 root=/dev/mmcblk0p2 r
    ootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, 
    linear)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, li
    near)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 971792K/1047552K available (10240K kernel code, 691K rwda
    ta, 3404K rodata, 1024K init, 280K bss, 26608K reserved, 49152K cma-reserved, 21
    2992K highmem)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jif
    fies.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrup
    ts
    [    0.000000] random: get_random_bytes called from start_kernel+0x30c/0x4c8 wit
    h crng_init=0
    [    0.000000] TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segm
    ent@200000/target-module@31000
    [    0.000022] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478
    484971ns
    [    0.000070] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, ma
    x_idle_ns: 79635851949 ns
    [    0.000883] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/
    segment@0/target-module@40000
    [    0.003445] Console: colour dummy device 80x30
    [    0.003614] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
    [    0.070976] pid_max: default: 32768 minimum: 301
    [    0.071410] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linea
    r)
    [    0.071465] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, 
    linear)
    [    0.073416] CPU: Testing write buffer coherency: ok
    [    0.073566] CPU0: Spectre v2: using BPIALL workaround
    [    0.075378] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.075724] rcu: Hierarchical SRCU implementation.
    [    0.075939] EFI services will not be available.
    [    0.076737] devtmpfs: initialized
    [    0.103123] VFP support v0.3: implementor 41 architecture 3 part 30 variant c
     rev 3
    [    0.103709] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma
    x_idle_ns: 19112604462750000 ns
    [    0.103767] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
    [    0.110751] pinctrl core: initialized pinctrl subsystem
    [    0.112954] DMI not present or invalid.
    [    0.113959] NET: Registered protocol family 16
    [    0.119116] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.146927] l3-aon-clkctrl:0000:0: failed to disable
    [    0.149679] thermal_sys: Registered thermal governor 'fair_share'
    [    0.149705] thermal_sys: Registered thermal governor 'bang_bang'
    [    0.149739] thermal_sys: Registered thermal governor 'step_wise'
    [    0.149762] thermal_sys: Registered thermal governor 'user_space'
    [    0.150414] cpuidle: using governor ladder
    [    0.150505] cpuidle: using governor menu
    [    2.561022] random: fast init done
    [    3.020580] No ATAGs?
    [    3.020635] hw-breakpoint: debug architecture 0x4 unsupported.
    [    3.082458] iommu: Default domain type: Translated 
    [    3.087603] SCSI subsystem initialized
    [    3.088735] mc: Linux media interface: v0.10
    [    3.088846] videodev: Linux video capture interface: v2.00
    [    3.089123] pps_core: LinuxPPS API ver. 1 registered
    [    3.089153] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome
    tti <giometti@linux.it>
    [    3.089217] PTP clock support registered
    [    3.089370] EDAC MC: Ver: 3.0.0
    [    3.092502] Advanced Linux Sound Architecture Driver Initialized.
    [    3.095509] clocksource: Switched to clocksource dmtimer
    [    3.116006] NET: Registered protocol family 2
    [    3.116575] IP idents hash table entries: 16384 (order: 5, 131072 bytes, line
    ar)
    [    3.119470] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 
    bytes, linear)
    [    3.119566] TCP established hash table entries: 8192 (order: 3, 32768 bytes, 
    linear)
    [    3.119794] TCP bind hash table entries: 8192 (order: 3, 32768 bytes, linear)
    [    3.120014] TCP: Hash tables configured (established 8192 bind 8192)
    [    3.120315] UDP hash table entries: 512 (order: 1, 8192 bytes, linear)
    [    3.120399] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes, linear)
    [    3.120688] NET: Registered protocol family 1
    [    3.121877] RPC: Registered named UNIX socket transport module.
    [    3.121915] RPC: Registered udp transport module.
    [    3.121937] RPC: Registered tcp transport module.
    [    3.121958] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    3.121997] PCI: CLS 0 bytes, default 64
    [    3.123899] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counter
    s available
    [    3.127191] Initialise system trusted keyrings
    [    3.127696] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [    3.138495] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    3.140193] NFS: Registering the id_resolver key type
    [    3.140290] Key type id_resolver registered
    [    3.140315] Key type id_legacy registered
    [    3.140527] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    3.140560] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering
    ...
    [    3.140654] ntfs: driver 2.1.32 [Flags: R/O].
    [    3.141967] Key type asymmetric registered
    [    3.142010] Asymmetric key parser 'x509' registered
    [    3.142162] bounce: pool size: 64 pages
    [    3.142281] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2
    44)
    [    3.142313] io scheduler mq-deadline registered
    [    3.142337] io scheduler kyber registered
    [    3.948037] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    4.007976] l4ls-clkctrl:0088:0: failed to enable
    [    4.008090] ti-sysc: probe of 481cc020.target-module failed with error -16
    [    4.010465] l4ls-clkctrl:008c:0: failed to enable
    [    4.010539] ti-sysc: probe of 481d0020.target-module failed with error -16
    [    4.078609] debugfs: Directory '49000000.dma' with parent 'dmaengine' already
     present!
    [    4.078693] edma 49000000.dma: TI EDMA DMA engine driver
    [    4.110107] pinctrl-single 44e10800.pinmux: 142 pins, size 568
    [    4.252998] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    4.263874] printk: console [ttyS0] disabled
    [    4.264334] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 20, base_baud = 
    3000000) is a 8250
    [    4.965190] printk: console [ttyS0] enabled
    [    4.976491] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    4.986078] random: crng init done
    [    5.035418] brd: module loaded
    [    5.055817] loop: module loaded
    [    5.135567] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1
    000000
    [    5.143631] mdio_bus 4a101000.mdio: MDIO device at address 0 is missing.
    [    5.154068] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driv
    er Marvell 88E1510
    [    5.164619] cpsw-switch 4a100000.switch: initialized cpsw ale version 1.4
    [    5.171706] cpsw-switch 4a100000.switch: ALE Table size 1024
    [    5.177730] cpsw-switch 4a100000.switch: cpts: overflow check period 500 (jif
    fies)
    [    5.185379] cpsw-switch 4a100000.switch: CPTS: ref_clk_freq:250000000 calc_mu
    lt:2147483648 calc_shift:29 error:0 nsec/sec
    [    5.196624] cpsw-switch 4a100000.switch: Detected MACID = 34:03:de:66:55:6b
    [    5.203692] cpsw-switch 4a100000.switch: Detected MACID = 34:03:de:66:55:6d
    [    5.214450] cpsw-switch 4a100000.switch: initialized (regs 0x4a100000, pool s
    ize 256) hw_ver:0019010C 1.12 (0)
    [    5.226960] i2c /dev entries driver
    [    5.237312] cpu cpu0: dev_pm_opp_set_rate: failed to find current OPP for fre
    q 600000000 (-34)
    [    5.246282] cpufreq: cpufreq_online: CPU0: Running at unlisted initial freque
    ncy: 600000 KHz, changing to: 300000 KHz
    [    5.257821] cpuidle: enable-method property 'ti,am3352' found operations
    [    5.267904] sdhci: Secure Digital Host Controller Interface driver
    [    5.274182] sdhci: Copyright(c) Pierre Ossman
    [    5.284353] sdhci-pltfm: SDHCI platform and OF driver helper
    [    5.308013] ledtrig-cpu: registered to indicate activity on CPUs
    [    5.335937] NET: Registered protocol family 10
    [    5.346087] Segment Routing with IPv6
    [    5.350193] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    5.359171] NET: Registered protocol family 17
    [    5.364750] Key type dns_resolver registered
    [    5.371248] omap_voltage_late_init: Voltage driver support not added
    [    5.379895] Loading compiled-in X.509 certificates
    [    5.443890] OMAP GPIO hardware version 0.1
    [    5.468911] omap_reset_deassert: timedout waiting for gfx:0
    [    5.474804] ti-sysc: probe of 5600fe00.target-module failed with error -110
    [    5.488884] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 
    microseconds (-22)
    [    5.503017] ALSA device list:
    [    5.506663]   No soundcards found.
    [    5.512067] sdhci-omap 48060000.mmc: Got CD GPIO
    [    5.518304] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regu
    lator
    [    5.635425] mmc0: SDHCI controller on 48060000.mmc [48060000.mmc] using Exter
    nal DMA
    [    5.647622] Waiting for root device /dev/mmcblk0p2...
    [    5.716442] mmc0: new high speed SDHC card at address aaaa
    [    5.724926] mmcblk0: mmc0:aaaa SU04G 3.69 GiB 
    [    5.735433]  mmcblk0: p1 p2
    [    5.790214] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. O
    pts: (null)
    [    5.799130] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [    5.808376] devtmpfs: mounted
    [    5.820971] Freeing unused kernel memory: 1024K
    [    5.829003] Run /sbin/init as init process
    [    6.256956] systemd[1]: System time before build time, advancing clock.
    [    6.337050] systemd[1]: systemd 244 running in system mode. (+PAM -AUDIT -SEL
    INUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +
    XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybr
    id)
    [    6.361922] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2021.09!
    
    [    6.428813] systemd[1]: Set hostname to <am335x-evm>.
    [    8.935009] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= re
    ferences a path below legacy directory /var/run/, updating /var/run/docker.sock 
    �ц� /run/docker.sock; please update the unit file accordingly.
    [    9.903158] systemd[1]: system-getty.slice: unit configures an IP firewall, b
    ut the local system does not support BPF/cgroup firewalling.
    [    9.916340] systemd[1]: (This warning is only shown for the first unit using 
    IP firewalling.)
    [    9.950393] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    9.998811] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [   10.047787] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [   10.088496] systemd[1]: Started Dispatch Password Requests to Console Directo
    ry Watch.
    [  OK  ] Started Dispatch Password ��…ts to Console Directory Watch.
    [   10.128207] systemd[1]: Started Forward Password Requests to Wall Directory W
    atch.
    [  OK  ] Started Forward Password R��…uests to Wall Directory Watch.
    [   10.168428] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [   10.207019] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [   10.246663] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [   10.287150] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [   10.380498] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [   10.418590] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [   10.539185] systemd[1]: Condition check resulted in Journal Audit Socket bein
    g skipped.
    [   10.552182] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [   10.600264] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [   10.641601] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [   10.690161] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [   10.729416] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [   10.769802] systemd[1]: Condition check resulted in Huge Pages File System be
    ing skipped.
    [   10.811986] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [   10.911353] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [   11.013077] systemd[1]: Mounting Temporary Directory (/tmp)...
             Mounting Temporary Directory (/tmp)...
    [   11.060414] systemd[1]: Condition check resulted in Create list of static dev
    ice nodes for the current kernel being skipped.
    [   11.114254] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [   11.231221] systemd[1]: Starting File System Check on Root Device...
             Starting File System Check on Root Device...
    [   11.391175] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [   11.520742] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [   11.628010] systemd[1]: Starting udev Coldplug all Devices...
             Starting udev Coldplug all Devices...
    [   11.768331] systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted POSIX Message Queue File Sy[   11.791260] systemd[1]: Mounted K
    ernel Debug File System.
    stem.
    [  OK  ] Mounted Kernel Debug File System   11.821861] systemd[1]: Mounted Tempo
    rary Directory (/tmp).
    m.
    [  OK  ] Mounted Temporary Directory (/tmp)  11.851228] systemd[1]: psplash-star
    t.service: Main process exited, code=exited, status=255/EXCEPTION
    [0m.
    [   11.880641] systemd[1]: psplash-start.service: Failed with result 'exit-code'
    .
    [   11.936877] systemd[1]: Failed to start Start psplash boot splash screen.
    [FAILED] Failed to start Start psplash boo[   11.945358] systemd[1]: Dependency 
    failed for Start psplash-systemd progress communication helper.
    t splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Star�[   11.988378] systemd[1]: psplash-systemd.s
    ervice: Job psplash-systemd.service/start failed with result 'dependency'.
    �…progress communication helper.
    [   12.061140] cryptodev: loading out-of-tree module taints kernel.
    [   12.146627] cryptodev: driver 1.10 loaded.
    [   12.264398] systemd[1]: Started Load Kernel Modules.
    [  OK  ] Started Load Kernel Modules.
    [   12.292661] systemd[1]: Condition check resulted in FUSE Control File System 
    being skipped.
    [   12.437428] systemd[1]: Mounting Kernel Configuration File System...
             Mounting Kernel Configuration File System...
    [   12.564998] systemd[1]: Starting Apply Kernel Variables...
             Starting Apply Kernel Variables...
    [   12.697365] systemd[1]: Started File System Check on Root Device.
    [  OK  ] Started File System Check on Root Device.
    [   12.789425] systemd[1]: Mounted Kernel Configuration File System.
    [  OK  ] Mounted Kernel Configuration File System.
    [   12.904008] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [   13.156416] systemd[1]: Started Apply Kernel Variables.
    [  OK  ] Started Apply Kernel Variables.
    [   13.686103] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [   13.867351] systemd[1]: Started Remount Root and Kernel File Systems.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [   13.930518] systemd[1]: Condition check resulted in Rebuild Hardware Database
     being skipped.
    [   13.957591] systemd[1]: Condition check resulted in Create System Users being
     skipped.
    [   14.030990] systemd[1]: Starting Create Static Device Nodes in /dev...
             Starting Create Static Device Nodes in /dev...
    [   14.577352] systemd[1]: Started Create Static Device Nodes in /dev.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [   14.629372] systemd[1]: Reached target Local File Systems (Pre).
    [  OK  ] Reached target Local File Systems (Pre).
    [   14.749413] systemd[1]: Mounting /media/ram...
             Mounting /media/ram...
    [   14.879530] systemd[1]: Mounting /var/volatile...
             Mounting /var/volatile...
    [   14.999819] systemd[1]: Starting udev Kernel Device Manager...
             Starting udev Kernel Device Manager...
    [   15.114896] systemd[1]: Mounted /media/ram.
    [  OK  ] Mounted /media/ram.
    [   15.171863] systemd[1]: Mounted /var/volatile.
    [  OK  ] Mounted /var/volatile.
    [   15.199247] systemd[1]: Condition check resulted in Bind mount volatile /var/
    cache being skipped.
    [   15.227427] systemd[1]: Condition check resulted in Bind mount volatile /var/
    lib being skipped.
    [   15.320659] systemd[1]: Starting Load/Save Random Seed...
             Starting Load/Save Random Seed...
    [   15.367682] systemd[1]: Condition check resulted in Bind mount volatile /var/
    spool being skipped.
    [   15.387087] systemd[1]: Condition check resulted in Bind mount volatile /srv 
    being skipped.
    [   15.407133] systemd[1]: Reached target Local File Systems.
    [  OK  ] Reached target Local File Systems.
    [   15.427950] systemd[1]: Condition check resulted in Rebuild Dynamic Linker Ca
    che being skipped.
    [   15.448064] systemd[1]: Condition check resulted in Commit a transient machin
    e-id on disk being skipped.
    [   15.713595] systemd[1]: Started Load/Save Random Seed.
    [  OK  ] Started Load/Save Random Seed.
    [   15.760851] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
             Starting Flush Journal to Persistent Storage...
    [   16.206843] systemd-journald[78]: Received client request to flush runtime jo
    urnal.
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Docker Socket for the API.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started D-Bus System Message Bus.
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
             Starting rc.pvr.service...
             Starting Login Service...
    [  OK  ] Started IPv6 Packet Filtering Framework.
    [  OK  ] Started IPv4 Packet Filtering Framework.
    [   28.930306] remoteproc remoteproc0: wkup_m3 is available
    [  OK  ] Reached target Network (Pre).
             Starting Network Service...
    [  OK  ] Started rc.pvr.service.
             Starting telnetd.service...
    [  OK  ] Started telnetd.service.
    [  OK  ] Started Network Service.
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [  OK  ] Started Login Service.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Enable and configure wl18xx bluetooth stack...
             Starting Simple Network Ma��…ent Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [   36.540939] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [  OK  ] Started Permit User Sessions.
    [   36.911805] omap_rtc 44e3e000.rtc: registered as rtc0
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [   37.671886] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01T00:00:0
    2 UTC (946684802)
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started Synchronize System and HW clocks.
    [  OK  ] Started Simple Network Man��…ement Protocol (SNMP) Daemon..
    [   41.625941] remoteproc remoteproc0: powering up wkup_m3
    [   41.661620] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, 
    size 243276
    [   41.692302] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [   41.715685] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [   43.302693] am335x-phy-driver 47401300.usb-phy: supply vcc not found, using d
    ummy regulator
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am335x-evm ttyS0
    
    Arago 2021.09 am335x-evm ttyS0
    
    am335x-evm login: [   43.650673] am335x-phy-driver 47401b00.usb-phy: supply vcc 
    not found, using dummy regulator
    [   44.187974] usbcore: registered new interface driver usbfs
    [   44.193902] usbcore: registered new interface driver hub
    [   44.256546] usbcore: registered new device driver usb
    [   44.931027] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [   44.966051] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus numbe
    r 1
    [   45.097079] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bc
    dDevice= 5.10
    [   45.178213] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=
    1
    [   45.276180] usb usb1: Product: MUSB HDRC host driver
    [   45.281285] usb usb1: Manufacturer: Linux 5.10.100-g7a7a3af903 musb-hcd
    [   45.436028] usb usb1: SerialNumber: musb-hdrc.0
    [   45.526044] hub 1-0:1.0: USB hub found
    [   45.596092] hub 1-0:1.0: 1 port detected
    [   45.832961] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [   46.003619] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus numbe
    r 2
    [   46.147001] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bc
    dDevice= 5.10
    [   46.155426] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=
    1
    [   46.306176] usb usb2: Product: MUSB HDRC host driver
    [   46.311284] usb usb2: Manufacturer: Linux 5.10.100-g7a7a3af903 musb-hcd
    [   46.436123] usb usb2: SerialNumber: musb-hdrc.1
    [   46.556914] hub 2-0:1.0: USB hub found
    [   46.596092] hub 2-0:1.0: 1 port detected
    [   54.093334] PM: bootloader does not support rtc-only!
    [   55.775523] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [   56.034816] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [   56.128532] omap-sham 53100000.sham: will run requests pump with realtime pri
    ority
    [   56.390216] omap-aes 53500000.aes: will run requests pump with realtime prior
    ity
    [   61.579647] cpsw-switch 4a100000.switch: starting ndev. mode: dual_mac
    [   61.673000] cpsw-switch 4a100000.switch: phy "/ocp/interconnect@4a000000/segm
    ent@0/target-module@100000/switch@0/mdio@1000/ethernet-phy@0" not found on slave
     0
    [   62.256827] cpsw-switch 4a100000.switch: starting ndev. mode: dual_mac
    [   62.341122] Marvell 88E1510 4a101000.mdio:01: attached PHY driver [Marvell 88
    E1510] (mii_bus:phy_addr=4a101000.mdio:01, irq=POLL)
    [   62.379407] cpsw-switch 4a100000.switch eth1: Link is Up - 1Gbps/Full - flow 
    control off
    [   62.400166] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    
    am335x-evm login: root
    root@am335x-evm:~# [  183.059476] Initializing XFRM netlink socket
    
    root@am335x-evm:~# grep | phy eth
    -sh: phy: command not found
    BusyBox v1.31.1 (2022-05-14 22:30:22 UTC) multi-call binary.
    
    Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [F
    ILE]...
    root@am335x-evm:~# dmesg | grep eth                                             
    [    5.152373] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of n
    ode '/ocp/interconnect@4a000000/segment@0/target-module@100000/switch@0/mdio@100
    0/ethernet-phy@1[0]'
    [    5.152452] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of no
    de '/ocp/interconnect@4a000000/segment@0/target-module@100000/switch@0/mdio@1000
    /ethernet-phy@1[0]'
    [    5.257821] cpuidle: enable-method property 'ti,am3352' found operations
    [   61.673000] cpsw-switch 4a100000.switch: phy "/ocp/interconnect@4a000000/segm
    ent@0/target-module@100000/switch@0/mdio@1000/ethernet-phy@0" not found on slave
     0
    [   62.379407] cpsw-switch 4a100000.switch eth1: Link is Up - 1Gbps/Full - flow 
    control off
    [   62.400166] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    root@am335x-evm:~# dmesg | grep phy
    [    0.000000] Booting Linux on physical CPU 0x0
    [    5.152373] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of n
    ode '/ocp/interconnect@4a000000/segment@0/target-module@100000/switch@0/mdio@100
    0/ethernet-phy@1[0]'
    [    5.152452] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of no
    de '/ocp/interconnect@4a000000/segment@0/target-module@100000/switch@0/mdio@1000
    /ethernet-phy@1[0]'
    [    5.154068] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driv
    er Marvell 88E1510
    [   43.301420] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer rese
    t
    [   43.301503] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lo
    okup
    [   43.301707] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of n
    ode '/ocp/target-module@47400000/usb-phy@1300[0]'
    [   43.301846] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of no
    de '/ocp/target-module@47400000/usb-phy@1300[0]'
    [   43.301914] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO 
    lookup
    [   43.301961] am335x-phy-driver 47401300.usb-phy: No GPIO consumer reset found
    [   43.302005] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer vbus
    -detect
    [   43.302043] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lo
    okup
    [   43.302170] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' propert
    y of node '/ocp/target-module@47400000/usb-phy@1300[0]'
    [   43.302291] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property
     of node '/ocp/target-module@47400000/usb-phy@1300[0]'
    [   43.302348] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO 
    lookup
    [   43.302391] am335x-phy-driver 47401300.usb-phy: No GPIO consumer vbus-detect 
    found
    [   43.302693] am335x-phy-driver 47401300.usb-phy: supply vcc not found, using d
    ummy regulator
    [   43.649465] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer rese
    t
    [   43.649546] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lo
    okup
    [   43.649719] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of n
    ode '/ocp/target-module@47400000/usb-phy@1b00[0]'
    [   43.649840] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of no
    de '/ocp/target-module@47400000/usb-phy@1b00[0]'
    [   43.649908] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO 
    lookup
    [   43.649955] am335x-phy-driver 47401b00.usb-phy: No GPIO consumer reset found
    [   43.649999] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer vbus
    -detect
    [   43.650038] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lo
    okup
    [   43.650155] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' propert
    y of node '/ocp/target-module@47400000/usb-phy@1b00[0]'
    [   43.650265] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property
     of node '/ocp/target-module@47400000/usb-phy@1b00[0]'
    [   43.650320] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO 
    lookup
    [   43.650363] am335x-phy-driver 47401b00.usb-phy: No GPIO consumer vbus-detect 
    found
    [   43.650673] am335x-phy-driver 47401b00.usb-phy: supply vcc not found, using d
    ummy regulator
    [   61.673000] cpsw-switch 4a100000.switch: phy "/ocp/interconnect@4a000000/segm
    ent@0/target-module@100000/switch@0/mdio@1000/ethernet-phy@0" not found on slave
     0
    [   62.341122] Marvell 88E1510 4a101000.mdio:01: attached PHY driver [Marvell 88
    E1510] (mii_bus:phy_addr=4a101000.mdio:01, irq=POLL)
    root@am335x-evm:~# dmesg | grep mdio
    [    5.070249] mdio_bus fixed-0: GPIO lookup for consumer reset
    [    5.070289] mdio_bus fixed-0: using lookup tables for GPIO lookup
    [    5.070313] mdio_bus fixed-0: No GPIO consumer reset found
    [    5.081676] mdio_bus 4a101000.mdio: GPIO lookup for consumer reset
    [    5.081717] mdio_bus 4a101000.mdio: using device tree for GPIO lookup
    [    5.081812] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of n
    ode '/ocp/interconnect@4a000000/segment@0/target-module@100000/switch@0/mdio@100
    0[0]'
    [    5.081886] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of no
    de '/ocp/interconnect@4a000000/segment@0/target-module@100000/switch@0/mdio@1000
    [0]'
    [    5.081922] mdio_bus 4a101000.mdio: using lookup tables for GPIO lookup
    [    5.081945] mdio_bus 4a101000.mdio: No GPIO consumer reset found
    [    5.135567] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1
    000000
    [    5.143631] mdio_bus 4a101000.mdio: MDIO device at address 0 is missing.
    [    5.152232] mdio_bus 4a101000.mdio:01: GPIO lookup for consumer reset
    [    5.152267] mdio_bus 4a101000.mdio:01: using device tree for GPIO lookup
    [    5.152373] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of n
    ode '/ocp/interconnect@4a000000/segment@0/target-module@100000/switch@0/mdio@100
    0/ethernet-phy@1[0]'
    [    5.152452] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of no
    de '/ocp/interconnect@4a000000/segment@0/target-module@100000/switch@0/mdio@1000
    /ethernet-phy@1[0]'
    [    5.152485] mdio_bus 4a101000.mdio:01: using lookup tables for GPIO lookup
    [    5.152507] mdio_bus 4a101000.mdio:01: No GPIO consumer reset found
    [    5.154068] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driv
    er Marvell 88E1510
    [   61.673000] cpsw-switch 4a100000.switch: phy "/ocp/interconnect@4a000000/segm
    ent@0/target-module@100000/switch@0/mdio@1000/ethernet-phy@0" not found on slave
     0
    [   62.341122] Marvell 88E1510 4a101000.mdio:01: attached PHY driver [Marvell 88
    E1510] (mii_bus:phy_addr=4a101000.mdio:01, irq=POLL)
    root@am335x-evm:~# ifconfig 
    eth0      Link encap:Ethernet  HWaddr 34:03:DE:66:55:6B  
              inet6 addr: fe80::3603:deff:fe66:556b/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:5398 (5.2 KiB)
    
    eth1      Link encap:Ethernet  HWaddr 34:03:DE:66:55:6D  
              inet6 addr: fe80::3603:deff:fe66:556d/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:5378 (5.2 KiB)
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:80 errors:0 dropped:0 overruns:0 frame:0
              TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:6080 (5.9 KiB)  TX bytes:6080 (5.9 KiB)
    
    root@am335x-evm:~# ifconfig eth1 192.168.7.15 up
    root@am335x-evm:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 34:03:DE:66:55:6B  
              inet6 addr: fe80::3603:deff:fe66:556b/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:5732 (5.5 KiB)
    
    eth1      Link encap:Ethernet  HWaddr 34:03:DE:66:55:6D  
              inet addr:192.168.7.15  Bcast:192.168.7.255  Mask:255.255.255.0
              inet6 addr: fe80::3603:deff:fe66:556d/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:7658 (7.4 KiB)
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:80 errors:0 dropped:0 overruns:0 frame:0
              TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:6080 (5.9 KiB)  TX bytes:6080 (5.9 KiB)
    
    root@am335x-evm:~# ethtool eth0
    Settings for eth0:
            Supports Wake-on: d
            Wake-on: d
            Current message level: 0x00000000 (0)
                                  
            Link detected: yes
    root@am335x-evm:~# ethtool eth1
    Settings for eth1:
            Supported ports: [ TP    MII     FIBRE ]
            Supported link modes:   10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Half 1000baseT/Full
            Supported pause frame use: Symmetric Receive-only
            Supports auto-negotiation: Yes
            Supported FEC modes: Not reported
            Advertised link modes:  10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
                                    1000baseT/Half 1000baseT/Full
            Advertised pause frame use: No
            Advertised auto-negotiation: Yes
            Advertised FEC modes: Not reported
            Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                                 100baseT/Half 100baseT/Full
                                                 1000baseT/Half 1000baseT/Full
            Link partner advertised pause frame use: Symmetric Receive-only
            Link partner advertised auto-negotiation: Yes
            Link partner advertised FEC modes: Not reported
            Speed: 1000Mb/s
            Duplex: Full
            Auto-negotiation: on
            Port: Twisted Pair
            PHYAD: 1
            Transceiver: external
            MDI-X: Unknown
            Supports Wake-on: g
            Wake-on: d
            Current message level: 0x00000000 (0)
                                  
            Link detected: yes
    root@am335x-evm:~# ping 192.168.7.2
    PING 192.168.7.2 (192.168.7.2): 56 data bytes
    ^C
    --- 192.168.7.2 ping statistics ---
    14 packets transmitted, 0 packets received, 100% packet loss
    root@am335x-evm:~# 
    
    

    Regards,

    mounika

  • Hi,

    So only 1 PHY is on the board and this PHY is reported during boot as address 1? If so this sound like an address PHY issue.

    One quick thing to try is if there is only 1 PHY on the board perhaps try setting the address to 1 in the MDIO DTS node. This would prove the PHY is working and then a HW debug should be done to understand why the PHY is answering to 1 when the intention was 0.

    Best Regards,

    Schuyler

  • Hi,

     Marvell ic is detected for mdio0:1 after changing address to 1 in dts file now  but it is not pinging.

     it is sending packets but not receiving      

    I am attaching ping log below:

    root@am335x-evm:~# ping 192.168.2.5                                         
    PING 192.168.2.5 (192.168.2.5): 56 data bytes                                 
    ^C                                                                              
    --- 192.168.2.5 ping statistics 

    Do i want to change anything in kernel side to get ping.

    i am attaching my dts file below:

     * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/
     *
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public License version 2 as
     * published by the Free Software Foundation.
     */
    /dts-v1/;
    
    #include "am33xx.dtsi"
    
    / {
        model = "TI AM335x Hello World ";
        compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
    
            memory@80000000 {
                    device_type = "memory";
                    reg = <0x80000000 0x10000000>; /* 256 MB */
            };
    
            chosen {
                    stdout-path = &uart0;
            };
    
            vmmcsd_fixed: fixedregulator0 {
                    compatible = "regulator-fixed";
                    regulator-name = "vmmcsd_fixed";
                    regulator-min-microvolt = <3300000>;
                    regulator-max-microvolt = <3300000>;
            };
    
    	vbat: fixedregulator0 {
    		compatible = "regulator-fixed";
    		regulator-name = "vbat";
    		regulator-min-microvolt = <5000000>;
    		regulator-max-microvolt = <5000000>;
    		regulator-boot-on;
    	};
    	/* TPS79501 */
    	v1_8d_reg: fixedregulator-v1_8d {
    		compatible = "regulator-fixed";
    		regulator-name = "v1_8d";
    		vin-supply = <&vbat>;
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    	};
    
    	/* TPS79501 */
    	v3_3d_reg: fixedregulator-v3_3d {
    		compatible = "regulator-fixed";
    		regulator-name = "v3_3d";
    		vin-supply = <&vbat>;
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    	};
    
    };
    
    &uart0 {
            pinctrl-names = "default";
            pinctrl-0 = <&uart0_pins_default>;
    
            status = "okay";
    };
    
    &mmc1 {
            status = "okay";
            bus-width = <0x4>;
            pinctrl-names = "default";
            pinctrl-0 = <&mmc1_pins_default>;
            cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
        vmmc-supply = <&vmmcsd_fixed>;
    };
    
    &am33xx_pinmux {
        mmc1_pins_default: mmc1_pins_default {
            pinctrl-single,pins = <
                AM33XX_PADCONF(AM335X_PIN_SPI0_CS1, PIN_INPUT, MUX_MODE7)        /* spi0_cs1.gpio0_6 */
                AM33XX_PADCONF(AM335X_PIN_MMC0_DAT0, PIN_INPUT_PULLUP, MUX_MODE0)
                AM33XX_PADCONF(AM335X_PIN_MMC0_DAT1, PIN_INPUT_PULLUP, MUX_MODE0)
                AM33XX_PADCONF(AM335X_PIN_MMC0_DAT2, PIN_INPUT_PULLUP, MUX_MODE0)
                AM33XX_PADCONF(AM335X_PIN_MMC0_DAT3, PIN_INPUT_PULLUP, MUX_MODE0)
                AM33XX_PADCONF(AM335X_PIN_MMC0_CMD, PIN_INPUT_PULLUP, MUX_MODE0)
                AM33XX_PADCONF(AM335X_PIN_MMC0_CLK, PIN_INPUT_PULLUP, MUX_MODE0)
                AM33XX_PADCONF(AM335X_PIN_MCASP0_ACLKR, PIN_INPUT, MUX_MODE4)        /* mcasp0_aclkr.mmc0_sdwp */
            >;
        };
        uart0_pins_default: uart0_pins_default {
            pinctrl-single,pins = <
                AM33XX_PADCONF(AM335X_PIN_UART0_RXD, PIN_INPUT_PULLUP, MUX_MODE0)
                AM33XX_PADCONF(AM335X_PIN_UART0_TXD, PIN_OUTPUT_PULLDOWN, MUX_MODE0)
            >;
        };
        cpsw_default: cpsw_default {
    		pinctrl-single,pins = <
    			/* Slave 1 */
    			AM33XX_IOPAD(0x914, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txen.rgmii1_tctl */
    			AM33XX_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxdv.rgmii1_rctl */
    			AM33XX_IOPAD(0x91c, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd3.rgmii1_td3 */
    			AM33XX_IOPAD(0x920, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd2.rgmii1_td2 */
    			AM33XX_IOPAD(0x924, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd1.rgmii1_td1 */
    			AM33XX_IOPAD(0x928, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd0.rgmii1_td0 */
    			AM33XX_IOPAD(0x92c, PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txclk.rgmii1_tclk */
    			AM33XX_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxclk.rgmii1_rclk */
    			AM33XX_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd3.rgmii1_rd3 */
    			AM33XX_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd2.rgmii1_rd2 */
    			AM33XX_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd1.rgmii1_rd1 */
    			AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd0.rgmii1_rd0 */
    		>;
    	};
    
    	cpsw_sleep: cpsw_sleep {
    		pinctrl-single,pins = <
    			/* Slave 1 reset value */
    			AM33XX_IOPAD(0x914, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x918, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x91c, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x920, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x924, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x928, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x92c, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x930, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x934, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x938, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x93c, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x940, PIN_INPUT_PULLDOWN | MUX_MODE7)
    		>;
    	};
    
    	davinci_mdio_default: davinci_mdio_default {
    		pinctrl-single,pins = <
    			/* MDIO */
    			AM33XX_IOPAD(0x948, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)	/* mdio_data.mdio_data */
    			AM33XX_IOPAD(0x94c, PIN_OUTPUT_PULLUP | MUX_MODE0)			/* mdio_clk.mdio_clk */
    		>;
    	};
    
    	davinci_mdio_sleep: davinci_mdio_sleep {
    		pinctrl-single,pins = <
    			/* MDIO reset value */
    			AM33XX_IOPAD(0x948, PIN_INPUT_PULLDOWN | MUX_MODE7)
    			AM33XX_IOPAD(0x94c, PIN_INPUT_PULLDOWN | MUX_MODE7)
    		>;
    	};
    };
    
    
    &mac {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&cpsw_default>;
    	pinctrl-1 = <&cpsw_sleep>;
    	slaves = <1>;
    	status = "okay";
    };
    
    &davinci_mdio {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&davinci_mdio_default>;
    	pinctrl-1 = <&davinci_mdio_sleep>;
    	status = "okay";
    
    };
    
    &cpsw_emac0 {
    	phy_id = <&davinci_mdio>, <1>;
    	phy-mode = "rgmii";
    };
    
    
    

    We observed that data is transmitted from phy_txd3 to phy_txd0 but it is un even (with un even voltage levels)

    root@am335x-evm:~# ethtool -S eth0                                              
    NIC statistics:                                                                 
         Good Rx Frames: 0                                                          
         Broadcast Rx Frames: 0                                                     
         Multicast Rx Frames: 0                                                     
         Pause Rx Frames: 0                                                         
         Rx CRC Errors: 13                                                          
         Rx Align/Code Errors: 1                                                    
         Oversize Rx Frames: 0                                                      
         Rx Jabbers: 0                                                              
         Undersize (Short) Rx Frames: 0                                             
         Rx Fragments: 10                                                           
         Rx Octets: 0                                                               
         Good Tx Frames: 119                                                        
         Broadcast Tx Frames: 85                                                    
         Multicast Tx Frames: 34                                                    
         Pause Tx Frames: 0                                                         
         Deferred Tx Frames: 0                                                      
         Collisions: 0                                                              
         Single Collision Tx Frames: 0                                              
         Multiple Collision Tx Frames: 0                                            
         Excessive Collisions: 0                                                    
         Late Collisions: 0                                                         
         Tx Underrun: 0                                                             
         Carrier Sense Errors: 0                                                    
         Tx Octets: 12834                                                           
         Rx + Tx 64 Octet Frames: 89                                                
         Rx + Tx 65-127 Octet Frames: 21                                            
         Rx + Tx 128-255 Octet Frames: 10                                           
         Rx + Tx 256-511 Octet Frames: 13                                           
         Rx + Tx 512-1023 Octet Frames: 0                                           
         Rx + Tx 1024-Up Octet Frames: 0                                            
         Net Octets: 14358                                                          
         Rx Start of Frame Overruns: 0                                              
         Rx Middle of Frame Overruns: 0                                             
         Rx DMA Overruns: 0                                                         
         Rx DMA chan 0: head_enqueue: 1                                             
         Rx DMA chan 0: tail_enqueue: 127                                           
         Rx DMA chan 0: pad_enqueue: 0                                              
         Rx DMA chan 0: misqueued: 0                                                
         Rx DMA chan 0: desc_alloc_fail: 0                                          
         Rx DMA chan 0: pad_alloc_fail: 0                                           
         Rx DMA chan 0: runt_receive_buf: 0                                         
         Rx DMA chan 0: runt_transmit_bu: 0                                         
         Rx DMA chan 0: empty_dequeue: 0                                            
         Rx DMA chan 0: busy_dequeue: 0                                             
         Rx DMA chan 0: good_dequeue: 0                                             
         Rx DMA chan 0: requeue: 0                                                  
         Rx DMA chan 0: teardown_dequeue: 0                                         
         Tx DMA chan 0: head_enqueue: 119                                           
         Tx DMA chan 0: tail_enqueue: 0                                             
         Tx DMA chan 0: pad_enqueue: 0                                              
         Tx DMA chan 0: misqueued: 0                                                
         Tx DMA chan 0: desc_alloc_fail: 0                                          
         Tx DMA chan 0: pad_alloc_fail: 0                                           
         Tx DMA chan 0: runt_receive_buf: 0                                         
         Tx DMA chan 0: runt_transmit_bu: 75                                        
         Tx DMA chan 0: empty_dequeue: 119                                          
         Tx DMA chan 0: busy_dequeue: 0                                             
         Tx DMA chan 0: good_dequeue: 119                                           
         Tx DMA chan 0: requeue: 0                                                  
         Tx DMA chan 0: teardown_dequeue: 0  

    Regards,

    Mounika

  • Hi,

    Thanks for posting the HW stats. I see some error counts below that are not good, these should be 0. This means the RX packets are getting corrupted and dropped at the port. Perhaps there is a voltage issue on the RX data lines like the TX lines.

    Rx CRC Errors: 13                                                          
    Rx Align/Code Errors: 1   

    Since you are seeing un-even voltages on the TX line I would looking at the ethtool on the link partner I recommend using a direct connect to a Linux PC or a known working EVM. 

    Any ideas what could be causing the un-even voltages?

    Best Regards,

    Schuyler

  • hi,

    Now we are getting RX CRC Errors and Rx Align with 0 Errors

    We are getting equal voltages in TXD0-TXD3  now ,but we are not getting data from marvell out pins (MDIP[0]-MDIP[3] and MDIN[0]-MDIN[3])

    How can we resolve this issue ?

    Regards,
    Mounika.
  • Hi,

    If the TX packet count is increasing it means that TX process is working as expected. If you are not seeing packets on the analog side of the PHY I would recommending contacting the PHY manufacturer for ideas on what to look at.

    It appears that the RX is working correctly at the moment. 

    What did you do to get rid of the CRC errors?

    Best Regards,

    Schuyler

  • hi,

    we changed connections of Ethernet pins as i mentioned above to get rid of CRC errors.

    even through my phy is marvell 88e1512 during booting of board phy detected is 88e1510.

    did 88e1510 driver is  applicable for  88e1512 marvell ?

    Do we want to change in marvell.c if i configure my phy in rgmii mode ?

    marvell.c present in below path:

    /ti-processor-sdk-linux-am335x-evm-08.02.00.24/board-support/linux-5.10.100+gitAUTOINC+7a7a3af903-g7a7a3af903/drivers/net/phy/marvell.c

    in marvell.c    GEN_CTRL_REG_1 is set to SGMII-to-Copper mode do i want to change it for rgmii ?

    How we can add delays for 88e1512 marvell ?

    MII_88E1510_GEN_CTRL_REG_1_MODE_MASK    0x7

    Regards,

    Mounika. 

  • Hi,

    I am glad to hear you were able to remove the CRC errors. There will be others who may read this public forum interested to know what was done to remove the CRC errors. This is a common problem and if you would like please post the work that was done.

    These questions regarding SGMII and delays since they are PHY specific is best answer by the manufacturer.  

    At the moment I am not able to find an example on how to set timing in the DTS file.  The TI EVMs that I looked don't have timing adjustments on the PHYs.  I also looked at the device-tree/bindings and I am not able to find the bindings doc for the PHY that you are using, usually the timing adjustments are specific to the PHY driver.

    Best Regards,

    Schuyler