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.

AM3358: am3358 +RTL8211 Ping fail

Genius 13655 points
Part Number: AM3358

Hello Champs,


own board: reference  TMDSSK3358_3H0009_REV1_2B_SCH Board

LAN Chip : RTL8211FD

OS : TI SDK, "ti-am335x-evm-06.00.00.07, Kernal  code is 4.19.38 RT

Problem:

Can't ping to RTL8211FD. 

The log:

/ # ethtool eth1

Settings for eth1:

       Supported ports: [ TP MII ]

       Supported link modes:   10baseT/Half 10baseT/Full

                               100baseT/Half 100baseT/Full

                               1000baseT/Full

       Supported pause frame use: Symmetric Receive-only

       Supports auto-negotiation: Yes

       Advertised link modes: 10baseT/Half 10baseT/Full

                               100baseT/Half 100baseT/Full

                               1000baseT/Full

       Advertised pause frame use: No

       Advertised auto-negotiation: Yes

       Link partner advertised link modes: 10baseT/Half 10baseT/Full

                                             100baseT/Half 100baseT/Full

                                            1000baseT/Full

       Link partner advertised pause frame use: Symmetric

       Link partner advertised auto-negotiation: Yes

       Speed: 1000Mb/s

       Duplex: Full

       Port: MII

       PHYAD: 0

       Transceiver: internal

       Auto-negotiation: on

       Supports Wake-on: d

       Wake-on: d

       Current message level: 0x00000000 (0)

       Link detected: yes

/ # ethtool -S eth1

NIC statistics:

     Good Rx Frames: 0

     Broadcast Rx Frames: 0

     Multicast Rx Frames: 0

     Pause Rx Frames: 0

     Rx CRC Errors: 177

     Rx Align/Code Errors: 2526

     Oversize Rx Frames: 0

     Rx Jabbers: 0

     Undersize (Short) Rx Frames: 0

     Rx Fragments: 0

     Rx Octets: 0

     Good Tx Frames: 48

     Broadcast Tx Frames: 0

     Multicast Tx Frames: 48

     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: 11540

     Rx + Tx 64 Octet Frames: 112

     Rx + Tx 65-127 Octet Frames: 2046

     Rx + Tx 128-255 Octet Frames: 317

     Rx + Tx 256-511 Octet Frames: 236

     Rx + Tx 512-1023 Octet Frames: 40

     Rx + Tx 1024-Up Octet Frames: 0

     Net Octets: 334149

     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: 48

     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: 2

     Tx DMA chan 0: empty_dequeue: 48

     Tx DMA chan 0: busy_dequeue: 0

     Tx DMA chan 0: good_dequeue: 48

     Tx DMA chan 0: requeue: 0

     Tx DMA chan 0: teardown_dequeue: 0

/ #

How to porting to RTL8211?

 Thanks.
Rgds
Shine

  • Hi,

    This thread appears to be the same as this thread, is this the case? If so let's continue in the other e2e thread.

    The porting is already done, the issue could be a HW issue.  I made a suggestion to check the phy pin mux in the other thread, if the pin mux is correct and the CRC errors still happen then the board could have an electrical issue between the MAC and the PHY. The HW statistics are indicating no packets are being received, the packets that are causing the CRC and Align error counts to increase are being dropped.

    Best Regards,

    Schuyler