From 926417e65cd58c5b365170570a17316e2a827264 Mon Sep 17 00:00:00 2001 From: Nathaniel Graff Date: Tue, 11 Dec 2018 12:02:10 -0800 Subject: Update README to point only at pre-built toolchain --- README.md | 32 ++++++-------------------------- 1 file changed, 6 insertions(+), 26 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 1099afd..e7437ad 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,6 @@ This repository, maintained by SiFive, Inc, makes it easy to get started develop ### Contents ### -* RISC-V Software Toolchain -* RISC-V Debugging Toolchain * Board Support Packages for FE310 and Development Kits * A Few Example Programs @@ -24,33 +22,15 @@ cd freedom-e-sdk make help ``` -#### Building Tools from Source #### +#### Install the RISC-V Toolchain #### -Ubuntu packages needed: +The RISC-V GNU Toolchain and OpenOCD are available from the SiFive Website at - $ sudo apt-get install autoconf automake libmpc-dev libmpfr-dev libgmp-dev gawk bison flex texinfo libtool libusb-1.0-0-dev make g++ pkg-config libexpat1-dev zlib1g-dev +https://www.sifive.com/boards -Next, build the tools: - -``` -cd freedom-e-sdk -make tools [BOARD=freedom-e300-hifive1] -``` - -If your machine has enough resources, you can speed up the build process by adding `-j n` to `make`, where `n` is the number of processors of your build system. - - -#### Using Pre-Built Binary Tools #### - -If you would like to avoid compiling the tools from source, they are -available as pre-built binaries from - -https://www.sifive.com/products/tools - -For OpenOCD and/or RISC-V GNU Toolchain, -download the .tar.gz for your platform, and unpack it to -your desired location. Then, use the `RISCV_PATH` and `RISCV_OPENOCD_PATH` -variables when attempting to use the tools: +For OpenOCD and/or RISC-V GNU Toolchain, download the .tar.gz for your platform, +and unpack it to your desired location. Then, use the `RISCV_PATH` and +`RISCV_OPENOCD_PATH` variables when attempting to use the tools: ``` cp openocd--.tar.gz /my/desired/location/ -- cgit v1.2.1-18-gbd029