carlosedp / riscv-bringup

Risc-V journey thru containers and new projects
270 stars 43 forks source link

Environment Setup Guide #1

Closed mcristina422 closed 5 years ago

mcristina422 commented 5 years ago

I'd love to help contribute to getting containers and Go applications on Risc-V. I think it would be helpful if you documented here how you got your current environment setup for working on this.

Personally, I just ordered a hifive1-rev-b and just began to see if I can use qemu to start running tests now.

carlosedp commented 5 years ago

Hi Michael, this is an important part to get more people collaborating. I currently build everything on a SiFive Unleashed but you might be able to do all tests soon on Qemu when a bug on thread sync and atomics gets fixed soon with a patch posted on their mailing list.

I already have a Qemu image and script setup just in need of cleanup and packaging. I might make this available in some days for download.

Regarding the HiFive1, It's a riscv32 and doesn't run Linux.

carlosedp commented 5 years ago

Michael, check this out: https://github.com/carlosedp/riscv-bringup/blob/master/Qemu-VM.md Can you test it and report back?

marcopeereboom commented 5 years ago

needs to be updated but still accurate https://github.com/marcopeereboom/riscv-bringup-doco

carlosedp commented 5 years ago

That's some nice info @marcopeereboom! I will link to it here in the readme.

I was working on a section on building Go that I just pushed.

Check it out @mcristina422: https://github.com/carlosedp/riscv-bringup#building-go-on-your-risc-v-vm-or-sbc

mcristina422 commented 5 years ago

Awesome resources! Definitely everything I've needed, so feel free to close