What I'd love to have is a tutorial or a base OS that initializes all the hardware stuff (I/O, memory, discs, video, processor...) and let you build the software stack on top of it. Anything outthere? The closest I found is baremetal https://en.wikipedia.org/wiki/BareMetal