Skip to contentSkip to conversation

tests/functional: Aspeed ARM tests enhancements

PATCH Applied Cédric Le Goater 3 participants 15 messages Feb 9 – Feb 12

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover tests/functional: Aspeed ARM tests enhancements

Hi,

This allows the functional test suite to run tests in parallel more effectively and adds a new set of tests using the older Linux 5.15 kernel.

Thanks,

C.

Cédric Le Goater (2):
tests/functional: Split Aspeed ARM tests into separate files tests/functional: Add SDK tests with Linux 5.15

 tests/functional/arm/meson.build              | 18 ++++--
 tests/functional/arm/test_aspeed_ast1060.py   |  0
 ...00.py => test_aspeed_ast2500_buildroot.py} | 14 -----
 .../functional/arm/test_aspeed_ast2500_sdk.py | 29 +++++++++
 .../arm/test_aspeed_ast2500_sdk_515.py        | 29 +++++++++
 .../arm/test_aspeed_ast2600_buildroot.py      | 41 +------------
 .../arm/test_aspeed_ast2600_buildroot_tpm.py  | 60 +++++++++++++++++++
 .../functional/arm/test_aspeed_ast2600_sdk.py | 15 -----
 .../arm/test_aspeed_ast2600_sdk_515.py        | 29 +++++++++
 .../arm/test_aspeed_ast2600_sdk_otp.py        | 34 +++++++++++
 10 files changed, 196 insertions(+), 73 deletions(-)
 mode change 100644 => 100755 tests/functional/arm/test_aspeed_ast1060.py
 rename tests/functional/arm/{test_aspeed_ast2500.py => test_aspeed_ast2500_buildroot.py} (74%)
 create mode 100755 tests/functional/arm/test_aspeed_ast2500_sdk.py
 create mode 100755 tests/functional/arm/test_aspeed_ast2500_sdk_515.py
 create mode 100755 tests/functional/arm/test_aspeed_ast2600_buildroot_tpm.py
 create mode 100755 tests/functional/arm/test_aspeed_ast2600_sdk_515.py
 create mode 100755 tests/functional/arm/test_aspeed_ast2600_sdk_otp.py
Signature · 1 line
2.53.0
#7 lore raw

PATCH 2/2 tests/functional: Add SDK tests with Linux 5.15

Add functional tests for AST2500 and AST2600 machines using the OpenBMC SDK v11.00 with Linux kernel 5.15. These tests complement the existing SDK tests and verify that QEMU correctly boots older kernel versions on these platforms.

---
 tests/functional/arm/meson.build              |  4 +++
 .../arm/test_aspeed_ast2500_sdk_515.py        | 29 +++++++++++++++++++
 .../arm/test_aspeed_ast2600_sdk_515.py        | 29 +++++++++++++++++++
 3 files changed, 62 insertions(+)
 create mode 100755 tests/functional/arm/test_aspeed_ast2500_sdk_515.py
 create mode 100755 tests/functional/arm/test_aspeed_ast2600_sdk_515.py
tests/functional/arm/meson.build +4 -0
index 175a83a2acd7..2f538f29a2de 100644
@@ -5,10 +5,12 @@ test_arm_timeouts = {
   'aspeed_romulus' : 120,
   'aspeed_witherspoon' : 120,
   'aspeed_ast2500_sdk' : 720,
+  'aspeed_ast2500_sdk_515' : 720,
   'aspeed_ast2500_buildroot' : 480,
   'aspeed_ast2600_buildroot' : 480,
   'aspeed_ast2600_buildroot_tpm' : 720,
   'aspeed_ast2600_sdk' : 720,
+  'aspeed_ast2600_sdk_515' : 720,
   'aspeed_ast2600_sdk_otp' : 720,
   'aspeed_bletchley' : 480,
   'aspeed_catalina' : 480,
@@ -36,10 +38,12 @@ tests_arm_system_thorough = [
   'aspeed_romulus',
   'aspeed_witherspoon',
   'aspeed_ast2500_sdk',
+  'aspeed_ast2500_sdk_515',
   'aspeed_ast2500_buildroot',
   'aspeed_ast2600_buildroot',
   'aspeed_ast2600_buildroot_tpm',
   'aspeed_ast2600_sdk',
+  'aspeed_ast2600_sdk_515',
   'aspeed_ast2600_sdk_otp',
   'aspeed_bletchley',
   'aspeed_catalina',
tests/functional/arm/test_aspeed_ast2500_sdk_515.py new file +29 -0
new file mode 100755
index 000000000000..464a4e43961d
@@ -0,0 +1,29 @@
+#!/usr/bin/env python3
+#
+# Functional test that boots the ASPEED machines
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+from qemu_test import Asset
+from aspeed import AspeedTest
+
+
+class AST2500Machine(AspeedTest):
+
+    ASSET_SDK_V1100_AST2500_515 = Asset(
+        'https://github.com/AspeedTech-BMC/openbmc/releases/download/v11.00/ast2500-default-515-obmc.tar.gz',
+        '5732255d4617d98b76bbbc116d331d6ac89906fa212969eb8213fdc4aea86451')
+
+    def test_arm_ast2500_evb_sdk_515(self):
+        self.set_machine('ast2500-evb')
+
+        self.archive_extract(self.ASSET_SDK_V1100_AST2500_515)
+
+        self.do_test_arm_aspeed_sdk_start(
+            self.scratch_file("ast2500-default-515", "image-bmc"))
+
+        self.wait_for_console_pattern('ast2500-default-515 login:')
+
+
+if __name__ == '__main__':
+    AspeedTest.main()
tests/functional/arm/test_aspeed_ast2600_sdk_515.py new file +29 -0
new file mode 100755
index 000000000000..f48da301d567
@@ -0,0 +1,29 @@
+#!/usr/bin/env python3
+#
+# Functional test that boots the ASPEED machines
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+from qemu_test import Asset
+from aspeed import AspeedTest
+
+
+class AST2600Machine(AspeedTest):
+
+    ASSET_SDK_V1100_AST2600_515 = Asset(
+        'https://github.com/AspeedTech-BMC/openbmc/releases/download/v11.00/ast2600-default-515-obmc.tar.gz',
+        'ece1a934095378929780f03e7d092e562f4b33b2841b80ad7c3d12a85744c0f6')
+
+    def test_arm_ast2600_evb_sdk_515(self):
+        self.set_machine('ast2600-evb')
+
+        self.archive_extract(self.ASSET_SDK_V1100_AST2600_515)
+
+        self.do_test_arm_aspeed_sdk_start(
+            self.scratch_file("ast2600-default-515", "image-bmc"))
+
+        self.wait_for_console_pattern('ast2600-default-515 login:')
+
+
+if __name__ == '__main__':
+    AspeedTest.main()
Signature · 1 line
2.53.0
#1 lore raw

PATCH 1/2 tests/functional: Split Aspeed ARM tests into separate files

In reply to Cédric Le Goater

Reorganize the monolithic Aspeed functional test files into separate files based on firmware type (Buildroot vs SDK) and specific test scenarios. This allows the test suite to run tests in parallel more effectively and makes it easier to identify and run specific test scenarios independently.

---
 tests/functional/arm/meson.build              | 14 +++--
 tests/functional/arm/test_aspeed_ast1060.py   |  0
 ...00.py => test_aspeed_ast2500_buildroot.py} | 14 -----
 .../functional/arm/test_aspeed_ast2500_sdk.py | 29 +++++++++
 .../arm/test_aspeed_ast2600_buildroot.py      | 41 +------------
 .../arm/test_aspeed_ast2600_buildroot_tpm.py  | 60 +++++++++++++++++++
 .../functional/arm/test_aspeed_ast2600_sdk.py | 15 -----
 .../arm/test_aspeed_ast2600_sdk_otp.py        | 34 +++++++++++
 8 files changed, 134 insertions(+), 73 deletions(-)
 mode change 100644 => 100755 tests/functional/arm/test_aspeed_ast1060.py
 rename tests/functional/arm/{test_aspeed_ast2500.py => test_aspeed_ast2500_buildroot.py} (74%)
 create mode 100755 tests/functional/arm/test_aspeed_ast2500_sdk.py
 create mode 100755 tests/functional/arm/test_aspeed_ast2600_buildroot_tpm.py
 create mode 100755 tests/functional/arm/test_aspeed_ast2600_sdk_otp.py
tests/functional/arm/meson.build +10 -4
index 1762a496049d..175a83a2acd7 100644
@@ -4,9 +4,12 @@ test_arm_timeouts = {
   'aspeed_palmetto' : 120,
   'aspeed_romulus' : 120,
   'aspeed_witherspoon' : 120,
-  'aspeed_ast2500' : 720,
-  'aspeed_ast2600_buildroot' : 720,
-  'aspeed_ast2600_sdk' : 1200,
+  'aspeed_ast2500_sdk' : 720,
+  'aspeed_ast2500_buildroot' : 480,
+  'aspeed_ast2600_buildroot' : 480,
+  'aspeed_ast2600_buildroot_tpm' : 720,
+  'aspeed_ast2600_sdk' : 720,
+  'aspeed_ast2600_sdk_otp' : 720,
   'aspeed_bletchley' : 480,
   'aspeed_catalina' : 480,
   'aspeed_gb200nvl_bmc' : 480,
@@ -32,9 +35,12 @@ tests_arm_system_thorough = [
   'aspeed_palmetto',
   'aspeed_romulus',
   'aspeed_witherspoon',
-  'aspeed_ast2500',
+  'aspeed_ast2500_sdk',
+  'aspeed_ast2500_buildroot',
   'aspeed_ast2600_buildroot',
+  'aspeed_ast2600_buildroot_tpm',
   'aspeed_ast2600_sdk',
+  'aspeed_ast2600_sdk_otp',
   'aspeed_bletchley',
   'aspeed_catalina',
   'aspeed_gb200nvl_bmc',
tests/functional/arm/test_aspeed_ast1060.py +0 -0
old mode 100644
new mode 100755
tests/functional/arm/test_aspeed_ast2500_buildroot.py renamed from tests/functional/arm/test_aspeed_ast2500.py +0 -14
similarity index 74%
rename from tests/functional/arm/test_aspeed_ast2500.py
rename to tests/functional/arm/test_aspeed_ast2500_buildroot.py
index 5d75e20184d6..8196923ee04d 100755
@@ -37,20 +37,6 @@ def test_arm_ast2500_evb_buildroot(self):
 
         self.do_test_arm_aspeed_buildroot_poweroff()
 
-    ASSET_SDK_V1000_AST2500 = Asset(
-        'https://github.com/AspeedTech-BMC/openbmc/releases/download/v10.00/ast2500-default-obmc.tar.gz',
-        '7d71a3f71d5f4d9f3451f59a73bf9baf8fd9f6a24107eb504a3216151a8b2b5b')
-
-    def test_arm_ast2500_evb_sdk(self):
-        self.set_machine('ast2500-evb')
-
-        self.archive_extract(self.ASSET_SDK_V1000_AST2500)
-
-        self.do_test_arm_aspeed_sdk_start(
-            self.scratch_file("ast2500-default", "image-bmc"))
-
-        self.wait_for_console_pattern('ast2500-default login:')
-
 
 if __name__ == '__main__':
     AspeedTest.main()
tests/functional/arm/test_aspeed_ast2500_sdk.py new file +29 -0
new file mode 100755
index 000000000000..2c9211aeddc8
@@ -0,0 +1,29 @@
+#!/usr/bin/env python3
+#
+# Functional test that boots the ASPEED machines
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+from qemu_test import Asset
+from aspeed import AspeedTest
+
+
+class AST2500Machine(AspeedTest):
+
+    ASSET_SDK_V1000_AST2500 = Asset(
+        'https://github.com/AspeedTech-BMC/openbmc/releases/download/v10.00/ast2500-default-obmc.tar.gz',
+        '7d71a3f71d5f4d9f3451f59a73bf9baf8fd9f6a24107eb504a3216151a8b2b5b')
+
+    def test_arm_ast2500_evb_sdk(self):
+        self.set_machine('ast2500-evb')
+
+        self.archive_extract(self.ASSET_SDK_V1000_AST2500)
+
+        self.do_test_arm_aspeed_sdk_start(
+            self.scratch_file("ast2500-default", "image-bmc"))
+
+        self.wait_for_console_pattern('ast2500-default login:')
+
+
+if __name__ == '__main__':
+    AspeedTest.main()
tests/functional/arm/test_aspeed_ast2600_buildroot.py +1 -40

53 lines not on this page · raw message

tests/functional/arm/test_aspeed_ast2600_buildroot_tpm.py new file +60 -0

60 lines not on this page · raw message

tests/functional/arm/test_aspeed_ast2600_sdk.py +0 -15
index 3485feaf2c39..46b9f7058c08 100755
@@ -82,21 +82,6 @@ def test_arm_ast2600_evb_sdk(self):
         self.do_ast2600_pcie_test()
         self.do_ast2600_i3c_test()
 
-    def test_arm_ast2600_otp_blockdev_device(self):
-        self.vm.set_machine("ast2600-evb")
-
-        image_path = self.archive_extract(self.ASSET_SDK_V1100_AST2600)
-        otp_img = self.generate_otpmem_image()
-
-        self.vm.set_console()
-        self.vm.add_args(
-            "-blockdev", f"driver=file,filename={otp_img},node-name=otp",
-            "-global", "aspeed-otp.drive=otp",
-        )
-        self.do_test_arm_aspeed_sdk_start(
-            self.scratch_file("ast2600-default", "image-bmc"))
-        self.wait_for_console_pattern("ast2600-default login:")
-
 
 if __name__ == '__main__':
     AspeedTest.main()
tests/functional/arm/test_aspeed_ast2600_sdk_otp.py new file +34 -0
new file mode 100755
index 000000000000..4066532d5dec
@@ -0,0 +1,34 @@
+#!/usr/bin/env python3
+#
+# Functional test that boots the ASPEED machines
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+from qemu_test import Asset
+from aspeed import AspeedTest
+
+
+class AST2600Machine(AspeedTest):
+
+    ASSET_SDK_V1100_AST2600 = Asset(
+        'https://github.com/AspeedTech-BMC/openbmc/releases/download/v11.00/ast2600-default-obmc.tar.gz',
+        '64d8926a7d01b649168be96c986603b5690f06391286c438a3a772c8c7039e93')
+
+    def test_arm_ast2600_otp_blockdev_device(self):
+        self.vm.set_machine("ast2600-evb")
+
+        image_path = self.archive_extract(self.ASSET_SDK_V1100_AST2600)
+        otp_img = self.generate_otpmem_image()
+
+        self.vm.set_console()
+        self.vm.add_args(
+            "-blockdev", f"driver=file,filename={otp_img},node-name=otp",
+            "-global", "aspeed-otp.drive=otp",
+        )
+        self.do_test_arm_aspeed_sdk_start(
+            self.scratch_file("ast2600-default", "image-bmc"))
+        self.wait_for_console_pattern("ast2600-default login:")
+
+
+if __name__ == '__main__':
+    AspeedTest.main()
Signature · 1 line
2.53.0
#2 lore raw

Re: [PATCH 1/2] tests/functional: Split Aspeed ARM tests into separate files

+ Kane,

Quoted 23 lines · Cédric Le Goater

Reorganize the monolithic Aspeed functional test files into separate files based on firmware type (Buildroot vs SDK) and specific test scenarios. This allows the test suite to run tests in parallel more effectively and makes it easier to identify and run specific test scenarios independently.

---
  tests/functional/arm/meson.build              | 14 +++--
  tests/functional/arm/test_aspeed_ast1060.py   |  0
  ...00.py => test_aspeed_ast2500_buildroot.py} | 14 -----
  .../functional/arm/test_aspeed_ast2500_sdk.py | 29 +++++++++
  .../arm/test_aspeed_ast2600_buildroot.py      | 41 +------------
  .../arm/test_aspeed_ast2600_buildroot_tpm.py  | 60 +++++++++++++++++++
  .../functional/arm/test_aspeed_ast2600_sdk.py | 15 -----
  .../arm/test_aspeed_ast2600_sdk_otp.py        | 34 +++++++++++
  8 files changed, 134 insertions(+), 73 deletions(-)

mode change 100644 => 100755 tests/functional/arm/test_aspeed_ast1060.py rename tests/functional/arm/{test_aspeed_ast2500.py => test_aspeed_ast2500_buildroot.py} (74%) create mode 100755 tests/functional/arm/test_aspeed_ast2500_sdk.py
create mode 100755 tests/functional/arm/test_aspeed_ast2600_buildroot_tpm.py create mode 100755 tests/functional/arm/test_aspeed_ast2600_sdk_otp.py

[ ... ]

Quoted 30 lines
tests/functional/arm/test_aspeed_ast2600_sdk_otp.py new file +24 -0
new file mode 100755
index 000000000000..4066532d5dec
@@ -0,0 +1,34 @@
+#!/usr/bin/env python3
+#
+# Functional test that boots the ASPEED machines
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+from qemu_test import Asset
+from aspeed import AspeedTest
+
+
+class AST2600Machine(AspeedTest):
+
+    ASSET_SDK_V1100_AST2600 = Asset(
+        'https://github.com/AspeedTech-BMC/openbmc/releases/download/v11.00/ast2600-default-obmc.tar.gz',
+        '64d8926a7d01b649168be96c986603b5690f06391286c438a3a772c8c7039e93')
+
+    def test_arm_ast2600_otp_blockdev_device(self):
+        self.vm.set_machine("ast2600-evb")
+
+        image_path = self.archive_extract(self.ASSET_SDK_V1100_AST2600)
+        otp_img = self.generate_otpmem_image()
+
+        self.vm.set_console()
+        self.vm.add_args(

tests/functional/arm/test_aspeed_ast2600_sdk_otp.py line 34

Quoted 10 lines
tests/functional/arm/test_aspeed_ast2600_sdk_otp.py new file +10 -0
+            "-blockdev", f"driver=file,filename={otp_img},node-name=otp",
+            "-global", "aspeed-otp.drive=otp",
+        )
+        self.do_test_arm_aspeed_sdk_start(
+            self.scratch_file("ast2600-default", "image-bmc"))
+        self.wait_for_console_pattern("ast2600-default login:")
+
+
+if __name__ == '__main__':
+    AspeedTest.main()

Kane,

This test doesn't add much compared to the sdk boot. Is it possible to extend to exercise the OTP feature ?

Thanks,

C.

#3 lore raw

RE: [PATCH 1/2] tests/functional: Split Aspeed ARM tests into separate files

Quoted 97 lines

-----Original Message-----
From: Cédric Le Goater <[email protected]>
Sent: Monday, February 9, 2026 4:31 PM
To: Cédric Le Goater <[email protected]>; [email protected]; [email protected]
Cc: Peter Maydell <[email protected]>; Steven Lee <[email protected]>; Troy Lee <[email protected]>; Jamin Lin <[email protected]>; Andrew Jeffery <[email protected]>; Joel Stanley <[email protected]>; Thomas Huth <[email protected]>; Kane Chen <[email protected]>
Subject: Re: [PATCH 1/2] tests/functional: Split Aspeed ARM tests into separate files

+ Kane,

Quoted 6 lines · Cédric Le Goater

Reorganize the monolithic Aspeed functional test files into separate files based on firmware type (Buildroot vs SDK) and specific test scenarios. This allows the test suite to run tests in parallel more effectively and makes it easier to identify and run specific test scenarios independently.

Quoted 8 lines
---
  tests/functional/arm/meson.build              | 14 +++--
  tests/functional/arm/test_aspeed_ast1060.py   |  0
  ...00.py => test_aspeed_ast2500_buildroot.py} | 14 -----
  .../functional/arm/test_aspeed_ast2500_sdk.py | 29 +++++++++
  .../arm/test_aspeed_ast2600_buildroot.py      | 41 +------------
  .../arm/test_aspeed_ast2600_buildroot_tpm.py  | 60

+++++++++++++++++++

Quoted 4 lines
  .../functional/arm/test_aspeed_ast2600_sdk.py | 15 -----
  .../arm/test_aspeed_ast2600_sdk_otp.py        | 34 +++++++++++
  8 files changed, 134 insertions(+), 73 deletions(-)

mode change 100644 => 100755

tests/functional/arm/test_aspeed_ast1060.py

Quoted 1 line

rename tests/functional/arm/{test_aspeed_ast2500.py =>

test_aspeed_ast2500_buildroot.py} (74%)

Quoted 2 lines

create mode 100755 tests/functional/arm/test_aspeed_ast2500_sdk.py create mode 100755

tests/functional/arm/test_aspeed_ast2600_buildroot_tpm.py

Quoted 3 lines

create mode 100755
tests/functional/arm/test_aspeed_ast2600_sdk_otp.py

[ ... ]

Quoted 10 lines
tests/functional/arm/test_aspeed_ast2600_sdk_otp.py new file +3 -0
new file mode 100755
index 000000000000..4066532d5dec
@@ -0,0 +1,34 @@
+#!/usr/bin/env python3
+#
+# Functional test that boots the ASPEED machines # #

tests/functional/arm/test_aspeed_ast2600_sdk_otp.py line 13

Quoted 10 lines
tests/functional/arm/test_aspeed_ast2600_sdk_otp.py new file +10 -0
+SPDX-License-Identifier: GPL-2.0-or-later
+
+from qemu_test import Asset
+from aspeed import AspeedTest
+
+
+class AST2600Machine(AspeedTest):
+
+    ASSET_SDK_V1100_AST2600 = Asset(
+

'https://github.com/AspeedTech-BMC/openbmc/releases/download/v11.00/a st2600-default-obmc.tar.gz',

tests/functional/arm/test_aspeed_ast2600_sdk_otp.py line 15

Quoted 2 lines
tests/functional/arm/test_aspeed_ast2600_sdk_otp.py new file +2 -0
+
+

'64d8926a7d01b649168be96c986603b5690f06391286c438a3a772c8c7039e9 3')

tests/functional/arm/test_aspeed_ast2600_sdk_otp.py

Quoted 5 lines
tests/functional/arm/test_aspeed_ast2600_sdk_otp.py new file +5 -0
+
+    def test_arm_ast2600_otp_blockdev_device(self):
+        self.vm.set_machine("ast2600-evb")
+
+        image_path =

self.archive_extract(self.ASSET_SDK_V1100_AST2600)

tests/functional/arm/test_aspeed_ast2600_sdk_otp.py

Quoted 5 lines
tests/functional/arm/test_aspeed_ast2600_sdk_otp.py new file +5 -0
+        otp_img = self.generate_otpmem_image()
+
+        self.vm.set_console()
+        self.vm.add_args(
+            "-blockdev",

f"driver=file,filename={otp_img},node-name=otp",

tests/functional/arm/test_aspeed_ast2600_sdk_otp.py line 34

Quoted 9 lines
tests/functional/arm/test_aspeed_ast2600_sdk_otp.py new file +9 -0
+            "-global", "aspeed-otp.drive=otp",
+        )
+        self.do_test_arm_aspeed_sdk_start(
+            self.scratch_file("ast2600-default", "image-bmc"))
+        self.wait_for_console_pattern("ast2600-default login:")
+
+
+if __name__ == '__main__':
+    AspeedTest.main()

Kane,

Quoted 6 lines

This test doesn't add much compared to the sdk boot. Is it possible to extend to exercise the OTP feature ?

Thanks,

C.

Hi Cédric,

Thanks for the feedback. I will extend the test case as suggested.

I plan to implement the OTP verification at the U-Boot stage using the U-Boot OTP tool, as this will significantly speed up the test execution. However, if you would prefer the testing to be done later within the BMC Linux stage, please let me know.

Best Regards,
Kane

#4 lore raw

Re: [PATCH 1/2] tests/functional: Split Aspeed ARM tests into separate files

Hello Kane,

Quoted 5 lines

Thanks for the feedback. I will extend the test case as suggested.

I plan to implement the OTP verification at the U-Boot stage using the U-Boot OTP tool, as this will significantly speed up the test execution. However, if you would prefer the testing to be done later within the BMC Linux stage, please let me know.

I would say the faster the better but if you think that checking from U-Boot *and* from Linux is useful. Let's have both.

Please send changes on top of this series, or aspeed-next.

Reviews are welcome.

Thanks,

C.

#5 lore raw

RE: [PATCH 1/2] tests/functional: Split Aspeed ARM tests into separate files

Quoted 25 lines

-----Original Message-----
From: Cédric Le Goater <[email protected]>
Sent: Monday, February 9, 2026 5:34 PM
To: Kane Chen <[email protected]>; Cédric Le Goater <[email protected]>; [email protected]; [email protected]
Cc: Peter Maydell <[email protected]>; Steven Lee <[email protected]>; Troy Lee <[email protected]>; Jamin Lin <[email protected]>; Andrew Jeffery <[email protected]>; Joel Stanley <[email protected]>; Thomas Huth <[email protected]>
Subject: Re: [PATCH 1/2] tests/functional: Split Aspeed ARM tests into separate files

Hello Kane,

Quoted 5 lines

Thanks for the feedback. I will extend the test case as suggested.

I plan to implement the OTP verification at the U-Boot stage using the U-Boot OTP tool, as this will significantly speed up the test execution. However, if you would prefer the testing to be done later within

the BMC Linux stage, please let me know.

I would say the faster the better but if you think that checking from U-Boot *and* from Linux is useful. Let's have both.

Quoted 7 lines

Please send changes on top of this series, or aspeed-next.

Reviews are welcome.

Thanks,

C.

Hi Cédric,

No problem. I agree that having both is more robust. I will update the test flow as follows:

1. Boot to U-Boot to change the OTP setting.
2. Boot to Linux to verify the change.
3. Reboot back to U-Boot to perform a final verification.

This should cover the validation in both stages and ensure the settings persist. I'll submit the changes to aspeed-next shortly.

Best Regards,
Kane

#9 lore raw
In reply to Cédric Le Goater

Jamin, Kane,

Could you please review this series ?

Thanks,

C.

Quoted 33 lines · Cédric Le Goater

Hi,

This allows the functional test suite to run tests in parallel more effectively and adds a new set of tests using the older Linux 5.15 kernel.

Thanks,

C.

Cédric Le Goater (2):
tests/functional: Split Aspeed ARM tests into separate files tests/functional: Add SDK tests with Linux 5.15

  tests/functional/arm/meson.build              | 18 ++++--
  tests/functional/arm/test_aspeed_ast1060.py   |  0
  ...00.py => test_aspeed_ast2500_buildroot.py} | 14 -----
  .../functional/arm/test_aspeed_ast2500_sdk.py | 29 +++++++++
  .../arm/test_aspeed_ast2500_sdk_515.py        | 29 +++++++++
  .../arm/test_aspeed_ast2600_buildroot.py      | 41 +------------
  .../arm/test_aspeed_ast2600_buildroot_tpm.py  | 60 +++++++++++++++++++
  .../functional/arm/test_aspeed_ast2600_sdk.py | 15 -----
  .../arm/test_aspeed_ast2600_sdk_515.py        | 29 +++++++++
  .../arm/test_aspeed_ast2600_sdk_otp.py        | 34 +++++++++++
  10 files changed, 196 insertions(+), 73 deletions(-)

mode change 100644 => 100755 tests/functional/arm/test_aspeed_ast1060.py rename tests/functional/arm/{test_aspeed_ast2500.py => test_aspeed_ast2500_buildroot.py} (74%) create mode 100755 tests/functional/arm/test_aspeed_ast2500_sdk.py
create mode 100755 tests/functional/arm/test_aspeed_ast2500_sdk_515.py
create mode 100755 tests/functional/arm/test_aspeed_ast2600_buildroot_tpm.py create mode 100755 tests/functional/arm/test_aspeed_ast2600_sdk_515.py
create mode 100755 tests/functional/arm/test_aspeed_ast2600_sdk_otp.py

#14 lore raw
In reply to Cédric Le Goater
Quoted 25 lines · Cédric Le Goater

Hi,

This allows the functional test suite to run tests in parallel more effectively and adds a new set of tests using the older Linux 5.15 kernel.

Thanks,

C.

Cédric Le Goater (2):
tests/functional: Split Aspeed ARM tests into separate files tests/functional: Add SDK tests with Linux 5.15

  tests/functional/arm/meson.build              | 18 ++++--
  tests/functional/arm/test_aspeed_ast1060.py   |  0
  ...00.py => test_aspeed_ast2500_buildroot.py} | 14 -----
  .../functional/arm/test_aspeed_ast2500_sdk.py | 29 +++++++++
  .../arm/test_aspeed_ast2500_sdk_515.py        | 29 +++++++++
  .../arm/test_aspeed_ast2600_buildroot.py      | 41 +------------
  .../arm/test_aspeed_ast2600_buildroot_tpm.py  | 60 +++++++++++++++++++
  .../functional/arm/test_aspeed_ast2600_sdk.py | 15 -----
  .../arm/test_aspeed_ast2600_sdk_515.py        | 29 +++++++++
  .../arm/test_aspeed_ast2600_sdk_otp.py        | 34 +++++++++++
  10 files changed, 196 insertions(+), 73 deletions(-)
Quoted 8 lines

mode change 100644 => 100755 tests/functional/arm/test_aspeed_ast1060.py rename tests/functional/arm/{test_aspeed_ast2500.py => test_aspeed_ast2500_buildroot.py} (74%) create mode 100755 tests/functional/arm/test_aspeed_ast2500_sdk.py
create mode 100755 tests/functional/arm/test_aspeed_ast2500_sdk_515.py
create mode 100755 tests/functional/arm/test_aspeed_ast2600_buildroot_tpm.py create mode 100755 tests/functional/arm/test_aspeed_ast2600_sdk_515.py
create mode 100755 tests/functional/arm/test_aspeed_ast2600_sdk_otp.py

Applied to aspeed-next.

Thanks,

C.

Reviewed-by on v1 1/2
#6 lore raw

RE: [PATCH 1/2] tests/functional: Split Aspeed ARM tests into separate files

In reply to Cédric Le Goater
Quoted 373 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Cé dric Le Goater
Sent: Monday, February 9, 2026 2:51 PM
To: [email protected]; [email protected]
Cc: Peter Maydell <[email protected]>; Steven Lee <[email protected]>; Troy Lee <[email protected]>; Jamin Lin <[email protected]>; Andrew Jeffery <[email protected]>; Joel Stanley <[email protected]>; Thomas Huth <[email protected]>; C?dric Le Goater <[email protected]>
Subject: [PATCH 1/2] tests/functional: Split Aspeed ARM tests into separate files

Reorganize the monolithic Aspeed functional test files into separate files based on firmware type (Buildroot vs SDK) and specific test scenarios. This allows the test suite to run tests in parallel more effectively and makes it easier to identify and run specific test scenarios independently.

---
 tests/functional/arm/meson.build              | 14 +++--
 tests/functional/arm/test_aspeed_ast1060.py   |  0
 ...00.py => test_aspeed_ast2500_buildroot.py} | 14
-----  .../functional/arm/test_aspeed_ast2500_sdk.py | 29 +++++++++
 .../arm/test_aspeed_ast2600_buildroot.py      | 41 +------------
 .../arm/test_aspeed_ast2600_buildroot_tpm.py  | 60
+++++++++++++++++++  .../functional/arm/test_aspeed_ast2600_sdk.py |
15 -----
 .../arm/test_aspeed_ast2600_sdk_otp.py        | 34 +++++++++++
 8 files changed, 134 insertions(+), 73 deletions(-)  mode change 100644 =>
100755 tests/functional/arm/test_aspeed_ast1060.py
 rename tests/functional/arm/{test_aspeed_ast2500.py =>
test_aspeed_ast2500_buildroot.py} (74%)  create mode 100755
tests/functional/arm/test_aspeed_ast2500_sdk.py
 create mode 100755
tests/functional/arm/test_aspeed_ast2600_buildroot_tpm.py
 create mode 100755 tests/functional/arm/test_aspeed_ast2600_sdk_otp.py
tests/functional/arm/meson.build +9 -4
index 1762a496049d..175a83a2acd7 100644
@@ -4,9 +4,12 @@ test_arm_timeouts = {
   'aspeed_palmetto' : 120,
   'aspeed_romulus' : 120,
   'aspeed_witherspoon' : 120,
-  'aspeed_ast2500' : 720,
-  'aspeed_ast2600_buildroot' : 720,
-  'aspeed_ast2600_sdk' : 1200,
+  'aspeed_ast2500_sdk' : 720,
+  'aspeed_ast2500_buildroot' : 480,
+  'aspeed_ast2600_buildroot' : 480,
+  'aspeed_ast2600_buildroot_tpm' : 720,  'aspeed_ast2600_sdk' : 720,
+ 'aspeed_ast2600_sdk_otp' : 720,
   'aspeed_bletchley' : 480,
   'aspeed_catalina' : 480,
   'aspeed_gb200nvl_bmc' : 480,
@@ -32,9 +35,12 @@ tests_arm_system_thorough = [
   'aspeed_palmetto',
   'aspeed_romulus',
   'aspeed_witherspoon',
-  'aspeed_ast2500',
+  'aspeed_ast2500_sdk',
+  'aspeed_ast2500_buildroot',
   'aspeed_ast2600_buildroot',
+  'aspeed_ast2600_buildroot_tpm',
   'aspeed_ast2600_sdk',
+  'aspeed_ast2600_sdk_otp',
   'aspeed_bletchley',
   'aspeed_catalina',
   'aspeed_gb200nvl_bmc',
tests/functional/arm/test_aspeed_ast1060.py +0 -0
old mode 100644
new mode 100755
tests/functional/arm/test_aspeed_ast2500_buildroot.py renamed from tests/functional/arm/test_aspeed_ast2500.py +0 -2
similarity index 74%
rename from tests/functional/arm/test_aspeed_ast2500.py
rename to tests/functional/arm/test_aspeed_ast2500_buildroot.py
index 5d75e20184d6..8196923ee04d 100755
@@ -37,20 +37,6 @@ def test_arm_ast2500_evb_buildroot(self):
 
         self.do_test_arm_aspeed_buildroot_poweroff()
 
-    ASSET_SDK_V1000_AST2500 = Asset(
-

'https://github.com/AspeedTech-BMC/openbmc/releases/download/v10.00/a st2500-default-obmc.tar.gz',
- '7d71a3f71d5f4d9f3451f59a73bf9baf8fd9f6a24107eb504a3216151a8b2b5b')

tests/functional/arm/test_aspeed_ast2500_buildroot.py renamed from tests/functional/arm/test_aspeed_ast2500.py +0 -11
-
-    def test_arm_ast2500_evb_sdk(self):
-        self.set_machine('ast2500-evb')
-
-        self.archive_extract(self.ASSET_SDK_V1000_AST2500)
-
-        self.do_test_arm_aspeed_sdk_start(
-            self.scratch_file("ast2500-default", "image-bmc"))
-
-        self.wait_for_console_pattern('ast2500-default login:')
-
 
 if __name__ == '__main__':
     AspeedTest.main()
tests/functional/arm/test_aspeed_ast2500_sdk.py new file +13 -0
new file mode 100755
index 000000000000..2c9211aeddc8
@@ -0,0 +1,29 @@
+#!/usr/bin/env python3
+#
+# Functional test that boots the ASPEED machines # #
+SPDX-License-Identifier: GPL-2.0-or-later
+
+from qemu_test import Asset
+from aspeed import AspeedTest
+
+
+class AST2500Machine(AspeedTest):
+
+    ASSET_SDK_V1000_AST2500 = Asset(
+

'https://github.com/AspeedTech-BMC/openbmc/releases/download/v10.00/a st2500-default-obmc.tar.gz',

tests/functional/arm/test_aspeed_ast2500_sdk.py new file +2 -0
+
+

'7d71a3f71d5f4d9f3451f59a73bf9baf8fd9f6a24107eb504a3216151a8b2b5b')

tests/functional/arm/test_aspeed_ast2500_sdk.py new file +14 -0
+
+    def test_arm_ast2500_evb_sdk(self):
+        self.set_machine('ast2500-evb')
+
+        self.archive_extract(self.ASSET_SDK_V1000_AST2500)
+
+        self.do_test_arm_aspeed_sdk_start(
+            self.scratch_file("ast2500-default", "image-bmc"))
+
+        self.wait_for_console_pattern('ast2500-default login:')
+
+
+if __name__ == '__main__':
+    AspeedTest.main()
tests/functional/arm/test_aspeed_ast2600_buildroot.py +0 -1
index 3d130b9fd189..cc5ab9796a5e 100755
@@ -11,7 +11,7 @@
 
 from aspeed import AspeedTest
 from qemu_test import Asset
-from qemu_test import exec_command_and_wait_for_pattern,

skipIfMissingCommands

tests/functional/arm/test_aspeed_ast2600_buildroot.py +1 -4
+from qemu_test import exec_command_and_wait_for_pattern
 
 
 class AST2600Machine(AspeedTest):
@@ -61,45 +61,6 @@ def test_arm_ast2600_evb_buildroot(self):
              '0000000 ffaa ffff ffff ffff ffff ffff ffff ffff')
         self.do_test_arm_aspeed_buildroot_poweroff()
 
-    ASSET_BR2_202302_AST2600_TPM_FLASH = Asset(
-        ('https://github.com/legoater/qemu-aspeed-boot/raw/master/'
-         'images/ast2600-evb/buildroot-2023.02-tpm/flash.img'),
-

'a46009ae8a5403a0826d607215e731a8c68d27c14c41e55331706b8f9c7bd99 7')

tests/functional/arm/test_aspeed_ast2600_buildroot.py +0 -3
-
-    def _test_arm_ast2600_evb_buildroot_tpm(self, tpmstate_dir):
-        image_path =

self.ASSET_BR2_202302_AST2600_TPM_FLASH.fetch()

tests/functional/arm/test_aspeed_ast2600_buildroot.py +0 -15
-
-        socket = os.path.join(tpmstate_dir, 'swtpm-socket')
-
-        # We must put the TPM state dir in /tmp/, not the build dir,
-        # because some distros use AppArmor to lock down swtpm and
-        # restrict the set of locations it can access files in.
-        subprocess.run(['swtpm', 'socket', '-d', '--tpm2',
-                        '--tpmstate', f'dir={tpmstate_dir}',
-                        '--ctrl', f'type=unixio,path={socket}'],
-                       check=True)
-
-        self.vm.add_args('-chardev', f'socket,id=chrtpm,path={socket}')
-        self.vm.add_args('-tpmdev', 'emulator,id=tpm0,chardev=chrtpm')
-        self.vm.add_args('-device',
-

'tpm-tis-i2c,tpmdev=tpm0,bus=aspeed.i2c.bus.12,address=0x2e')
- self.do_test_arm_aspeed_buildroot_start(image_path, '0xf00',
'Aspeed AST2600 EVB')

tests/functional/arm/test_aspeed_ast2600_buildroot.py +0 -3
-
-        exec_command_and_wait_for_pattern(self,
-            'echo tpm_tis_i2c 0x2e >

/sys/bus/i2c/devices/i2c-12/new_device',

tests/functional/arm/test_aspeed_ast2600_buildroot.py +0 -4
-            'tpm_tis_i2c 12-002e: 2.0 TPM (device-id 0x1, rev-id 1)')
-        exec_command_and_wait_for_pattern(self,
-            'cat /sys/class/tpm/tpm0/pcr-sha256/0',
-

'B804724EA13F52A9072BA87FE8FDCC497DFC9DF9AA15B9088694639C43168 8E0')

tests/functional/arm/test_aspeed_ast2600_buildroot.py +0 -7
-
-        self.do_test_arm_aspeed_buildroot_poweroff()
-
-    @skipIfMissingCommands('swtpm')
-    def test_arm_ast2600_evb_buildroot_tpm(self):
-        self.set_machine('ast2600-evb')
-        with tempfile.TemporaryDirectory(prefix="qemu_") as

tpmstate_dir:

tests/functional/arm/test_aspeed_ast2600_buildroot.py +0 -2
-            self._test_arm_ast2600_evb_buildroot_tpm(tpmstate_dir)
-
 
 if __name__ == '__main__':
     AspeedTest.main()
tests/functional/arm/test_aspeed_ast2600_buildroot_tpm.py new file +23 -0
new file mode 100755
index 000000000000..7ec996e9cf22
@@ -0,0 +1,60 @@
+#!/usr/bin/env python3
+#
+# Functional test that boots the ASPEED machines # #
+SPDX-License-Identifier: GPL-2.0-or-later
+
+import os
+import time
+import tempfile
+import subprocess
+
+from aspeed import AspeedTest
+from qemu_test import Asset
+from qemu_test import exec_command_and_wait_for_pattern,
+skipIfMissingCommands
+
+
+class AST2600Machine(AspeedTest):
+
+    ASSET_BR2_202302_AST2600_TPM_FLASH = Asset(
+        ('https://github.com/legoater/qemu-aspeed-boot/raw/master/'
+         'images/ast2600-evb/buildroot-2023.02-tpm/flash.img'),
+
+

'a46009ae8a5403a0826d607215e731a8c68d27c14c41e55331706b8f9c7bd99 7')

tests/functional/arm/test_aspeed_ast2600_buildroot_tpm.py new file +3 -0
+
+    def _test_arm_ast2600_evb_buildroot_tpm(self, tpmstate_dir):
+        image_path =

self.ASSET_BR2_202302_AST2600_TPM_FLASH.fetch()

tests/functional/arm/test_aspeed_ast2600_buildroot_tpm.py new file +15 -0
+
+        socket = os.path.join(tpmstate_dir, 'swtpm-socket')
+
+        # We must put the TPM state dir in /tmp/, not the build dir,
+        # because some distros use AppArmor to lock down swtpm and
+        # restrict the set of locations it can access files in.
+        subprocess.run(['swtpm', 'socket', '-d', '--tpm2',
+                        '--tpmstate', f'dir={tpmstate_dir}',
+                        '--ctrl', f'type=unixio,path={socket}'],
+                       check=True)
+
+        self.vm.add_args('-chardev', f'socket,id=chrtpm,path={socket}')
+        self.vm.add_args('-tpmdev', 'emulator,id=tpm0,chardev=chrtpm')
+        self.vm.add_args('-device',
+

'tpm-tis-i2c,tpmdev=tpm0,bus=aspeed.i2c.bus.12,address=0x2e')

tests/functional/arm/test_aspeed_ast2600_buildroot_tpm.py new file +5 -0
+        self.do_test_arm_aspeed_buildroot_start(image_path, '0xf00',
+ 'Aspeed AST2600 EVB')
+
+        exec_command_and_wait_for_pattern(self,
+            'echo tpm_tis_i2c 0x2e >

/sys/bus/i2c/devices/i2c-12/new_device',

tests/functional/arm/test_aspeed_ast2600_buildroot_tpm.py new file +5 -0
+            'tpm_tis_i2c 12-002e: 2.0 TPM (device-id 0x1, rev-id 1)')
+        exec_command_and_wait_for_pattern(self,
+            'cat /sys/class/tpm/tpm0/pcr-sha256/0',
+
+

'B804724EA13F52A9072BA87FE8FDCC497DFC9DF9AA15B9088694639C43168 8E0')

tests/functional/arm/test_aspeed_ast2600_buildroot_tpm.py new file +7 -0
+
+        self.do_test_arm_aspeed_buildroot_poweroff()
+
+    @skipIfMissingCommands('swtpm')
+    def test_arm_ast2600_evb_buildroot_tpm(self):
+        self.set_machine('ast2600-evb')
+        with tempfile.TemporaryDirectory(prefix="qemu_") as

tpmstate_dir:

tests/functional/arm/test_aspeed_ast2600_buildroot_tpm.py new file +5 -0
+            self._test_arm_ast2600_evb_buildroot_tpm(tpmstate_dir)
+
+
+if __name__ == '__main__':
+    AspeedTest.main()
tests/functional/arm/test_aspeed_ast2600_sdk.py +0 -15
index 3485feaf2c39..46b9f7058c08 100755
@@ -82,21 +82,6 @@ def test_arm_ast2600_evb_sdk(self):
         self.do_ast2600_pcie_test()
         self.do_ast2600_i3c_test()
 
-    def test_arm_ast2600_otp_blockdev_device(self):
-        self.vm.set_machine("ast2600-evb")
-
-        image_path =
 self.archive_extract(self.ASSET_SDK_V1100_AST2600)
-        otp_img = self.generate_otpmem_image()
-
-        self.vm.set_console()
-        self.vm.add_args(
-            "-blockdev",
 f"driver=file,filename={otp_img},node-name=otp",
-            "-global", "aspeed-otp.drive=otp",
-        )
-        self.do_test_arm_aspeed_sdk_start(
-            self.scratch_file("ast2600-default", "image-bmc"))
-        self.wait_for_console_pattern("ast2600-default login:")
-
 

if __name__ == '__main__':
AspeedTest.main()

tests/functional/arm/test_aspeed_ast2600_sdk_otp.py new file +13 -0
new file mode 100755
index 000000000000..4066532d5dec
@@ -0,0 +1,34 @@
+#!/usr/bin/env python3
+#
+# Functional test that boots the ASPEED machines # #
+SPDX-License-Identifier: GPL-2.0-or-later
+
+from qemu_test import Asset
+from aspeed import AspeedTest
+
+
+class AST2600Machine(AspeedTest):
+
+    ASSET_SDK_V1100_AST2600 = Asset(
+

'https://github.com/AspeedTech-BMC/openbmc/releases/download/v11.00/a st2600-default-obmc.tar.gz',

tests/functional/arm/test_aspeed_ast2600_sdk_otp.py new file +2 -0
+
+

'64d8926a7d01b649168be96c986603b5690f06391286c438a3a772c8c7039e9 3')

tests/functional/arm/test_aspeed_ast2600_sdk_otp.py new file +5 -0
+
+    def test_arm_ast2600_otp_blockdev_device(self):
+        self.vm.set_machine("ast2600-evb")
+
+        image_path =

self.archive_extract(self.ASSET_SDK_V1100_AST2600)

tests/functional/arm/test_aspeed_ast2600_sdk_otp.py new file +5 -0
+        otp_img = self.generate_otpmem_image()
+
+        self.vm.set_console()
+        self.vm.add_args(
+            "-blockdev",

f"driver=file,filename={otp_img},node-name=otp",

tests/functional/arm/test_aspeed_ast2600_sdk_otp.py new file +9 -1
+            "-global", "aspeed-otp.drive=otp",
+        )
+        self.do_test_arm_aspeed_sdk_start(
+            self.scratch_file("ast2600-default", "image-bmc"))
+        self.wait_for_console_pattern("ast2600-default login:")
+
+
+if __name__ == '__main__':
+    AspeedTest.main()
--
Quoted 2 lines

2.53.0

Best Regards,
Kane

Reviewed-by on v1 2/2
#8 lore raw

RE: [PATCH 2/2] tests/functional: Add SDK tests with Linux 5.15

In reply to Cédric Le Goater
Quoted 141 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Cé dric Le Goater
Sent: Monday, February 9, 2026 2:51 PM
To: [email protected]; [email protected]
Cc: Peter Maydell <[email protected]>; Steven Lee <[email protected]>; Troy Lee <[email protected]>; Jamin Lin <[email protected]>; Andrew Jeffery <[email protected]>; Joel Stanley <[email protected]>; Thomas Huth <[email protected]>; C?dric Le Goater <[email protected]>
Subject: [PATCH 2/2] tests/functional: Add SDK tests with Linux 5.15

Add functional tests for AST2500 and AST2600 machines using the OpenBMC SDK v11.00 with Linux kernel 5.15. These tests complement the existing SDK tests and verify that QEMU correctly boots older kernel versions on these platforms.

---
 tests/functional/arm/meson.build              |  4 +++
 .../arm/test_aspeed_ast2500_sdk_515.py        | 29
+++++++++++++++++++
 .../arm/test_aspeed_ast2600_sdk_515.py        | 29
+++++++++++++++++++
 3 files changed, 62 insertions(+)
 create mode 100755 tests/functional/arm/test_aspeed_ast2500_sdk_515.py
 create mode 100755 tests/functional/arm/test_aspeed_ast2600_sdk_515.py
tests/functional/arm/meson.build +4 -0
index 175a83a2acd7..2f538f29a2de 100644
@@ -5,10 +5,12 @@ test_arm_timeouts = {
   'aspeed_romulus' : 120,
   'aspeed_witherspoon' : 120,
   'aspeed_ast2500_sdk' : 720,
+  'aspeed_ast2500_sdk_515' : 720,
   'aspeed_ast2500_buildroot' : 480,
   'aspeed_ast2600_buildroot' : 480,
   'aspeed_ast2600_buildroot_tpm' : 720,
   'aspeed_ast2600_sdk' : 720,
+  'aspeed_ast2600_sdk_515' : 720,
   'aspeed_ast2600_sdk_otp' : 720,
   'aspeed_bletchley' : 480,
   'aspeed_catalina' : 480,
@@ -36,10 +38,12 @@ tests_arm_system_thorough = [
   'aspeed_romulus',
   'aspeed_witherspoon',
   'aspeed_ast2500_sdk',
+  'aspeed_ast2500_sdk_515',
   'aspeed_ast2500_buildroot',
   'aspeed_ast2600_buildroot',
   'aspeed_ast2600_buildroot_tpm',
   'aspeed_ast2600_sdk',
+  'aspeed_ast2600_sdk_515',
   'aspeed_ast2600_sdk_otp',
   'aspeed_bletchley',
   'aspeed_catalina',
tests/functional/arm/test_aspeed_ast2500_sdk_515.py new file +13 -0
new file mode 100755
index 000000000000..464a4e43961d
@@ -0,0 +1,29 @@
+#!/usr/bin/env python3
+#
+# Functional test that boots the ASPEED machines # #
+SPDX-License-Identifier: GPL-2.0-or-later
+
+from qemu_test import Asset
+from aspeed import AspeedTest
+
+
+class AST2500Machine(AspeedTest):
+
+    ASSET_SDK_V1100_AST2500_515 = Asset(
+

'https://github.com/AspeedTech-BMC/openbmc/releases/download/v11.00/a st2500-default-515-obmc.tar.gz',

tests/functional/arm/test_aspeed_ast2500_sdk_515.py new file +2 -0
+
+

'5732255d4617d98b76bbbc116d331d6ac89906fa212969eb8213fdc4aea8645 1')

tests/functional/arm/test_aspeed_ast2500_sdk_515.py new file +14 -0
+
+    def test_arm_ast2500_evb_sdk_515(self):
+        self.set_machine('ast2500-evb')
+
+        self.archive_extract(self.ASSET_SDK_V1100_AST2500_515)
+
+        self.do_test_arm_aspeed_sdk_start(
+            self.scratch_file("ast2500-default-515", "image-bmc"))
+
+        self.wait_for_console_pattern('ast2500-default-515 login:')
+
+
+if __name__ == '__main__':
+    AspeedTest.main()
tests/functional/arm/test_aspeed_ast2600_sdk_515.py new file +13 -0
new file mode 100755
index 000000000000..f48da301d567
@@ -0,0 +1,29 @@
+#!/usr/bin/env python3
+#
+# Functional test that boots the ASPEED machines # #
+SPDX-License-Identifier: GPL-2.0-or-later
+
+from qemu_test import Asset
+from aspeed import AspeedTest
+
+
+class AST2600Machine(AspeedTest):
+
+    ASSET_SDK_V1100_AST2600_515 = Asset(
+

'https://github.com/AspeedTech-BMC/openbmc/releases/download/v11.00/a st2600-default-515-obmc.tar.gz',

tests/functional/arm/test_aspeed_ast2600_sdk_515.py new file +2 -0
+
+

'ece1a934095378929780f03e7d092e562f4b33b2841b80ad7c3d12a85744c0f6 ')

tests/functional/arm/test_aspeed_ast2600_sdk_515.py new file +14 -1
+
+    def test_arm_ast2600_evb_sdk_515(self):
+        self.set_machine('ast2600-evb')
+
+        self.archive_extract(self.ASSET_SDK_V1100_AST2600_515)
+
+        self.do_test_arm_aspeed_sdk_start(
+            self.scratch_file("ast2600-default-515", "image-bmc"))
+
+        self.wait_for_console_pattern('ast2600-default-515 login:')
+
+
+if __name__ == '__main__':
+    AspeedTest.main()
--
Quoted 1 line

2.53.0

Best Regards,
Kane

#10 lore raw
In reply to Cédric Le Goater
Quoted 52 lines

-----Original Message-----
From: Cédric Le Goater <[email protected]>
Sent: Wednesday, February 11, 2026 4:33 PM
To: Cédric Le Goater <[email protected]>; [email protected]; [email protected]
Cc: Peter Maydell <[email protected]>; Steven Lee <[email protected]>; Troy Lee <[email protected]>; Jamin Lin <[email protected]>; Andrew Jeffery <[email protected]>; Joel Stanley <[email protected]>; Thomas Huth <[email protected]>; Kane Chen <[email protected]>
Subject: Re: [PATCH 0/2] tests/functional: Aspeed ARM tests enhancements

Jamin, Kane,

Could you please review this series ?

Thanks,

C.

Quoted 14 lines · Cédric Le Goater

Hi,

This allows the functional test suite to run tests in parallel more effectively and adds a new set of tests using the older Linux 5.15 kernel.

Thanks,

C.

Cédric Le Goater (2):
tests/functional: Split Aspeed ARM tests into separate files tests/functional: Add SDK tests with Linux 5.15

Quoted 7 lines
  tests/functional/arm/meson.build              | 18 ++++--
  tests/functional/arm/test_aspeed_ast1060.py   |  0
  ...00.py => test_aspeed_ast2500_buildroot.py} | 14 -----
  .../functional/arm/test_aspeed_ast2500_sdk.py | 29 +++++++++
  .../arm/test_aspeed_ast2500_sdk_515.py        | 29 +++++++++
  .../arm/test_aspeed_ast2600_buildroot.py      | 41 +------------
  .../arm/test_aspeed_ast2600_buildroot_tpm.py  | 60

+++++++++++++++++++

Quoted 5 lines
  .../functional/arm/test_aspeed_ast2600_sdk.py | 15 -----
  .../arm/test_aspeed_ast2600_sdk_515.py        | 29 +++++++++
  .../arm/test_aspeed_ast2600_sdk_otp.py        | 34 +++++++++++
  10 files changed, 196 insertions(+), 73 deletions(-)

mode change 100644 => 100755

tests/functional/arm/test_aspeed_ast1060.py

Quoted 1 line

rename tests/functional/arm/{test_aspeed_ast2500.py =>

Quoted 11 lines

test_aspeed_ast2500_buildroot.py} (74%)

Quoted 2 lines

create mode 100755 tests/functional/arm/test_aspeed_ast2500_sdk.py create mode 100755

tests/functional/arm/test_aspeed_ast2500_sdk_515.py

Quoted 1 line

create mode 100755

tests/functional/arm/test_aspeed_ast2600_buildroot_tpm.py

Quoted 1 line

create mode 100755

tests/functional/arm/test_aspeed_ast2600_sdk_515.py

Quoted 3 lines

create mode 100755
tests/functional/arm/test_aspeed_ast2600_sdk_otp.py

Hi Cédric,

Thank you for the effort in improving the test suite. The separation into firmware-specific files makes it much clearer.

This series is reviewed.

Best Regards,
Kane

#11 lore raw

Hello Kane,

Quoted 64 lines · Kane Chen
Quoted 52 lines

-----Original Message-----
From: Cédric Le Goater <[email protected]>
Sent: Wednesday, February 11, 2026 4:33 PM
To: Cédric Le Goater <[email protected]>; [email protected]; [email protected]
Cc: Peter Maydell <[email protected]>; Steven Lee <[email protected]>; Troy Lee <[email protected]>; Jamin Lin <[email protected]>; Andrew Jeffery <[email protected]>; Joel Stanley <[email protected]>; Thomas Huth <[email protected]>; Kane Chen <[email protected]>
Subject: Re: [PATCH 0/2] tests/functional: Aspeed ARM tests enhancements

Jamin, Kane,

Could you please review this series ?

Thanks,

C.

Quoted 14 lines · Cédric Le Goater

Hi,

This allows the functional test suite to run tests in parallel more effectively and adds a new set of tests using the older Linux 5.15 kernel.

Thanks,

C.

Cédric Le Goater (2):
tests/functional: Split Aspeed ARM tests into separate files tests/functional: Add SDK tests with Linux 5.15

Quoted 7 lines
   tests/functional/arm/meson.build              | 18 ++++--
   tests/functional/arm/test_aspeed_ast1060.py   |  0
   ...00.py => test_aspeed_ast2500_buildroot.py} | 14 -----
   .../functional/arm/test_aspeed_ast2500_sdk.py | 29 +++++++++
   .../arm/test_aspeed_ast2500_sdk_515.py        | 29 +++++++++
   .../arm/test_aspeed_ast2600_buildroot.py      | 41 +------------
   .../arm/test_aspeed_ast2600_buildroot_tpm.py  | 60

+++++++++++++++++++

Quoted 5 lines
   .../functional/arm/test_aspeed_ast2600_sdk.py | 15 -----
   .../arm/test_aspeed_ast2600_sdk_515.py        | 29 +++++++++
   .../arm/test_aspeed_ast2600_sdk_otp.py        | 34 +++++++++++
   10 files changed, 196 insertions(+), 73 deletions(-)

mode change 100644 => 100755

tests/functional/arm/test_aspeed_ast1060.py

Quoted 1 line

rename tests/functional/arm/{test_aspeed_ast2500.py =>

Quoted 11 lines

test_aspeed_ast2500_buildroot.py} (74%)

Quoted 2 lines
   create mode 100755 tests/functional/arm/test_aspeed_ast2500_sdk.py
   create mode 100755

tests/functional/arm/test_aspeed_ast2500_sdk_515.py

Quoted 1 line
   create mode 100755

tests/functional/arm/test_aspeed_ast2600_buildroot_tpm.py

Quoted 1 line
   create mode 100755

tests/functional/arm/test_aspeed_ast2600_sdk_515.py

Quoted 3 lines
   create mode 100755

tests/functional/arm/test_aspeed_ast2600_sdk_otp.py

Quoted 6 lines

Hi Cédric,

Thank you for the effort in improving the test suite. The separation into firmware-specific files makes it much clearer.

This series is reviewed.

Could you please send a Reviewed-by: tag ?

Thanks,

C.

#12 lore raw
Quoted 67 lines · Cédric Le Goater

Hello Kane,

Quoted 64 lines · Kane Chen
Quoted 63 lines

-----Original Message-----
From: Cédric Le Goater <[email protected]>
Sent: Wednesday, February 11, 2026 4:33 PM
To: Cédric Le Goater <[email protected]>; [email protected]; [email protected]
Cc: Peter Maydell <[email protected]>; Steven Lee <[email protected]>; Troy Lee <[email protected]>; Jamin Lin <[email protected]>; Andrew Jeffery <[email protected]>; Joel Stanley <[email protected]>; Thomas Huth <[email protected]>; Kane Chen <[email protected]>
Subject: Re: [PATCH 0/2] tests/functional: Aspeed ARM tests enhancements

Jamin, Kane,

Could you please review this series ?

Thanks,

C.

Quoted 14 lines · Cédric Le Goater

Hi,

This allows the functional test suite to run tests in parallel more effectively and adds a new set of tests using the older Linux 5.15 kernel.

Thanks,

C.

Cédric Le Goater (2):
    tests/functional: Split Aspeed ARM tests into separate files tests/functional: Add SDK tests with Linux 5.15

Quoted 7 lines

   tests/functional/arm/meson.build              | 18 ++++-- tests/functional/arm/test_aspeed_ast1060.py   |  0 ...00.py => test_aspeed_ast2500_buildroot.py} | 14 ----- .../functional/arm/test_aspeed_ast2500_sdk.py | 29 +++++++++ .../arm/test_aspeed_ast2500_sdk_515.py        | 29 +++++++++ .../arm/test_aspeed_ast2600_buildroot.py      | 41 +------------ .../arm/test_aspeed_ast2600_buildroot_tpm.py  | 60

+++++++++++++++++++

Quoted 5 lines

   .../functional/arm/test_aspeed_ast2600_sdk.py | 15 ----- .../arm/test_aspeed_ast2600_sdk_515.py        | 29 +++++++++ .../arm/test_aspeed_ast2600_sdk_otp.py        | 34 +++++++++++

   10 files changed, 196 insertions(+), 73 deletions(-)

   mode change 100644 => 100755

tests/functional/arm/test_aspeed_ast1060.py

Quoted 1 line

   rename tests/functional/arm/{test_aspeed_ast2500.py =>

test_aspeed_ast2500_buildroot.py} (74%)

Quoted 2 lines

   create mode 100755 tests/functional/arm/test_aspeed_ast2500_sdk.py create mode 100755

tests/functional/arm/test_aspeed_ast2500_sdk_515.py

Quoted 1 line

   create mode 100755

tests/functional/arm/test_aspeed_ast2600_buildroot_tpm.py

Quoted 1 line

   create mode 100755

tests/functional/arm/test_aspeed_ast2600_sdk_515.py

Quoted 3 lines

   create mode 100755 tests/functional/arm/test_aspeed_ast2600_sdk_otp.py

Quoted 7 lines
Quoted 6 lines

Hi Cédric,

Thank you for the effort in improving the test suite. The separation into firmware-specific files makes it much clearer.

This series is reviewed.

Could you please send a Reviewed-by: tag ?

you did. I received them on my @redhat.com email.

Thanks !

C.

#13 lore raw
Quoted 93 lines

-----Original Message-----
From: Cédric Le Goater <[email protected]>
Sent: Thursday, February 12, 2026 4:10 PM
To: Cédric Le Goater <[email protected]>; Kane Chen <[email protected]>; [email protected]; [email protected]
Cc: Peter Maydell <[email protected]>; Steven Lee <[email protected]>; Troy Lee <[email protected]>; Jamin Lin <[email protected]>; Andrew Jeffery <[email protected]>; Joel Stanley <[email protected]>; Thomas Huth <[email protected]>
Subject: Re: [PATCH 0/2] tests/functional: Aspeed ARM tests enhancements

Quoted 10 lines · Cédric Le Goater

Hello Kane,

Quoted 7 lines · Kane Chen
Quoted 7 lines

-----Original Message-----
From: Cédric Le Goater <[email protected]>
Sent: Wednesday, February 11, 2026 4:33 PM
To: Cédric Le Goater <[email protected]>; [email protected]; [email protected]
Cc: Peter Maydell <[email protected]>; Steven Lee <[email protected]>; Troy Lee <[email protected]>; Jamin

Lin

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

<[email protected]>; Andrew Jeffery <[email protected]>; Joel Stanley <[email protected]>;

Thomas

Quoted 29 lines
Quoted 29 lines
Quoted 29 lines

Huth <[email protected]>; Kane Chen <[email protected]>
Subject: Re: [PATCH 0/2] tests/functional: Aspeed ARM tests enhancements

Jamin, Kane,

Could you please review this series ?

Thanks,

C.

Quoted 14 lines · Cédric Le Goater

Hi,

This allows the functional test suite to run tests in parallel more effectively and adds a new set of tests using the older Linux 5.15 kernel.

Thanks,

C.

Cédric Le Goater (2):
    tests/functional: Split Aspeed ARM tests into separate files tests/functional: Add SDK tests with Linux 5.15

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

   tests/functional/arm/meson.build              | 18 ++++-- tests/functional/arm/test_aspeed_ast1060.py   |  0 ...00.py => test_aspeed_ast2500_buildroot.py} | 14 ----- .../functional/arm/test_aspeed_ast2500_sdk.py | 29 +++++++++ .../arm/test_aspeed_ast2500_sdk_515.py        | 29

+++++++++

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 2 lines

   .../arm/test_aspeed_ast2600_buildroot.py      | 41 +------------ .../arm/test_aspeed_ast2600_buildroot_tpm.py  | 60

+++++++++++++++++++

Quoted 2 lines

   .../functional/arm/test_aspeed_ast2600_sdk.py | 15 ----- .../arm/test_aspeed_ast2600_sdk_515.py        | 29

+++++++++

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

   .../arm/test_aspeed_ast2600_sdk_otp.py        | 34

+++++++++++

Quoted 22 lines
Quoted 22 lines
Quoted 5 lines
Quoted 2 lines
   10 files changed, 196 insertions(+), 73 deletions(-)

   mode change 100644 => 100755

tests/functional/arm/test_aspeed_ast1060.py

Quoted 1 line

   rename tests/functional/arm/{test_aspeed_ast2500.py =>

test_aspeed_ast2500_buildroot.py} (74%)

Quoted 11 lines
Quoted 3 lines

   create mode 100755
tests/functional/arm/test_aspeed_ast2500_sdk.py
   create mode 100755

tests/functional/arm/test_aspeed_ast2500_sdk_515.py

Quoted 1 line

   create mode 100755

tests/functional/arm/test_aspeed_ast2600_buildroot_tpm.py

Quoted 1 line

   create mode 100755

tests/functional/arm/test_aspeed_ast2600_sdk_515.py

Quoted 3 lines

   create mode 100755 tests/functional/arm/test_aspeed_ast2600_sdk_otp.py

Hi Cédric,

Thank you for the effort in improving the test suite. The separation into firmware-specific files makes it much clearer.

Quoted 7 lines
Quoted 2 lines
Quoted 1 line

This series is reviewed.

Could you please send a Reviewed-by: tag ?

you did. I received them on my @redhat.com email.

Thanks !

C.

Hi Cédric,

Glad to hear you received them.

I was a bit concerned because I imported the emails from an mbox file into Outlook, and I wasn't sure if they would be sent or formatted correctly.

Best Regards,
Kane