Board identity¶
fpgas-verify describes each board it finds as one flat set of fields. The same fields are in three places:
the boot report,
/run/fpgas-online/verify.json, as each board’sidentity;the
fpga-board-identifiedevent, sent once for each board found;the identity document (see The document).
The field names are rpi-hwid’s FpgaBoard fields, spelled the same, a
Tiny Tapeout board’s TinyTapeoutBoard fields, and some fields only fpgas-verify has. The code is
identity.py.
Rules¶
A missing field was not read. A field is never present with an empty value.
nullmeans the field was read and there is no value: only a Tiny Tapeout field can benull.A read that was tried and failed gives
<field>_errorinstead, with the reason in words:dna_error,idcode_error,flash_error,flash_sfdp_error, andtinytapeout_errorfor all the Tiny Tapeout fields together.Hex identifiers are lower case, start with
0x, and have a fixed number of digits. The flash’s unique ID is the exception: plain hex with no0x, as rpi-hwid writes it.Types. In the report and the document, numbers are JSON numbers and true/false are JSON booleans. In the event every value is a string (see The event).
Fields¶
rpi-hwid’s FpgaBoard fields:
Field |
Type |
Value |
Missing when |
|---|---|---|---|
|
string |
|
never |
|
string |
the USB serial number (Arty: its FT2232H; TT: its RP2350) |
the board is not found on USB, or has no USB serial (the Fomu: foboot has none) |
|
string |
the Xilinx device DNA, 16 hex digits: |
not read: the board has no DNA (TT, Fomu). The Acorn reads it over BAR0, or over JTAG when BAR0 cannot be used; the Arty and NeTV2 over JTAG ( |
|
string |
the whole 32-bit JTAG IDCODE, 8 hex digits: |
the board has no JTAG link to the Pi (TT, Fomu), or the JTAG test was not run. The NeTV2 is found by scanning its JTAG chain, so it has the IDCODE that scan read even when its JTAG test is not run |
|
string |
the flash part: |
the flash was not read, its part is not known, or (Arty, NeTV2) the chip does not name it |
|
string |
RDID bytes 1-3, 6 hex digits: |
the flash was not read |
|
string |
RDID bytes 4-6, 6 hex digits: |
the flash was not read, or (Arty, NeTV2) its family defines no RDID bytes after the JEDEC ID |
|
string |
the SFDP revision the flash answered Read SFDP with, |
the flash was not read; |
|
string |
the flash’s factory unique ID, plain hex |
the flash was not read, or |
|
number |
the unique ID’s length in bits: |
the flash was not read, or |
|
string |
|
the flash was not read |
|
string |
why a flash with |
|
|
string |
why the flash could not be read |
the flash was read, or reading it was not tried |
|
string |
how the flash was read: |
the flash was not read |
|
string |
the card the Acorn’s SoC says it was built for, from the variant its identifier string names: |
not an Acorn running our SoC (SQRL’s factory image, a design we do not know), BAR0 could not be read, or the identifier names no variant |
fpgas-verify’s own fields:
Field |
Type |
Value |
Missing when |
|---|---|---|---|
|
string |
the board’s name in the state and the events: |
never |
|
string |
the board’s variant: |
the variant is not known |
|
string |
the PCI slot: |
not a PCIe board |
|
string |
the USB path: |
not a USB board |
|
string |
the identifier string of the build the Acorn runs |
not an Acorn running a design we built, or BAR0 could not be read |
|
string |
which build of the installed release runs: |
the identifier is not one of the release’s builds |
|
number |
IDCODE bits 31-28, the silicon revision |
as |
|
string |
IDCODE bits 27-12, 4 hex digits: |
as |
|
string |
IDCODE bits 11-1, the JEP106 code, 3 hex digits: |
as |
|
string |
|
as |
|
string |
|
as |
|
number |
the flash’s size from its RDID (Arty, NeTV2: the SFDP’s density, or openFPGALoader’s size when it did not take it from its list of parts): |
the flash was not read, or its RDID gives no size |
|
string |
status register 1, 2 hex digits: |
the flash was not read |
|
string |
the configuration register, 2 hex digits: |
the flash was not read |
|
boolean |
the configuration register’s QUAD bit |
the flash was not read |
|
string |
the command that read the unique ID: |
as |
|
string |
why the Tiny Tapeout fields were not read: rpi-hwid is not installed (the board then has no |
not a TT board, or rpi-hwid is installed |
|
string |
why rpi-hwid could not give the Tiny Tapeout fields: it failed, gave no usable answer, did not see the board, found no Tiny Tapeout SDK on it, gave an empty field, or could not read |
not a TT board, rpi-hwid gave the fields, or it is not installed |
Tiny Tapeout fields¶
A TT board’s fields are rpi-hwid’s TinyTapeoutBoard fields, under its names. The site makes rpi-hwid’s Tiny
Tapeout label from them. Except usb_serial, they come from rpi-hwid tinytapeout --json --no-stop-service,
which the boot check runs while it holds the board’s port (see fpgas-verify: TT FPGA identity).
rpi-hwid gives null for a field it read and found no value for: the TT FPGA has no shuttle, for example.
Every TT FPGA board has an mcu, chip, demoboard and sdk, so rpi-hwid giving null for one of those
means its read failed: the identity then has tinytapeout_error instead of the Tiny Tapeout fields. A field
rpi-hwid leaves out was not read, and is missing from the identity too.
Field |
Type |
Value |
Missing when |
|---|---|---|---|
|
string |
the RP2350’s USB serial number, the same as |
the board is not found on USB |
|
string |
the demo board’s microcontroller: |
rpi-hwid did not read the board ( |
|
string or null |
the Tiny Tapeout shuttle of the chip, from its ROM: |
as |
|
string |
|
as |
|
string or null |
the chip’s repository, from its ROM |
as |
|
string or null |
the chip’s commit, from its ROM |
as |
|
string |
the demo board as the SDK detected it: |
as |
|
string or null |
the demo board version that shipped with the shuttle’s kit: |
as |
|
string |
the Tiny Tapeout SDK release on the board |
as |
SFDP¶
SFDP (Serial Flash Discoverable Parameters, JEDEC JESD216) is a table a flash keeps about itself, read with
the Read SFDP command: opcode 5Ah, a 3-byte address, then 8 dummy clocks. The Acorn reads the 8-byte header
at address 0 through its SoC’s SPI master, the same way as the flash’s IDs: it is a read, writes nothing to
the flash, and is part of --identify. In the header, bytes 0-3 are the signature, the ASCII letters SFDP;
byte 4 is the minor revision and byte 5 the major revision. flash_sfdp is major.minor, or none when the
first four bytes are not the signature. An answer shorter than 8 bytes is not a read, and gives no
flash_sfdp.
The Acorn’s S25FL256S has no SFDP. Its datasheet (Infineon 002-19099 Rev. *D, S25FL128S/S25FL256S) has no
5Ah in its command summary (section 13.1) and does not mention SFDP. The part describes itself only in its
ID-CFI space, read with RDID (sections 7.3, 11.2.2 and 13.2). Read SFDP is not one of its commands, so its
answer has no signature and flash_sfdp should be none. This comes from the datasheet. The S25FS256S, the 1.8 V part of the same family, does answer Read SFDP. rpi-hwid
uses flash_sfdp to tell an S25FL127S (which has SFDP) from an S25FL128S (which has not), parts that share
their RDID bytes.
A failed Read SFDP gives flash_sfdp_error and fails the Acorn’s pcie-bar0 test; the flash’s other fields
still stand.
What each board has¶
Board |
Fields |
|---|---|
Acorn |
|
Arty |
|
NeTV2 |
|
TT |
|
Fomu |
|
The Arty and NeTV2 flash¶
The boot check reads the flash’s identity with openFPGALoader --flash-info-json FILE, over the board’s JTAG:
-b arty on the Arty; on the NeTV2 the header’s pins (--pins 27:22:4:17, libgpiod on a Pi 3/4, rp1pio on a
Pi 5) with --fpga-part xc7a35tfgg484 or xc7a100tfgg484. Only the fpgas.online builds of openFPGALoader have
--flash-info-json. It writes a JSON document, {"format": "openFPGALoader-flash-info", "version": 2, "flashes": [...]}, and the check takes only version 2 of that format, with exactly one flash. It gives:
Field |
From the document |
|---|---|
|
|
|
|
|
the SFDP’s |
|
|
|
|
|
|
|
|
|
|
openFPGALoader reaches the flash through its SPI-over-JTAG bridge: it loads the bridge in place of the running design, and afterwards the FPGA reloads from its flash. So the check reads it after the JTAG test (IDCODE and device DNA) has passed and before it loads any test design, and before it sends
fpga-board-identified, which carries the fields.--identifyloads nothing, so it never reads them: they come from the boot report.A read that fails gives
flash_error, and the board’s result iserror, its reason naming it: openFPGALoader could not run, exited non-zero, wrote no file (it writes none when a unique ID or SFDP read fails), or wrote one that is not JSON, not version 2 of that format, does not have exactly one flash, or reads all00orffas a unique ID it says it read. When the JTAG test did not pass, the flash is not read andflash_errorsays so; the JTAG test has already failed the board.The state’s
flash_jedec, compared from one run to the next, is thisflash_jedec. Theflashtest’s design prints the JEDEC ID it reads too; that stays in its test entry.
The event¶
fpga-board-identified carries the fields as flat key=value strings:
strings as they are;
numbers in decimal:
flash_size_bytes=33554432;booleans as
trueorfalse:flash_quad=true;a list or object as one key whose value is compact JSON with sorted keys:
["a","b"], holding only strings, whole numbers, booleans, null, and lists and objects of those (object keys are strings) at any depth;-only for a field that was read and has no value; a field that was not read is left out;plus
schema=fpga-identity/1.
The Acorn sends it once PCIe and JTAG have said who it is; every other board sends it before its tests. A board
whose check stops before it says who the board is, or that is not checked at all (--test naming none of its
tests), still gets one, with what finding the board showed (for the NeTV2, the IDCODE fields). In
fpga-verified the same fields appear per board as board0_identity_<field>. A field whose value has no
event form (a bug in the board’s module) is left out of both, and that board’s result is error, its
reason naming the field; the other boards are still checked.
The document¶
The identity document holds the fields of every board found:
{
"schema": "fpgas-verify/identity",
"identity_version": 1,
"tool": "fpgas-online-verify 0.0.post808",
"read_at": "2026-10-02T00:00:00+00:00",
"source": "live",
"boards": [{"board": "acorn", "kind": "acorn", "dna": "0x0054b48664b04854", "...": "..."}]
}
source is always live. A run inside fpgas-verify --label prints the outer run’s document byte for byte,
so it says live too.
tests/data/identity-v1-acorn-p48.json is an example: an
Acorn CLE-215+ on a Raspberry Pi 5. rpi-hwid keeps a byte-identical copy and tests its reader on it. It is exactly what
that board printed, which did not include flash_sfdp.
Versions¶
The event’s
schemaisfpga-identity/1, and the document’sidentity_versionis1.Version 1 may gain new fields. A reader ignores fields it does not know.
Renaming or removing a field, or changing a value’s type or spelling, makes version 2.
A reader refuses any version other than the one it knows.