Skip to content

Latest commit

 

History

History
64 lines (45 loc) · 2.29 KB

File metadata and controls

64 lines (45 loc) · 2.29 KB

WSL Toolchain Builder

This FOSSi toolchain was developed to run under WSL Ubuntu, but should work on standard Ubuntu.

Instead of the close-source Lattice Diamond software, this toolchain allows building binary files for the ULX3S using completely open-source tools such as yosys and nextpnr.

Toolchain builder from gojimmypi/ULXS3_WSL_Toolchain.sh

See the ULX3S_WSL_Toolchain directory for ULX3S_WSL_Toolchain.sh

(optional) gist from gojimmypi

git clone https://gist.github.com/f96cd86b2b8595b4cf3be4baf493c5a7.git ULX3S_WSL_Toolchain

Update the system and build everything

This can take quite some time....

cd /mnt/c/workspace/ulx3s-examples/OpenSource-toolchain
./ULX3S_WSL_Toolchain.sh

Toolchain Builder Help and Options

There are command line options available when you don't want to rebuild every component of the entire toolchain.

For help:

./ULX3S_WSL_Toolchain.sh --help

Example output:

COMMIT_HASH =
GIT_HASH    = 425f183d2b217d170f633e471ab5cb77de56ec17
THIS_HASH   = 425f183d2b217d170f633e471ab5cb77de56ec17
Confirmed ./ULX3S_WSL_Toolchain.sh is the most recent version found in GitHub.

ULX3S_WSL_Toolchain help. Version 0.1

If no parametes are selected, install and update everything.

If selection option is already installed, git fetch latest version and install.

Logs are saved to /home/gojimmypi/workspace/install_logs/ULX3S_WSL_Toolchain_[step]_20190602_182848.log
Edit WORKSPACE setting to fit your needs.

  --arachne-pnr  : install/update arachne-pnr
  --blinky       : install/update ULX3S-Blinky
  --help         : show this help screen
  --icestorm     : install/update icestorm
  --make         : make the current project
  --nextpnr      : install/update nextpnr
  --nosystem     : do not install requirements; do not perform apt-get update and apt-get upgrade
  --prjtrellis   : install/update prjtrellis
  --system       : install requirements; perform apt-get update and apt-get upgrade
  --ujprog       : install/update ujprog
  --version      : show versions of installed tools
  --yosys        : install/update yosys