Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This really makes me want to try fiddling with some low-level stuff again. I studied mechatronics at uni and programmed microcontrollers in C and assembly, but have gone the webdev direction since then. Does anyone have any trusted quality resources for getting into RISC-V hardware? I'm especially interested in using Rust for this if possible - I've wanted an excuse to learn it in more depth for a while.


Since Rust is not directly hardware, here is a nice tutorial on some simple OS basics: https://operating-system-in-1000-lines.vercel.app/en/

There was also some Rust specific OS tutorial somewhere that was written nicely, but I can't find it right now.

Also if you want to get real hardware, there is the neorv32 that has nice documentation: https://stnolting.github.io/neorv32/ https://github.com/stnolting/neorv32

It's a risc-v core written in VHDL


The Rust OS tutorial you're thinking of is probably this one: https://os.phil-opp.com/


Thank you both! These are some really interesting places to pick up from.


> getting into RISC-V hardware?

Got myself a https://docs.banana-pi.org/en/BPI-F3/BananaPi_BPI-F3 in May last year for 90€. Tinkered again few weeks ago https://bsky.app/profile/benetou.fr/post/3m2m62st3hk2w

> I'm especially interested in using Rust for this if possible

I didn't tinker with Rust on it but if I had to I'd probably try via https://github.com/dockcross/dockcross/tree/master/linux-ris... and avoid compiling on the device itself, unless it's basically a HelloWorld project.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: