[Buildroot] [PATCH v4 1/3] arch: add support for RISC-V 32-bit (riscv32) architecture

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Jan 6 13:18:33 UTC 2019


Hello,

On Sun, 21 Oct 2018 20:12:01 +0100, Mark Corbin wrote:
> This enables a riscv32 system to be built with a Buildroot generated
> toolchain (gcc >= 7.x, binutils >= 2.30, glibc only).
> 
> This requires a custom version of glibc 2.26 from the riscv-glibc
> repository. Note that there are no tags in this repository, so the
> glibc version just consists of the 40 character commit id string.
> 
> Thanks to Fabrice Bellard for pointing me towards the 32-bit glibc
> repository and for providing the necessary patch to get it to build.
> 
> Signed-off-by: Mark Corbin <mark.corbin at embecosm.com>
> ---
> Changes v3 -> v4:
>   - added choice for selecting 32-bit or 64-bit in Config.in.riscv
>     This provides a new variable BR2_RISCV_32

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list