aspeed queue
The following changes since commit e5859141b9b6aec9e0a14dacedc9f02fe2f15844:
Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging (2025-08-01 10:46:00 -0400)
are available in the Git repository at:
https://github.com/legoater/qemu/ tags/pull-aspeed-20250804
for you to fetch changes up to 13ed972b4ce57198914a37217251d30fbec20e41:
hw/ssi/aspeed_smc: Fix incorrect FMC_WDT2 register read on AST1030 (2025-08-04 09:07:38 +0200)
----------------------------------------------------------------
aspeed queue:
* Fixed vbootrom build under roms/
* Updated vbootrom image to 183c9ff805
* Fixed SMC model of AST1030 SoC
----------------------------------------------------------------
Cédric Le Goater (1):
pc-bios: Update vbootrom image to commit 183c9ff8056b
Jamin Lin (1):
hw/ssi/aspeed_smc: Fix incorrect FMC_WDT2 register read on AST1030
Michael Tokarev (2):
roms/vbootrom: update to 7b1eb5f7fe6a
roms/Makefile: build ast27x0_bootrom
hw/ssi/aspeed_smc.c | 3 ++- 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 +- 6 files changed, 8 insertions(+), 2 deletions(-)
[PULL 1/4] 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
@@ -1 +1 @@ -Subproject commit 1287b6e42e839ba2ab0f06268c5b53ae60df3537 +Subproject commit 183c9ff8056b7946db1ae49cc23e8980ac413174
Signature · 1 line
2.50.1
[PULL 2/4] roms/Makefile: build ast27x0_bootrom
In reply to Cédric Le GoaterFrom: 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
@@ -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
[PULL 4/4] hw/ssi/aspeed_smc: Fix incorrect FMC_WDT2 register read on AST1030
In reply to Cédric Le GoaterFrom: Jamin Lin <[email protected]>
On AST1030, reading the FMC_WDT2 register always returns 0xFFFFFFFF. This issue is due to the aspeed_smc_read function, which checks for the ASPEED_SMC_FEATURE_WDT_CONTROL feature. Since AST1030 was missing this feature flag, the read operation fails and returns -1.
To resolve this, add the WDT_CONTROL feature to AST1030's feature set so that FMC_WDT2 can be correctly accessed by firmware.
--- hw/ssi/aspeed_smc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
hw/ssi/aspeed_smc.c +2 -1
@@ -1857,7 +1857,8 @@ static void aspeed_1030_fmc_class_init(ObjectClass *klass, const void *data) asc->resets = aspeed_1030_fmc_resets; asc->flash_window_base =0x80000000 ; asc->flash_window_size =0x10000000 ; - asc->features =ASPEED_SMC_FEATURE_DMA ; + asc->features =ASPEED_SMC_FEATURE_DMA | +ASPEED_SMC_FEATURE_WDT_CONTROL ; asc->dma_flash_mask =0x0FFFFFFC ; asc->dma_dram_mask =0x000BFFFC ; asc->dma_start_length =1 ;
Signature · 1 line
2.50.1
[PULL 3/4] pc-bios: Update vbootrom image to commit 183c9ff8056b
In reply to Cédric Le GoaterFull changelog since last update (1287b6e42e83) :
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
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
pc-bios/npcm7xx_bootrom.bin binary +0 -0
pc-bios/npcm8xx_bootrom.bin binary +0 -0
Signature · 1 line
2.50.1
Stefan Hajnoczi
AppliedApplied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/10.1 for any user-visible changes.