From de06b32eae7a5c2e73469e72860c3ea9fec68439 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Sat, 24 Aug 2019 09:09:15 -0700 Subject: [PATCH] Package binary firmware for Fedora For booting on SiFive Unleashed we need to have binary version of firmware. Signed-off-by: David Abdurachmanov --- opensbi-unstable.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/opensbi-unstable.spec b/opensbi-unstable.spec index 813f62f..d828e15 100644 --- a/opensbi-unstable.spec +++ b/opensbi-unstable.spec @@ -171,6 +171,8 @@ pushd fedora-builds/uboot-qemu-virt cp build/platform/qemu/virt/firmware/fw_payload.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 popd @@ -195,7 +197,7 @@ popd %{_datadir}/%{name} %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 * Thu Aug 23 2019 David Abdurachmanov v0.4-22-g3cbb419-0