From f923b1b8c3adeb88c8322e05b615b632cdf12bea Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Tue, 17 Jan 2023 19:46:07 +0100 Subject: Changed example to use flashrom from APT repository. The package from Debian Bullseye seem to work fine, no need to build your own version. --- example/README | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/example/README b/example/README index 100c6b9..b4a8b50 100644 --- a/example/README +++ b/example/README @@ -2,18 +2,11 @@ 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 + sudo apt-get install yosys fpga-icestorm arachne-pnr flashrom make 2. Make sure your Pi has SPI enabled (e.g. use raspi-config) -3. Building and installing the flashrom tool - - 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: +3. Load the rot.bin file to the shield: make load -- cgit v1.2.3