Skip to contentSkip to conversation

Update to test new ASPEED SDK version

PATCH Applied Jamin Lin via 3 participants 6 messages Apr 23, 2025 Arm/Aspeed machine support

lore
Share & tools
lore
#0 lore raw

v2 cover Update to test new ASPEED SDK version

v1:
Update to test new ASPEED SDK version for AST2600, AST2500 ,and AST1030.
v2:
Fix review issue for AST1030.

Jamin Lin (3):
tests/functional/aspeed: Update test ASPEED SDK v09.06 for AST2500 tests/functional/aspeed: Update test ASPEED SDK v09.06 for AST2600 tests/functional/aspeed: Update test ASPEED SDK v03.00 for AST1030

 tests/functional/test_arm_aspeed_ast1030.py | 10 +++++-----
 tests/functional/test_arm_aspeed_ast2500.py |  8 ++++----
 tests/functional/test_arm_aspeed_ast2600.py | 15 ++++++++-------
 3 files changed, 17 insertions(+), 16 deletions(-)
Signature · 1 line
2.43.0
#1 lore raw

PATCH v2 1/3 tests/functional/aspeed: Update test ASPEED SDK v09.06 for AST2500

---
 tests/functional/test_arm_aspeed_ast2500.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
tests/functional/test_arm_aspeed_ast2500.py +4 -4
index 1ffba6c995..90f3940e2a 100755
@@ -38,14 +38,14 @@ def test_arm_ast2500_evb_buildroot(self):
 
         self.do_test_arm_aspeed_buildroot_poweroff()
 
-    ASSET_SDK_V806_AST2500 = Asset(
-        'https://github.com/AspeedTech-BMC/openbmc/releases/download/v08.06/ast2500-default-obmc.tar.gz',
-        'e1755f3cadff69190438c688d52dd0f0d399b70a1e14b1d3d5540fc4851d38ca')
+    ASSET_SDK_V906_AST2500 = Asset(
+        'https://github.com/AspeedTech-BMC/openbmc/releases/download/v09.06/ast2500-default-obmc.tar.gz',
+        '542db84645b4efd8aed50385d7f4dd1caff379a987032311cfa7b563a3addb2a')
 
     def test_arm_ast2500_evb_sdk(self):
         self.set_machine('ast2500-evb')
 
-        self.archive_extract(self.ASSET_SDK_V806_AST2500)
+        self.archive_extract(self.ASSET_SDK_V906_AST2500)
 
         self.do_test_arm_aspeed_sdk_start(
             self.scratch_file("ast2500-default", "image-bmc"))
Signature · 1 line
2.43.0
#2 lore raw

PATCH v2 2/3 tests/functional/aspeed: Update test ASPEED SDK v09.06 for AST2600

In reply to Jamin Lin via

Update test for AST2600 production revision A3.

---
 tests/functional/test_arm_aspeed_ast2600.py | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
tests/functional/test_arm_aspeed_ast2600.py +8 -7
index 6ae4ed636a..c30397f60d 100755
@@ -97,26 +97,27 @@ def test_arm_ast2600_evb_buildroot_tpm(self):
 
         self.do_test_arm_aspeed_buildroot_poweroff()
 
-    ASSET_SDK_V806_AST2600_A2 = Asset(
-        'https://github.com/AspeedTech-BMC/openbmc/releases/download/v08.06/ast2600-a2-obmc.tar.gz',
-        '9083506135f622d5e7351fcf7d4e1c7125cee5ba16141220c0ba88931f3681a4')
+    ASSET_SDK_V906_AST2600 = Asset(
+        'https://github.com/AspeedTech-BMC/openbmc/releases/download/v09.06/ast2600-default-obmc.tar.gz',
+        '768d76e247896ad78c154b9cff4f766da2ce65f217d620b286a4a03a8a4f68f5')
 
     def test_arm_ast2600_evb_sdk(self):
         self.set_machine('ast2600-evb')
 
-        self.archive_extract(self.ASSET_SDK_V806_AST2600_A2)
+        self.archive_extract(self.ASSET_SDK_V906_AST2600)
 
         self.vm.add_args('-device',
             'tmp105,bus=aspeed.i2c.bus.5,address=0x4d,id=tmp-test');
         self.vm.add_args('-device',
             'ds1338,bus=aspeed.i2c.bus.5,address=0x32');
         self.do_test_arm_aspeed_sdk_start(
-            self.scratch_file("ast2600-a2", "image-bmc"))
+            self.scratch_file("ast2600-default", "image-bmc"))
 
-        self.wait_for_console_pattern('ast2600-a2 login:')
+        self.wait_for_console_pattern('ast2600-default login:')
 
         exec_command_and_wait_for_pattern(self, 'root', 'Password:')
-        exec_command_and_wait_for_pattern(self, '0penBmc', 'root@ast2600-a2:~#')
+        exec_command_and_wait_for_pattern(self, '0penBmc',
+                                          'root@ast2600-default:~#')
 
         exec_command_and_wait_for_pattern(self,
             'echo lm75 0x4d > /sys/class/i2c-dev/i2c-5/device/new_device',
Signature · 1 line
2.43.0
#3 lore raw

PATCH v2 3/3 tests/functional/aspeed: Update test ASPEED SDK v03.00 for AST1030

In reply to Jamin Lin via
---
 tests/functional/test_arm_aspeed_ast1030.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
tests/functional/test_arm_aspeed_ast1030.py +5 -5
index d45d9f7c1c..77037f0179 100755
@@ -12,17 +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):
+    def test_ast1030_zephyros_3_00(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.ASSET_ZEPHYR_3_00, member=kernel_name)
 
         self.vm.set_console()
         self.vm.add_args('-kernel', kernel_file, '-nographic')
Signature · 1 line
2.43.0
Reviewed-by on v2 3/3
#4 lore raw

Re: [PATCH v2 3/3] tests/functional/aspeed: Update test ASPEED SDK v03.00 for AST1030

Quoted 1 line · Jamin Lin

Thanks,

C.

Quoted 31 lines
---
  tests/functional/test_arm_aspeed_ast1030.py | 10 +++++-----
  1 file changed, 5 insertions(+), 5 deletions(-)
tests/functional/test_arm_aspeed_ast1030.py +5 -5
index d45d9f7c1c..77037f0179 100755
@@ -12,17 +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):
+    def test_ast1030_zephyros_3_00(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.ASSET_ZEPHYR_3_00, member=kernel_name)
 
          self.vm.set_console()
          self.vm.add_args('-kernel', kernel_file, '-nographic')
#5 lore raw
In reply to Jamin Lin via
Quoted 10 lines · Jamin Lin

v1:
Update to test new ASPEED SDK version for AST2600, AST2500 ,and AST1030.
v2:
Fix review issue for AST1030.

Jamin Lin (3):
tests/functional/aspeed: Update test ASPEED SDK v09.06 for AST2500 tests/functional/aspeed: Update test ASPEED SDK v09.06 for AST2600 tests/functional/aspeed: Update test ASPEED SDK v03.00 for AST1030

Quoted 5 lines
  tests/functional/test_arm_aspeed_ast1030.py | 10 +++++-----
  tests/functional/test_arm_aspeed_ast2500.py |  8 ++++----
  tests/functional/test_arm_aspeed_ast2600.py | 15 ++++++++-------
  3 files changed, 17 insertions(+), 16 deletions(-)

Applied to aspeed-next.

Thanks,

C.