Skip to content

Commit 2cc5dc6

Browse files
committed
Update README
- the customizable bootargs feature was introduced in #534, but the README was not updated at that time. - build-linux-img should be build-linux-image. See mk/tools.mk. - highlight WebAssembly support in feature list.
1 parent b6aa3ca commit 2cc5dc6

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ Features:
2626
* Fast interpreter for executing the RV32 ISA
2727
* Fast interpreter that faithfully executes the complete RV32 instruction set
2828
* Full coverage of RV32I / RV32E plus the M (integer multiply–divide), A (atomics), F (single-precision floating-point), C (compressed), and Zba/Zbb/Zbc/Zbs bit-manipulation extensions
29-
* Built-in ELF loader for user-mode emulation
29+
* Built-in ELF loader for user-space emulation
3030
* Newlib-compatible system-call layer for standalone programs
3131
* Minimal system emulation capable of booting an RV32 Linux kernel and running user-space binaries
3232
* Experimental SDL-based display/event/audio system calls for running video games
33+
* WebAssembly build for user-space and system emulation with SDL graphics and audio in modern browsers
3334
* Remote debugging through the GDB Remote Serial Protocol
3435
* Tiered JIT compilation for performance boost while maintaining a small footprint
3536

@@ -104,10 +105,16 @@ Mount the virtual block device and create a test file after booting, note that r
104105
```
105106
Reboot and re-mount the virtual block device, the written file should remain existing.
106107
108+
#### Customize bootargs
109+
Build and run with customized bootargs to boot the guestOS. Otherwise, the default bootargs defined in `src/devices/minimal.dts` will be used.
110+
```shell
111+
$ build/rv32emu -k <kernel_img_path> -i <rootfs_img_path> [-b <bootargs>]
112+
```
113+
107114
#### Build Linux image
108115
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.
109116
```shell
110-
$ make build-linux-img
117+
$ make build-linux-image
111118
```
112119
113120
### Verify with prebuilt RISC-V ELF files

0 commit comments

Comments
 (0)