I used Halcogen 3.05 to get this link: http://processors.wiki.ti.com/index.php/HALCoGen_Ethernet_Driver_and_lwIP_Integration_Demonstration and downloaded the LwIP project from there.
In "jdkif.c" (the texas instruments HAL for LwIP) the function hdkif_hw_init calls Dp83640IDGet. That function always returns zero, and initialization fails. Dp83640IDGet calls MDIOPhyRegRead. At line 64 of mdio.c, it always falls through to "return FALSE" at line 71. I used HalCoGen as specified in the training video (checked all the MDIO bits, enabled EMAC, etc)
Any ideas on what I need to do to get MDIO working?