Skip to contentSkip to conversation

aspeed: Update vbootrom image

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

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

cover aspeed: Update vbootrom image

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

Cédric Le Goater (1):
aspeed: 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
 roms/Makefile               |   5 +++++
 roms/vbootrom               |   2 +-
 3 files changed, 6 insertions(+), 1 deletion(-)
Signature · 1 line
2.50.1
#1 lore raw

PATCH 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
#2 lore raw

PATCH 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 3/3 aspeed: 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
 1 file changed, 0 insertions(+), 0 deletions(-)
pc-bios/ast27x0_bootrom.bin binary +0 -0
index 0b9b3a2360e375bb6007ecdf13b39d931870f6fa..b53af2066133c1010b86bb80c80cd89581ad5578 100644
GIT binary patch
Signature · 1 line
2.50.1
#4 lore raw
In reply to Cédric Le Goater
Quoted 9 lines · Cédric Le Goater

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.

Thank you for this!

I guess we should also update npcm bootroms now, - does it need any additional handling (the two changes related to npcm)?

And I'd say we should include all this in 10.1.

/mjt

#5 lore raw
Quoted 8 lines · Michael Tokarev
Quoted 7 lines · Cédric Le Goater

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].

Quoted 6 lines
Quoted 2 lines

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

Thank you for this!

I guess we should also update npcm bootroms now, -

Of course. Let me respin.

Quoted 2 lines

does it need any
additional handling (the two changes related to npcm)?

"roms/Makefile: fix npcmNxx_bootrom build rules" was merged. commit 653a75a9d7f9.

Quoted 1 line

And I'd say we should include all this in 10.1.

yes if Hao agrees.

Thanks,

C.