[PATCH v6 0/6] Support vbootrom for AST2700

Jamin Lin via posted 6 patches 6 months, 3 weeks ago
Failed in applying to current master (apply log)
There is a newer version of this series
MAINTAINERS                             |   1 +
docs/system/arm/aspeed.rst              |  99 ++++++++++++++++++++++--
include/hw/arm/aspeed.h                 |   1 +
include/hw/arm/aspeed_soc.h             |   2 +
hw/arm/aspeed.c                         |  36 +++++++++
hw/arm/aspeed_ast27x0.c                 |   9 +++
pc-bios/README                          |   6 ++
pc-bios/ast27x0_bootrom.bin             | Bin 0 -> 15424 bytes
pc-bios/meson.build                     |   1 +
tests/functional/test_aarch64_aspeed.py |  26 +++++++
10 files changed, 173 insertions(+), 8 deletions(-)
create mode 100644 pc-bios/ast27x0_bootrom.bin
[PATCH v6 0/6] Support vbootrom for AST2700
Posted by Jamin Lin via 6 months, 3 weeks ago
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.
  
v6:
  fix review issue.
  Add google/vbootrom commit id for ast27x0
  split to patch to update documentataion for ast27x0

Jamin Lin (6):
  hw/arm/aspeed_ast27x0 Introduce vbootrom memory region
  pc-bios: Add AST27x0 vBootrom
  hw/arm/aspeed: Add support for loading vbootrom image via "-bios"
  tests/functional/aspeed: Add to test vbootrom for AST2700
  docs/system/arm/aspeed: move AST2700 content to new section
  docs/system/arm/aspeed: Support vbootrom for AST2700

 MAINTAINERS                             |   1 +
 docs/system/arm/aspeed.rst              |  99 ++++++++++++++++++++++--
 include/hw/arm/aspeed.h                 |   1 +
 include/hw/arm/aspeed_soc.h             |   2 +
 hw/arm/aspeed.c                         |  36 +++++++++
 hw/arm/aspeed_ast27x0.c                 |   9 +++
 pc-bios/README                          |   6 ++
 pc-bios/ast27x0_bootrom.bin             | Bin 0 -> 15424 bytes
 pc-bios/meson.build                     |   1 +
 tests/functional/test_aarch64_aspeed.py |  26 +++++++
 10 files changed, 173 insertions(+), 8 deletions(-)
 create mode 100644 pc-bios/ast27x0_bootrom.bin

-- 
2.43.0
Re: [PATCH v6 0/6] Support vbootrom for AST2700
Posted by Cédric Le Goater 6 months, 2 weeks ago
On 4/24/25 09:51, Jamin Lin wrote:
> 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.
>    
> v6:
>    fix review issue.
>    Add google/vbootrom commit id for ast27x0
>    split to patch to update documentataion for ast27x0
> 
> Jamin Lin (6):
>    hw/arm/aspeed_ast27x0 Introduce vbootrom memory region
>    pc-bios: Add AST27x0 vBootrom
>    hw/arm/aspeed: Add support for loading vbootrom image via "-bios"
>    tests/functional/aspeed: Add to test vbootrom for AST2700
>    docs/system/arm/aspeed: move AST2700 content to new section
>    docs/system/arm/aspeed: Support vbootrom for AST2700
> 
>   MAINTAINERS                             |   1 +
>   docs/system/arm/aspeed.rst              |  99 ++++++++++++++++++++++--
>   include/hw/arm/aspeed.h                 |   1 +
>   include/hw/arm/aspeed_soc.h             |   2 +
>   hw/arm/aspeed.c                         |  36 +++++++++
>   hw/arm/aspeed_ast27x0.c                 |   9 +++
>   pc-bios/README                          |   6 ++
>   pc-bios/ast27x0_bootrom.bin             | Bin 0 -> 15424 bytes
>   pc-bios/meson.build                     |   1 +
>   tests/functional/test_aarch64_aspeed.py |  26 +++++++
>   10 files changed, 173 insertions(+), 8 deletions(-)
>   create mode 100644 pc-bios/ast27x0_bootrom.bin
> 



Applied to aspeed-next.

Thanks,

C.