Skip to content

Commit 45df562

Browse files
committed
Update README for customized bootargs
The customizable bootargs feature was introduced in sysprog21#534, but the README was not updated at that time. This commit update documents the feature for better reference.
1 parent 88ddb73 commit 45df562

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
@@ -104,6 +104,12 @@ Mount the virtual block device and create a test file after booting, note that r
104104
```
105105
Reboot and re-mount the virtual block device, the written file should remain existing.
106106
107+
#### Customize bootargs
108+
Build and run with customized bootargs to boot the guestOS. Otherwise, the default bootargs defined in `src/devices/minimal.dts` will be used.
109+
```shell
110+
$ build/rv32emu -k <kernel_img_path> -i <rootfs_img_path> [-b <bootargs>]
111+
```
112+
107113
#### Build Linux image
108114
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.
109115
```shell

0 commit comments

Comments
 (0)