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.

[FAQ] DRA821U: How to test RGMII with DRA821 on EVM

Part Number: DRA821U

How to test RGMII configuration with DRA821 on EVM ? As only SGMII is enabled by default ?

  • DRA821 EVM supports only one port (Port 2) on the GESI card which is why QSGMII card (with 4 ports) is used to showcase multiple ports and that is the default configuration.

    The following makefile changes on SDK 7.3 illustrate how to enable Port 2.

    Enet makefile change

    enet_makefile_patch.txt
    diff --git a/examples/utils/makefile b/examples/utils/makefile
    index 40ccfc9..2bce2ef 100644
    --- a/examples/utils/makefile
    +++ b/examples/utils/makefile
    @@ -29,6 +29,7 @@ else
       ifeq ($(APPUTILS_TYPE),full)
         MODULE_NAME = enet_example_utils_full
         ENET_CFLAGS += -DENETAPPUTILS_UART_ALLOWED
    +    ENET_CFLAGS += -DENETAPPUTILS_BYPASS_QSGMII
       else
         MODULE_NAME = enet_example_utils
         ENET_CFLAGS += -DSDK_6_2_CORE_SDK_IMAGE
    @@ -40,6 +41,9 @@ else
           ifneq ($(SOC),$(filter $(SOC), j7200))
             ENET_CFLAGS += -DENETAPPUTILS_UART_ALLOWED
           endif
    +      ifeq ($(SOC),$(filter $(SOC), j7200))
    +        ENET_CFLAGS += -DENETAPPUTILS_BYPASS_QSGMII
    +      endif
         else
           ENET_CFLAGS += -DENETAPPUTILS_UART_ALLOWED
         endif
    

    EthFW Concerto makefile change

    ethfw_concerto_patch.txt
    diff --git a/apps/app_remoteswitchcfg_server/mcu_2_0/concerto.mak b/apps/app_remoteswitchcfg_server/mcu_2_0/concerto.mak
    index 4bed8a9..1f64e3a 100644
    --- a/apps/app_remoteswitchcfg_server/mcu_2_0/concerto.mak
    +++ b/apps/app_remoteswitchcfg_server/mcu_2_0/concerto.mak
    @@ -45,9 +45,9 @@ STATIC_LIBS += eth_intervlan
     STATIC_LIBS += lib_remote_device
     STATIC_LIBS += lib_remoteswitchcfg_server
     
    -ifeq ($(TARGET_PLATFORM),J7200)
    -    DEFS += ENABLE_QSGMII_PORTS
    -endif
    +#ifeq ($(TARGET_PLATFORM),J7200)
    +#    DEFS += ENABLE_QSGMII_PORTS
    +#endif
     
     CPSW_APPUTILS_LIB = enet_example_utils
     
    

    With this change, Port 2 (MAC Port 3 in picture) can be used to talk to the EVM

    Regards

    Vineet