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>,
"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>
Subject: [PATCH v1 3/3] tests/functional/aspeed: Update test ASPEED SDK v03.00 for AST1030
Date: Tue, 22 Apr 2025 17:15:03 +0800 [thread overview]
Message-ID: <20250422091504.3666464-4-jamin_lin@aspeedtech.com> (raw)
In-Reply-To: <20250422091504.3666464-1-jamin_lin@aspeedtech.com>
Updated test to target SDK version v03.00.
Removed redundant test case to simplify validation.
Cleaned up unsupported shell commands.
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
---
tests/functional/test_arm_aspeed_ast1030.py | 40 ++++-----------------
1 file changed, 7 insertions(+), 33 deletions(-)
diff --git a/tests/functional/test_arm_aspeed_ast1030.py b/tests/functional/test_arm_aspeed_ast1030.py
index d45d9f7c1c..dafa1d24cb 100755
--- a/tests/functional/test_arm_aspeed_ast1030.py
+++ b/tests/functional/test_arm_aspeed_ast1030.py
@@ -12,36 +12,17 @@
class AST1030Machine(LinuxKernelTest):
- ASSET_ZEPHYR_1_04 = Asset(
+ ASSET_ZEPHYR_3_00 = Asset(
('https://github.com/AspeedTech-BMC'
- '/zephyr/releases/download/v00.01.04/ast1030-evb-demo.zip'),
- '4ac6210adcbc61294927918707c6762483fd844dde5e07f3ba834ad1f91434d3')
+ '/zephyr/releases/download/v00.03.00/ast1030-evb-demo.zip'),
+ '37fe3ecd4a1b9d620971a15b96492a81093435396eeac69b6f3e384262ff555f')
- def test_ast1030_zephyros_1_04(self):
- self.set_machine('ast1030-evb')
-
- kernel_name = "ast1030-evb-demo/zephyr.elf"
- kernel_file = self.archive_extract(
- self.ASSET_ZEPHYR_1_04, member=kernel_name)
-
- self.vm.set_console()
- self.vm.add_args('-kernel', kernel_file, '-nographic')
- self.vm.launch()
- self.wait_for_console_pattern("Booting Zephyr OS")
- exec_command_and_wait_for_pattern(self, "help",
- "Available commands")
-
- ASSET_ZEPHYR_1_07 = Asset(
- ('https://github.com/AspeedTech-BMC'
- '/zephyr/releases/download/v00.01.07/ast1030-evb-demo.zip'),
- 'ad52e27959746988afaed8429bf4e12ab988c05c4d07c9d90e13ec6f7be4574c')
-
- def test_ast1030_zephyros_1_07(self):
+ def test_ast1030_zephyros_3_00(self):
self.set_machine('ast1030-evb')
kernel_name = "ast1030-evb-demo/zephyr.bin"
kernel_file = self.archive_extract(
- self.ASSET_ZEPHYR_1_07, member=kernel_name)
+ self.ASSET_ZEPHYR_3_00, member=kernel_name)
self.vm.set_console()
self.vm.add_args('-kernel', kernel_file, '-nographic')
@@ -49,17 +30,10 @@ def test_ast1030_zephyros_1_07(self):
self.wait_for_console_pattern("Booting Zephyr OS")
for shell_cmd in [
'kernel stacks',
- 'otp info conf',
- 'otp info scu',
'hwinfo devid',
'crypto aes256_cbc_vault',
- 'random get',
- 'jtag JTAG1 sw_xfer high TMS',
- 'adc ADC0 resolution 12',
- 'adc ADC0 read 42',
- 'adc ADC1 read 69',
- 'i2c scan I2C_0',
- 'i3c attach I3C_0',
+ 'jtag jtag@7e6e4100 sw_xfer high TMS',
+ 'iic scan i2c@7e7b0080',
'hash test',
'kernel uptime',
'kernel reboot warm',
--
2.43.0
WARNING: multiple messages have this Message-ID (diff)
From: Jamin Lin via <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>,
"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>
Subject: [PATCH v1 3/3] tests/functional/aspeed: Update test ASPEED SDK v03.00 for AST1030
Date: Tue, 22 Apr 2025 17:15:03 +0800 [thread overview]
Message-ID: <20250422091504.3666464-4-jamin_lin@aspeedtech.com> (raw)
In-Reply-To: <20250422091504.3666464-1-jamin_lin@aspeedtech.com>
Updated test to target SDK version v03.00.
Removed redundant test case to simplify validation.
Cleaned up unsupported shell commands.
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
---
tests/functional/test_arm_aspeed_ast1030.py | 40 ++++-----------------
1 file changed, 7 insertions(+), 33 deletions(-)
diff --git a/tests/functional/test_arm_aspeed_ast1030.py b/tests/functional/test_arm_aspeed_ast1030.py
index d45d9f7c1c..dafa1d24cb 100755
--- a/tests/functional/test_arm_aspeed_ast1030.py
+++ b/tests/functional/test_arm_aspeed_ast1030.py
@@ -12,36 +12,17 @@
class AST1030Machine(LinuxKernelTest):
- ASSET_ZEPHYR_1_04 = Asset(
+ ASSET_ZEPHYR_3_00 = Asset(
('https://github.com/AspeedTech-BMC'
- '/zephyr/releases/download/v00.01.04/ast1030-evb-demo.zip'),
- '4ac6210adcbc61294927918707c6762483fd844dde5e07f3ba834ad1f91434d3')
+ '/zephyr/releases/download/v00.03.00/ast1030-evb-demo.zip'),
+ '37fe3ecd4a1b9d620971a15b96492a81093435396eeac69b6f3e384262ff555f')
- def test_ast1030_zephyros_1_04(self):
- self.set_machine('ast1030-evb')
-
- kernel_name = "ast1030-evb-demo/zephyr.elf"
- kernel_file = self.archive_extract(
- self.ASSET_ZEPHYR_1_04, member=kernel_name)
-
- self.vm.set_console()
- self.vm.add_args('-kernel', kernel_file, '-nographic')
- self.vm.launch()
- self.wait_for_console_pattern("Booting Zephyr OS")
- exec_command_and_wait_for_pattern(self, "help",
- "Available commands")
-
- ASSET_ZEPHYR_1_07 = Asset(
- ('https://github.com/AspeedTech-BMC'
- '/zephyr/releases/download/v00.01.07/ast1030-evb-demo.zip'),
- 'ad52e27959746988afaed8429bf4e12ab988c05c4d07c9d90e13ec6f7be4574c')
-
- def test_ast1030_zephyros_1_07(self):
+ def test_ast1030_zephyros_3_00(self):
self.set_machine('ast1030-evb')
kernel_name = "ast1030-evb-demo/zephyr.bin"
kernel_file = self.archive_extract(
- self.ASSET_ZEPHYR_1_07, member=kernel_name)
+ self.ASSET_ZEPHYR_3_00, member=kernel_name)
self.vm.set_console()
self.vm.add_args('-kernel', kernel_file, '-nographic')
@@ -49,17 +30,10 @@ def test_ast1030_zephyros_1_07(self):
self.wait_for_console_pattern("Booting Zephyr OS")
for shell_cmd in [
'kernel stacks',
- 'otp info conf',
- 'otp info scu',
'hwinfo devid',
'crypto aes256_cbc_vault',
- 'random get',
- 'jtag JTAG1 sw_xfer high TMS',
- 'adc ADC0 resolution 12',
- 'adc ADC0 read 42',
- 'adc ADC1 read 69',
- 'i2c scan I2C_0',
- 'i3c attach I3C_0',
+ 'jtag jtag@7e6e4100 sw_xfer high TMS',
+ 'iic scan i2c@7e7b0080',
'hash test',
'kernel uptime',
'kernel reboot warm',
--
2.43.0
next prev parent reply other threads:[~2025-04-22 9:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-22 9:15 [PATCH v1 0/3] Update to test new ASPEED SDK version Jamin Lin via
2025-04-22 9:15 ` Jamin Lin via
2025-04-22 9:15 ` [PATCH v1 1/3] tests/functional/aspeed: Update test ASPEED SDK v09.06 for AST2500 Jamin Lin via
2025-04-22 11:58 ` Cédric Le Goater
2025-04-22 9:15 ` [PATCH v1 2/3] " Jamin Lin via
2025-04-22 9:15 ` Jamin Lin via
2025-04-22 12:00 ` Cédric Le Goater
2025-04-22 9:15 ` Jamin Lin via [this message]
2025-04-22 9:15 ` [PATCH v1 3/3] tests/functional/aspeed: Update test ASPEED SDK v03.00 for AST1030 Jamin Lin via
2025-04-22 11:41 ` Philippe Mathieu-Daudé
2025-04-22 11:58 ` Cédric Le Goater
2025-04-23 1:23 ` Jamin Lin
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=20250422091504.3666464-4-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=leetroy@gmail.com \
--cc=peter.maydell@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.