Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shengwen-tw committed Jun 18, 2024
1 parent 61c70f7 commit 25e9372
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ A minimalist RISC-V system emulator capable of running Linux the kernel and corr
- UART: 8250/16550
- PLIC (platform-level interrupt controller): 32 interrupts, no priority
- Standard SBI, with the timer extension
- VirtIO: virtio-blk acquires disk image from the host, and virtio-net is mapped as TAP interface
- VirtIO:
- virtio-net: Mapped with TAP interface to the host
- virtio-blk: Acquires disk image from the host to the guest
- virtio-gpu: Currently supports 2D rendering mode with SDL as front-end

## Prerequisites

Expand All @@ -24,6 +27,13 @@ For macOS, use the following command:
$ brew install dtc
```

[SDL2](https://www.libsdl.org/) is required for enabling virtio-gpu.
To install it on Debian/Ubuntu Linux, enter the following command:

```shell
$ sudo apt install libsdl2-dev libsdl2-2.0-0 libsdl2-image-dev libsdl2-image-2.0-0
```

For demonstration purposes, ext4 is used for file system mounting.
`ext4` is a native Linux filesystem, offering stability, high capacity, reliability,
and performance while requiring minimal maintenance. The `mkfs.ext4` command can
Expand Down

0 comments on commit 25e9372

Please sign in to comment.