| 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 | |
| 7 | from qemu_test import Asset |
| 8 | from aspeed import AspeedTest |
| 9 | |
| 10 | |
| 11 | class GB200Machine(AspeedTest): |
| 12 | |
| 13 | ASSET_GB200_FLASH = Asset( |
| 14 | 'https://github.com/legoater/qemu-aspeed-boot/raw/refs/heads/master/images/gb200nvl-bmc/openbmc-20250702182348/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 | |
| 24 | if __name__ == '__main__': |
| 25 | AspeedTest.main() |