* [PATCH v1 0/5] Update to test ASPEED SDK v09.08
@ 2025-10-03 7:21 Jamin Lin via
2025-10-03 7:21 ` [PATCH v1 1/5] tests/functional/arm/test_aspeed_ast1030: Update test ASPEED SDK v03.03 Jamin Lin via
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Jamin Lin via @ 2025-10-03 7:21 UTC (permalink / raw)
To: Cédric Le Goater, Peter Maydell, Steven Lee, Troy Lee,
Andrew Jeffery, Joel Stanley, open list:ASPEED BMCs,
open list:All patches CC here
Cc: jamin_lin, troy_lee
v1
1. Update to test ASPEED SDK v09.08 for AST2500, AST2600 and AST2700 A1
2. Update to test ASPEED SDK v03.03 for AST1030
Dependencies
Based on https://github.com/legoater/qemu at the aspeed-next branch.
Jamin Lin (5):
tests/functional/arm/test_aspeed_ast1030: Update test ASPEED SDK
v03.03
tests/functional/arm/test_aspeed_ast2500: Update test ASPEED SDK
v09.08
tests/functional/arm/test_aspeed_ast2600: Update test ASPEED SDK
v09.08
tests/functional/aarch64/test_aspeed_ast2700: Update test ASPEED SDK
v09.08 for A1
tests/functional/aarch64/test_aspeed_ast2700: Move eth2 IP check into
common function
.../functional/aarch64/test_aspeed_ast2700.py | 24 ++++++++-----------
tests/functional/arm/test_aspeed_ast1030.py | 17 ++++++-------
tests/functional/arm/test_aspeed_ast2500.py | 8 +++----
tests/functional/arm/test_aspeed_ast2600.py | 10 ++++----
4 files changed, 28 insertions(+), 31 deletions(-)
--
2.43.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v1 1/5] tests/functional/arm/test_aspeed_ast1030: Update test ASPEED SDK v03.03
2025-10-03 7:21 [PATCH v1 0/5] Update to test ASPEED SDK v09.08 Jamin Lin via
@ 2025-10-03 7:21 ` Jamin Lin via
2025-10-03 7:21 ` [PATCH v1 2/5] tests/functional/arm/test_aspeed_ast2500: Update test ASPEED SDK v09.08 Jamin Lin via
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Jamin Lin via @ 2025-10-03 7:21 UTC (permalink / raw)
To: Cédric Le Goater, Peter Maydell, Steven Lee, Troy Lee,
Andrew Jeffery, Joel Stanley, open list:ASPEED BMCs,
open list:All patches CC here
Cc: jamin_lin, troy_lee
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
---
tests/functional/arm/test_aspeed_ast1030.py | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/tests/functional/arm/test_aspeed_ast1030.py b/tests/functional/arm/test_aspeed_ast1030.py
index e47b597d0b..60e2b0251c 100755
--- a/tests/functional/arm/test_aspeed_ast1030.py
+++ b/tests/functional/arm/test_aspeed_ast1030.py
@@ -13,17 +13,17 @@
class AST1030Machine(AspeedTest):
- ASSET_ZEPHYR_3_02 = Asset(
+ ASSET_ZEPHYR_3_03 = Asset(
('https://github.com/AspeedTech-BMC'
- '/zephyr/releases/download/v00.03.02/ast1030-evb-demo.zip'),
- '1ec83caab3ddd5d09481772801be7210e222cb015ce22ec6fffb8a76956dcd4f')
+ '/zephyr/releases/download/v00.03.03/ast1030-evb-demo.zip'),
+ '27cd73cdee6374bceb4ee58b3ace87989fa3f0684f4e612510804b588b24d4e0')
- def test_arm_ast1030_zephyros_3_02(self):
+ def test_arm_ast1030_zephyros_3_03(self):
self.set_machine('ast1030-evb')
- kernel_name = "ast1030-evb-demo-3/zephyr.elf"
+ kernel_name = "ast1030-evb-demo/zephyr.elf"
kernel_file = self.archive_extract(
- self.ASSET_ZEPHYR_3_02, member=kernel_name)
+ self.ASSET_ZEPHYR_3_03, member=kernel_name)
self.vm.set_console()
self.vm.add_args('-kernel', kernel_file, '-nographic')
@@ -72,8 +72,9 @@ def test_arm_ast1030_zephyros_1_07(self):
def test_arm_ast1030_otp_blockdev_device(self):
self.vm.set_machine("ast1030-evb")
- kernel_name = "ast1030-evb-demo-3/zephyr.elf"
- kernel_file = self.archive_extract(self.ASSET_ZEPHYR_3_02, member=kernel_name)
+ kernel_name = "ast1030-evb-demo/zephyr.elf"
+ kernel_file = self.archive_extract(self.ASSET_ZEPHYR_3_03,
+ member=kernel_name)
otp_img = self.generate_otpmem_image()
self.vm.set_console()
--
2.43.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v1 2/5] tests/functional/arm/test_aspeed_ast2500: Update test ASPEED SDK v09.08
2025-10-03 7:21 [PATCH v1 0/5] Update to test ASPEED SDK v09.08 Jamin Lin via
2025-10-03 7:21 ` [PATCH v1 1/5] tests/functional/arm/test_aspeed_ast1030: Update test ASPEED SDK v03.03 Jamin Lin via
@ 2025-10-03 7:21 ` Jamin Lin via
2025-10-03 7:21 ` [PATCH v1 3/5] tests/functional/arm/test_aspeed_ast2600: " Jamin Lin via
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Jamin Lin via @ 2025-10-03 7:21 UTC (permalink / raw)
To: Cédric Le Goater, Peter Maydell, Steven Lee, Troy Lee,
Andrew Jeffery, Joel Stanley, open list:ASPEED BMCs,
open list:All patches CC here
Cc: jamin_lin, troy_lee
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
---
tests/functional/arm/test_aspeed_ast2500.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/functional/arm/test_aspeed_ast2500.py b/tests/functional/arm/test_aspeed_ast2500.py
index 4fdd81e2f9..5efd104c2b 100755
--- a/tests/functional/arm/test_aspeed_ast2500.py
+++ b/tests/functional/arm/test_aspeed_ast2500.py
@@ -37,14 +37,14 @@ def test_arm_ast2500_evb_buildroot(self):
self.do_test_arm_aspeed_buildroot_poweroff()
- ASSET_SDK_V907_AST2500 = Asset(
- 'https://github.com/AspeedTech-BMC/openbmc/releases/download/v09.07/ast2500-default-obmc.tar.gz',
- 'd52bcc279a37c8d7679b3e4ef22cc77c36f0f6624c687b37334f798828afb077')
+ ASSET_SDK_V908_AST2500 = Asset(
+ 'https://github.com/AspeedTech-BMC/openbmc/releases/download/v09.08/ast2500-default-obmc.tar.gz',
+ 'c0a2ba169efd19be5eb77c50ec2a6afd9d826e196a0be3432f969fc72d4b7c0e')
def test_arm_ast2500_evb_sdk(self):
self.set_machine('ast2500-evb')
- self.archive_extract(self.ASSET_SDK_V907_AST2500)
+ self.archive_extract(self.ASSET_SDK_V908_AST2500)
self.do_test_arm_aspeed_sdk_start(
self.scratch_file("ast2500-default", "image-bmc"))
--
2.43.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v1 3/5] tests/functional/arm/test_aspeed_ast2600: Update test ASPEED SDK v09.08
2025-10-03 7:21 [PATCH v1 0/5] Update to test ASPEED SDK v09.08 Jamin Lin via
2025-10-03 7:21 ` [PATCH v1 1/5] tests/functional/arm/test_aspeed_ast1030: Update test ASPEED SDK v03.03 Jamin Lin via
2025-10-03 7:21 ` [PATCH v1 2/5] tests/functional/arm/test_aspeed_ast2500: Update test ASPEED SDK v09.08 Jamin Lin via
@ 2025-10-03 7:21 ` Jamin Lin via
2025-10-03 7:21 ` [PATCH v1 4/5] tests/functional/aarch64/test_aspeed_ast2700: Update test ASPEED SDK v09.08 for A1 Jamin Lin via
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Jamin Lin via @ 2025-10-03 7:21 UTC (permalink / raw)
To: Cédric Le Goater, Peter Maydell, Steven Lee, Troy Lee,
Andrew Jeffery, Joel Stanley, open list:ASPEED BMCs,
open list:All patches CC here
Cc: jamin_lin, troy_lee
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
---
tests/functional/arm/test_aspeed_ast2600.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/tests/functional/arm/test_aspeed_ast2600.py b/tests/functional/arm/test_aspeed_ast2600.py
index f655c0ba0c..0127913cfb 100755
--- a/tests/functional/arm/test_aspeed_ast2600.py
+++ b/tests/functional/arm/test_aspeed_ast2600.py
@@ -97,9 +97,9 @@ def test_arm_ast2600_evb_buildroot_tpm(self):
self.do_test_arm_aspeed_buildroot_poweroff()
- ASSET_SDK_V907_AST2600 = Asset(
- 'https://github.com/AspeedTech-BMC/openbmc/releases/download/v09.07/ast2600-default-obmc.tar.gz',
- 'cb6c08595bcbba1672ce716b068ba4e48eda1ed9abe78a07b30392ba2278feba')
+ ASSET_SDK_V908_AST2600 = Asset(
+ 'https://github.com/AspeedTech-BMC/openbmc/releases/download/v09.08/ast2600-default-obmc.tar.gz',
+ 'a0414f14ad696550efe083c2156dbeda855c08cc9ae7f40fe1b41bf292295f82')
def do_ast2600_pcie_test(self):
exec_command_and_wait_for_pattern(self,
@@ -122,7 +122,7 @@ def test_arm_ast2600_evb_sdk(self):
self.set_machine('ast2600-evb')
self.require_netdev('user')
- self.archive_extract(self.ASSET_SDK_V907_AST2600)
+ self.archive_extract(self.ASSET_SDK_V908_AST2600)
self.vm.add_args('-device',
'tmp105,bus=aspeed.i2c.bus.5,address=0x4d,id=tmp-test')
@@ -160,7 +160,7 @@ def test_arm_ast2600_evb_sdk(self):
def test_arm_ast2600_otp_blockdev_device(self):
self.vm.set_machine("ast2600-evb")
- image_path = self.archive_extract(self.ASSET_SDK_V907_AST2600)
+ image_path = self.archive_extract(self.ASSET_SDK_V908_AST2600)
otp_img = self.generate_otpmem_image()
self.vm.set_console()
--
2.43.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v1 4/5] tests/functional/aarch64/test_aspeed_ast2700: Update test ASPEED SDK v09.08 for A1
2025-10-03 7:21 [PATCH v1 0/5] Update to test ASPEED SDK v09.08 Jamin Lin via
` (2 preceding siblings ...)
2025-10-03 7:21 ` [PATCH v1 3/5] tests/functional/arm/test_aspeed_ast2600: " Jamin Lin via
@ 2025-10-03 7:21 ` Jamin Lin via
2025-10-03 7:21 ` [PATCH v1 5/5] tests/functional/aarch64/test_aspeed_ast2700: Move eth2 IP check into common function Jamin Lin via
2025-10-03 10:19 ` [SPAM] [PATCH v1 0/5] Update to test ASPEED SDK v09.08 Cédric Le Goater
5 siblings, 0 replies; 7+ messages in thread
From: Jamin Lin via @ 2025-10-03 7:21 UTC (permalink / raw)
To: Cédric Le Goater, Peter Maydell, Steven Lee, Troy Lee,
Andrew Jeffery, Joel Stanley, open list:ASPEED BMCs,
open list:All patches CC here
Cc: jamin_lin, troy_lee
Support for AST2700 A0 was dropped starting from SDK v09.07.
The new SDK v09.08 only updates support for AST2700 A1.
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
---
.../functional/aarch64/test_aspeed_ast2700.py | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/tests/functional/aarch64/test_aspeed_ast2700.py b/tests/functional/aarch64/test_aspeed_ast2700.py
index 0973fce0e9..0e9f10d991 100755
--- a/tests/functional/aarch64/test_aspeed_ast2700.py
+++ b/tests/functional/aarch64/test_aspeed_ast2700.py
@@ -50,13 +50,9 @@ def verify_openbmc_boot_and_login(self, name):
'https://github.com/AspeedTech-BMC/openbmc/releases/download/v09.06/ast2700-a0-default-obmc.tar.gz',
'7247b6f19dbfb700686f8d9f723ac23f3eb229226c0589cb9b06b80d1b61f3cb')
- ASSET_SDK_V906_AST2700A1 = Asset(
- 'https://github.com/AspeedTech-BMC/openbmc/releases/download/v09.06/ast2700-default-obmc.tar.gz',
- 'f1d53e0be8a404ecce3e105f72bc50fa4e090ad13160ffa91b10a6e0233a9dc6')
-
- ASSET_SDK_V907_AST2700A1_VBOOROM = Asset(
- 'https://github.com/AspeedTech-BMC/openbmc/releases/download/v09.07/ast2700-default-obmc.tar.gz',
- '6e9e0c4b13e0f26040eca3f4a7f17cf09fc0f5c37c820500ff79370cc3c44add')
+ ASSET_SDK_V908_AST2700A1 = Asset(
+ 'https://github.com/AspeedTech-BMC/openbmc/releases/download/v09.08/ast2700-default-obmc.tar.gz',
+ 'eac3dc409b7ea3cd4b03d4792d3cebd469792ad893cb51e1d15f0fc20bd1e2cd')
def do_ast2700_i2c_test(self):
exec_command_and_wait_for_pattern(self,
@@ -133,11 +129,11 @@ def test_aarch64_ast2700a0_evb_sdk_v09_06(self):
self.verify_openbmc_boot_and_login('ast2700-a0-default')
self.do_ast2700_i2c_test()
- def test_aarch64_ast2700a1_evb_sdk_v09_06(self):
+ def test_aarch64_ast2700a1_evb_sdk_v09_08(self):
self.set_machine('ast2700a1-evb')
self.require_netdev('user')
- self.archive_extract(self.ASSET_SDK_V906_AST2700A1)
+ self.archive_extract(self.ASSET_SDK_V908_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')
@@ -145,11 +141,11 @@ def test_aarch64_ast2700a1_evb_sdk_v09_06(self):
self.do_ast2700_i2c_test()
self.do_ast2700_pcie_test()
- def test_aarch64_ast2700a1_evb_sdk_vbootrom_v09_07(self):
+ def test_aarch64_ast2700a1_evb_sdk_vbootrom_v09_08(self):
self.set_machine('ast2700a1-evb')
self.require_netdev('user')
- self.archive_extract(self.ASSET_SDK_V907_AST2700A1_VBOOROM)
+ self.archive_extract(self.ASSET_SDK_V908_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')
--
2.43.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH v1 5/5] tests/functional/aarch64/test_aspeed_ast2700: Move eth2 IP check into common function
2025-10-03 7:21 [PATCH v1 0/5] Update to test ASPEED SDK v09.08 Jamin Lin via
` (3 preceding siblings ...)
2025-10-03 7:21 ` [PATCH v1 4/5] tests/functional/aarch64/test_aspeed_ast2700: Update test ASPEED SDK v09.08 for A1 Jamin Lin via
@ 2025-10-03 7:21 ` Jamin Lin via
2025-10-03 10:19 ` [SPAM] [PATCH v1 0/5] Update to test ASPEED SDK v09.08 Cédric Le Goater
5 siblings, 0 replies; 7+ messages in thread
From: Jamin Lin via @ 2025-10-03 7:21 UTC (permalink / raw)
To: Cédric Le Goater, Peter Maydell, Steven Lee, Troy Lee,
Andrew Jeffery, Joel Stanley, open list:ASPEED BMCs,
open list:All patches CC here
Cc: jamin_lin, troy_lee
The eth2 IP address check was previously only performed in
test_aarch64_ast2700a1_evb_sdk_vbootrom_v09_08. This patch moves the
check into do_ast2700_pcie_test(), ensuring it is executed consistently
across all AST2700 PCIe test runs. This avoids code duplication.
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
---
tests/functional/aarch64/test_aspeed_ast2700.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/functional/aarch64/test_aspeed_ast2700.py b/tests/functional/aarch64/test_aspeed_ast2700.py
index 0e9f10d991..ef7ed522af 100755
--- a/tests/functional/aarch64/test_aspeed_ast2700.py
+++ b/tests/functional/aarch64/test_aspeed_ast2700.py
@@ -74,6 +74,9 @@ def do_ast2700_pcie_test(self):
'lspci -s 0002:01:00.0',
'0002:01:00.0 Ethernet controller: '
'Intel Corporation 82574L Gigabit Network Connection')
+ exec_command_and_wait_for_pattern(self,
+ 'ip addr show dev eth2',
+ 'inet 10.0.2.15/24')
def start_ast2700_test(self, name):
num_cpu = 4
@@ -153,9 +156,6 @@ def test_aarch64_ast2700a1_evb_sdk_vbootrom_v09_08(self):
self.verify_openbmc_boot_and_login('ast2700-default')
self.do_ast2700_i2c_test()
self.do_ast2700_pcie_test()
- exec_command_and_wait_for_pattern(self,
- 'ip addr show dev eth2',
- 'inet 10.0.2.15/24')
if __name__ == '__main__':
QemuSystemTest.main()
--
2.43.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [SPAM] [PATCH v1 0/5] Update to test ASPEED SDK v09.08
2025-10-03 7:21 [PATCH v1 0/5] Update to test ASPEED SDK v09.08 Jamin Lin via
` (4 preceding siblings ...)
2025-10-03 7:21 ` [PATCH v1 5/5] tests/functional/aarch64/test_aspeed_ast2700: Move eth2 IP check into common function Jamin Lin via
@ 2025-10-03 10:19 ` Cédric Le Goater
5 siblings, 0 replies; 7+ messages in thread
From: Cédric Le Goater @ 2025-10-03 10:19 UTC (permalink / raw)
To: Jamin Lin, Peter Maydell, Steven Lee, Troy Lee, Andrew Jeffery,
Joel Stanley, open list:ASPEED BMCs,
open list:All patches CC here
Cc: troy_lee
On 10/3/25 09:21, Jamin Lin wrote:
> v1
> 1. Update to test ASPEED SDK v09.08 for AST2500, AST2600 and AST2700 A1
> 2. Update to test ASPEED SDK v03.03 for AST1030
>
> Dependencies
>
> Based on https://github.com/legoater/qemu at the aspeed-next branch.
>
> Jamin Lin (5):
> tests/functional/arm/test_aspeed_ast1030: Update test ASPEED SDK
> v03.03
> tests/functional/arm/test_aspeed_ast2500: Update test ASPEED SDK
> v09.08
> tests/functional/arm/test_aspeed_ast2600: Update test ASPEED SDK
> v09.08
> tests/functional/aarch64/test_aspeed_ast2700: Update test ASPEED SDK
> v09.08 for A1
> tests/functional/aarch64/test_aspeed_ast2700: Move eth2 IP check into
> common function
>
> .../functional/aarch64/test_aspeed_ast2700.py | 24 ++++++++-----------
> tests/functional/arm/test_aspeed_ast1030.py | 17 ++++++-------
> tests/functional/arm/test_aspeed_ast2500.py | 8 +++----
> tests/functional/arm/test_aspeed_ast2600.py | 10 ++++----
> 4 files changed, 28 insertions(+), 31 deletions(-)
>
For all series
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Thanks,
C.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-10-03 10:23 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-03 7:21 [PATCH v1 0/5] Update to test ASPEED SDK v09.08 Jamin Lin via
2025-10-03 7:21 ` [PATCH v1 1/5] tests/functional/arm/test_aspeed_ast1030: Update test ASPEED SDK v03.03 Jamin Lin via
2025-10-03 7:21 ` [PATCH v1 2/5] tests/functional/arm/test_aspeed_ast2500: Update test ASPEED SDK v09.08 Jamin Lin via
2025-10-03 7:21 ` [PATCH v1 3/5] tests/functional/arm/test_aspeed_ast2600: " Jamin Lin via
2025-10-03 7:21 ` [PATCH v1 4/5] tests/functional/aarch64/test_aspeed_ast2700: Update test ASPEED SDK v09.08 for A1 Jamin Lin via
2025-10-03 7:21 ` [PATCH v1 5/5] tests/functional/aarch64/test_aspeed_ast2700: Move eth2 IP check into common function Jamin Lin via
2025-10-03 10:19 ` [SPAM] [PATCH v1 0/5] Update to test ASPEED SDK v09.08 Cédric Le Goater
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).