From 5fde8f160be8f9f58d515c527825f7ebb11463aa Mon Sep 17 00:00:00 2001 From: Han Gao Date: Sun, 3 Mar 2024 18:55:22 +0800 Subject: [PATCH] build: add fedora_rv64 rootfs Signed-off-by: Han Gao --- .github/workflows/build.yml | 2 +- build.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af2ab5b..e2a9a47 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/build.sh b/build.sh index 4c78987..456aa3b 100755 --- a/build.sh +++ b/build.sh @@ -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