If you read Japanese, you might have seen the book “Design and Implementation of Microkernels” by [Seiya Nuda]. An appendix covers how to write your own operating system for RISC-V in about 1,000 ...
I'd like build my own computer. I'm not talking about ordering parts from Newegg and such and slapping them together, I mean ordering a CPU, LCD screen, flash RAM, etc, and soldering it all together.