From: Jamin Lin via <qemu-arm@nongnu.org>
To: "Cédric Le Goater" <clg@kaod.org>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Steven Lee" <steven_lee@aspeedtech.com>,
"Troy Lee" <leetroy@gmail.com>,
"Andrew Jeffery" <andrew@codeconstruct.com.au>,
"Joel Stanley" <joel@jms.id.au>,
"Pierrick Bouvier" <pierrick.bouvier@linaro.org>,
"open list:ASPEED BMCs" <qemu-arm@nongnu.org>,
"open list:All patches CC here" <qemu-devel@nongnu.org>
Cc: <jamin_lin@aspeedtech.com>, <troy_lee@aspeedtech.com>,
<kane_chen@aspeedtech.com>
Subject: [PATCH v2 6/8] tests/functional/aarch64/test_aspeed_ast2700: Update test ASPEED SDK v11.00 for A1
Date: Tue, 3 Feb 2026 10:08:51 +0800 [thread overview]
Message-ID: <20260203020855.1642884-7-jamin_lin@aspeedtech.com> (raw)
In-Reply-To: <20260203020855.1642884-1-jamin_lin@aspeedtech.com>
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
---
.../functional/aarch64/test_aspeed_ast2700.py | 60 +++++++++----------
1 file changed, 29 insertions(+), 31 deletions(-)
diff --git a/tests/functional/aarch64/test_aspeed_ast2700.py b/tests/functional/aarch64/test_aspeed_ast2700.py
index 1f1b5749f4..828ea1ca53 100755
--- a/tests/functional/aarch64/test_aspeed_ast2700.py
+++ b/tests/functional/aarch64/test_aspeed_ast2700.py
@@ -26,15 +26,23 @@ def do_test_aarch64_aspeed_sdk_start(self, image):
self.vm.launch()
def verify_vbootrom_firmware_flow(self):
- wait_for_console_pattern(self, 'Found valid FIT image')
- wait_for_console_pattern(self, '[uboot] loading')
- wait_for_console_pattern(self, 'done')
- wait_for_console_pattern(self, '[fdt] loading')
- wait_for_console_pattern(self, 'done')
- wait_for_console_pattern(self, '[tee] loading')
- wait_for_console_pattern(self, 'done')
- wait_for_console_pattern(self, '[atf] loading')
- wait_for_console_pattern(self, 'done')
+ wait_for_console_pattern(self, 'Found valid caliptra flash image')
+ wait_for_console_pattern(self, 'Check flash image checksum')
+ wait_for_console_pattern(self, 'pass')
+ wait_for_console_pattern(self, 'Read abb header')
+ wait_for_console_pattern(self, 'pass')
+ wait_for_console_pattern(self, 'Read soc manifest')
+ wait_for_console_pattern(self, 'pass')
+ wait_for_console_pattern(self, 'Load atf image')
+ wait_for_console_pattern(self, 'pass')
+ wait_for_console_pattern(self, 'Load optee image')
+ wait_for_console_pattern(self, 'pass')
+ wait_for_console_pattern(self, 'Load uboot image')
+ wait_for_console_pattern(self, 'pass')
+ wait_for_console_pattern(self, 'Load ssp image')
+ wait_for_console_pattern(self, 'pass')
+ wait_for_console_pattern(self, 'Load tsp image')
+ wait_for_console_pattern(self, 'pass')
wait_for_console_pattern(self, 'Jumping to BL31 (Trusted Firmware-A)')
def enable_ast2700_pcie2(self):
@@ -63,9 +71,9 @@ def verify_openbmc_boot_and_login(self, name):
exec_command_and_wait_for_pattern(self, 'root', 'Password:')
exec_command_and_wait_for_pattern(self, '0penBmc', f'root@{name}:~#')
- ASSET_SDK_V908_AST2700A1 = Asset(
- 'https://github.com/AspeedTech-BMC/openbmc/releases/download/v09.08/ast2700-default-obmc.tar.gz',
- 'eac3dc409b7ea3cd4b03d4792d3cebd469792ad893cb51e1d15f0fc20bd1e2cd')
+ ASSET_SDK_V1100_AST2700A1 = Asset(
+ 'https://github.com/AspeedTech-BMC/openbmc/releases/download/v11.00/ast2700-a1-obmc.tar.gz',
+ 'd5ceed511cd0dfefbb102fff2d731159e0472948a28066dc0d90bcd54be76525')
def do_ast2700_i2c_test(self):
exec_command_and_wait_for_pattern(self,
@@ -93,19 +101,10 @@ def do_ast2700_pcie_test(self):
def start_ast2700_test(self, name):
num_cpu = 4
- uboot_size = os.path.getsize(self.scratch_file(name,
- 'u-boot-nodtb.bin'))
- uboot_dtb_load_addr = hex(0x400000000 + uboot_size)
-
load_images_list = [
{
'addr': '0x400000000',
- 'file': self.scratch_file(name,
- 'u-boot-nodtb.bin')
- },
- {
- 'addr': str(uboot_dtb_load_addr),
- 'file': self.scratch_file(name, 'u-boot.dtb')
+ 'file': self.scratch_file(name, 'u-boot.bin')
},
{
'addr': '0x430000000',
@@ -113,8 +112,7 @@ def start_ast2700_test(self, name):
},
{
'addr': '0x430080000',
- 'file': self.scratch_file(name, 'optee',
- 'tee-raw.bin')
+ 'file': self.scratch_file(name, 'optee', 'tee-raw.bin')
}
]
@@ -137,26 +135,26 @@ def start_ast2700_test_vbootrom(self, name):
self.do_test_aarch64_aspeed_sdk_start(
self.scratch_file(name, 'image-bmc'))
- def test_aarch64_ast2700a1_evb_sdk_v09_08(self):
+ def test_aarch64_ast2700a1_evb_sdk_v11_00(self):
self.set_machine('ast2700a1-evb')
self.require_netdev('user')
- self.archive_extract(self.ASSET_SDK_V908_AST2700A1)
+ self.archive_extract(self.ASSET_SDK_V1100_AST2700A1)
self.vm.add_args('-device', 'e1000e,netdev=net1,bus=pcie.2')
self.vm.add_args('-netdev', 'user,id=net1')
- self.start_ast2700_test('ast2700-default')
- self.verify_openbmc_boot_and_login('ast2700-default')
+ self.start_ast2700_test('ast2700-a1')
+ self.verify_openbmc_boot_and_login('ast2700-a1')
self.do_ast2700_i2c_test()
self.do_ast2700_pcie_test()
- def test_aarch64_ast2700a1_evb_sdk_vbootrom_v09_08(self):
+ def test_aarch64_ast2700a1_evb_sdk_vbootrom_v11_00(self):
self.set_machine('ast2700a1-evb')
self.require_netdev('user')
- self.archive_extract(self.ASSET_SDK_V908_AST2700A1)
+ self.archive_extract(self.ASSET_SDK_V1100_AST2700A1)
self.vm.add_args('-device', 'e1000e,netdev=net1,bus=pcie.2')
self.vm.add_args('-netdev', 'user,id=net1')
- self.start_ast2700_test_vbootrom('ast2700-default')
+ self.start_ast2700_test_vbootrom('ast2700-a1')
self.verify_vbootrom_firmware_flow()
self.verify_openbmc_boot_start()
--
2.43.0
WARNING: multiple messages have this Message-ID (diff)
From: Jamin Lin via qemu development <qemu-devel@nongnu.org>
To: "Cédric Le Goater" <clg@kaod.org>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Steven Lee" <steven_lee@aspeedtech.com>,
"Troy Lee" <leetroy@gmail.com>,
"Andrew Jeffery" <andrew@codeconstruct.com.au>,
"Joel Stanley" <joel@jms.id.au>,
"Pierrick Bouvier" <pierrick.bouvier@linaro.org>,
"open list:ASPEED BMCs" <qemu-arm@nongnu.org>,
"open list:All patches CC here" <qemu-devel@nongnu.org>
Cc: <jamin_lin@aspeedtech.com>, <troy_lee@aspeedtech.com>,
<kane_chen@aspeedtech.com>
Subject: [PATCH v2 6/8] tests/functional/aarch64/test_aspeed_ast2700: Update test ASPEED SDK v11.00 for A1
Date: Tue, 3 Feb 2026 10:08:51 +0800 [thread overview]
Message-ID: <20260203020855.1642884-7-jamin_lin@aspeedtech.com> (raw)
In-Reply-To: <20260203020855.1642884-1-jamin_lin@aspeedtech.com>
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
---
.../functional/aarch64/test_aspeed_ast2700.py | 60 +++++++++----------
1 file changed, 29 insertions(+), 31 deletions(-)
diff --git a/tests/functional/aarch64/test_aspeed_ast2700.py b/tests/functional/aarch64/test_aspeed_ast2700.py
index 1f1b5749f4..828ea1ca53 100755
--- a/tests/functional/aarch64/test_aspeed_ast2700.py
+++ b/tests/functional/aarch64/test_aspeed_ast2700.py
@@ -26,15 +26,23 @@ def do_test_aarch64_aspeed_sdk_start(self, image):
self.vm.launch()
def verify_vbootrom_firmware_flow(self):
- wait_for_console_pattern(self, 'Found valid FIT image')
- wait_for_console_pattern(self, '[uboot] loading')
- wait_for_console_pattern(self, 'done')
- wait_for_console_pattern(self, '[fdt] loading')
- wait_for_console_pattern(self, 'done')
- wait_for_console_pattern(self, '[tee] loading')
- wait_for_console_pattern(self, 'done')
- wait_for_console_pattern(self, '[atf] loading')
- wait_for_console_pattern(self, 'done')
+ wait_for_console_pattern(self, 'Found valid caliptra flash image')
+ wait_for_console_pattern(self, 'Check flash image checksum')
+ wait_for_console_pattern(self, 'pass')
+ wait_for_console_pattern(self, 'Read abb header')
+ wait_for_console_pattern(self, 'pass')
+ wait_for_console_pattern(self, 'Read soc manifest')
+ wait_for_console_pattern(self, 'pass')
+ wait_for_console_pattern(self, 'Load atf image')
+ wait_for_console_pattern(self, 'pass')
+ wait_for_console_pattern(self, 'Load optee image')
+ wait_for_console_pattern(self, 'pass')
+ wait_for_console_pattern(self, 'Load uboot image')
+ wait_for_console_pattern(self, 'pass')
+ wait_for_console_pattern(self, 'Load ssp image')
+ wait_for_console_pattern(self, 'pass')
+ wait_for_console_pattern(self, 'Load tsp image')
+ wait_for_console_pattern(self, 'pass')
wait_for_console_pattern(self, 'Jumping to BL31 (Trusted Firmware-A)')
def enable_ast2700_pcie2(self):
@@ -63,9 +71,9 @@ def verify_openbmc_boot_and_login(self, name):
exec_command_and_wait_for_pattern(self, 'root', 'Password:')
exec_command_and_wait_for_pattern(self, '0penBmc', f'root@{name}:~#')
- ASSET_SDK_V908_AST2700A1 = Asset(
- 'https://github.com/AspeedTech-BMC/openbmc/releases/download/v09.08/ast2700-default-obmc.tar.gz',
- 'eac3dc409b7ea3cd4b03d4792d3cebd469792ad893cb51e1d15f0fc20bd1e2cd')
+ ASSET_SDK_V1100_AST2700A1 = Asset(
+ 'https://github.com/AspeedTech-BMC/openbmc/releases/download/v11.00/ast2700-a1-obmc.tar.gz',
+ 'd5ceed511cd0dfefbb102fff2d731159e0472948a28066dc0d90bcd54be76525')
def do_ast2700_i2c_test(self):
exec_command_and_wait_for_pattern(self,
@@ -93,19 +101,10 @@ def do_ast2700_pcie_test(self):
def start_ast2700_test(self, name):
num_cpu = 4
- uboot_size = os.path.getsize(self.scratch_file(name,
- 'u-boot-nodtb.bin'))
- uboot_dtb_load_addr = hex(0x400000000 + uboot_size)
-
load_images_list = [
{
'addr': '0x400000000',
- 'file': self.scratch_file(name,
- 'u-boot-nodtb.bin')
- },
- {
- 'addr': str(uboot_dtb_load_addr),
- 'file': self.scratch_file(name, 'u-boot.dtb')
+ 'file': self.scratch_file(name, 'u-boot.bin')
},
{
'addr': '0x430000000',
@@ -113,8 +112,7 @@ def start_ast2700_test(self, name):
},
{
'addr': '0x430080000',
- 'file': self.scratch_file(name, 'optee',
- 'tee-raw.bin')
+ 'file': self.scratch_file(name, 'optee', 'tee-raw.bin')
}
]
@@ -137,26 +135,26 @@ def start_ast2700_test_vbootrom(self, name):
self.do_test_aarch64_aspeed_sdk_start(
self.scratch_file(name, 'image-bmc'))
- def test_aarch64_ast2700a1_evb_sdk_v09_08(self):
+ def test_aarch64_ast2700a1_evb_sdk_v11_00(self):
self.set_machine('ast2700a1-evb')
self.require_netdev('user')
- self.archive_extract(self.ASSET_SDK_V908_AST2700A1)
+ self.archive_extract(self.ASSET_SDK_V1100_AST2700A1)
self.vm.add_args('-device', 'e1000e,netdev=net1,bus=pcie.2')
self.vm.add_args('-netdev', 'user,id=net1')
- self.start_ast2700_test('ast2700-default')
- self.verify_openbmc_boot_and_login('ast2700-default')
+ self.start_ast2700_test('ast2700-a1')
+ self.verify_openbmc_boot_and_login('ast2700-a1')
self.do_ast2700_i2c_test()
self.do_ast2700_pcie_test()
- def test_aarch64_ast2700a1_evb_sdk_vbootrom_v09_08(self):
+ def test_aarch64_ast2700a1_evb_sdk_vbootrom_v11_00(self):
self.set_machine('ast2700a1-evb')
self.require_netdev('user')
- self.archive_extract(self.ASSET_SDK_V908_AST2700A1)
+ self.archive_extract(self.ASSET_SDK_V1100_AST2700A1)
self.vm.add_args('-device', 'e1000e,netdev=net1,bus=pcie.2')
self.vm.add_args('-netdev', 'user,id=net1')
- self.start_ast2700_test_vbootrom('ast2700-default')
+ self.start_ast2700_test_vbootrom('ast2700-a1')
self.verify_vbootrom_firmware_flow()
self.verify_openbmc_boot_start()
--
2.43.0
next prev parent reply other threads:[~2026-02-03 2:10 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-03 2:08 [PATCH v2 0/8] Update test ASPEED SDK v11.00 for AST2700 A1 (RESEND) Jamin Lin via
2026-02-03 2:08 ` Jamin Lin via qemu development
2026-02-03 2:08 ` [PATCH v2 1/8] hw/arm/aspeed_ast27x0: Fix EHCI3/4 IRQ routing to GIC Jamin Lin via
2026-02-03 2:08 ` Jamin Lin via qemu development
2026-02-05 21:07 ` Michael Tokarev
2026-02-03 2:08 ` [PATCH v2 2/8] hw/arm/aspeed_ast27x0: Sort SSP and TSP memmap tables by address Jamin Lin via
2026-02-03 2:08 ` Jamin Lin via qemu development
2026-02-03 2:08 ` [PATCH v2 3/8] hw/arm/aspeed_ast27x0: Sort SSP and TSP IRQ maps Jamin Lin via
2026-02-03 2:08 ` Jamin Lin via qemu development
2026-02-03 2:08 ` [PATCH v2 4/8] hw/i2c/aspeed_i2c: Fix DMA moving data into incorrect address Jamin Lin via
2026-02-03 2:08 ` Jamin Lin via qemu development
2026-02-03 2:08 ` [PATCH v2 5/8] tests/functional/aarch64/test_aspeed_ast2700: Enable PCIe2 DTS status for AST2700 tests Jamin Lin via
2026-02-03 2:08 ` Jamin Lin via qemu development
2026-02-03 2:08 ` Jamin Lin via [this message]
2026-02-03 2:08 ` [PATCH v2 6/8] tests/functional/aarch64/test_aspeed_ast2700: Update test ASPEED SDK v11.00 for A1 Jamin Lin via qemu development
2026-02-03 2:08 ` [PATCH v2 7/8] tests/functional/aarch64/test_aspeed_ast2700fc: " Jamin Lin via
2026-02-03 2:08 ` Jamin Lin via qemu development
2026-02-03 2:08 ` [PATCH v2 8/8] docs/system/arm/aspeed: Load raw U-Boot image in AST2700 boot example Jamin Lin via
2026-02-03 2:08 ` Jamin Lin via qemu development
-- strict thread matches above, loose matches on Subject: below --
2026-02-03 1:55 [PATCH v2 6/8] tests/functional/aarch64/test_aspeed_ast2700: Update test ASPEED SDK v11.00 for A1 Jamin Lin
2026-02-03 13:22 ` Cédric Le Goater
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260203020855.1642884-7-jamin_lin@aspeedtech.com \
--to=qemu-arm@nongnu.org \
--cc=andrew@codeconstruct.com.au \
--cc=clg@kaod.org \
--cc=jamin_lin@aspeedtech.com \
--cc=joel@jms.id.au \
--cc=kane_chen@aspeedtech.com \
--cc=leetroy@gmail.com \
--cc=peter.maydell@linaro.org \
--cc=pierrick.bouvier@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=steven_lee@aspeedtech.com \
--cc=troy_lee@aspeedtech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.