Skip to content

OCTEON TX2 - Marvell CN9xxx

PCI id     177d:b200   (VF 177d:b203)
driver     none here
platforms  xgs1ul, xgs1ul_4x80, xgs2u, xgs2ub
hardware   NONE. Nothing has been powered on.
state      documented from the vendor's own tables and binaries

No claim is made about this family. What follows is what the vendor's material says, carried because it is useful to anyone who owns such a board and because the family table has to be complete for the other rows to mean anything.

What is known without the hardware

The target-side kernel modules are the same build as OCTEON TX's. Checked on the BSP: all 105 modules in each of the three trees differ by exactly 20 bytes at file offset 0x50 - the GNU build-id - and nothing else, with identical module version magic. Family selection happens at runtime: the endpoint module carries the string Unsupported CPU type and the device-tree aliases marvell,octeontx-ep and marvell,octeontx2-ep, and takes epf_num, pem_num and host_sid as parameters, the last with its formula stated in the module itself.

Per-family divergence lives in user space, not in the modules. The vendor's fast-path binaries differ genuinely between families: the TX2 one is dominated by otx2_ssogws and otx2_nix symbols and whitelists real PCI addresses with a DSA switch header and an IPsec SPI limit, where OCTEON TX presents a single eth_octeontx virtual device and counts host-facing ports as a parameter of it. The host-facing plumbing is therefore shaped differently again, and an implementation should not assume either of the other two families.

The models

From the vendor's board files and class tools, and its installer's model table (vendor versions 22 and 23). Each model whose board a board file describes whole has its page on the site, from those files alone.

model assembly, class coprocessor front ports
XGS 4300 AMDA0203-0001 CN9265 4 x 1G and 4 x 2.5G RJ45, 4 SFP+
XGS 4500 AMDA0203-0002 CN9265 the same
XGS 5580 AMDA0228-0003, a CN9670 8 x 2.5G RJ45, 4 SFP28
XGS 5500 AMDA0204-0001 CN9670 8 x 1G RJ45, 8 SFP+
XGS 6500 AMDA0204-0002 CN9670 8 x 1G RJ45, 12 SFP+
XGS 4380, 4580 not known not known 8 x 2.5G RJ45, 4 SFP28 in the vendor's pictures
XGS 5510, 6510 not known not known the vendor's settings and port grids disagree
XGS 6580 AMDA0225-0001, a CN9670 its board file and the vendor's picture disagree

XGS 4310 is no model: it is the name the AMDA0228 board files carry in their first line, and no list of the vendor's models has it; class a of AMDA0228-0003 is the XGS 5580. The XGS 5500 has three module bays, A to C, as its datasheet and the vendor's port grid have it, though its board file declares a fourth.

How an appliance of it is named (since 2026-12-02)

board.sh and scripts/xgs/models.py name every model of the range, this family's too, by the host's SMBIOS system version - <number>[W]r<revision> under the system product XGS, the key the vendor's own installer picks a model by. On one of these board.sh prints <system version> octeontx2 nodriver and exits 2, and the installer says which model it is and why, and installs nothing. Every script that touches the hardware acts only on the two families with a driver, so nothing runs on it. The problem reporter expects no driver there either, and a report from one names its board by that system version. models.py --json gives its model, family, its coprocessor where a board file names it and driver: null, and no ports.

Where upstream already helps

Linux's mainline octeon_ep driver does bind this part. Its id table, in drivers/net/ethernet/marvell/octeon_ep, covers 0xB100, 0xB200, 0xB203, 0xB400, 0xB900, 0xBA00, 0xBC00 and 0xBD00, all under vendor 0x177d. It does not cover 0xA300.

It is a different protocol generation, though: its ready magic is 0xdeaddeadbeefbeef, and it finds its control mailbox by construction - a PEM BAR index into BAR4 - rather than by following a pointer out of a scratch register. Two things do carry over: the PEM BAR index mechanism with its 4 MB windows, and the BAR0 window-address/window-data register pair that lets a host read target physical memory without mapping it.

What is held here, and what could be done without the hardware

material detail
hardware none
fast path usfp for this family, 6.8 MB, with full symbols and DWARF
firmware U-Boot for xgs1ul, xgs1ul_4x80, xgs2u, xgs2ub, both BSP versions
launcher usfp_startup_octtx2.sh, and DP_1UL/2U/2UB_STARTUP_SCRIPT in dp_startup.conf
source the shared GPL drop, whose sources-dpdk_app builds this same application

The symbols are the point. Most of what this project learned about OCTEON TX was recovered from the equivalent binary, so a reader with no CN9xxx hardware can still establish the message numbering, the port model and the startup configuration for this family from what is here.

The 2U boards wait for the host

Read on 2026-10-27 from the XGS 3300's coprocessor software (vendor version 22), which carries the start-up of every board. On the 2U boards - AMDA0204 and AMDA0225, and as 2Ub AMDA0205 and AMDA0226 (octeon-tx2-98xx.md) - the coprocessor's start-up waits, with no time limit, for a mark the vendor's host leaves on it at every boot. Only then does it rebuild its platform database and start NetAgent's side (netagent.md). The one other way past the wait is the vendor's host having given the coprocessor its address; that is taken as an older host, and the rebuild is skipped.

This project does neither. So under OPNsense a 2U board's NetAgent would not start, and no front port would come up, until the host did the same. The 1U, 1UL and desktop boards do not wait for it. None of this is tested: there is no 2U board here.

Discussion

The discussion of this page is held in the project's GitHub Discussions. Showing it here loads giscus from giscus.app and GitHub, and writing in it needs a GitHub account - what that means.