diff options
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 |