What it does so far:

How to build EdgeBSD/lm32:

Note, if you are rebuilding after a modification or a git pull, this is faster: ./ -m milkymist -U -u kernel=GENERIC

Run EdgeBSD/lm32 in qemu:

Build Qemu for Milkymist SoC with support for lm32-mmu:

Debug with Qemu and GDB:

Embed a ramdisk (MFS : memory file system) inside the kernel with a simple static init binary: