Add new installation page for FPGA/Boards Boot-Loaders Programmers
[libreriscv.git] / HDL_workflow / fpga-boot-loaders-progs.mdwn
1 # FPGA/Board Boot-Loaders-Programmers
2
3 Page: Work in Progress
4
5 Installation instructions for dfu-util, openFPGALoader, ujprog, fujprog, xc3sprog and ecpprog for boards ULX3S, ECP5 and OrangeCrab.
6
7 Use of the automated install scripts recommended
8
9 * Source code: <https://git.code.sf.net/p/dfu-util/dfu-util>
10 * Source code: <https://github.com/trabucayre/openFPGALoader.git>
11 * Source code: <https://github.com/f32c/tools.git>
12 * Source code: <https://github.com/kost/fujprog.git>
13 * Source code: <https://github.com/xtrx-sdr/xc3sprog/>
14 * Source code: <https://github.com/gregdavill/ecpprog/>
15 * Bugzilla page <https://bugs.libre-soc.org/show_bug.cgi?id=791>
16
17 # Setting up new debootstrap and chroot into it
18
19 Run the following if you wish to isolate the nextpnr-xilinx build
20 from other software (reproducible builds) or use the schroot
21 auto-preparation script here:
22 <https://git.libre-soc.org/?p=dev-env-setup.git;a=blob;f=mk-deb-chroot;hb=HEAD>
23
24 export MY_CHROOT=/stable-chroot
25 mkdir $MY_CHROOT
26 debootstrap buster $MY_CHROOT http://deb.debian.org/debian/
27 mount -t proc proc $MY_CHROOT/proc
28 mount -t sysfs sysfs $MY_CHROOT/sys
29 mount -t devpts devpts $MY_CHROOT/dev/pts/
30 chroot $MY_CHROOT /bin/bash
31
32 # Download neccessary softwares
33
34 apt-get install -y libcurl3-gnutls/buster git/buster
35
36 git clone https://git.code.sf.net/p/dfu-util/dfu-util
37 git clone https://github.com/trabucayre/openFPGALoader.git
38 git clone https://github.com/f32c/tools.git
39 git clone https://github.com/kost/fujprog.git
40 git clone https://github.com/xtrx-sdr/xc3sprog.git
41 git clone https://github.com/gregdavill/ecpprog.git
42
43 # Steps to compile dfu-util
44
45 ## Necessary software to install
46
47 ## Build dfu-util
48