litex_setup: Add link to bootlin prebuilt PowerPC/OpenRisc toolchains.

This commit is contained in:
Florent Kermarrec 2021-10-19 14:41:42 +02:00
parent adf5665f21
commit 4494e98549
1 changed files with 16 additions and 0 deletions

View File

@ -66,6 +66,8 @@ repos = OrderedDict(repos)
# RISC-V toolchain download ------------------------------------------------------------------------ # RISC-V toolchain download ------------------------------------------------------------------------
# TODO: Update.
def sifive_riscv_download(): def sifive_riscv_download():
base_url = "https://static.dev.sifive.com/dev-tools/" base_url = "https://static.dev.sifive.com/dev-tools/"
base_file = "riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-" base_file = "riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-"
@ -93,6 +95,20 @@ def sifive_riscv_download():
print("Extracting", fn) print("Extracting", fn)
shutil.unpack_archive(fn) shutil.unpack_archive(fn)
# PowerPC toolchain download -----------------------------------------------------------------------
# TODO
# Link: https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64le-power8/tarballs/powerpc64le-power8--musl--stable-2020.08-1.tar.bz2
# LM32 toolchain download --------------------------------------------------------------------------
# TODO
# OpenRisc toolchain download ----------------------------------------------------------------------
# TODO
# Link: https://toolchains.bootlin.com/downloads/releases/toolchains/openrisc/tarballs/openrisc--musl--stable-2020.08-1.tar.bz2
# Setup -------------------------------------------------------------------------------------------- # Setup --------------------------------------------------------------------------------------------
if len(sys.argv) < 2: if len(sys.argv) < 2: