Skip to content

Commit

Permalink
README.md: Add virtio-gpu related information
Browse files Browse the repository at this point in the history
  • Loading branch information
shengwen-tw committed Nov 9, 2023
1 parent 5d08ed9 commit 469bcfa
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 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 Down Expand Up @@ -37,6 +40,28 @@ For macOS, use the following command:
$ brew install e2fsprogs
```

### SDL2 Installation

```
git clone https://github.com/libsdl-org/SDL.git -b SDL2
cd SDL
mkdir build
cd build
../configure
make
sudo make install
```

### Pixman Installation

```
git clone https://github.com/libpixman/pixman.git
cd pixman/
./autogen.sh
make -j$(nproc)
sudo make install
```

## Build and Run

Build the emulator:
Expand Down

0 comments on commit 469bcfa

Please sign in to comment.