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.