Jamin,

On 3/9/25 14:51, Cédric Le Goater wrote:
From: Jamin Lin <jamin_...@aspeedtech.com>

Signed-off-by: Jamin Lin <jamin_...@aspeedtech.com>
Reviewed-by: Cédric Le Goater <c...@redhat.com>
Link: 
https://lore.kernel.org/qemu-devel/20250307035945.3698802-29-jamin_...@aspeedtech.com
Signed-off-by: Cédric Le Goater <c...@redhat.com>
---
  tests/functional/test_aarch64_aspeed.py | 10 ++++++++++
  1 file changed, 10 insertions(+)

diff --git a/tests/functional/test_aarch64_aspeed.py 
b/tests/functional/test_aarch64_aspeed.py
index 8df6a97a2852..c25c96627823 100755
--- a/tests/functional/test_aarch64_aspeed.py
+++ b/tests/functional/test_aarch64_aspeed.py
@@ -31,6 +31,10 @@ def do_test_aarch64_aspeed_sdk_start(self, image):
              
'https://github.com/AspeedTech-BMC/openbmc/releases/download/v09.05/ast2700-a0-default-obmc.tar.gz',
              
'cfbbd1cce72f2a3b73b9080c41eecdadebb7077fba4f7806d72ac99f3e84b74a')
+ ASSET_SDK_V905_AST2700A1 = Asset(
+            
'https://github.com/AspeedTech-BMC/openbmc/releases/download/v09.05/ast2700-default-obmc.tar.gz',
+            'c1f4496aec06743c812a6e9a1a18d032f34d62f3ddb6956e924fef62aa2046a5')
+
      def start_ast2700_test(self, name):
          num_cpu = 4
          uboot_size = os.path.getsize(self.scratch_file(name,
@@ -95,6 +99,12 @@ def test_aarch64_ast2700_evb_sdk_v09_05(self):
          self.archive_extract(self.ASSET_SDK_V905_AST2700)
          self.start_ast2700_test('ast2700-a0-default')
+ def test_aarch64_ast2700a1_evb_sdk_v09_05(self):
+        self.set_machine('ast2700a1-evb')
+
+        self.archive_extract(self.ASSET_SDK_V905_AST2700A1)
+        self.start_ast2700_test('ast2700-default')
+
if __name__ == '__main__':
      QemuSystemTest.main()

On a BE host, if I run an ast2700a0-evb machine :

   $ qemu-system-aarch64 -machine ast2700a0-evb  ...
   ...
   U-Boot 2023.10-v00.05.06 (Mar 26 2025 - 05:59:26 +0000)

   SOC: AST2700-A0
   Model: AST2700 EVB
   DRAM:  8 GiB (effective 0 Bytes)

QEMU hangs.

If the RAM size is defined to 8g
$ qemu-system-aarch64 -machine ast2700a0-evb -m 8g ...
   ...
   U-Boot 2023.10-v00.05.06 (Mar 26 2025 - 05:59:26 +0000)

   SOC: AST2700-A0
   Model: AST2700 EVB
   DRAM:  8 GiB
   aspeed_dp dp@12c0a000: aspeed_dp_probe(): Failed to access dp. version(0)
   Core:  125 devices, 27 uclasses, devicetree: separate

machine boots.

Whereas, with an ast2700a1-evb machine :

   $ qemu-system-aarch64 -machine ast2700a1-evb  ...
   ...
   U-Boot 2023.10-v00.05.06 (Mar 26 2025 - 05:59:26 +0000)

   SOC: AST2700-A1
   Model: AST2700 EVB
   DRAM:  1 GiB
   aspeed_dp dp@12c0a000: aspeed_dp_probe(): Failed to access dp. version(0)
   Core:  125 devices, 27 uclasses, devicetree: separate

machine boots.
$ qemu-system-aarch64 -machine ast2700a1-evb -m 8g ...
   ...
   U-Boot 2023.10-v00.05.06 (Mar 26 2025 - 05:59:26 +0000)

   SOC: AST2700-A1
   Model: AST2700 EVB
   DRAM:  8 GiB
   aspeed_dp dp@12c0a000: aspeed_dp_probe(): Failed to access dp. version(0)
   Core:  125 devices, 27 uclasses, devicetree: separate

machine boots.


I Wonder if you could analyze this issue to check if it is related
to one of our QEMU model.


Thanks,

C.


Reply via email to