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 10 – Change the Menu Config

To create the menu config command: Go to this path:
/opt/ti-processor-sdk-linux-am335x-evm-05.02.00.10/board-support/linux-4.14.79+gitAUTOINC+bde58ab01e-gbde58ab01e#

Issue this cmd:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig

GUID-72F028D4-AA48-4D91-99C2-A2133B1B99C0-low.jpgFigure 3-12 Menu Configuration Step A
GUID-E1D51B55-D294-4B08-979C-CA6D3743DC3A-low.jpgFigure 3-13 Menu Configuration Step B
GUID-7B300402-BB6F-41DF-B118-74B4F88FC0F3-low.jpgFigure 3-14 Menu Configuration Step C
  1. Figure 3-12 is used to set the Phy Interface.
  2. Figure 3-13 is used to set the TI Phy.
  3. Figure 3-14 is used to set the DP83822 Phy.

We are using the DP83822 Phy driver as the base and we set DP83822 in the MenuConfig. We patched (modified) the DP83922 driver to allow it to act as DP83825.