Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RISC-V Toolchain installation & download #4

Open
pedro-javierf opened this issue Sep 20, 2021 · 2 comments
Open

RISC-V Toolchain installation & download #4

pedro-javierf opened this issue Sep 20, 2021 · 2 comments

Comments

@pedro-javierf
Copy link

What is the required RISC-V toolchain for this project and where can it be downloaded/Installed? Is this standard riscv-gnu-toolchain or should be something else?

riscv32-unknown-elf-gcc
riscv32-unknown-elf-objcopy
etc

Thanks,

@Obijuan
Copy link
Owner

Obijuan commented Sep 20, 2021

Yes, that is the standard toolchain. You can also use the Rars assembler/simulator if you like, for generating the executable file. I still have not documented how to do it, but I will

@pedro-javierf
Copy link
Author

For anyone interested in getting the demo firmware to work as fast as possible, it is possible to use the following pre-built riscv32-gnu toolchain here: https://github.com/stnolting/riscv-gcc-prebuilt (the rv32i-2.0.0 version) to generate compatible binaries that are compatible for the RISC-V core in the Alhambra II. I've only tested in Ubuntu 20 VM.

The build instructions for the 32-bit gnu toolchain are not always up-to-date so this can be handy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants