Package binary firmware for Fedora

For booting on SiFive Unleashed we need to have binary version of
firmware.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
David Abdurachmanov 2019-08-24 09:09:15 -07:00
parent db60b0dba2
commit de06b32eae
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB

View File

@ -171,6 +171,8 @@ pushd fedora-builds/uboot-qemu-virt
cp build/platform/qemu/virt/firmware/fw_payload.elf \ cp build/platform/qemu/virt/firmware/fw_payload.elf \
%{buildroot}/boot/opensbi/unstable/fw_payload-uboot-qemu-virt-smode.elf %{buildroot}/boot/opensbi/unstable/fw_payload-uboot-qemu-virt-smode.elf
cp build/platform/qemu/virt/firmware/fw_payload.bin \
%{buildroot}/boot/opensbi/unstable/fw_payload-uboot-qemu-virt-smode.bin
# BUILD: uboot-qemu-virt # BUILD: uboot-qemu-virt
popd popd
@ -195,7 +197,7 @@ popd
%{_datadir}/%{name} %{_datadir}/%{name}
%files images-riscv64 %files images-riscv64
/boot/opensbi/unstable/fw_payload-uboot-qemu-virt-smode.elf /boot/opensbi/unstable/fw_payload-uboot-qemu-virt-smode.{bin,elf}
%changelog %changelog
* Thu Aug 23 2019 David Abdurachmanov <david.abdurachmanov@sifive.com> v0.4-22-g3cbb419-0 * Thu Aug 23 2019 David Abdurachmanov <david.abdurachmanov@sifive.com> v0.4-22-g3cbb419-0