Skip to content

Support vbootrom for AST2700

Jamin Lin via qemu-arm qemu-devel 3 versions – Applied

Status from this message: Applied patches 1,7,8,9 to aspeed-next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest6 of 11 patches 9 repliesApplied
  2. v46 of 10 patches 16 repliesSuperseded
  3. v35 of 11 patches 8 repliesApplied

Changes in v5 from the cover letter

fix review issue and remove unnecessary class attribure.
doc: create a new section for AST2700.

6 of 11 patches are in this archive. The cover letter announces 11.

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
2/11hw/arm/aspeed_ast27x0 Introduce vbootrom memory regionhw/arm/aspeed_ast27x0.c include/hw/arm/aspeed_soc.h+11 -01 reply
5/11pc-bios: Add AST27x0 vBootromMAINTAINERS pc-bios/README pc-bios/ast27x0_bootrom.bin +1 more+8 -03 replies
6/11hw/arm/aspeed: Add support for loading vbootrom image via "-bios"hw/arm/aspeed.c+35 -02 replies
8/11tests/functional/aspeed: Update test ASPEED SDK v09.06tests/functional/test_aarch64_aspeed.py+10 -100 replies
10/11tests/functional/aspeed: Add to test vbootrom for AST2700tests/functional/test_aarch64_aspeed.py+26 -01 reply
11/11docs/system/arm/aspeed: Support vbootrom for AST2700docs/system/arm/aspeed.rst+90 -61 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchCédric Le GoaterNabih Estefan
SeriesR-b R-b R-b R-b T-b T-b R-b T-b R-b
2/11R-b R-b T-b
5/11R-b T-b
6/11R-b T-b
8/11R-b
10/11R-b
11/11R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 00/11] Support vbootrom for AST2700

v1:
Add initial support for AST27x0
The purpose of vbootrom here is to simulate the work of BootMCU SPL (riscv) in AST2700, because QEMU doesn't support heterogenous architecture yet.

ast27x0_bootrom.bin is a simplified, free (Apache 2.0) boot ROM for ASPEED AST27x0 BMC SOC. It currently implements the bare minimum to load, parse, initialize and run boot images stored in SPI flash, but may grow more features over time as needed. The source code is available at:
https://github.com/google/vbootrom

v2:
Add "Introduced ASPEED_DEV_VBOOTROM in the device enumeration" patch to fix build failed.

v3:
1. Supports both vbootrom and device loader boot methods, with vbootrom used as the default.
2. Fix review and QTEST test failed issues.

v4:
Adjust the patch order.

v5:
fix review issue and remove unnecessary class attribure.
doc: create a new section for AST2700.

Jamin Lin (11):
hw/arm/aspeed_ast27x0: Rename variable sram_name to name in ast2700
realize
hw/arm/aspeed_ast27x0 Introduce vbootrom memory region hw/arm/aspeed: Add vbootrom support on AST2700 EVB machines hw/arm/aspeed: Reuse rom_size variable for vbootrom setup
pc-bios: Add AST27x0 vBootrom
hw/arm/aspeed: Add support for loading vbootrom image via "-bios" tests/functional/aspeed: Move I2C test into shared helper for AST2700
reuse
tests/functional/aspeed: Update test ASPEED SDK v09.06 tests/functional/aspeed: extract boot and login sequence into helper
function
tests/functional/aspeed: Add to test vbootrom for AST2700 docs/system/arm/aspeed: Support vbootrom for AST2700

 MAINTAINERS                             |   1 +
 docs/system/arm/aspeed.rst              |  96 ++++++++++++++++++++++--
 include/hw/arm/aspeed.h                 |   1 +
 include/hw/arm/aspeed_soc.h             |   2 +
 hw/arm/aspeed.c                         |  40 +++++++++-
 hw/arm/aspeed_ast27x0.c                 |  17 ++++-
 pc-bios/README                          |   6 ++
 pc-bios/ast27x0_bootrom.bin             | Bin 0 -> 15424 bytes
 pc-bios/meson.build                     |   1 +
 tests/functional/test_aarch64_aspeed.py |  82 +++++++++++++-------
 10 files changed, 209 insertions(+), 37 deletions(-)
 create mode 100644 pc-bios/ast27x0_bootrom.bin
Signature · 1 line
2.43.0