They're junk on eBay -- you can get them for ~$15 individually. I bought 50 for $78.
They're supposed to run a Cavium Simple Executive (/lib/firmware/liquidio/lio_210sv_nic.bin) as their firmware under the Linux/*BSD liquidio driver, but secondhand cards will have bootloaders in questionable state and I've never had them boot and work properly with liquidio from a Linux host system. Cavium is known for publishing stuff and not taking care that it's actually usable.
This board can [probably] be powered externally but to do so requires the 4-pin power header at the far right to be populated (it's 12V, I'm sure). You could probably then use them as a sick, high-powered 10Gb OpenWrt router if paired with a 10Gb managed switch.
Here are some posts for context. Note I was less informed then than I am now.
I reached out to Aaro Koskinen, but I'm fairly sure he really hated this job at Nokia and I'd not begrudge him if he never wants to talk about Cavium's crappy ecosystem ever again.
I believe I've tested this incorrectly, but nevertheless, ethtool gives nothing interesting. I would expect to see the same output as Wind River Linux gives on these types of boards; may be worth rebuilding the git history of Wind River Linux 5 via Wind River Linux's SDK tools to see their patches.
[ ] Write and test sysupgrade setup
These boards can vary - some do and some do not have a spare 1GB of NAND on the back; the main NOR flash is only 8MB, at least 1.5MB of which are U-boot.
The existing Octeon SDK is a mess but may provide some help.
Examples:
Regarding the PHYs: the CN6640-SNIC10E board uses a Vitesse VSC8488 two-port "PHY" (really a XAUI transceiver); these drivers are not mainlined. They are available in a Yocto project tree here. It is no wonder that XAUI0 and XAUI1 do not come up -- they're not even there, despite the DTS telling the kernel they will be configured fine.
The VSC848X patch has been merged for testing, and an attempt at merging in the OF_MEMORY_ACCESSOR patch has been done as well. Let's see if it builds.
I don't have anything constructive to say. I just spotted your effort to port OpenWRT to a Cavium CN6640 NIC, thought it was the coolest thing in the world, and wanted to give you a pat on the back. Keep up the good work. You're awesome!
I think I'll order one of these cards so I can play around. If I can get a terminal over SSH or something I'll be happy.
Actually, if the drivers had been mainlined, you wouldn't see this problem as the one pushing the API change would have to fix all affected in-tree ocurances of this issue before it hits you.
There are a couple of 'reasons' for not mainlining a driver:
patience, respectively the lack thereof. You will get change requests in the submission phase, ranging from cosmetic nitpicking to rather substantial ones (like using a different framework or refactoring some existing functionality into a more generic API)
too many hacks involved to get going
losing interest/ motivation for the particular hardware (next shiny thing or problems with the hardware making further efforts unreasonable)
$employer not granting the time needed for the necessary changes
unclear licensing or patent status
a wish to remain the sole point of contact (be that commercial interests (support contracts) or merely a need for constant affirmation)
I appreciate the offer to send a card, but I'm in Canada. If shipping isn't too bad I can shoot you some money. If not don't worry about it. I was just impressed with your project.
Nova Scotia. I just signed up to this forum today for the purpose of saying you have a cool project, and I'm having a bit of trouble figuring out how to send you a private message.
You will have working SFP+ transceivers. Some work was done to get CN6880's SFP ports to work, assuming you don't have a XAUI chip that needs drivers. Do you see any chips between your SoC and SFP ports, or cna you post an image?
Other notes: Appears that the VSC8490 PHY is used in the EdgeRouter Infinity. Their GPL sources show the use of a vsc8490.c on a newer kernel -- since these drivers were also written by Cavium they may give some insight into more sane applications of a Vitesse PHY not requiring a massive changeset.
I'll also add this -- I've been a bit of a fool. I thought for some reason that XAUI was the protocol from the "PHY" to the SFP transceiver's actual PHY in certain cases -- instead it's from the SoC to the "PHY"; SFI/XFI is from the "PHY" to the transceiver. This makes a lot more sense on e.g. a big board where you need to communicate with a large number of different SFP transceivers. In this sense it acts much more like an actual PHY.
XAUI is just a four-lane 8b/10b for longer interconnects; the VSC8488 can turn it into XFI or SFI as needed.