diff options
author | Vladimir Vassilev <vladimir@lightside-instruments.com> | 2023-01-09 00:11:00 +0100 |
---|---|---|
committer | Vladimir Vassilev <vladimir@lightside-instruments.com> | 2023-01-09 00:11:00 +0100 |
commit | b2e77009d48f0635823afc4903d74e0dd134075f (patch) | |
tree | 0f2a3ee9a79596fc421989333562cec304ada789 /example/README | |
parent | 96057b3ff691ec66539b791cb227f55fc640f7f1 (diff) |
Release ice4pi-2.2
Diffstat (limited to 'example/README')
-rw-r--r-- | example/README | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/example/README b/example/README index bde2a04..100c6b9 100644 --- a/example/README +++ b/example/README @@ -1,18 +1,19 @@ -To install all necessary packages and synthesize and program ice4pi: +Assuming you are running on a Raspberry Pi 2-4 or Zero (tested with bullseye): + +1. Install all necessary packages to synthesize rot.v and build bit image (rot.bin) for the ice4pi: sudo apt-get install yosys fpga-icestorm arachne-pnr make -1. Make sure your Pi has SPI enabled - -2. There is a problem in arachne-pnr reporting bogus dependency conflict that can be worked around: - - apt-get source arachne-pnr - cd arachne-pnr-0.1+20180909git840bdfd-1.1/ - dpkg-buildpackage -us -uc -j2 - sudo dpkg -i ../arachne*.deb +2. Make sure your Pi has SPI enabled (e.g. use raspi-config) 3. Building and installing the flashrom tool - git clone https://www.flashrom.org/git/flashrom.git + + git clone https://github.com/lightside-instruments/flashrom.git cd flashrom make CONFIG_ENABLE_LIBPCI_PROGRAMMERS=no CONFIG_ENABLE_LIBUSB0_PROGRAMMERS=no CONFIG_ENABLE_LIBUSB1_PROGRAMMERS=no install + cd .. + +4. Load the rot.bin file to the shield: + + make load |