Support vbootrom for AST2700
v7 cover 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.
v6:
fix review issue.
Add google/vbootrom commit id for ast27x0 split to patch to update documentataion for ast27x0
v7:
update vbootrom pre-built image and add its build info
Jamin Lin (1):
pc-bios: Add AST27x0 vBootrom
MAINTAINERS | 1 + pc-bios/README | 6 ++++++ pc-bios/ast27x0_bootrom.bin | Bin 0 -> 15552 bytes pc-bios/meson.build | 1 + 4 files changed, 8 insertions(+) create mode 100644 pc-bios/ast27x0_bootrom.bin
Signature · 1 line
2.43.0
PATCH v7 1/1 pc-bios: Add AST27x0 vBootrom
The boot ROM is a minimal implementation designed to load an AST27x0 boot image. Its source code is available at:
https://github.com/google/vbootrom
Commit id: d6e3386709b3e49322a94ffadc2aaab9944ab77b
Build Information:
``` Build Date : Apr 29 2025 01:23:18 FW Version : git-d6e3386 ```
--- MAINTAINERS | 1 + pc-bios/README | 6 ++++++ pc-bios/ast27x0_bootrom.bin | Bin 0 -> 15552 bytes pc-bios/meson.build | 1 + 4 files changed, 8 insertions(+) create mode 100644 pc-bios/ast27x0_bootrom.bin
MAINTAINERS +1 -0
@@ -1163,6 +1163,7 @@ F: docs/system/arm/fby35.rst F: tests/*/*aspeed* F: tests/*/*ast2700* F: hw/arm/fby35.c +F: pc-bios/ast27x0_bootrom.bin NRF51 M: Joel Stanley <[email protected]>
pc-bios/README +6 -0
@@ -89,6 +89,12 @@ more features over time as needed. The source code is available at: https://github.com/google/vbootrom +- 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 + - hppa-firmware.img (32-bit) and hppa-firmware64.img (64-bit) are firmware files for the HP-PARISC (hppa) architecture. They are built form the SeaBIOS-hppa sources, which is a fork of SeaBIOS
pc-bios/ast27x0_bootrom.bin new file binary +0 -0
pc-bios/meson.build +1 -0
@@ -84,6 +84,7 @@ blobs = [ 'npcm8xx_bootrom.bin', 'vof.bin', 'vof-nvram.bin', + 'ast27x0_bootrom.bin', ] dtc = find_program('dtc', required: false)
Signature · 1 line
2.43.0
Re: [PATCH v7 1/1] pc-bios: Add AST27x0 vBootrom
Hello Jamin,
Quoted 21 lines · Jamin Lin
The boot ROM is a minimal implementation designed to load an AST27x0 boot image. Its source code is available at:
https://github.com/google/vbootrom
Commit id:d6e3386709b3e49322a94ffadc2aaab9944ab77b
Build Information:``` Build Date : Apr 29 2025 01:23:18 FW Version : git-d6e3386 ```Signed-off-by Jamin Lin <[email protected]>Reviewed-by Nabih Estefan <[email protected]>Reviewed-by Cédric Le Goater <[email protected]>Tested-by Nabih Estefan <[email protected]>--- MAINTAINERS | 1 + pc-bios/README | 6 ++++++ pc-bios/ast27x0_bootrom.bin | Bin 0 -> 15552 bytes pc-bios/meson.build | 1 + 4 files changed, 8 insertions(+)create mode 100644 pc-bios/ast27x0_bootrom.bin
[ ... ]
pc-bios/meson.build blobs = [ · line 87
Quoted 8 lines
index
34d6616c32..83998f6071100644pc-bios/meson.build +1
-0@@ -84,6 +84,7 @@ blobs = [ 'npcm8xx_bootrom.bin', 'vof.bin', 'vof-nvram.bin', + 'ast27x0_bootrom.bin',
I think this list should be kept in alphabetic order. Could you resend please ?
Thanks,
C.
Quoted 3 lines
pc-bios/meson.build +0
-0] dtc = find_program('dtc', required: false)
RE: [PATCH v7 1/1] pc-bios: Add AST27x0 vBootrom
Hi Cedric,
Quoted 31 lines
Cc: Troy Lee <[email protected]>; [email protected]
Subject: Re: [PATCH v7 1/1] pc-bios: Add AST27x0 vBootromHello Jamin,
Quoted 1 line · Jamin Lin
The boot ROM is a minimal implementation designed to load an AST27x0
boot image.
Quoted 20 lines
Its source code is available at:
https://github.com/google/vbootrom
Commit id:d6e3386709b3e49322a94ffadc2aaab9944ab77bBuild Information:``` Build Date : Apr 29 2025 01:23:18 FW Version : git-d6e3386 ```Signed-off-by Jamin Lin <[email protected]>Reviewed-by Nabih Estefan <[email protected]>Reviewed-by Cédric Le Goater <[email protected]>Tested-by Nabih Estefan <[email protected]>--- MAINTAINERS | 1 + pc-bios/README | 6 ++++++ pc-bios/ast27x0_bootrom.bin | Bin 0 -> 15552 bytes pc-bios/meson.build | 1 + 4 files changed, 8 insertions(+)create mode 100644 pc-bios/ast27x0_bootrom.bin
[ ... ]
Quoted 11 lines
pc-bios/meson.build blobs = [ · line 87
Quoted 8 lines
index
34d6616c32..83998f6071100644pc-bios/meson.build +1
-0@@ -84,6 +84,7 @@ blobs = [ 'npcm8xx_bootrom.bin', 'vof.bin', 'vof-nvram.bin', + 'ast27x0_bootrom.bin',I think this list should be kept in alphabetic order. Could you resend please ?
OK
Quoted 10 lines
Thanks,
C.
Quoted 3 lines
pc-bios/meson.build +0
-0] dtc = find_program('dtc', required: false)