Skip to contentSkip to conversation

qboot: update to latest upstream

PATCH In review Paolo Bonzini 2 participants 2 messages Nov 20, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qboot: update to latest upstream

This also brings in two patches that Debian had to include, qboot_stop_using_inttypes.patch and qboot_no_jump_tables.diff.

---
 pc-bios/qboot.rom | Bin 65536 -> 65536 bytes
 roms/Makefile     |   8 ++++++--
 roms/qboot        |   2 +-
 3 files changed, 7 insertions(+), 3 deletions(-)
pc-bios/qboot.rom binary +0 -0
index 45eabc516692e2d134bbb630d133c7c2dcc9a9b6..7634106a0766913077e88dfcb1021c1168dcad3c 100644
GIT binary patch
roms/Makefile +6 -2
index 7045e374d3..5ffe3317ac 100644
@@ -186,9 +186,13 @@ opensbi64-generic:
 	cp opensbi/build/platform/generic/firmware/fw_dynamic.bin ../pc-bios/opensbi-riscv64-generic-fw_dynamic.bin
 	cp opensbi/build/platform/generic/firmware/fw_dynamic.elf ../pc-bios/opensbi-riscv64-generic-fw_dynamic.elf
 
+MESON = meson
+NINJA = ninja
 qboot:
-	$(MAKE) -C qboot
-	cp qboot/bios.bin ../pc-bios/qboot.rom
+	mkdir -p qboot/build
+	$(MESON) setup $(if $(wildcard qboot/build/meson-private),--wipe,) qboot qboot/build
+	$(NINJA) -C qboot/build
+	cp qboot/build/bios.bin ../pc-bios/qboot.rom
 
 npcm7xx_bootrom:
 	$(MAKE) -C vbootrom CROSS_COMPILE=$(arm_cross_prefix)
roms/qboot +1 -1
index cb1c49e0cf..a5300c4949 160000
@@ -1 +1 @@
-Subproject commit cb1c49e0cfac99b9961d136ac0194da62c28cf64
+Subproject commit a5300c4949b8d4de2d34bedfaed66793f48ec948
Signature · 1 line
2.28.0
#1 lore raw
Quoted 10 lines · Paolo Bonzini

This also brings in two patches that Debian had to include, qboot_stop_using_inttypes.patch and qboot_no_jump_tables.diff.

---
 pc-bios/qboot.rom | Bin 65536 -> 65536 bytes
 roms/Makefile     |   8 ++++++--
 roms/qboot        |   2 +-
 3 files changed, 7 insertions(+), 3 deletions(-)

...

Quoted 26 lines
roms/Makefile +6 -2
index 7045e374d3..5ffe3317ac 100644
@@ -186,9 +186,13 @@ opensbi64-generic:
 	cp opensbi/build/platform/generic/firmware/fw_dynamic.bin ../pc-bios/opensbi-riscv64-generic-fw_dynamic.bin
 	cp opensbi/build/platform/generic/firmware/fw_dynamic.elf ../pc-bios/opensbi-riscv64-generic-fw_dynamic.elf
 
+MESON = meson
+NINJA = ninja
 qboot:
-	$(MAKE) -C qboot
-	cp qboot/bios.bin ../pc-bios/qboot.rom
+	mkdir -p qboot/build
+	$(MESON) setup $(if $(wildcard qboot/build/meson-private),--wipe,) qboot qboot/build
+	$(NINJA) -C qboot/build
+	cp qboot/build/bios.bin ../pc-bios/qboot.rom
 
 npcm7xx_bootrom:
 	$(MAKE) -C vbootrom CROSS_COMPILE=$(arm_cross_prefix)
roms/qboot +0 -0
index cb1c49e0cf..a5300c4949 160000

roms/qboot line 1

Quoted 2 lines
roms/qboot +1 -1
@@ -1 +1 @@
-Subproject commit cb1c49e0cfac99b9961d136ac0194da62c28cf64
+Subproject commit a5300c4949b8d4de2d34bedfaed66793f48ec948

Maybe include shortlog in description?

$ git shortlog cb1c49e..a5300c4
Lorenz Brun (1):
      Fix initrd base address for PVH boot

Marc-Andre Lureau (1):
Update README

Marc-André Lureau (1):
Add meson build

Paolo Bonzini (2):
limit C headers to freestanding ones record minimum version of meson that is needed

Sven Eckelmann (1):
qboot: Disable PIE for ELF binary build step

kaihuan.pkh (1):
support smbios