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.

VAYU EVM DRA7XX Ethernet GMAC_SW

Hi,

I have some question about the GMAC_SW in the OMAP57 processor.

1 - From the TRM, the GMAC_SW found in OMAP5 is similar to the Ethernet Subsystem found in AM335x. On that assumption the driver of AM335x should work on OMAP5 with little modification ?

2 - Where the CPDMA CPPI Buffer Descriptor and Buffer should be located ? in the CPPI RAM, in external RAM ? Has OMAP5 any difference concerning external RAM access than AM335x ?

The issue is when defining the Buffer Descriptor and Buffer in external RAM in OMAP5, the DMA transfers fails or data is not relevant.  In order to have ethernet communication, the Buffer Descriptor and Buffer are defined in CPPI RAM but with only 8k, only a few can be defined.

With that little Buffer Descriptor Defined, the CPSW3GKitl driver found in COMMON_TI_V1 miss behave.

3 - A note due to the use of the CPPI RAM, when copying data to the buffer in the CPPI RAM, the end 4 bytes are not correct when buffer length is not a 4-byte size. Is there any particular reason for this ? Does this RAM has to be access in 32-bit block ?

Thank you.

  • Hi,

    OMAP57xx & DRA7xx processors are both Vayu devices. There is an existing fully functional driver for GMAC_SW for both processors in GLSDK, see GLSDK Release Notes (http://processors.wiki.ti.com/index.php/DRA7xx_GLSDK_6.04.00.02_Release_Notes) and GLSDK Datasheet (http://processors.wiki.ti.com/index.php/GLSDK_Datasheet_DRA7xx_6.04.00.02#Ethernet_Driver)

    Please use the GLSDK sources as reference for the GMAC_SW driver in OMAP57xx. Sources can be downloaded from: http://downloads.ti.com/dsps/dsps_public_sw/glsdk/

    Installation & build instructions are available at http://processors.wiki.ti.com/index.php/DRA7xx_GLSDK_Software_Developers_Guide

    Other useful information about GLSDK can be found here: http://processors.wiki.ti.com/index.php/Category:GLSDK

    As I said GMAC_SW driver in GLSDK6_04 is fully functional, you can just download the GLSDK6_04 from the download page and use the prebuilt images on your DRA7xx EVM.

    Best Regards,
    Yordan

  • Hi,

    Thank you for the GLSDK link and note.

    I suppose there isn't any official Windows Embedded Compact 13 Ethernet/KITL driver for Vayu.

    Do you know if WEC13 driver for CPSW / GMAC_SW in earlier platform (AM335x, COMMON_TI_V1, ... ) would be compatible with Vayu.

    Would you know any differences in the Ethernet subsystem between AM335x and Vayu if any ?

    Best Regards,

    Stan

  • Hi Stan,

    1. I am not aware of Windows driver for Vayu. Official OS releases for Vayu are GLSDK(linux), Android & QNX

    2. On first glance GMAC IPs appear to be the same, with slight difference regarding the integration in different devices (Centaurus, J5, J6 (Vayu) & AM335x(Sitara)), but I'll need some more time to compare the IPs in both devices and confirm this.  I think GMAC_SW drivers for J6(Vayu) & AM335x (Sitara) should be similar.

    Best Regards,
    Yordan