Skip to content

Commit 8e71060

Browse files
committed
readme: adjust instruction on preparing environment
1 parent e6b18b4 commit 8e71060

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ file and implement simple SBI directly, thus RustSBI provides a bootable ELF fil
55

66
## Try it out!
77

8-
Compile and run with:
8+
To prepare for environment, you should have Rust compiler and QEMU installed.
9+
You may install Rust by [rustup](https://rustup.rs) or using vendor provided rustc and cargo packages.
10+
To install QEMU, your may need to use package manager (e.g. apt, dnf etc.) from system distribution
11+
to get a proper QEMU software package.
12+
13+
After environment prepared, compile and run with:
914

1015
```shell
1116
cargo qemu
@@ -68,11 +73,10 @@ When running `cargo qemu`, the test kernel will build and run. Expected output s
6873

6974
### Requirements
7075

71-
You should have `cargo-binutils` and `llvm-tools-preview` installed.
76+
You should have `cargo-binutils` installed.
7277

7378
```
7479
cargo install cargo-binutils
75-
rustup component add llvm-tools-preview
7680
```
7781

7882
### Run

0 commit comments

Comments
 (0)