I'm trying to port my application based on the LWIP stack for the TMDSSK3358 to the AM335x ICE v2.1. The key difference seems to be the PHY interface: on the TMDSSK3358, the CPSW EMAC's GMII interface is used. This is not compatible with the AM335x ICE v2.1, where the RMII interface is used when driving the PHYs from the CPSW.
So my first question is: are there any examples of configuring the CPSW to connect to the PHYs on the ICE board (including pin muxing, configuring the RMII/MII muxes on the board, setting the MAC control register etc). Ideally, this would be a bare-bones example like the wonderful LWIP stack - just calling into an API is less informative.
My second question is: the PDK comes with an EMAC driver (in my installation, it's here: C:\ti\pdk_am335x_1_0_5\packages\ti\drv\emac). This might be a good starting point to answer my first question, but I can't see what assumptions it makes about the hardware. Is it intended to work directly on the ICE v2.1 board? This example is very unclear on what it's actually doing because it calls into so many other parts of the PDK code.
 
				 
		 
					 
                           
				 
				