xref: /openbmc/qemu/tests/functional/test_arm_aspeed_gb200nvl_bmc.py (revision a876b05d38c813501e60fb50c8a45b30a965e902)
1#!/usr/bin/env python3
2#
3# Functional test that boots the ASPEED machines
4#
5# SPDX-License-Identifier: GPL-2.0-or-later
6
7from qemu_test import Asset
8from aspeed import AspeedTest
9
10
11class GB200Machine(AspeedTest):
12
13    ASSET_GB200_FLASH = Asset(
14        'https://github.com/legoater/qemu-aspeed-boot/raw/refs/heads/master/images/gb200nvl-obmc/obmc-phosphor-image-gb200nvl-obmc-20250702182348.static.mtd.xz',
15        'b84819317cb3dc762895ad507705978ef000bfc77c50c33a63bdd37921db0dbc')
16
17    def test_arm_aspeed_gb200_openbmc(self):
18        image_path = self.uncompress(self.ASSET_GB200_FLASH)
19
20        self.do_test_arm_aspeed_openbmc('gb200nvl-bmc', image=image_path,
21                                        uboot='2019.04', cpu_id='0xf00',
22                                        soc='AST2600 rev A3',
23                                        image_hostname='gb200nvl-obmc')
24
25if __name__ == '__main__':
26    AspeedTest.main()
27