We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ffa0a1 commit f72e90cCopy full SHA for f72e90c
docs/platform/qemu_virt.md
@@ -56,7 +56,13 @@ qemu-system-riscv64 -M virt -m 256M -nographic \
56
**Linux Kernel Payload**
57
58
Note: We assume that the Linux kernel is compiled using
59
-*arch/riscv/configs/defconfig*.
+*arch/riscv/configs/defconfig*. The kernel must be a flattened image (a file called `Image`) rather than an ELF (`vmlinux`).
60
+
61
+Example of building a Linux kernel:
62
+```
63
+make ARCH=riscv CROSS_COMPILE=riscv64-linux- defconfig
64
+make ARCH=riscv CROSS_COMPILE=riscv64-linux- Image
65
66
67
Build:
68
```
0 commit comments