Books
Practical File System Design with the Be File System by Dominic Giampaolo. See also File System Construction Kit.
Think OS and The Little Book of Semaphores by Green Tea Press
Online courses
Write-your-own OS
The Adventures of OS: Making a RISC-V Operating System using Rust
Baking Pi. OS development from scratch for RPi B+ and A+ (not updated for later versions).