-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sfp port support #48
Comments
Which SFP+ module are you using? Notice that as of today; all the lx2160a_build that uses NXP releases do not have CONFIG_SFP enabled; which means that all the configurations that are needed for SFP+ module to start operation must be done manually (or use DAC cable that there is no configuration). As for the future; I can check with Russell King and mainline support when CONFIG_SFP support is ready |
I was testing using an Intel X520 adapter, I think it only supports Intel SFP+ modules. I'll check the exact module tomorrow. To be honest it's my first time dealing with 10G ethernet, so I still need to learn how it works.
I found Russels work, took his device tree (http://git.armlinux.org.uk/cgit/linux-arm.git/tree/arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-cx.dts?h=cex7), and re-built the NXP provided kernel with CONFIG_SFP. That was my naive attempt to get it working. I'll try to find a DAC cable to test. If I find out how to init the SFP+ module, i'll submit instructions. |
@jepio Hey there, have you succeed with the SFP problem? Did you used Optical cable or DAC? |
I finally found a DAC cable lying around - a short Dell one (https://1000servers.com/dell-sfp-to-sfp-10gbe-twinax-dac-cable-1m-3-3f-ft-p-n-v250m-0v250m-new.html) - and performed a quick loopback test through the upper 2 ports of the 10G cage. dpmac.7 and dpmac.9. Things work like a charm. I'm still searching for the initialization required for SFP+ transceivers to work - I'll try Russels kernel when I get the chance. |
@jepio |
Hi all! since this is the top result when googling
So — not much luck yet, but hopefully some of these issues can be fixed. I'll keep posting here when I have more time to try around random things. Cheers, equi P.S.: I have carrier board rev. 1.2, CEx7 module rev. 2.1. I have the variant without QSFP cage but will probably solder it on in a while, and then try testing with 40G/4×10G QSFP modules. Note the 1.2 revision does not have the retimer chips for 100G. |
I'm using a clearfog board (rev 1.2, cex7 rev 1.5) with u-boot and the LSDK-20.04 release. I have plugged an SFP+ transceiver into the upper left slot of the SFP+ cage and created a dpni interface:
This gives me an eth1 interface, but I can't bring the link up and /dev/dpaa2_mc_console reports "internal link is down" on dpmac.9. Is there something I am missing? Is this expected to work or are there any preliminary patches that are needed to make this work. If it requires patches, i'd be happy to test them.
The text was updated successfully, but these errors were encountered: