I've been pushing the author to write this up for a year now (we both work at University of Tennessee). He teaches a lot of OS-oriented courses and makes them for fun so he is perfect to write this.<p>Next I'm trying to convince him to make an OS in Zig for Raspberry Pi with a focus on graphics. If you have any suggestions for him, shoot him an email!
On a related note, MIT seems to have ported xv6 to riscv.<p><a href="https://github.com/mit-pdos/xv6-riscv" rel="nofollow">https://github.com/mit-pdos/xv6-riscv</a>
Wow! What an awesome tutorial/book. I look forward to reading more chapters. This is already an extremely useful resource since it covers cross compilation from an x86 system. I love to play around with this kind of stuff in my free time but connecting to dev boards and constantly shifting paradigms was annoying enough to limit my enthusiasm. It took a lot of research to find out how to do what the author fits in a single chapter. Thank you for this awesome post!
Looks similar to my effort to interface RISC-V emulators and bare metal C:
<a href="https://github.com/Lichtso/riscv-llvm-templates" rel="nofollow">https://github.com/Lichtso/riscv-llvm-templates</a>
I took Programing Languages from him, as well as TA'd for his Operating Systems class. He is an amazing lecturer, and I am glad he is releasing something like this to the public! Definitely something worthwhile to read. Looking forward to more content being released.
Rust is build around the expectation that allocations happen automatically and can never fail. I’m curious to see how they deal with this in a kernel...
I see the author and I share a naming convention for our miscellaneous scripts, and `do.sh` appears prominently in both our work.<p>I subsequently branched out to e.g. `do-backups.sh`, where despite the `do-` being superfluous, I quite like the aesthetic.<p>Slightly more on topic: I really enjoy blog series like these, with plenty of detail on esoteric topics I really have no idea about, or on the face of it much interest in. They're a fun way to increase the breadth of topics I have a superficial knowledge of.
Amazing tutorial, and really exciting for RISC-V. I hope he creates a patreon or some other donation platform, as it must take some time to write this up. I'm sure some people would be willing to send a bit his way.
I really really like the first sentence<p>> RISC-V ("risk five") and the Rust programming language both start with an R, so naturally they fit together