@@ -147,9 +147,74 @@ jobs:
147147 name : " collected-${{ matrix.firmware_target_name }}"
148148 path : dist
149149
150+ prepare-firmware-content-sg2044-rva23 :
151+ name : Prepare Firmware Contents for SG2044 with RVA23 Emu
152+ needs :
153+ - build-zsbl-sg2044
154+ - build-opensbi-sg2044-rva23
155+ - build-u-root
156+ - build-kernel-sg2044
157+ runs-on : ubuntu-latest
158+ strategy :
159+ matrix :
160+ include :
161+ - firmware_target_name : linuxboot-sophgo-sg2044-rva23
162+ zsbl_target_name : sophgo-sg2044
163+ opensbi_target_name : sophgo-sg2044-rva23
164+ u_root_target_name : sophgo-sg204x
165+ kernel_target_name : sophgo-sg2044
166+ steps :
167+ - name : Checkout This Repo
168+ uses : actions/checkout@v5
169+ with :
170+ fetch-depth : 1
171+ path : u-boot-build
172+ - name : Setup Work Dirs
173+ run : |
174+ mkdir -p dist/riscv64
175+ - name : Fetch Pre-built ZSBL
176+ uses : actions/download-artifact@v5
177+ with :
178+ name : " zsbl-${{ matrix.zsbl_target_name }}"
179+ path : dist
180+ merge-multiple : true
181+ - name : Copy fsbl.bin
182+ run : |
183+ cp u-boot-build/sophgo-sg204x/blobs/sg2044/fsbl.bin dist/riscv64
184+ - name : Fetch Pre-built OpenSBI
185+ uses : actions/download-artifact@v5
186+ with :
187+ name : " opensbi-${{ matrix.opensbi_target_name }}"
188+ path : dist/riscv64
189+ merge-multiple : true
190+ - name : Fetch Pre-built u-root
191+ uses : actions/download-artifact@v5
192+ with :
193+ name : " u-root-${{ matrix.u_root_target_name }}"
194+ path : dist/riscv64
195+ merge-multiple : true
196+ - name : Fetch Pre-built Kernel
197+ uses : actions/download-artifact@v5
198+ with :
199+ name : " kernel-${{ matrix.kernel_target_name }}"
200+ path : dist/riscv64
201+ merge-multiple : true
202+ - name : Upload Artifacts
203+ uses : actions/upload-artifact@v4
204+ with :
205+ name : " collected-${{ matrix.firmware_target_name }}"
206+ path : dist
207+
150208 pack-sd-boot-firmware-sg2042 :
151209 name : Pack SD Card Boot Image for SG2042
152210 needs : prepare-firmware-content-sg2042
153211 uses : ./.github/workflows/.sophgo-sg204x.pack-sdimg.yml
154212 with :
155213 firmware_target_name : linuxboot-sophgo-sg2042
214+
215+ pack-sd-boot-firmware-sg2044-rva23 :
216+ name : Pack SD Card Boot Image for SG2044 with RVA23 Emu
217+ needs : prepare-firmware-content-sg2044-rva23
218+ uses : ./.github/workflows/.sophgo-sg204x.pack-sdimg.yml
219+ with :
220+ firmware_target_name : linuxboot-sophgo-sg2044-rva23
0 commit comments