Skip to content

Commit f20b959

Browse files
committed
Update README to reflect running SDL-oriented applications in guestOS
1 parent 515e011 commit f20b959

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ $ make ENABLE_SYSTEM=1
8080
$ build/rv32emu -k <kernel_img_path> -i <rootfs_img_path>
8181
```
8282

83+
Build with a larger INITRD_SIZE (e.g., 64 MiB) to run SDL-oriented application because the default 8 MiB is insufficient for SDL-oriented application artifacts:
84+
```shell
85+
$ make system ENABLE_SYSTEM=1 ENABLE_SDL=1 INITRD_SIZE=64
86+
```
87+
Once login the guestOS, run `doom-riscv` or `quake` or `smolnes`. To terminate SDL-oriented applications, use the built-in exit utility, ctrl-c or the SDL window close button(X).
88+
8389
#### Build Linux image
8490
An automated build script is provided to compile the RISC-V cross-compiler, Busybox, and Linux kernel from source. Please note that it only supports the Linux host environment. It can be found at tools/build-linux-image.sh.
8591
```

0 commit comments

Comments
 (0)