Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
b202782afThis file is pinned to the selected release. Download the original to open it in your design tool.
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