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.

AM3352: Network communication

Part Number: AM3352

Hi,

ti-processor-sdk-linux-rt-am335x-evm-06.01.00.08-Linux-x86-Install.bin

PHY chip TI DP83822 has been identified in kernel boot phase. Why there is no PHY chip showed when loading filesystem, and network port cannot communicate?

[ 1.107509] Console: switching to colour frame buffer device 30x30
[ 1.120121] tilcdc 4830e000.lcdc: fb0: DRM emulated frame buffer device
[ 1.127696] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
[ 1.154454] brd: module loaded
[ 1.168652] loop: module loaded
[ 1.178181] libphy: Fixed MDIO Bus: probed
[ 1.252960] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[ 1.260673] davinci_mdio 4a101000.mdio: detected phy mask fffffffd
[ 1.268230] libphy: 4a101000.mdio: probed
[ 1.272286] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver TI DP83822
[ 1.281855] cpsw 4a100000.ethernet: Detected MACID = b0:7e:11:3a:86:99
[ 1.288636] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[ 1.295036] cpsw 4a100000.ethernet: ALE Table size 1024
[ 1.300340] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
[ 1.308842] cpsw 4a100000.ethernet: cpsw: Detected MACID = b0:7e:11:3a:86:9b
[ 1.320251] omap_rtc 44e3e000.rtc: registered as rtc0
[ 1.325808] i2c /dev entries driver
[ 1.331010] sdhci: Secure Digital Host Controller Interface driver
[ 1.337228] sdhci: Copyright(c) Pierre Ossman
[ 1.342719] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[ 1.351472] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 1.357049] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.1
[ 1.390319] sdhci-pltfm: SDHCI platform and OF driver helper

........................

[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ OK ] Started Job spooling tools.
[ OK ] Started Redis In-Memory Data Store.
[ 19.803513] net eth1: initializing cpsw version 1.12 (0)
[ 19.874804] libphy: PHY 4a101000.mdio:9ffcbff8 not found
[ 19.973736] net eth1: phy "4a101000.mdio:9ffcbff8" not found on slave 1, err -19
[ 20.036673] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
Starting Lightning Fast Webserver With Light System Requirements...
Starting RPC Bind Service...
[ 20.485413] net eth0: initializing cpsw version 1.12 (0)
[ 20.550813] libphy: PHY 4a101000.mdio:9ffcbff8 not found
[ 20.620415] remoteproc remoteproc0: wkup_m3 is available
[ 20.683180] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[ 20.683365] pwm-backlight backlight: Linked as a consumer to regulator.0
[ 20.683498] pwm-backlight backlight: Dropping the link to regulator.0
Starting Print notice about GPLv3 packages...
[ 21.134480] net eth0: phy "4a101000.mdio:9ffcbff8" not found on slave 0, err -19
Starting Simple Network Management Protocol (SNMP) Daemon....
[ 21.325108] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Starting Login Service...
Starting Enable and configure wl18xx bluetooth stack...
Starting Avahi mDNS/DNS-SD Stack...
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
[ OK ] Started D-Bus System Message Bus.
[ 22.203285] remoteproc remoteproc0: powering up wkup_m3
[ 22.252290] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[ 22.252423] pwm-backlight backlight: Linked as a consumer to regulator.0
[ 22.252550] pwm-backlight backlight: Dropping the link to regulator.0
[ 22.262793] PM: Cannot get wkup_m3_ipc handle

  • Please complete this checklist and post the results here: processors.wiki.ti.com/.../5x_CPSW

  • root@am335x-evm:~# ifconfig
    eth0 Link encap:Ethernet HWaddr 90:9A:77:55:A5:8B
    inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    Interrupt:50

    eth1 Link encap:Ethernet HWaddr 90:9A:77:55:A5:8D
    inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    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:2 errors:0 dropped:0 overruns:0 frame:0
    TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:140 (140.0 B) TX bytes:140 (140.0 B)

    root@am335x-evm:~# ethtool eth0
    Settings for eth0:
    Supports Wake-on: d
    Wake-on: d
    Current message level: 0x00000000 (0)

    Link detected: no
    root@am335x-evm:~# ethtool eth1
    Settings for eth1:
    Supports Wake-on: d
    Wake-on: d
    Current message level: 0x00000000 (0)

    Link detected: no
    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: 0
    Rx Align/Code Errors: 0
    Oversize Rx Frames: 0
    Rx Jabbers: 0
    Undersize (Short) Rx Frames: 0
    Rx Fragments: 0
    Rx Octets: 0
    Good Tx Frames: 0
    Broadcast Tx Frames: 0
    Multicast Tx Frames: 0
    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: 0
    Rx + Tx 64 Octet Frames: 0
    Rx + Tx 65-127 Octet Frames: 0
    Rx + Tx 128-255 Octet Frames: 0
    Rx + Tx 256-511 Octet Frames: 0
    Rx + Tx 512-1023 Octet Frames: 0
    Rx + Tx 1024-Up Octet Frames: 0
    Net Octets: 0
    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: 0
    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: 0
    Tx DMA chan 0: empty_dequeue: 0
    Tx DMA chan 0: busy_dequeue: 0
    Tx DMA chan 0: good_dequeue: 0
    Tx DMA chan 0: requeue: 0
    Tx DMA chan 0: teardown_dequeue: 0
    root@am335x-evm:~#

    ethtool -S eth1
    NIC statistics:
    Good Rx Frames: 0
    Broadcast Rx Frames: 0
    Multicast Rx Frames: 0
    Pause Rx Frames: 0
    Rx CRC Errors: 0
    Rx Align/Code Errors: 0
    Oversize Rx Frames: 0
    Rx Jabbers: 0
    Undersize (Short) Rx Frames: 0
    Rx Fragments: 0
    Rx Octets: 0
    Good Tx Frames: 0
    Broadcast Tx Frames: 0
    Multicast Tx Frames: 0
    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: 0
    Rx + Tx 64 Octet Frames: 0
    Rx + Tx 65-127 Octet Frames: 0
    Rx + Tx 128-255 Octet Frames: 0
    Rx + Tx 256-511 Octet Frames: 0
    Rx + Tx 512-1023 Octet Frames: 0
    Rx + Tx 1024-Up Octet Frames: 0
    Net Octets: 0
    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: 0
    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: 0
    Tx DMA chan 0: empty_dequeue: 0
    Tx DMA chan 0: busy_dequeue: 0
    Tx DMA chan 0: good_dequeue: 0
    Tx DMA chan 0: requeue: 0
    Tx DMA chan 0: teardown_dequeue: 0
    root@am335x-evm:~#

  • Hi,

    Some of the questions from the checklist are not answered so I can offer only suggestions on what to look at. I will assume that this is this a custom board.

    The first part of the boot does indicate that a PHY was found. But this line says that no such device exists.

    [21.134480] net eth0: phy "4a101000.mdio:9ffcbff8" not found on slave 0, err -19:

    This error code means this no such device

    This output from the ethtool indicates that the PHY is not communicating with the processor as there is not any information being returned concerning PHY capabilities and advertise link modes.

     

    As long as there is not any link detected as part of the ethtool eth0 command then there will not be any network traffic.

    Please attach (do not cut and paste into the post) the complete boot log.

    Also please attach (do not cut and paste into the post) the board DTS that you created for the board.

    Best Regards,

    Schuyler

  • Hi,

    Since I have not heard back I will assume that you were able to move past the issue and close the thread.

    Best Regards,

    Schuyler