Forum Discussion
Altera_Forum
Honored Contributor
15 years agoTrouble with uClinux + Igor Avalon MAC + National Semiconductor DP83848
Thanks in advance for any help.
I've got a custom built board with a Cyclone II connected to a National Semiconductor DP83848 Prototype board. I have all the MII signals routed to the FPGA. My goal is to get Ethernet up and running for some low bandwidth data but no luck so far I've got uClinux up and running. The only options I have changed are the networking options I changed the PHY to National Semiconductor and unselected the DM driver and SMC and I selected the opencore (Igor). I also I get a working kernel but networking is broken. Mii-tool can sometimes correctly identify the Phy and the link speed but I can never ping or get a DHCP address and the JTAG terminal locks up frequently when I plug in a cable for networking. So the first question: Is this a known good combination that has been made to work before? NIOS2 F + Igor Mac + DP83848? For reference I am using the latest version of the "avalonized" Opencores MAC from http://www.alteraforum.com/forum/showthread.php?t=21005 (http://www.alteraforum.com/forum/showthread.php?t=21005) I'll follow up with detailed project documents but I need to clean them up first and I only have a few minutes left before I have to go get my kid. I know I mis-connected a power signal for a second or two so I don't know if I damaged the board or if the problems are design problems. Thanks again, David3 Replies
- Altera_Forum
Honored Contributor
never mind, I apparently missed the NEEK uses the DP83848. Need to learn more about that one and see how its MAC is configured.
David - Altera_Forum
Honored Contributor
I'm not sure about the gor Mac + DP83848 combination, but the TSE and SLS driver + DP83848 is working fine.
Did you check the phy_addr? I assume you need to change it to match with your board or device setting. I think the default for the 83848 is 18. You might want to double check it. - Altera_Forum
Honored Contributor
--- Quote Start --- I'm not sure about the gor Mac + DP83848 combination, but the TSE and SLS driver + DP83848 is working fine. Did you check the phy_addr? I assume you need to change it to match with your board or device setting. I think the default for the 83848 is 18. You might want to double check it. --- Quote End --- Thank you for the reply... I just figured out that the NEEK has what I need including a full Linux BSP. Unfortunately their downloads are password protected and they have not yet responded to my request for access. So since you have made this work and were kind enough to respond, a couple more questions. When you say "SLS Driver" is that different from the "TSE Driver" options that appear in the kernel build? I built the kernel with the TSE driver enabled but it never booted. I built kernels with the igor mac enabled and they booted but were never functional. Does the SLS reference Linux material come in the package with the NEEK? I have not yet purchased my NEEK but that might push me over the edge. Thanks for your helpful answers, twice you've answered my questions. David