Hello
I am trying to configure the Ethernet for DM365 in Uboot. PHY used is "LAN8710AI-EZK" with addr : 0x000.
I have changed few files for this. Those are below. I am able to set and save the mac addr, ipaddr and other related parameters.
When i send "ping ipaddr" from uboot promt i dont see any response.
DM365 EVM > ping 10.100.135.1
WARN: emac_send_packet: No link
WARN: emac_send_packet: No link
ping failed; host 10.100.135.1 is not alive
Have I missed out some thing else?
PLL configuration:
ARM -> PLL1 SYSCLK2 - 270Mhz
UART1/EMAC -> PLL1SYSCLK4 - 135Mhz.
Davinci_dm365_evm.h
/*===================*/
/* SoC Configuration */
/*===================*/
#define CONFIG_ARM926EJS /* arm926ejs CPU core */
#define CONFIG_SYS_CLK_FREQ 270000000 /* Arm Clock frequency */
#define CONFIG_SYS_TIMERBASE 0x01c21400 /* use timer 0 */
#define CONFIG_SYS_HZ_CLOCK 24000000 /* Timer Input clock freq */
#define CONFIG_SYS_HZ 1000
Emac_defs.h - for bus clock frequency
#elif defined(CFG_DM365_EVM)
/* MDIO module input frequency */
#define EMAC_MDIO_BUS_FREQ 135000000
/* MDIO clock output frequency */
#define EMAC_MDIO_CLOCK_FREQ 2200000 /* 2.2 MHz */