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