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