SNLA343A April   2020  – July 2021 DP83825I

 

  1.   Trademarks
  2. 1Introduction
  3. 2Device Overview
  4. 3Merging DP83825 Onto Sitara Steps
    1. 3.1  Step 1 – DP83825 vs. DP83822
    2. 3.2  Step 2 – Check 8710A Pins with AM335
    3. 3.3  Step 3 – De-populate the LAN8710A from AM335 EVM - BBB
    4. 3.4  Step 4 – Check the AM335 (BBB) RMII Connection Pins
    5. 3.5  Step 5 – Check the DP83825 Connection Pins
    6. 3.6  Step 6 – PinMux Tool To Generate DTS/DTSI Files.
    7. 3.7  Step 7 – DP83822 Code Base Review
    8. 3.8  Step 8 – DP83825 Code Base Review / Patch Adaption
    9. 3.9  Step 9 – Patch the Linux uboot/kernel
    10. 3.10 Step 10 – Change the Menu Config
    11. 3.11 Step 11 – Building the Components (menuconfig/dtb/zimage)
    12. 3.12 Step 12 – (Optional) Important Fix for DTS Build
    13. 3.13 Step 13 – Copy the Built Files onto the SD Card
    14. 3.14 Step 14 – Register Checking for the DP83825.
    15. 3.15 Step 15 – Linux Command To Assist The Debug
    16. 3.16 Step 16 – Linux ethtool Command Dumps (example)
    17. 3.17 Step 17 – Linux dmesg to Check the Ethernet Driver Status.
    18. 3.18 Step 18 – Testing Result with Detail Log Analysis (Success Case).
    19. 3.19 Step 19 – YouTube Demonstration Video
  5. 4Required Hardware and Software
    1. 4.1 Hardware
    2. 4.2 Software
  6. 5References
  7. 6Revision History

Step 15 – Linux Command To Assist The Debug

Ethernet tool command debug guide

Ethtool important command:

•ethtool -A eth0 autoneg on  rx on  tx on
Purpose: This command will turn on the RX/TX + auto-negotiation.
•ethtool –a eth0
Purpose: This command will dump the RX/TX/auto-nego Eth0 (for example) status.
•ethtool –S eth0
Purpose: This command will dump the detail Eth0 (for example) status.
•ethtool eth0
Purpose: This command will dump the Eth0 (for example) status roughly.
•ethtool –d eth0
Purpose: This command will dump the Eth0 Registers.
•ethtool –i eth0
Purpose: This command will dump the Eth0 Driver version.

Linux ifconfig command debug guide

•ifconfig
Purpose: This command will dump all the available network interface status.
The important is you can see the TX/RX packets counting.
•ifconfig eth0 up
Purpose: This command will turn on the Eth0 (for example) interface.
•ifconfig eth0 down
Purpose: This command will turn off the Eth0 (for example) interface.