How to install the Acorn packages

You have an Acorn on a Raspberry Pi 5 and want its fpgas.online packages and its check.

This is for an Acorn on a Raspberry Pi 5. On a Compute Blade, follow How to run the Acorn check on a Compute Blade instead: there the packages are installed after each boot.

What you need

Steps

1. Install the Acorn’s packages. This also turns the check at boot on (fpgas-verify.service).

sudo apt install fpgas-online-acorn

2. Check the board. Nothing is sent to the site: --no-publish makes sure.

sudo fpgas-acorn-verify --no-publish

Check

The first line of the output starts with fpgas-verify: pass. The board’s line (two spaces in, the board’s name first) ends in pass. So does the line of each test that ran (four spaces in, the test’s name first: jtag       pass, for one). The result is pass only when every test that ran passes and no fault is listed.

A test that does not apply to the setup is listed as not run, which is not a failure. Two lines are not tests: flash 0x000000 match and flash 0x400000 match, the flash test’s slots. fpgas-verify: reading the result shows a whole pass as the tool prints it.

If it fails

  • The first line names the result, and the output ends with RESULT: and What to do:. fpgas-verify: reading the result says what each result means.

  • A failing Acorn test on a Raspberry Pi 5 goes from a failing line to the wire.

  • A reason that starts unconverted: means the card runs the image it was sold with, or Xilinx’s XDMA sample design, and not the fpgas.online one. If the card is an Acorn, convert it: How to install the fpgas.online images on an Acorn. The XDMA sample can also be a NeTV2 on PCIe, which that page does not apply to. On a Compute Blade, do not convert a card.

  • To look at the card yourself, install fpgas-online-acorn-debug and run its two reads:

sudo fpgas-acorn-debug detect       # the Acorn-family endpoints on PCI
sudo fpgas-acorn-debug identify     # the running build and the flash's part, JEDEC ID and unique ID, read live

Next