Skip to contentSkip to conversation

riscv: roms: Fix make rules for building sifive_u bios

PATCH In review Bin Meng 5 participants 9 messages Aug 3, 2019 – Aug 13, 2019

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/1 riscv: roms: Fix make rules for building sifive_u bios

Currently the make rules are wrongly using qemu/virt opensbi image for sifive_u machine. Correct it.

---

 roms/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
roms/Makefile +1 -1
index dc70fb5..775c963 100644
@@ -183,7 +183,7 @@ opensbi64-sifive_u:
 	$(MAKE) -C opensbi \
 		CROSS_COMPILE=$(riscv64_cross_prefix) \
 		PLATFORM="qemu/sifive_u"
-	cp opensbi/build/platform/qemu/virt/firmware/fw_jump.bin ../pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin
+	cp opensbi/build/platform/qemu/sifive_u/firmware/fw_jump.bin ../pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin
 
 clean:
 	rm -rf seabios/.config seabios/out seabios/builds
Signature · 1 line
2.7.4
author
#1 lore raw

Hi Alistair/Palmer,

Quoted 11 lines · Bin Meng

Currently the make rules are wrongly using qemu/virt opensbi image for sifive_u machine. Correct it.

---

 roms/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Would you please look at this patch? This should be in 4.1.

Regards,
Bin

Reviewed-by on v1 1/1
#2 lore raw
In reply to Bin Meng
Quoted 23 lines · Bin Meng

Currently the make rules are wrongly using qemu/virt opensbi image for sifive_u machine. Correct it.

---

 roms/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
roms/Makefile +0 -1
index dc70fb5..775c963 100644
@@ -183,7 +183,7 @@ opensbi64-sifive_u:
        $(MAKE) -C opensbi \
                CROSS_COMPILE=$(riscv64_cross_prefix) \
                PLATFORM="qemu/sifive_u"
-       cp opensbi/build/platform/qemu/virt/firmware/fw_jump.bin

../pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin
+ cp opensbi/build/platform/qemu/sifive_u/firmware/fw_jump.bin
../pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin

Quoted 6 lines

clean:
rm -rf seabios/.config seabios/out seabios/builds
--
2.7.4

Reviewed-by on v1 1/1
#3 lore raw
In reply to Bin Meng
Quoted 5 lines · Bin Meng

Currently the make rules are wrongly using qemu/virt opensbi image for sifive_u machine. Correct it.

Good catch.

@Palmer Dabbelt can you take this for 4.1?

Alistair

Quoted 23 lines

---

 roms/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
roms/Makefile +1 -2
index dc70fb5..775c963 100644
@@ -183,7 +183,7 @@ opensbi64-sifive_u:
        $(MAKE) -C opensbi \
                CROSS_COMPILE=$(riscv64_cross_prefix) \
                PLATFORM="qemu/sifive_u"
-       cp opensbi/build/platform/qemu/virt/firmware/fw_jump.bin ../pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin
+       cp opensbi/build/platform/qemu/sifive_u/firmware/fw_jump.bin ../pc-bios/opensbi-riscv64-sifive_u-fw_jump.bin
 
 clean:
        rm -rf seabios/.config seabios/out seabios/builds
--

2.7.4

author
#4 lore raw

Hi Palmer,

Quoted 12 lines · Alistair Francis
Quoted 5 lines · Bin Meng

Currently the make rules are wrongly using qemu/virt opensbi image for sifive_u machine. Correct it.

Good catch.

@Palmer Dabbelt can you take this for 4.1?

Is this patch merged for 4.1? Thanks!

Quoted 2 lines

Regards,
Bin

#5 lore raw
Quoted 10 lines · Bin Meng

Hi Palmer,

Quoted 6 lines · Alistair Francis
Quoted 4 lines · Bin Meng

Currently the make rules are wrongly using qemu/virt opensbi image for sifive_u machine. Correct it.

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

Good catch.

@Palmer Dabbelt can you take this for 4.1?

Is this patch merged for 4.1? Thanks!

Sorry, it doesn't look like it is, and it's now missed the deadline for 4.1 (only critical showstopper bugs and security issues would go in at this point).

thanks
-- PMM

#6 lore raw
Quoted 16 lines · Peter Maydell
Quoted 14 lines · Bin Meng

Hi Palmer,

Quoted 10 lines · Alistair Francis
Quoted 5 lines · Bin Meng

Currently the make rules are wrongly using qemu/virt opensbi image for sifive_u machine. Correct it.

Good catch.

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

@Palmer Dabbelt can you take this for 4.1?

Is this patch merged for 4.1? Thanks!

Sorry, it doesn't look like it is, and it's now missed the deadline for 4.1 (only critical showstopper bugs and security issues would go in at this point).

Since a very late ppc pullreq turned up which needed to also go into rc5 and meant we couldn't just have a single-change rc, I figured this was safe enough to also apply for rc5, so I've put it in.

thanks
-- PMM

#7 lore raw
Quoted 23 lines · Peter Maydell
Quoted 21 lines · Peter Maydell
Quoted 18 lines · Bin Meng

Hi Palmer,

Quoted 12 lines · Alistair Francis
Quoted 5 lines · Bin Meng

Currently the make rules are wrongly using qemu/virt opensbi image for sifive_u machine. Correct it.

Good catch.

@Palmer Dabbelt can you take this for 4.1?

Is this patch merged for 4.1? Thanks!

Quoted 7 lines
Quoted 3 lines

Sorry, it doesn't look like it is, and it's now missed the deadline for 4.1 (only critical showstopper bugs and security issues would go in at this point).

Since a very late ppc pullreq turned up which needed to also go into rc5 and meant we couldn't just have a single-change rc, I figured this was safe enough to also apply for rc5, so I've put it in.

Thanks Peter!

Alistair

Quoted 3 lines

thanks
-- PMM

#8 lore raw
Quoted 28 lines · On Tue, 13 Aug 2019 09:52:13 PDT (-0700), [email protected] wrote:
Quoted 27 lines · Peter Maydell
Quoted 24 lines · Peter Maydell
Quoted 10 lines · Bin Meng

Hi Palmer,

Quoted 6 lines · Alistair Francis
Quoted 4 lines · Bin Meng

Currently the make rules are wrongly using qemu/virt opensbi image for sifive_u machine. Correct it.

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

Good catch.

@Palmer Dabbelt can you take this for 4.1?

Is this patch merged for 4.1? Thanks!

Sorry, it doesn't look like it is, and it's now missed the deadline for 4.1 (only critical showstopper bugs and security issues would go in at this point).

Quoted 5 lines
Quoted 3 lines

Since a very late ppc pullreq turned up which needed to also go into rc5 and meant we couldn't just have a single-change rc, I figured this was safe enough to also apply for rc5, so I've put it in.

Thanks Peter!

Ya, that's great -- this will save us some headaches.