Skip to content

Commit efda0c1

Browse files
committed
Update README.md
1 parent e6c7cac commit efda0c1

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)