[Libre-soc-bugs] [Bug 612] dev-env-setup script needed to build trellis and nextpnr-ecp5

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Mar 9 22:30:25 GMT 2021


https://bugs.libre-soc.org/show_bug.cgi?id=612

--- Comment #3 from vklr at vkten.in <vklr at vkten.in> ---
Setting up new Bootstrap and chroot into it

export MY_CHROOT=/stable-chroot
mkdir $MY_CHROOT

debootstrap stable $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

Steps to compile Project Trellis

Necessary software to install

apt-get install git

apt-get install python3 python3-dev clang cmake libboost-dev
libboost-filesystem-dev libboost-thread-dev libboost-program-options-dev
libboost-iostreams-dev openocd


git clone --recursive https://github.com/YosysHQ/prjtrellis

Build Project Trellis

cd prjtrellis
cd libtrellis

cmake -DCMAKE_INSTALL_PREFIX=/usr/local/libtrellis .
make
make install

Next I will find out procedure for nextpnr(-ecp5)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list