RISC-V SpacemiT K3 Boot Process
11 hours ago
- #RISC-V
- #UEFI
- #boot process
- Boot process starts with the silicon-based Boot ROM (BROM) in M-mode, which loads the first-stage bootloader from NOR flash.
- U-Boot SPL initializes DRAM and loads OpenSBI from NOR flash into DRAM, then hands off execution.
- OpenSBI remains resident in M-mode to handle privileged calls, acting as the M-mode runtime for the system.
- EDK2/UEFI firmware provides a full UEFI environment, replacing U-Boot due to compatibility issues with Ubuntu's GRUB EFI binary.
- GRUB runs as a UEFI application, loads the Linux kernel, initrd, and DTB, then passes control to the kernel for Ubuntu 26.04 startup.