Forum Discussion
Altera_Forum
Honored Contributor
17 years agoEthernet on NEEK
I am running with the "video" example that has the Altera TSE MAC on Nios II Embedded Evaluation Kit (NEEK). I have enabled National PHY support in my kernel, and the TSE MAC support as well. At boot...
Altera_Forum
Honored Contributor
17 years agoForgot to mention, networking does work on the NEEK using the EXPERIMENTAL driver instead of the Altera SLS one.
Some progress to get the Altera driver working: Can set the MAC address manually using: ifconfig eth0 hw ether <address> I got the address by using the other driver. It then still gives an error initializing the PHY because the driver is using the wrong MDIO address for it. I hardcoded it to get it working. Change linux2.6/drivers/net/altera_tse.c line 853 from snprintf(phy_id, BUS_ID_SIZE, PHY_ID_FMT, mii_id, tse_config->phy_addr); to: snprintf(phy_id, BUS_ID_SIZE, PHY_ID_FMT, mii_id, 1);