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.

Link: https://lore.kernel.org/qemu-devel/20260209065044.239378-3-clg@redhat.com
Reviewed-by: Kane Chen <kane_chen@aspeedtech.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
This commit is contained in:
Cédric Le Goater
2026-02-09 07:50:44 +01:00
parent 6b1a1fc1d1
commit 308eef22d9
3 changed files with 62 additions and 0 deletions

View File

@@ -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',

View File

@@ -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()

View File

@@ -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()