Other Acorn check messages on a Compute Blade

The check of your Acorn on a Compute Blade printed a line that is not about one of the cables’ wires (the card’s image, its memory, the tool itself), and you want to know what it means.

Every other message about an Acorn

The check’s own words, from the tool’s list of common failures, which has the other boards’ too. A wire of the cables is behind the jtag and p2-… lines only. For those, A failing Acorn test on a Compute Blade goes from the line to the wire.

It says

Meaning, and what to do

fail: unconverted: …

an Acorn on SQRL’s factory image (or the XDMA sample). Do not load a design into the card or convert it. The one time a design was loaded into a card on a blade, the card’s PCIe endpoint did not come back: neither a bus rescan nor a root-complex re-probe restored it (the record of that run)

fail: … is not a design we built

a Xilinx PCIe design the Acorn check does not know; its flash is not read

fail: pcie-bar0 fail: running the golden image

the Acorn’s operational slot did not boot; it fell back to golden

fail: pcie-link fail: link is x2, expected x1

the Acorn’s PCIe link is not the setup’s (expected.toml)

fail: rp1-pio fail: /dev/pio0: No such file or directory; kernel module rp1_pio is not loaded; kernel: … (Acorn on a Pi 5 or CM5)

the Pi’s RP1 PIO, which openFPGALoader’s rp1pio JTAG cable uses, is not there or cannot be opened: where the setup’s Acorn JTAG cable is rp1pio, the JTAG tests then cannot run (a setup whose cable is libgpiod does not use the RP1 PIO for JTAG). The reason says which: /dev/pio0 missing, … is not a character device, or cannot open /dev/pio0: …; then each of the rp1_fw and rp1_pio modules with no /sys/module entry (a driver built into the kernel has none either, so that line alone does not prove it missing); then the kernel’s last line about the RP1. With failed to contact RP1 firmware there, the Pi’s bootloader carries RP1 firmware that rp1_pio cannot talk to: update the Pi’s bootloader EEPROM. With kernel module rp1_pio is not loaded and no kernel line, load it (sudo modprobe rp1_pio) and run the check again. For the other causes, or the module loaded and still no /dev/pio0, look at the Pi: ls -l /dev/pio0 and the kernel’s RP1 lines (`journalctl -k -b

fail: jtag fail: P1 JTAG chain has …, expected one … (Acorn)

the P1 JTAG chain does not hold exactly one FPGA of the Acorn’s part (the variant’s, or any Acorn’s when the variant is not known); the reason names what answered. Another part: most likely the P1 cable reaches another board’s JTAG, or the card is not the variant its PCIe IDs say. More than one device: something else is wired into the chain

fail: jtag fail: no device on the P1 JTAG chain / p2-uart fail: no UARTBone reply on /dev/ttyAMA0 (Acorn)

an Acorn’s JTAG or P2 UART cable is off or miswired

fail: jtag fail: P1 JTAG could not be probed: GPIO14 (TMS) is held by 1f00030000.serial (uart0): the kernel does not hand out a pin that is held… (Acorn)

an Acorn’s JTAG pin is in use by another driver, so the JTAG tool was not started. On a Compute Blade with a CM5 (kernel 6.18), TMS and the serial port’s TX are both GPIO14, and with the serial port on the kernel does not lend the pin: JTAG cannot be tested there while the serial port is on. With the header’s serial port off at boot the pin is free: How to make a Compute Blade boot ready for JTAG

fail: jtag fail: … gpiod_line_request_set_values_subset: Assertion 'request' failed (Acorn on a Compute Blade)

openFPGALoader could not have one of the JTAG pins, because a driver holds it. On a Compute Blade with a CM5 (kernel 6.18) the serial port holds GPIO14, which is also JTAG TMS: the JTAG test cannot run there while the serial port is on. With the header’s serial port off at boot the pin is free: How to make a Compute Blade boot ready for JTAG

fail: jtag fail: openFPGALoader printed no raw IDCODE scan (needs --verbose-level 2 output)

the tool’s version, not the board: openFPGALoader exited 0 but printed no - 0 -> 0x... lines at --verbose-level 2, so it is older than v0.9.0. Its last lines are in the report’s output

fail: jtag fail: … failed (exit N) before scanning the JTAG chain: …

the scan tool exited with an error and printed no scan: the cable or gpiochip would not open, say. The reason ends with its last line of output; more is in the report’s output

fail: jtag fail: openFPGALoader --detect exited N on the P1 JTAG chain (Acorn)

the IDCODE scan reported an error, even if it printed an IDCODE, so the device DNA was not read over P1 JTAG; its last lines are in the report’s output

fail: jtag fail: device DNA over P1 JTAG reads 0x…: the DNA port is not being read (Acorn)

the DNA read over JTAG is all zeros or all ones, which is no chip’s DNA. The IDCODE read worked without TDI, so check the P1 TDI wire first. Ask the site operator, then power off the Compute Blade: unplug its PoE cable, and a USB-C cable if one is plugged in. Check the TDI wire with the card out and both plugs pulled, as steps 3 and 4 of How to fill the JTAG cable’s housing (Compute Blade) do; fit the cables again (How to fit the cables and the card (Compute Blade)), and run only the check’s jtag test (sudo fpgas-acorn-verify --no-publish --test jtag), in a boot with the header’s serial port off, and only after steps 7 and 8 of How to make a Compute Blade boot ready for JTAG pass (check that GPIO14 is free; check that nothing on the card drives GPIO14); not openFPGALoader by hand

fail: jtag fail: device DNA over JTAG … is not the one over BAR0 (Acorn)

the P1 TDI wire does not carry, or the DNA readout is wrong. Only a good BAR0 DNA is compared: one of all zeros or all ones is pcie-bar0’s own fault (device DNA over BAR0 reads 0x0: the DNA port is not being read)

fail: p2-serial fail: K2 -> GPIO15: … / p2-serial fail: GPIO14 -> J2: …

a P2 serial wire is cut or miswired

fail: scratch fail: scratch over BAR0: wrote 0x…, read 0x… / scratch fail: scratch over P2 UART: wrote 0x…, read 0x… / scratch fail: scratch over P2 UART: no reply on … (…) / scratch fail: the P2 UART does not answer as a build of the installed release (Acorn)

the FPGA’s control scratch register did not read back what was written, or its UARTBone bridge on the P2 cable did not answer as expected. wrote …, read …: the check reached the design’s registers (over BAR0 only once its gate passed, pcie-bar0), and the register did not keep the value; the values written and read are in the reason, and the same over both paths points at the FPGA, not a cable. no reply on …: the P2 UART cable, as for p2-uart. does not answer as a build of the installed release: the bridge answered with an identifier no build of this release has, so the FPGA runs another design than the one the check expects

fail: ddr fail: DRAM write … MB/s, below the … MB/s expected / ddr fail: … words wrong in the … half

the DRAM is slow or broken; selftest.py shows more

error: this host (…) is not an Acorn setup in wiring.toml

an Acorn on a host neither setup has: add the host to wiring.toml if it is a real setup

error: … does not match its manifest / manifest.json is missing

sudo apt install --reinstall fpgas-online-<board>-bitstreams

changed

the board or its flash differs from the recorded state. Meant it? Record what the check finds. Run sudo fpgas-verify --no-publish --update. It runs the whole check, jtag too: in a boot with the header’s serial port off, run it only after steps 7 and 8 of How to make a Compute Blade boot ready for JTAG pass (check that GPIO14 is free; check that nothing on the card drives GPIO14)