TutorialsBuilding Linux for a RISC-V Board — Part 1: Cross-Compiling a RISC-V Linux Kernel and Booting It on OpenSBI
Build a RISC-V Linux kernel from source, pack a minimal initramfs, and boot it on OpenSBI under QEMU — with the real…
A multi-part series, in reading order. Start with Part 1.
← All series · 7 parts, in reading order
TutorialsBuild a RISC-V Linux kernel from source, pack a minimal initramfs, and boot it on OpenSBI under QEMU — with the real…
TutorialsBuild the OpenSBI firmware and U-Boot for RISC-V from source, then boot a kernel through the full chain in QEMU. The addresses…
TutorialsPut a real root filesystem on a virtio block device, let U-Boot find it, and boot it from a script instead of…
TutorialsBuild a signed FIT image holding the kernel, devicetree and boot script, and make U-Boot refuse a boot whose signature does not…
TutorialsBooting a signed FIT over TFTP on QEMU RISC-V: why verification does not care where the bytes came from, and what the…
TutorialsSPL verified boot on QEMU RISC-V: build SPL, sign u-boot.itb so SPL checks U-Boot, and why the public key must sit in…
TutorialsProtect the rootfs with dm-verity on QEMU RISC-V and make the root hash arrive from the signed FIT, not from U-Boot's environment.
The best of our kernel and embedded Linux writing, a few emails a month. No spam.
// 1,200+ embedded engineers already read it
We email occasionally and never share your address.