Download OpenSBI for RISC-V 32-bit

This commit is contained in:
Lup Yuen Lee 2024-07-14 14:44:11 +08:00
parent f53808007b
commit 1bdd9e0640
6 changed files with 17 additions and 6 deletions

View file

@ -194,6 +194,11 @@ jobs:
expect qemu-system-riscv32
qemu-system-riscv32 --version
## Download OpenSBI for RISC-V 32-bit
wget https://github.com/riscv-software-src/opensbi/releases/download/v1.5/opensbi-1.5-rv-bin.tar.xz
tar xf opensbi-1.5-rv-bin.tar.xz
ls -l opensbi-1.5-rv-bin/share/opensbi/ilp32/generic/firmware/fw_dynamic.bin
- name: Run Test
run: |
set -x # Echo commands

View file

@ -13,8 +13,8 @@ on:
- cron: '0 0 * * *'
## Run on every commit to this branch
push:
branches: [ main ]
# push:
# branches: [ main ]
jobs:
build:

View file

@ -13,8 +13,8 @@ on:
- cron: '0 0 * * *'
## Run on every commit to this branch
push:
branches: [ main ]
# push:
# branches: [ main ]
jobs:
build:

View file

@ -13,8 +13,8 @@ on:
- cron: '0 0 * * *'
## Run on every commit to this branch
push:
branches: [ main ]
# push:
# branches: [ main ]
jobs:
build:

View file

@ -194,6 +194,11 @@ jobs:
expect qemu-system-riscv32
qemu-system-riscv32 --version
## Download OpenSBI for RISC-V 32-bit
wget https://github.com/riscv-software-src/opensbi/releases/download/v1.5/opensbi-1.5-rv-bin.tar.xz
tar xf opensbi-1.5-rv-bin.tar.xz
ls -l opensbi-1.5-rv-bin/share/opensbi/ilp32/generic/firmware/fw_dynamic.bin
- name: Run Test
run: |
set -x # Echo commands

View file

@ -13,6 +13,7 @@ spawn qemu-system-riscv32 \
-M virt,aclint=on \
-cpu rv32 \
-kernel nuttx \
-bios opensbi-1.5-rv-bin/share/opensbi/ilp32/generic/firmware/fw_dynamic.bin \
-nographic
## Wait for the prompt and enter `uname -a`