Skip to content

Commit

Permalink
build: add fedora_rv64 rootfs
Browse files Browse the repository at this point in the history
Signed-off-by: Han Gao <[email protected]>
  • Loading branch information
RevySR committed Mar 3, 2024
1 parent ac4c553 commit 5fde8f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
fail-fast: false
matrix:
model: [canmv, evb]
distro: [yocto_rv32, fedora_rv32]
distro: [yocto_rv32, fedora_rv32, fedora_rv64]
abi: [rv64ilp32, rv64]

runs-on: ubuntu-22.04
Expand Down
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ function build_rootfs() {
curl -OL https://github.com/ruyisdk/mkimg-k230-rv64ilp32/releases/download/fedora_rv32_rootfs/core-image-minimal-qemuriscv32.rootfs-20240302042035.ext4.zst
unzstd core-image-minimal-qemuriscv32.rootfs-20240302042035.ext4.zst
mv core-image-minimal-qemuriscv32.rootfs-20240302042035.ext4 ${ROOTFS_IMAGE_FILE}
elif [[ $DISTRO == "fedora_rv64" ]]; then
curl -OL https://github.com/ruyisdk/mkimg-k230-rv64ilp32/releases/download/fedora_rv32_rootfs/root-lp64.ext4.zst
unztsd root-lp64.ext4.zst
mv root-lp64.ext4 ${ROOTFS_IMAGE_FILE}
else
echo "DISTRO: ${DISTRO} ?????"
exit 1
Expand Down

0 comments on commit 5fde8f1

Please sign in to comment.