[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
Mon Mar 8 11:25:15 GMT 2021


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

--- Comment #2 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
it's not time-critical.  also really should not take that long although
that depends on capability of machine you have.

start from this:

https://git.libre-soc.org/?p=dev-env-setup.git;a=blob;f=hdl-tools-yosys;hb=HEAD

line 12-13 could be "mkdir fpga_tools"

i have added you to dev-env-setup.git

debootstrap is pretty damn easy.  2 lines.
https://wiki.debian.org/Debootstrap

main # mkdir /stable-chroot
main # debootstrap stable /stable-chroot http://deb.debian.org/debian/

completing the install with the mount of proc and sysfs is important

also you may find schroot helpful
https://wiki.debian.org/Schroot

you can see how to set up an automated schroot or at least see what
commands to run
https://git.libre-soc.org/?p=dev-env-setup.git;a=blob;f=coriolis2-chroot;hb=HEAD

... actually i'm going to try creating a chroot-creating script, based
on that.  please do check it.

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


More information about the libre-soc-bugs mailing list