Skip to content

Commit fd2859d

Browse files
committed
content: Add image, opensbi, uboot preparation section
Add steps to install uboot, opensbi on Ubuntu 24.04.1 LTS, and guide to download Ubuntu RISC-V image to run our VM. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
1 parent 81b9a24 commit fd2859d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/virtualization/cloud-hypervisor/heterogeneous-runner.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,23 @@ rm -rf qemu
7575
export PATH=$PATH:/opt/qemu/bin
7676
. .bashrc
7777
```
78+
79+
#### OPENSBI & UBOOT
80+
81+
Besides QEMU, we need `opensbi` and `uboot` to launch an Ubuntu RISC-V virtual
82+
machine. These two could be installed through command:
83+
84+
```sh
85+
sudo apt-get install opensbi u-boot-qemu
86+
```
87+
88+
#### RISC-V Image
89+
90+
I'm using a pre-installed RISC-V Ubuntu server image, which could be downloaded:
91+
92+
```sh
93+
# Download Ubuntu 24.04.1 LTS
94+
wget https://cdimage.ubuntu.com/releases/24.04/release/ubuntu-24.04.1-preinstalled-server-riscv64.img.xz
95+
# Extract image
96+
xz -dk ubuntu-24.04.1-preinstalled-server-riscv64.img.xz
97+
```

0 commit comments

Comments
 (0)