Project IceStorm - Fedora
IceStorm on Fedora
back to main IceStorm page.
History
2017-04-24: e1 - F25 - compile and install compile
[tingo@kg-elitebook nandland_go]$ cd icestorm [tingo@kg-elitebook icestorm]$ make -j4 for dir in icebox icepack iceprog icemulti icepll icetime icebram; do \ make -C $dir all || exit; \ done make[1]: Entering directory '/zs/tingo/work/nandland_go/icestorm/icebox' python3 icebox_chipdb.py -3 > chipdb-384.new python3 icebox_chipdb.py > chipdb-1k.new python3 icebox_chipdb.py -8 > chipdb-8k.new mv chipdb-384.new chipdb-384.txt mv chipdb-1k.new chipdb-1k.txt mv chipdb-8k.new chipdb-8k.txt make[1]: Leaving directory '/zs/tingo/work/nandland_go/icestorm/icebox' make[1]: Entering directory '/zs/tingo/work/nandland_go/icestorm/icepack' g++ -MD -O0 -ggdb -Wall -std=c++11 -I/usr/local/include -c -o icepack.o icepack.cc g++ -o icepack icepack.o -lm -lstdc++ ln -sf icepack iceunpack make[1]: Leaving directory '/zs/tingo/work/nandland_go/icestorm/icepack' make[1]: Entering directory '/zs/tingo/work/nandland_go/icestorm/iceprog' cc -MD -O0 -ggdb -Wall -std=c99 -I/usr/local/include -I/usr/include/libftdi1 -I/usr/include/libusb-1.0 -c -o iceprog.o iceprog.c cc -o iceprog iceprog.o -L/usr/local/lib -lm -lftdi1 -lusb-1.0 make[1]: Leaving directory '/zs/tingo/work/nandland_go/icestorm/iceprog' make[1]: Entering directory '/zs/tingo/work/nandland_go/icestorm/icemulti' g++ -MD -O0 -ggdb -Wall -std=c++11 -I/usr/local/include -c -o icemulti.o icemulti.cc g++ -o icemulti icemulti.o -lm -lstdc++ make[1]: Leaving directory '/zs/tingo/work/nandland_go/icestorm/icemulti' make[1]: Entering directory '/zs/tingo/work/nandland_go/icestorm/icepll' g++ -MD -O0 -ggdb -Wall -std=c++11 -I/usr/local/include -c -o icepll.o icepll.cc g++ -o icepll icepll.o -lm -lstdc++ make[1]: Leaving directory '/zs/tingo/work/nandland_go/icestorm/icepll' make[1]: Entering directory '/zs/tingo/work/nandland_go/icestorm/icetime' python3 timings.py > timings.inc.new mv timings.inc.new timings.inc g++ -MD -O0 -ggdb -Wall -std=c++11 -I/usr/local/include -DPREFIX='"/usr/local"' -DCHIPDB_SUBDIR='"icebox"' -c -o icetime.o icetime.cc g++ -o icetime icetime.o -lm -lstdc++ make[1]: Leaving directory '/zs/tingo/work/nandland_go/icestorm/icetime' make[1]: Entering directory '/zs/tingo/work/nandland_go/icestorm/icebram' g++ -MD -O0 -ggdb -Wall -std=c++11 -I/usr/local/include -c -o icebram.o icebram.cc g++ -o icebram icebram.o -lm -lstdc++ make[1]: Leaving directory '/zs/tingo/work/nandland_go/icestorm/icebram'
install
[tingo@kg-elitebook icestorm]$ sudo make install for dir in icebox icepack iceprog icemulti icepll icetime icebram; do \ make -C $dir install || exit; \ done make[1]: Entering directory '/zs/tingo/work/nandland_go/icestorm/icebox' mkdir -p /usr/local/share/icebox mkdir -p /usr/local/bin cp chipdb-384.txt /usr/local/share/icebox/ cp chipdb-1k.txt /usr/local/share/icebox/ cp chipdb-8k.txt /usr/local/share/icebox/ cp icebox.py /usr/local/bin/icebox.py cp iceboxdb.py /usr/local/bin/iceboxdb.py cp icebox_chipdb.py /usr/local/bin/icebox_chipdb cp icebox_diff.py /usr/local/bin/icebox_diff cp icebox_explain.py /usr/local/bin/icebox_explain cp icebox_colbuf.py /usr/local/bin/icebox_colbuf cp icebox_html.py /usr/local/bin/icebox_html cp icebox_maps.py /usr/local/bin/icebox_maps cp icebox_vlog.py /usr/local/bin/icebox_vlog cp icebox_stat.py /usr/local/bin/icebox_stat make[1]: Leaving directory '/zs/tingo/work/nandland_go/icestorm/icebox' make[1]: Entering directory '/zs/tingo/work/nandland_go/icestorm/icepack' mkdir -p /usr/local/bin cp icepack /usr/local/bin/icepack ln -sf icepack /usr/local/bin/iceunpack make[1]: Leaving directory '/zs/tingo/work/nandland_go/icestorm/icepack' make[1]: Entering directory '/zs/tingo/work/nandland_go/icestorm/iceprog' mkdir -p /usr/local/bin cp iceprog /usr/local/bin/iceprog make[1]: Leaving directory '/zs/tingo/work/nandland_go/icestorm/iceprog' make[1]: Entering directory '/zs/tingo/work/nandland_go/icestorm/icemulti' mkdir -p /usr/local/bin cp icemulti /usr/local/bin/icemulti make[1]: Leaving directory '/zs/tingo/work/nandland_go/icestorm/icemulti' make[1]: Entering directory '/zs/tingo/work/nandland_go/icestorm/icepll' mkdir -p /usr/local/bin cp icepll /usr/local/bin/icepll make[1]: Leaving directory '/zs/tingo/work/nandland_go/icestorm/icepll' make[1]: Entering directory '/zs/tingo/work/nandland_go/icestorm/icetime' mkdir -p /usr/local/bin cp icetime /usr/local/bin/icetime make[1]: Leaving directory '/zs/tingo/work/nandland_go/icestorm/icetime' make[1]: Entering directory '/zs/tingo/work/nandland_go/icestorm/icebram' mkdir -p /usr/local/bin cp icebram /usr/local/bin/icebram make[1]: Leaving directory '/zs/tingo/work/nandland_go/icestorm/icebram'
ok
2017-04-24: e1 - F25 - get the source
[tingo@kg-elitebook ~]$ cd work/nandland_go/ [tingo@kg-elitebook nandland_go]$ git clone https://github.com/cliffordwolf/icestorm.git icestorm Cloning into 'icestorm'... remote: Counting objects: 1918, done. remote: Compressing objects: 100% (5/5), done. remote: Total 1918 (delta 0), reused 0 (delta 0), pack-reused 1913 Receiving objects: 100% (1918/1918), 934.54 KiB | 28.00 KiB/s, done. Resolving deltas: 100% (1228/1228), done. Checking connectivity... done.
ok
2017-04-24: e1 - F25 - install prerequisites
[tingo@kg-elitebook ~]$ sudo dnf install make automake gcc gcc-c++ kernel-devel clang bison flex readline-devel gawk tcl-devel libffi-devel git mercurial graphviz python-xdot pkgconfig python python3 libftdi-devel Last metadata expiration check: 1:30:59 ago on Mon Apr 24 09:23:18 2017. Package make-1:4.1-6.fc25.x86_64 is already installed, skipping. Package gcc-6.3.1-1.fc25.x86_64 is already installed, skipping. Package gawk-4.1.3-8.fc25.x86_64 is already installed, skipping. Package pkgconfig-1:0.29.1-1.fc25.x86_64 is already installed, skipping. Package python-2.7.13-1.fc25.x86_64 is already installed, skipping. Package python3-3.5.3-4.fc25.x86_64 is already installed, skipping. Dependencies resolved. ========================================================================================================================================== Package Arch Version Repository Size ========================================================================================================================================== Installing: autoconf noarch 2.69-22.fc24 fedora 709 k automake noarch 1.15-7.fc25 fedora 695 k bison x86_64 3.0.4-4.fc24 fedora 684 k clang x86_64 3.9.1-2.fc25 updates 441 k clang-libs x86_64 3.9.1-2.fc25 updates 8.7 M compiler-rt x86_64 3.9.1-1.fc25 updates 1.4 M flex x86_64 2.6.0-3.fc25 fedora 314 k gcc-c++ x86_64 6.3.1-1.fc25 updates 11 M gd x86_64 2.2.4-1.fc25 updates 136 k git x86_64 2.9.3-3.fc25 updates 1.0 M git-core x86_64 2.9.3-3.fc25 updates 3.6 M git-core-doc x86_64 2.9.3-3.fc25 updates 2.3 M graphviz x86_64 2.38.0-39.fc25 fedora 3.2 M gts x86_64 0.7.6-29.20121130.fc24 fedora 226 k kernel-devel x86_64 4.10.10-200.fc25 updates 11 M lasi x86_64 1.1.2-6.fc24 fedora 46 k libconfuse x86_64 3.0-1.fc25 fedora 176 k libffi-devel x86_64 3.1-9.fc24 fedora 27 k libftdi x86_64 1.3-2.fc25 fedora 50 k libftdi-devel x86_64 1.3-2.fc25 fedora 293 k libstdc++-devel x86_64 6.3.1-1.fc25 updates 1.8 M libusbx-devel x86_64 1.0.21-1.fc25 fedora 26 k m4 x86_64 1.4.17-9.fc24 fedora 266 k mercurial x86_64 3.8.1-2.fc25 fedora 3.5 M ncurses-c++-libs x86_64 6.0-6.20160709.fc25 fedora 54 k ncurses-devel x86_64 6.0-6.20160709.fc25 fedora 504 k netpbm x86_64 10.77.00-3.fc25 updates 197 k perl-Error noarch 1:0.17024-7.fc25 fedora 45 k perl-Git noarch 2.9.3-3.fc25 updates 64 k perl-TermReadKey x86_64 2.37-1.fc25 fedora 37 k perl-Thread-Queue noarch 3.12-1.fc25 updates 22 k python-xdot noarch 0.6-4.fc24 fedora 55 k readline-devel x86_64 6.3-8.fc24 fedora 179 k tcl x86_64 1:8.6.6-1.fc25 fedora 2.2 M tcl-devel x86_64 1:8.6.6-1.fc25 fedora 188 k zlib-devel x86_64 1.2.8-10.fc24 fedora 55 k Transaction Summary ========================================================================================================================================== Install 36 Packages Total download size: 55 M Installed size: 260 M Is this ok [y/N]: y [...] Installed: autoconf.noarch 2.69-22.fc24 automake.noarch 1.15-7.fc25 bison.x86_64 3.0.4-4.fc24 clang.x86_64 3.9.1-2.fc25 clang-libs.x86_64 3.9.1-2.fc25 compiler-rt.x86_64 3.9.1-1.fc25 flex.x86_64 2.6.0-3.fc25 gcc-c++.x86_64 6.3.1-1.fc25 gd.x86_64 2.2.4-1.fc25 git.x86_64 2.9.3-3.fc25 git-core.x86_64 2.9.3-3.fc25 git-core-doc.x86_64 2.9.3-3.fc25 graphviz.x86_64 2.38.0-39.fc25 gts.x86_64 0.7.6-29.20121130.fc24 kernel-devel.x86_64 4.10.10-200.fc25 lasi.x86_64 1.1.2-6.fc24 libconfuse.x86_64 3.0-1.fc25 libffi-devel.x86_64 3.1-9.fc24 libftdi.x86_64 1.3-2.fc25 libftdi-devel.x86_64 1.3-2.fc25 libstdc++-devel.x86_64 6.3.1-1.fc25 libusbx-devel.x86_64 1.0.21-1.fc25 m4.x86_64 1.4.17-9.fc24 mercurial.x86_64 3.8.1-2.fc25 ncurses-c++-libs.x86_64 6.0-6.20160709.fc25 ncurses-devel.x86_64 6.0-6.20160709.fc25 netpbm.x86_64 10.77.00-3.fc25 perl-Error.noarch 1:0.17024-7.fc25 perl-Git.noarch 2.9.3-3.fc25 perl-TermReadKey.x86_64 2.37-1.fc25 perl-Thread-Queue.noarch 3.12-1.fc25 python-xdot.noarch 0.6-4.fc24 readline-devel.x86_64 6.3-8.fc24 tcl.x86_64 1:8.6.6-1.fc25 tcl-devel.x86_64 1:8.6.6-1.fc25 zlib-devel.x86_64 1.2.8-10.fc24 Complete!
ok
2017-04-24: e1 - F25 - I'm using my EliteBook laptop for work, so I need to install the tools on it too. The EliteBook runs F25:
[tingo@kg-elitebook ~]$ cat /etc/fedora-release Fedora release 25 (Twenty Five) [tingo@kg-elitebook ~]$ uname -a Linux kg-elitebook.kg4.no 4.10.10-200.fc25.x86_64 #1 SMP Thu Apr 13 01:11:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
ok.
2017-04-03: z30 - F24 - IceStorm - compile and install Icestorm Tools
[tingo@localhost nandland_go]$ cd icestorm [tingo@localhost icestorm]$ make -j4 for dir in icebox icepack iceprog icemulti icepll icetime icebram; do \ make -C $dir all || exit; \ done make[1]: Entering directory '/home/tingo/work/nandland_go/icestorm/icebox' python3 icebox_chipdb.py -3 > chipdb-384.new python3 icebox_chipdb.py > chipdb-1k.new python3 icebox_chipdb.py -8 > chipdb-8k.new mv chipdb-384.new chipdb-384.txt mv chipdb-1k.new chipdb-1k.txt mv chipdb-8k.new chipdb-8k.txt make[1]: Leaving directory '/home/tingo/work/nandland_go/icestorm/icebox' make[1]: Entering directory '/home/tingo/work/nandland_go/icestorm/icepack' g++ -MD -O0 -ggdb -Wall -std=c++11 -I/usr/local/include -c -o icepack.o icepack.cc g++ -o icepack icepack.o -lm -lstdc++ ln -sf icepack iceunpack make[1]: Leaving directory '/home/tingo/work/nandland_go/icestorm/icepack' make[1]: Entering directory '/home/tingo/work/nandland_go/icestorm/iceprog' cc -MD -O0 -ggdb -Wall -std=c99 -I/usr/local/include -I/usr/include/libftdi1 -I/usr/include/libusb-1.0 -c -o iceprog.o iceprog.c cc -o iceprog iceprog.o -L/usr/local/lib -lm -lftdi1 -lusb-1.0 make[1]: Leaving directory '/home/tingo/work/nandland_go/icestorm/iceprog' make[1]: Entering directory '/home/tingo/work/nandland_go/icestorm/icemulti' g++ -MD -O0 -ggdb -Wall -std=c++11 -I/usr/local/include -c -o icemulti.o icemulti.cc g++ -o icemulti icemulti.o -lm -lstdc++ make[1]: Leaving directory '/home/tingo/work/nandland_go/icestorm/icemulti' make[1]: Entering directory '/home/tingo/work/nandland_go/icestorm/icepll' g++ -MD -O0 -ggdb -Wall -std=c++11 -I/usr/local/include -c -o icepll.o icepll.cc g++ -o icepll icepll.o -lm -lstdc++ make[1]: Leaving directory '/home/tingo/work/nandland_go/icestorm/icepll' make[1]: Entering directory '/home/tingo/work/nandland_go/icestorm/icetime' python3 timings.py > timings.inc.new mv timings.inc.new timings.inc g++ -MD -O0 -ggdb -Wall -std=c++11 -I/usr/local/include -DPREFIX='"/usr/local"' -DCHIPDB_SUBDIR='"icebox"' -c -o icetime.o icetime.cc g++ -o icetime icetime.o -lm -lstdc++ make[1]: Leaving directory '/home/tingo/work/nandland_go/icestorm/icetime' make[1]: Entering directory '/home/tingo/work/nandland_go/icestorm/icebram' g++ -MD -O0 -ggdb -Wall -std=c++11 -I/usr/local/include -c -o icebram.o icebram.cc g++ -o icebram icebram.o -lm -lstdc++ make[1]: Leaving directory '/home/tingo/work/nandland_go/icestorm/icebram'
install
[tingo@localhost icestorm]$ sudo make install for dir in icebox icepack iceprog icemulti icepll icetime icebram; do \ make -C $dir install || exit; \ done make[1]: Entering directory '/home/tingo/work/nandland_go/icestorm/icebox' mkdir -p /usr/local/share/icebox mkdir -p /usr/local/bin cp chipdb-384.txt /usr/local/share/icebox/ cp chipdb-1k.txt /usr/local/share/icebox/ cp chipdb-8k.txt /usr/local/share/icebox/ cp icebox.py /usr/local/bin/icebox.py cp iceboxdb.py /usr/local/bin/iceboxdb.py cp icebox_chipdb.py /usr/local/bin/icebox_chipdb cp icebox_diff.py /usr/local/bin/icebox_diff cp icebox_explain.py /usr/local/bin/icebox_explain cp icebox_colbuf.py /usr/local/bin/icebox_colbuf cp icebox_html.py /usr/local/bin/icebox_html cp icebox_maps.py /usr/local/bin/icebox_maps cp icebox_vlog.py /usr/local/bin/icebox_vlog cp icebox_stat.py /usr/local/bin/icebox_stat make[1]: Leaving directory '/home/tingo/work/nandland_go/icestorm/icebox' make[1]: Entering directory '/home/tingo/work/nandland_go/icestorm/icepack' mkdir -p /usr/local/bin cp icepack /usr/local/bin/icepack ln -sf icepack /usr/local/bin/iceunpack make[1]: Leaving directory '/home/tingo/work/nandland_go/icestorm/icepack' make[1]: Entering directory '/home/tingo/work/nandland_go/icestorm/iceprog' mkdir -p /usr/local/bin cp iceprog /usr/local/bin/iceprog make[1]: Leaving directory '/home/tingo/work/nandland_go/icestorm/iceprog' make[1]: Entering directory '/home/tingo/work/nandland_go/icestorm/icemulti' mkdir -p /usr/local/bin cp icemulti /usr/local/bin/icemulti make[1]: Leaving directory '/home/tingo/work/nandland_go/icestorm/icemulti' make[1]: Entering directory '/home/tingo/work/nandland_go/icestorm/icepll' mkdir -p /usr/local/bin cp icepll /usr/local/bin/icepll make[1]: Leaving directory '/home/tingo/work/nandland_go/icestorm/icepll' make[1]: Entering directory '/home/tingo/work/nandland_go/icestorm/icetime' mkdir -p /usr/local/bin cp icetime /usr/local/bin/icetime make[1]: Leaving directory '/home/tingo/work/nandland_go/icestorm/icetime' make[1]: Entering directory '/home/tingo/work/nandland_go/icestorm/icebram' mkdir -p /usr/local/bin cp icebram /usr/local/bin/icebram make[1]: Leaving directory '/home/tingo/work/nandland_go/icestorm/icebram'
ok
2017-04-03: z30 - F24 - IceStorm - get the source IceStorm Tools
[tingo@localhost nandland_go]$ pwd /home/tingo/work/nandland_go [tingo@localhost nandland_go]$ git clone https://github.com/cliffordwolf/icestorm.git icestorm Cloning into 'icestorm'... remote: Counting objects: 1913, done. remote: Total 1913 (delta 0), reused 0 (delta 0), pack-reused 1913 Receiving objects: 100% (1913/1913), 933.03 KiB | 327.00 KiB/s, done. Resolving deltas: 100% (1228/1228), done. Checking connectivity... done.
2017-04-03: z30 - F24 - IceStorm - install prerequisites.
[tingo@localhost ~]$ sudo dnf install make automake gcc gcc-c++ kernel-devel clang bison flex readline-devel gawk tcl-devel libffi-devel git mercurial graphviz python-xdot pkgconfig python python3 libftdi-devel [sudo] password for tingo: Last metadata expiration check: 0:37:04 ago on Mon Apr 3 14:15:04 2017. Package make-1:4.1-5.fc24.x86_64 is already installed, skipping. Package gcc-6.3.1-1.fc24.x86_64 is already installed, skipping. Package gawk-4.1.3-8.fc24.x86_64 is already installed, skipping. Package git-2.7.4-3.fc24.x86_64 is already installed, skipping. Package pkgconfig-1:0.29-2.fc24.x86_64 is already installed, skipping. Package python-2.7.13-1.fc24.x86_64 is already installed, skipping. Package python3-3.5.2-3.fc24.x86_64 is already installed, skipping. Dependencies resolved. ===================================================================================================================================== Package Arch Version Repository Size ===================================================================================================================================== Installing: autoconf noarch 2.69-22.fc24 fedora 709 k automake noarch 1.15-6.fc24 fedora 695 k bison x86_64 3.0.4-4.fc24 fedora 684 k clang x86_64 3.8.1-1.fc24 updates 311 k clang-libs x86_64 3.8.1-1.fc24 updates 8.2 M compiler-rt x86_64 3.8.1-1.fc24 updates 1.2 M flex x86_64 2.6.0-3.fc24 updates 314 k gcc-c++ x86_64 6.3.1-1.fc24 updates 11 M graphviz x86_64 2.38.0-33.fc24 fedora 3.2 M gts x86_64 0.7.6-29.20121130.fc24 fedora 226 k kernel-devel x86_64 4.10.6-100.fc24 updates 11 M lasi x86_64 1.1.2-6.fc24 fedora 46 k libconfuse x86_64 2.7-10.fc24 fedora 83 k libffi-devel x86_64 3.1-9.fc24 fedora 27 k libftdi-devel x86_64 1.2-8.fc24 fedora 283 k libstdc++-devel x86_64 6.3.1-1.fc24 updates 1.8 M libusbx-devel x86_64 1.0.21-0.1.git448584a.fc24 fedora 27 k mercurial x86_64 3.7.3-1.fc24 fedora 3.3 M ncurses-c++-libs x86_64 6.0-6.20160709.fc24 updates 54 k ncurses-devel x86_64 6.0-6.20160709.fc24 updates 504 k netpbm x86_64 10.77.00-3.fc24 updates 197 k perl-Thread-Queue noarch 3.12-1.fc24 updates 22 k python-xdot noarch 0.6-4.fc24 fedora 55 k readline-devel x86_64 6.3-8.fc24 fedora 179 k tcl-devel x86_64 1:8.6.5-1.fc24 fedora 187 k Skipping packages with conflicts: (add '--best --allowerasing' to command line to force their upgrade): python3 x86_64 3.5.3-3.fc24 updates 57 k python3-libs x86_64 3.5.3-3.fc24 updates 1.4 M system-python x86_64 3.5.3-3.fc24 updates 51 k system-python-libs x86_64 3.5.3-3.fc24 updates 6.3 M Transaction Summary ===================================================================================================================================== Install 25 Packages Skip 4 Packages Total download size: 44 M Installed size: 213 M Is this ok [y/N]: y [...] Installed: autoconf.noarch 2.69-22.fc24 automake.noarch 1.15-6.fc24 bison.x86_64 3.0.4-4.fc24 clang.x86_64 3.8.1-1.fc24 clang-libs.x86_64 3.8.1-1.fc24 compiler-rt.x86_64 3.8.1-1.fc24 flex.x86_64 2.6.0-3.fc24 gcc-c++.x86_64 6.3.1-1.fc24 graphviz.x86_64 2.38.0-33.fc24 gts.x86_64 0.7.6-29.20121130.fc24 kernel-devel.x86_64 4.10.6-100.fc24 lasi.x86_64 1.1.2-6.fc24 libconfuse.x86_64 2.7-10.fc24 libffi-devel.x86_64 3.1-9.fc24 libftdi-devel.x86_64 1.2-8.fc24 libstdc++-devel.x86_64 6.3.1-1.fc24 libusbx-devel.x86_64 1.0.21-0.1.git448584a.fc24 mercurial.x86_64 3.7.3-1.fc24 ncurses-c++-libs.x86_64 6.0-6.20160709.fc24 ncurses-devel.x86_64 6.0-6.20160709.fc24 netpbm.x86_64 10.77.00-3.fc24 perl-Thread-Queue.noarch 3.12-1.fc24 python-xdot.noarch 0.6-4.fc24 readline-devel.x86_64 6.3-8.fc24 tcl-devel.x86_64 1:8.6.5-1.fc24 Complete!
ok