Skip to content

Commit

Permalink
deps
Browse files Browse the repository at this point in the history
  • Loading branch information
el-ev committed Jan 13, 2025
1 parent 158ffe9 commit ee6c300
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/vf2-firmware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,19 @@ jobs:
- name: Install dependencies
run: |
wget https://toolchains.bootlin.com/downloads/releases/toolchains/riscv64-lp64d/tarballs/riscv64-lp64d--glibc--bleeding-edge-2024.05-1.tar.xz -O riscv64-lp64d--glibc--bleeding-edge-2024.05-1.tar.xz
tar -xf riscv64-lp64d--glibc--bleeding-edge-2024.05-1.tar.xz
mv riscv64-lp64d--glibc--bleeding-edge-2024.05-1 riscv64-buildroot-linux-gnu
sudo apt update
sudo apt install libgnutls28-dev gcc-riscv64-linux-gnu binutils-riscv64-linux-gnu
- name: Build OpenSBI
run: |
cd opensbi
make PLATFORM=generic CROSS_COMPILE=../riscv64-buildroot-linux-gnu/bin/riscv64-buildroot-linux-gnu- BUILD_INFO=y FW_OPTIONS=0
make PLATFORM=generic CROSS_COMPILE=riscv64-linux-gnu- BUILD_INFO=y FW_OPTIONS=0 -j$(nproc)
- name: Build U-Boot
run: |
cd u-boot
make CROSS_COMPILE=../riscv64-buildroot-linux-gnu/bin/riscv64-buildroot-linux-gnu- starfive_visionfive2_defconfig
make CROSS_COMPILE=../riscv64-buildroot-linux-gnu/bin/riscv64-buildroot-linux-gnu- OPENSBI=../opensbi/platform/generic/firmware/fw_dynamic.bin
make CROSS_COMPILE=riscv64-linux-gnu- starfive_visionfive2_defconfig
make CROSS_COMPILE=riscv64-linux-gnu- OPENSBI=../opensbi/platform/generic/firmware/fw_dynamic.bin -j$(nproc)
- name: Release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit ee6c300

Please sign in to comment.