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¶
a Raspberry Pi 5 with the Acorn and both cables fitted (How to fit the cables and the card (Raspberry Pi 5))
the fpgas.online apt repository added on the Pi (fpgas-verify: installing it, step 1)
on bookworm: the fpgas.online-fpga-tools apt repository added too (fpgas-verify: installing it, step 2). Debian bookworm’s openFPGALoader is too old for the check
the header’s serial port on (
/dev/ttyAMA0) and the kernel console off it, for thep2-uartandp2-serialtests (A Raspberry Pi 5’s settings for an Acorn)
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:andWhat 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-debugand 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¶
How to run the Acorn check on a Raspberry Pi 5: reading the result, test by test.
fpgas-verify: what an Acorn check tests: each test, and when it passes.
Acorn packages: what each package installs.
Acorn PCIe programming and multiboot: writing the flash with
fpgas-acorn-flash, and converting a card.