Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- I got a linux kernel up and running but so far no luck with the networking. I enabled the "Altera triple speed ethernet (SLS) driver in the kernel and the Nat Semi Phy. It recognizes ETH0 but it says it cannot talk to the Phy. I am wondering if this is the cause:http://www.alteraforum.com/forum/showthread.php?t=18394 (http://www.alteraforum.com/forum/showthread.php?t=18394). Going to try that fix and see how far I get. I'll share my work once I get something up and running. --- Quote End --- Did you connect the PHY_RESET# to the RESET_N of the SoC? If you did not, that is the problem. However there seem to be more issues: none of the two possible drivers do talk correctly with the Phy on the MII interface (at least with me). I happened to get the OpenCores (IGOR mac) somehow talking to the Phy, but it only worked one signle time and the packets were bogus (Mac packet size was far smaller than the UDP payload). Hope this helps, oh and the Altera TSE design worked fine with the simple socket server example, so it is not a SoC-Design problem: I'd guess it is somewhere within the driver (which does not surprise me). But I could not find the issue until now. Oh and another thing: Guess you will not need the national phy driver: the phy on the beMicro SDK is not in supported by the driver. However the generic phy routines seem to be quite ok for this phy: just to be save I also tried implementing the interrupt routines for the phy, but that does not really help. Lorenz