summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2023-01-17 19:46:07 +0100
committerVladimir Vassilev <vladimir@lightside-instruments.com>2023-01-22 03:27:54 +0100
commitf923b1b8c3adeb88c8322e05b615b632cdf12bea (patch)
tree748cdbc67256bff93285b905a0e90bd6b452391f /example
parentb2e77009d48f0635823afc4903d74e0dd134075f (diff)
Changed example to use flashrom from APT repository.
The package from Debian Bullseye seem to work fine, no need to build your own version.
Diffstat (limited to 'example')
-rw-r--r--example/README11
1 files 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