From bef6a76b602eee8f43c2e7dd65c5bd9cf5d909e4 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 5 Jul 2024 20:25:08 +0300 Subject: add note about -kernel --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 9d279d6..e1cd151 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,15 @@ This command might eventually be moved out of this repo. artefacts, clean run artefacts and clean all artefacts, respectively. Note that `clean_run` and `clean_all` may need root privileges. +The kernel should now also support Qemu's `-kernel` flag, meaning something like +``` +qemu-system-riscv64 -machine virt -m 2G \ + -kernel kmi.bin -initrd arch/riscv64/conf/initrd \ + -serial stdio +``` + +should just work. + # Top-level view This should eventually be moved into documentation with more details, but in short, `kmi` -- cgit v1.3