Add new installation page for FPGA/Boards Boot-Loaders Programmers
authorR Veera Kumar <vklr@vkten.in>
Thu, 7 Apr 2022 02:04:19 +0000 (07:34 +0530)
committerR Veera Kumar <vklr@vkten.in>
Thu, 7 Apr 2022 02:04:19 +0000 (07:34 +0530)
HDL_workflow/fpga-boot-loaders-progs.mdwn [new file with mode: 0644]

diff --git a/HDL_workflow/fpga-boot-loaders-progs.mdwn b/HDL_workflow/fpga-boot-loaders-progs.mdwn
new file mode 100644 (file)
index 0000000..b064aef
--- /dev/null
@@ -0,0 +1,48 @@
+# FPGA/Board Boot-Loaders-Programmers
+
+Page: Work in Progress
+
+Installation instructions for dfu-util, openFPGALoader, ujprog, fujprog, xc3sprog and ecpprog for boards ULX3S, ECP5 and OrangeCrab.
+
+Use of the automated install scripts recommended
+
+* Source code: <https://git.code.sf.net/p/dfu-util/dfu-util>
+* Source code: <https://github.com/trabucayre/openFPGALoader.git>
+* Source code: <https://github.com/f32c/tools.git>
+* Source code: <https://github.com/kost/fujprog.git>
+* Source code: <https://github.com/xtrx-sdr/xc3sprog/>
+* Source code: <https://github.com/gregdavill/ecpprog/>
+* Bugzilla page <https://bugs.libre-soc.org/show_bug.cgi?id=791>
+
+# Setting up new debootstrap and chroot into it
+
+Run the following if you wish to isolate the nextpnr-xilinx build
+from other software (reproducible builds) or use the schroot
+auto-preparation script here:
+<https://git.libre-soc.org/?p=dev-env-setup.git;a=blob;f=mk-deb-chroot;hb=HEAD>
+
+    export MY_CHROOT=/stable-chroot
+    mkdir $MY_CHROOT
+    debootstrap buster $MY_CHROOT http://deb.debian.org/debian/
+    mount -t proc proc $MY_CHROOT/proc
+    mount -t sysfs sysfs $MY_CHROOT/sys
+    mount -t devpts devpts $MY_CHROOT/dev/pts/
+    chroot $MY_CHROOT /bin/bash
+
+# Download neccessary softwares
+
+    apt-get install -y libcurl3-gnutls/buster git/buster
+
+    git clone https://git.code.sf.net/p/dfu-util/dfu-util
+    git clone https://github.com/trabucayre/openFPGALoader.git
+    git clone https://github.com/f32c/tools.git
+    git clone https://github.com/kost/fujprog.git
+    git clone https://github.com/xtrx-sdr/xc3sprog.git
+    git clone https://github.com/gregdavill/ecpprog.git
+
+# Steps to compile dfu-util
+
+## Necessary software to install
+
+## Build dfu-util
+