xref: /openbmc/qemu/tests/functional/test_arm_aspeed_palmetto.py (revision ae465c3d89e88f587b910e6b9cd0907fe8c2f8ca)
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 qemu_test.aspeed import AspeedTest
9
10class PalmettoMachine(AspeedTest):
11
12    ASSET_PALMETTO_FLASH = Asset(
13        ('https://github.com/openbmc/openbmc/releases/download/2.9.0/'
14         'obmc-phosphor-image-palmetto.static.mtd'),
15        '3e13bbbc28e424865dc42f35ad672b10f2e82cdb11846bb28fa625b48beafd0d');
16
17    def test_arm_ast2400_palmetto_openbmc_v2_9_0(self):
18        image_path = self.ASSET_PALMETTO_FLASH.fetch()
19
20        self.do_test_arm_aspeed('palmetto-bmc', image_path)
21
22
23if __name__ == '__main__':
24    AspeedTest.main()
25