On Fri, Aug 11, 2017 at 09:19:59PM +0800, Kevin Lo wrote: > > On Tue, Aug 08, 2017 at 01:16:15AM -0600, Anthony J. Bentley wrote: > > > > Kevin Lo writes: > > > On Wed, Aug 02, 2017 at 09:47:55PM +0200, Florian Stinglmayr wrote: > > > > > > > > > Comments/OKs ? > > > > > > > > Works for me. Once I have my HiFive1 I will give this a try on real > > > > hardware. > > > > > > Thanks for testing. Any OKs? > > > > I can compile programs with it. No way to test the resulting executables, > > but the port doesn't substantially differ from arm-elf. ok bentley@ > > Thanks for the review. I'll create a port for spike. Once it works for you, > I'll commit the riscv-elf port.
Hi Anthony, I didn't commit riscv-elf because I hadn't had time to create a port for spike. Fortunately, RISC-V support is available in the emulators/qemu port, you can run riscv-probe [1] which is a minimal bare-metal example as follows for testing purposes (riscv-probe compiles and runs on riscv64 since we only have the riscv64 toolchain installed). $ qemu-system-riscv64 -nographic -machine spike_v1.10 -kernel bin/riscv64/probe-htif Here's an update of riscv-elf: - binutils -> 2.30 - gcc -> 8.1.0 - newlib -> 3.0.0 Ok? Thanks. [1] https://github.com/michaeljclark/riscv-probe/
riscv-elf.tar.gz
Description: application/gzip
