mirror of
https://github.com/lupyuen/nuttx-riscv64.git
synced 2025-01-12 23:28:28 +08:00
Download OpenSBI for RISC-V 32-bit
This commit is contained in:
parent
f53808007b
commit
1bdd9e0640
6 changed files with 17 additions and 6 deletions
5
.github/workflows/qemu-riscv-knsh32.yml
vendored
5
.github/workflows/qemu-riscv-knsh32.yml
vendored
|
@ -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
|
||||
|
|
4
.github/workflows/qemu-riscv-knsh64.yml
vendored
4
.github/workflows/qemu-riscv-knsh64.yml
vendored
|
@ -13,8 +13,8 @@ on:
|
|||
- cron: '0 0 * * *'
|
||||
|
||||
## Run on every commit to this branch
|
||||
push:
|
||||
branches: [ main ]
|
||||
# push:
|
||||
# branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
4
.github/workflows/qemu-riscv-nsh.yml
vendored
4
.github/workflows/qemu-riscv-nsh.yml
vendored
|
@ -13,8 +13,8 @@ on:
|
|||
- cron: '0 0 * * *'
|
||||
|
||||
## Run on every commit to this branch
|
||||
push:
|
||||
branches: [ main ]
|
||||
# push:
|
||||
# branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
4
.github/workflows/qemu-riscv-nsh64.yml
vendored
4
.github/workflows/qemu-riscv-nsh64.yml
vendored
|
@ -13,8 +13,8 @@ on:
|
|||
- cron: '0 0 * * *'
|
||||
|
||||
## Run on every commit to this branch
|
||||
push:
|
||||
branches: [ main ]
|
||||
# push:
|
||||
# branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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`
|
||||
|
|
Loading…
Reference in a new issue