Skip to content

Commit 469bcfa

Browse files
committed
README.md: Add virtio-gpu related information
1 parent 5d08ed9 commit 469bcfa

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

README.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ 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-blk acquires disk image from the host, and virtio-net is mapped as TAP interface
12+
- VirtIO:
13+
- virtio-net: Mapped with TAP interface to the host
14+
- virtio-blk: Acquires disk image from the host to the guest
15+
- virtio-gpu: Currently supports 2D rendering mode with SDL as front-end
1316

1417
## Prerequisites
1518

@@ -37,6 +40,28 @@ For macOS, use the following command:
3740
$ brew install e2fsprogs
3841
```
3942

43+
### SDL2 Installation
44+
45+
```
46+
git clone https://github.com/libsdl-org/SDL.git -b SDL2
47+
cd SDL
48+
mkdir build
49+
cd build
50+
../configure
51+
make
52+
sudo make install
53+
```
54+
55+
### Pixman Installation
56+
57+
```
58+
git clone https://github.com/libpixman/pixman.git
59+
cd pixman/
60+
./autogen.sh
61+
make -j$(nproc)
62+
sudo make install
63+
```
64+
4065
## Build and Run
4166

4267
Build the emulator:

0 commit comments

Comments
 (0)