The Cavium 1 OCTEON 2 is a multicore SoC platform marketed primarily towards makers of network infrastructure equipment which is supported by FreeBSD/mips. It comes in configurations of 1 to 32 cores at clock rates ranging from 300MHz to 1.5GHz. The greatest number of cores and the highest clock rates are based on a recent revision to the architecture called OCTEON II which is not as readily-available as the previous incarnation, Octeon Plus. Octeon Plus boards running between 500MHz and 750MHz are readily available on eBay and direct from manufacturers with between 2 and 16 cores in PCI-X and standalone form factors.

Cavium requires an NDA for access to documentation but also runs a cnUsers 3 program through which anyone may get access to their periodic releases of an open source version of their SDK. This is like the usual Octeon SDK but does not include advanced APIs for cryptography and compression, providing only primitive or limited interfaces, though these can generally be used to effect more advanced functionality with little effort.

FreeBSD can be booted on Octeon from disk or network using an ELF kernel through U-Boot with the "bootoctlinux" command. Support for some on-chip facilities is limited to those for which the kernel has some use and support for peripheral buses is yet nascent, although PCI, PCI-X and PCIe support is fairly complete. (There may be DMA issues with some PCI and PCI-X devices.) There are not, for example, drivers that provide some interface to the on-chip DFA engine.

The Ethernet driver does not fully support some newer hardware, as Octeon II hardware has not been obtainable by those working actively on FreeBSD support for Octeon. Basic packet passing functionality up to 1G speeds does seem to work.

Specific commercially-available boards tested and working with -CURRENT:

Cavium-provided development boards tested and working with -CURRENT:

The Cavium-provided simulator is also likely to work with -CURRENT although it is not tested or developed on as frequently as physical hardware. See here for possibly out-of-date information on using the simulator. Note that the Cavium Octeon simulator is not available as part of the non-commercial open-source SDK from cnUsers, and only runs on Linux.

The page FreeBSD 10.x on Ubiquiti EdgeRouter Lite has good information on getting FreeBSD installed on the EdgeRouter Light. It is confirmed to be working on HEAD as of r289393:

FreeBSD erl.funkthat.com 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r289393M: Thu Oct 15 17:02:12 PDT 2015 jmg@carbon.funkthat.com:/a/obj/mips.mips64/a/home/jmg/FreeBSD.svn/HEAD/sys/ERL  mips

JuliMallett has posted dmesg output from a variety of Octeon systems.

  1. caviumnetworks.com (1)

  2. caviumnetworks.com/OCTEON_MIPS64.html (2)

  3. cnusers.org (3)

mips/Octeon (last edited 2021-04-02T08:18:47+0000 by SashaVigole)