summaryrefslogtreecommitdiff
path: root/example/README
blob: bde2a04271113399546fc930e9e063b1a3956576 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
To install all necessary packages and synthesize and program 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

3. Building and installing the flashrom tool
 git clone https://www.flashrom.org/git/flashrom.git
 cd flashrom
 make CONFIG_ENABLE_LIBPCI_PROGRAMMERS=no CONFIG_ENABLE_LIBUSB0_PROGRAMMERS=no CONFIG_ENABLE_LIBUSB1_PROGRAMMERS=no install