File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ A minimalist RISC-V system emulator capable of running Linux the kernel and corr
99- UART: 8250/16550
1010- PLIC (platform-level interrupt controller): 32 interrupts, no priority
1111- Standard SBI, with the timer extension
12- - VirtIO: virtio-net, mapped as TAP interface
12+ - VirtIO: virtio-blk acquires disk image from the host, and virtio-net is mapped as TAP interface
1313
1414## Prerequisites
1515
@@ -62,6 +62,16 @@ Please note that it only supports the Linux host environment.
6262$ make build-image
6363```
6464
65+ ## Usage
66+
67+ ```
68+ ./semu -k linux-image [-b dtb-file] [-d disk-image]
69+ ```
70+
71+ * ` linux-image ` is the path to the Linux kernel ` Image ` .
72+ * ` dtb-file ` is optional, as it specifies the user-specified device tree blob.
73+ * ` disk-image ` is optional, as it specifies the path of a disk image in ext4 file system for the virtio-blk device.
74+
6575## License
6676
6777` semu ` is released under the MIT License.
You can’t perform that action at this time.
0 commit comments