From b2e77009d48f0635823afc4903d74e0dd134075f Mon Sep 17 00:00:00 2001 From: Vladimir Vassilev Date: Mon, 9 Jan 2023 00:11:00 +0100 Subject: Release ice4pi-2.2 --- example/README | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'example/README') 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 -- cgit v1.2.3