From: Jeremie Courreges-Anglas Subject: Re: or1k-elf toolchain To: Mark Kettenis Cc: ports@openbsd.org, patrick@openbsd.org, jsg@openbsd.org, sthen@openbsd.org Date: Mon, 19 Feb 2024 14:12:43 +0100 On Sat, Feb 17 2024, Mark Kettenis wrote: > OR1k stands for OpenRISC 1000, a mostly dead open-source CPU > architecture. However, many Allwinner SoCs include an OpenRISC 1000 > core that can be used to implement proper suspend to RAM on these > SoCs. An open-source firmware to do that exists: > > https://github.com/crust-firmware/crust > > I want to make a port of that firmware and include it in our U-Boot > builds. But to do that I need a toolchain. > > This is mostly just a copy of the riscv64-elf toolchain ports, with > some changes: > > * Uses GCC 12.3.0 instead of 12.2.0 because the latter doesn't build. > > * Enables LTO > > * Disables newlib > > ok? Looks like this doesn't need autoconf%2.13 and metaauto but that seems also true for riscv-elf, avr or arm-none-eabi and can be dealt with later. ok jca@ to import -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE