Skip to contentSkip to conversation

pc-bios: Update vbootrom images

PATCH Superseded Cédric Le Goater 2 participants 6 messages Jul 29, 2025

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#2 lore raw

PATCH v2 2/3 roms/Makefile: build ast27x0_bootrom

In reply to Cédric Le Goater

From: Michael Tokarev <[email protected]>

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3052

---
 roms/Makefile | 5 +++++
 1 file changed, 5 insertions(+)
roms/Makefile +5 -0
index 6af68a922f30..4c8793c5bd45 100644
@@ -68,6 +68,7 @@ default help:
 	@echo "  u-boot.sam460      -- update u-boot.sam460"
 	@echo "  npcm7xx_bootrom    -- update vbootrom for npcm7xx"
 	@echo "  npcm8xx_bootrom    -- update vbootrom for npcm8xx"
+	@echo "  ast27x0_bootrom    -- update vbootrom for ast27x0"
 	@echo "  efi                -- update UEFI (edk2) platform firmware"
 	@echo "  opensbi32-generic  -- update OpenSBI for 32-bit generic machine"
 	@echo "  opensbi64-generic  -- update OpenSBI for 64-bit generic machine"
@@ -200,6 +201,10 @@ npcm8xx_bootrom:
 	$(MAKE) -C vbootrom/npcm8xx CROSS_COMPILE=$(aarch64_cross_prefix)
 	cp vbootrom/npcm8xx/npcm8xx_bootrom.bin ../pc-bios/npcm8xx_bootrom.bin
 
+ast27x0_bootrom:
+	$(MAKE) -C vbootrom/ast27x0 CROSS_COMPILE=$(aarch64_cross_prefix)
+	cp vbootrom/ast27x0/ast27x0_bootrom.bin ../pc-bios/ast27x0_bootrom.bin
+
 hppa-firmware:
 	$(MAKE) -C seabios-hppa parisc
 	cp seabios-hppa/out/hppa-firmware.img      ../pc-bios/
Signature · 1 line
2.50.1
#3 lore raw

PATCH v2 3/3 pc-bios: Update vbootrom image to commit 183c9ff8056b

In reply to Cédric Le Goater

Full changelog since last update (d6e3386709b3) :

Jamin Lin (3):
ast27x0: Initialize and enable SSP/TSP using SCU with reserved-memory from DTB
ast27x0: Fix missing SCU module reset for SSP and TSP initialization
ast27x0: Fix Makefile to unconditionally set CC to support correct cross-compilation

Compiled with gcc version 13.3.0

---
 pc-bios/ast27x0_bootrom.bin | Bin 15552 -> 16408 bytes
 pc-bios/npcm7xx_bootrom.bin | Bin 768 -> 672 bytes
 pc-bios/npcm8xx_bootrom.bin | Bin 608 -> 672 bytes
 3 files changed, 0 insertions(+), 0 deletions(-)
pc-bios/ast27x0_bootrom.bin binary +0 -0
index 0b9b3a2360e375bb6007ecdf13b39d931870f6fa..a4c94d64da55ade9b4beb2a409132f315fb51347 100644
GIT binary patch
pc-bios/npcm7xx_bootrom.bin binary +0 -0
index 903f126636f9ef5d1100c056656ccfb2b32e5e10..92282892b70dbcd6828c5054dff33ffe3385c485 100644
GIT binary patch
pc-bios/npcm8xx_bootrom.bin binary +0 -0
index 6370d6475635c4d445d2b927311edcd591949c82..45fb40fb5987ab681cc902659d85e76a7385cb53 100644
GIT binary patch
Signature · 1 line
2.50.1
#0 lore raw

v2 cover pc-bios: Update vbootrom images

Hello !

Michael provided changes to fix the build of the vbootrom image of the AST2700 SoC machine in [1]. However, a workaound in roms/Makefile was still necessary to build ast27x0_bootrom.bin correctly. This was later fixed in [2].

This series is an update of [1] including a vbootrom image matching the new commits.

Thanks,
C.

[1] https://lore.kernel.org/qemu-devel/2a89ad4c8f5665d07952a4f1749caa6ec0cd3d9c.1753654515.git.mjt@tls.msk.ru/
[2] https://github.com/google/vbootrom/commit/7b1eb5f7fe6a85a03a1e40aa703a6ebbdb644e31

Changes in v2:

- Updated all vbootrom images

Cédric Le Goater (1):
pc-bios: Update vbootrom image to commit 183c9ff8056b

Michael Tokarev (2):
roms/vbootrom: update to 7b1eb5f7fe6a
roms/Makefile: build ast27x0_bootrom

 pc-bios/ast27x0_bootrom.bin | Bin 15552 -> 16408 bytes
 pc-bios/npcm7xx_bootrom.bin | Bin 768 -> 672 bytes
 pc-bios/npcm8xx_bootrom.bin | Bin 608 -> 672 bytes
 roms/Makefile               |   5 +++++
 roms/vbootrom               |   2 +-
 5 files changed, 6 insertions(+), 1 deletion(-)
Signature · 1 line
2.50.1
#1 lore raw

PATCH v2 1/3 roms/vbootrom: update to 7b1eb5f7fe6a

From: Michael Tokarev <[email protected]>

Changes:

7b1eb5f ast27x0: Fix Makefile to unconditionally set CC to support correct cross-compilation 601d410 ast27x0: Fix missing SCU module reset for SSP and TSP initialization 80768e4 ast27x0: Initialize and enable SSP/TSP using SCU with reserved-memory from DTB f8ab635 ast27x0: Show build date and git version
53294f5 Add initial support for AST27x0
b1c2803 Dynamically detects NPCM8XX UBOOT destination and size.
4f54dfc Automatically search for UBOOT location for NPCM8xx images.

The actual bootroms are not updated yet.

---
 roms/vbootrom | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
roms/vbootrom +1 -1
index 1287b6e42e83..183c9ff8056b 160000
@@ -1 +1 @@
-Subproject commit 1287b6e42e839ba2ab0f06268c5b53ae60df3537
+Subproject commit 183c9ff8056b7946db1ae49cc23e8980ac413174
Signature · 1 line
2.50.1
#4 lore raw

Re: [PATCH v2 3/3] pc-bios: Update vbootrom image to commit 183c9ff8056b

In reply to Cédric Le Goater
Quoted 6 lines · Cédric Le Goater

Full changelog since last update (d6e3386709b3) :

Jamin Lin (3):
ast27x0: Initialize and enable SSP/TSP using SCU with reserved-memory from DTB
ast27x0: Fix missing SCU module reset for SSP and TSP initialization
ast27x0: Fix Makefile to unconditionally set CC to support correct cross-compilation

Please include the complete changelog here, with npcm changes too :)

Quoted 7 lines

Compiled with gcc version 13.3.0

---
  pc-bios/ast27x0_bootrom.bin | Bin 15552 -> 16408 bytes
  pc-bios/npcm7xx_bootrom.bin | Bin 768 -> 672 bytes
  pc-bios/npcm8xx_bootrom.bin | Bin 608 -> 672 bytes

I wonder why the two are of the same size..

/mjt

#5 lore raw

Re: [PATCH v2 3/3] pc-bios: Update vbootrom image to commit 183c9ff8056b

Quoted 9 lines · Michael Tokarev
Quoted 6 lines · Cédric Le Goater

Full changelog since last update (d6e3386709b3) :

Jamin Lin (3):
       ast27x0: Initialize and enable SSP/TSP using SCU with reserved-memory from DTB
       ast27x0: Fix missing SCU module reset for SSP and TSP initialization
       ast27x0: Fix Makefile to unconditionally set CC to support correct cross-compilation

Please include the complete changelog here, with npcm changes too :)

ok. This is a shortlog for d6e3386709b3..HEAD but we should be using commit 1287b6e42e83. so :

$ git shortlog  1287b6e42e83..HEAD --no-merges
Hao Wu (2):
      Automatically search for UBOOT location for NPCM8xx images.
      Dynamically detects NPCM8XX UBOOT destination and size.

Jamin Lin (5):
Add initial support for AST27x0
ast27x0: Show build date and git version
ast27x0: Initialize and enable SSP/TSP using SCU with reserved-memory from DTB
ast27x0: Fix missing SCU module reset for SSP and TSP initialization
ast27x0: Fix Makefile to unconditionally set CC to support correct cross-compilation

Will update tomorrow.

Quoted 9 lines
Quoted 7 lines

Compiled with gcc version 13.3.0

---

  pc-bios/ast27x0_bootrom.bin | Bin 15552 -> 16408 bytes
  pc-bios/npcm7xx_bootrom.bin | Bin 768 -> 672 bytes
  pc-bios/npcm8xx_bootrom.bin | Bin 608 -> 672 bytes

I wonder why the two are of the same size..

This is the result of :

make -C roms npcm7xx_bootrom npcm8xx_bootrom ast27x0_bootrom

C.