Open
Description
RISC-V from scratch 2: Hardware layouts, linker scripts, and C runtimes
A post describing how C programs get to the main function. Devicetree layouts, linker scripts, minimal C runtimes, GDB and QEMU, basic RISC-V assembly, and other topics are reviewed along the way.
https://twilco.github.io/riscv-from-scratch/2019/04/27/riscv-from-scratch-2.html