How To Install icestorm on Fedora 34

icestorm is Lattice iCE40 FPGA bitstream creation/analysis/programming tools

Introduction

In this tutorial we learn how to install icestorm on Fedora 34.

What is icestorm

Project IceStorm aims at documenting the bitstream format of Lattice iCE40 FPGAs and providing simple tools for analyzing and creating bitstream files.

We can use yum or dnf to install icestorm on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install icestorm.

Install icestorm on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install icestorm using dnf by running the following command:

sudo dnf -y install icestorm

Install icestorm on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install icestorm using yum by running the following command:

sudo yum -y install icestorm

How To Uninstall icestorm on Fedora 34

To uninstall only the icestorm package we can use the following command:

sudo dnf remove icestorm

icestorm Package Contents on Fedora 34

/usr/bin/icebox.py
/usr/bin/icebox_asc2hlc
/usr/bin/icebox_chipdb
/usr/bin/icebox_colbuf
/usr/bin/icebox_diff
/usr/bin/icebox_explain
/usr/bin/icebox_hlc2asc
/usr/bin/icebox_html
/usr/bin/icebox_maps
/usr/bin/icebox_stat
/usr/bin/icebox_vlog
/usr/bin/icebram
/usr/bin/icemulti
/usr/bin/icepack
/usr/bin/icepll
/usr/bin/iceprog
/usr/bin/icetime
/usr/bin/iceunpack
/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/bd71fc6749fc0807587fa01f3c1a364c98c986
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/e04f8740ea2b16aeba501541050d44b7145c60
/usr/lib/.build-id/92
/usr/lib/.build-id/92/2c457ce2eb290d3e34928d1269c962652eee4c
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/6de07d019cf423e5721374d6d8d2145eb70636
/usr/lib/.build-id/af
/usr/lib/.build-id/af/a12a01a6813d6d769764aba5dc05389bd5a2d3
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/548c48c8b24fc42bb4c87042961a017473b7b2
/usr/share/doc/icestorm
/usr/share/doc/icestorm/examples
/usr/share/doc/icestorm/examples/hx8kboard
/usr/share/doc/icestorm/examples/hx8kboard/Makefile
/usr/share/doc/icestorm/examples/hx8kboard/example.v
/usr/share/doc/icestorm/examples/hx8kboard/hx8kboard.pcf
/usr/share/doc/icestorm/examples/iceblink
/usr/share/doc/icestorm/examples/iceblink/Makefile
/usr/share/doc/icestorm/examples/iceblink/README
/usr/share/doc/icestorm/examples/iceblink/example.v
/usr/share/doc/icestorm/examples/iceblink/iceblink.pcf
/usr/share/doc/icestorm/examples/icebreaker
/usr/share/doc/icestorm/examples/icebreaker/Makefile
/usr/share/doc/icestorm/examples/icebreaker/README
/usr/share/doc/icestorm/examples/icebreaker/example.v
/usr/share/doc/icestorm/examples/icebreaker/icebreaker.pcf
/usr/share/doc/icestorm/examples/icemulti
/usr/share/doc/icestorm/examples/icemulti/Makefile
/usr/share/doc/icestorm/examples/icemulti/README
/usr/share/doc/icestorm/examples/icemulti/app0.v
/usr/share/doc/icestorm/examples/icemulti/app1.v
/usr/share/doc/icestorm/examples/icemulti/app2.v
/usr/share/doc/icestorm/examples/icemulti/app3.v
/usr/share/doc/icestorm/examples/icemulti/icestick.pcf
/usr/share/doc/icestorm/examples/icestick
/usr/share/doc/icestorm/examples/icestick/Makefile
/usr/share/doc/icestorm/examples/icestick/checker.v
/usr/share/doc/icestorm/examples/icestick/checker_tb.v
/usr/share/doc/icestorm/examples/icestick/example.v
/usr/share/doc/icestorm/examples/icestick/icestick.pcf
/usr/share/doc/icestorm/examples/icestick/rs232demo.v
/usr/share/doc/icestorm/examples/icestick/rs232demo_tb.v
/usr/share/doc/icestorm/examples/icezum
/usr/share/doc/icestorm/examples/icezum/Makefile
/usr/share/doc/icestorm/examples/icezum/example.v
/usr/share/doc/icestorm/examples/icezum/icezum.pcf
/usr/share/doc/icestorm/examples/up5k_rgb
/usr/share/doc/icestorm/examples/up5k_rgb/Makefile
/usr/share/doc/icestorm/examples/up5k_rgb/Makefile.uwg30
/usr/share/doc/icestorm/examples/up5k_rgb/README
/usr/share/doc/icestorm/examples/up5k_rgb/rgb.pcf
/usr/share/doc/icestorm/examples/up5k_rgb/rgb.v
/usr/share/doc/icestorm/examples/up5k_rgb/rgb_uwg30.pcf
/usr/share/icestorm
/usr/share/icestorm/chipdb-1k.txt
/usr/share/icestorm/chipdb-384.txt
/usr/share/icestorm/chipdb-5k.txt
/usr/share/icestorm/chipdb-8k.txt
/usr/share/icestorm/chipdb-lm4k.txt
/usr/share/icestorm/chipdb-u4k.txt
/usr/share/icestorm/iceboxdb.py
/usr/share/icestorm/timings_hx1k.txt
/usr/share/icestorm/timings_hx8k.txt
/usr/share/icestorm/timings_lp1k.txt
/usr/share/icestorm/timings_lp384.txt
/usr/share/icestorm/timings_lp8k.txt
/usr/share/icestorm/timings_u4k.txt
/usr/share/icestorm/timings_up5k.txt
/usr/share/licenses/icestorm
/usr/share/licenses/icestorm/README

References

Summary

In this tutorial we learn how to install icestorm on Fedora 34 using yum and dnf.