diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4e697e..c07591d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: include: - name: zsb-64lp64 toolchain_tripe: riscv64-unknown-linux-gnu- - - name: opensbi-1.4-64lp64 + - name: opensbi-1.3-64lp64 toolchain_tripe: riscv64-unknown-linux-gnu- - name: linux-6.6-64lp64 toolchain_tripe: riscv64-unknown-linux-gnu- @@ -34,7 +34,7 @@ jobs: toolchain_tripe: riscv64-unknown-elf- - name: zsb-32ilp32 toolchain_tripe: riscv32-unknown-linux-gnu- - - name: opensbi-1.4-32ilp32 + - name: opensbi-1.3-32ilp32 toolchain_tripe: riscv32-unknown-linux-gnu- - name: linux-6.6-32ilp32 toolchain_tripe: riscv32-unknown-linux-gnu- @@ -97,12 +97,12 @@ jobs: mv /opt/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.2 /opt/riscv rm -v ${xt64_toolchain_file_name} fi - if [ x"${{ matrix.name }}" = x"opensbi-1.4-64lp64" ]; then + if [ x"${{ matrix.name }}" = x"opensbi-1.3-64lp64" ]; then wget ${rv64_toolchain}/${rv64_toolchain_file_name} tar -xvf ${rv64_toolchain_file_name} -C /opt rm -v ${rv64_toolchain_file_name} fi - if [ x"${{ matrix.name }}" = x"opensbi-1.4-32ilp32" ]; then + if [ x"${{ matrix.name }}" = x"opensbi-1.3-32ilp32" ]; then wget ${rv32_toolchain}/${rv32_toolchain_file_name} tar -xvf ${rv32_toolchain_file_name} -C /opt rm -v ${rv32_toolchain_file_name} @@ -201,12 +201,11 @@ jobs: cd - tar czvf ${{ matrix.name }}.tar.gz Image vmlinux git.log modules_install headers_install gdbmacros.txt fi - if [ x"${{ matrix.name }}" = x"opensbi-1.4-64lp64" ]; then + if [ x"${{ matrix.name }}" = x"opensbi-1.3-64lp64" ]; then export PATH="/opt/riscv/bin:$PATH" - git clone https://github.com/riscv-software-src/opensbi.git + git clone https://github.com/XUANTIE-RV/opensbi.git -b linux-6.6 cd opensbi - git checkout v1.4 - make PLATFORM=generic -j + make PLATFORM=generic BUILD_INFO=y DEBUG=1 -j mv build/platform/generic/firmware/fw_dynamic.bin ../ mv build/platform/generic/firmware/fw_dynamic.elf ../ git log --oneline -500 > ../git.log @@ -214,12 +213,11 @@ jobs: cd - tar czvf ${{ matrix.name }}.tar.gz fw_dynamic.elf fw_dynamic.bin git.log fi - if [ x"${{ matrix.name }}" = x"opensbi-1.4-32ilp32" ]; then + if [ x"${{ matrix.name }}" = x"opensbi-1.3-32ilp32" ]; then export PATH="/opt/riscv/bin:$PATH" - git clone https://github.com/riscv-software-src/opensbi.git + git clone https://github.com/XUANTIE-RV/opensbi.git -b linux-6.6 cd opensbi - git checkout v1.4 - make PLATFORM=generic -j + make PLATFORM=generic BUILD_INFO=y DEBUG=1 -j mv build/platform/generic/firmware/fw_dynamic.bin ../ mv build/platform/generic/firmware/fw_dynamic.elf ../ git log --oneline -500 > ../git.log @@ -229,7 +227,7 @@ jobs: fi if [ x"${{ matrix.name }}" = x"opensbi-0.9-64lp64" ]; then export PATH="/opt/riscv/bin:$PATH" - git clone https://github.com/c-sky/opensbi.git -b opensbi-v0.9-dev opensbi + git clone https://github.com/XUANTIE-RV/opensbi.git -b opensbi-v0.9-dev cd opensbi make PLATFORM=generic -j mv build/platform/generic/firmware/fw_dynamic.bin ../