You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Install rustup from https://rustup.rs or using your system package manager
@@ -27,10 +45,9 @@ $ export RUSTUP_DIST_SERVER=
27
45
# Automatically download components via rustup
28
46
$ cd StarryOS
29
47
$ rustup target list --installed
30
-
31
48
```
32
49
33
-
### 3. Build
50
+
### 5. Build
34
51
35
52
```bash
36
53
# Default target: riscv64
@@ -42,7 +59,7 @@ $ make ARCH=loongarch64 build
42
59
43
60
This should also download required binary dependencies like [cargo-binutils](https://github.com/rust-embedded/cargo-binutils).
44
61
45
-
### 4. Prepare rootfs
62
+
### 6. Prepare rootfs
46
63
47
64
```bash
48
65
$ make img
@@ -52,7 +69,7 @@ $ make img ARCH=loongarch64
52
69
53
70
This will download rootfs image from [GitHub Releases](https://github.com/Starry-OS/StarryOS/releases) and setup the disk file for running on QEMU.
54
71
55
-
### 5. Run on QEMU
72
+
### 7. Run on QEMU
56
73
57
74
```bash
58
75
$ make run ARCH=riscv64
@@ -66,6 +83,7 @@ $ make la
66
83
Note:
67
84
1. You don't have to rerun the build step before running. `run` will automatically rebuild it.
68
85
2. The disk file will **not** be reset between each run. As a result, if you want to switch to another architecture, you must run `make img` with the new architecture before running `make run`.
86
+
3. Currently we need a specially patched version of QEMU to run on LoongArch64. We'll try to fix this issue soon.
0 commit comments