master
py 25 lines 880 Bytes
Raw
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 CatalinaMachine(AspeedTest):
12
13 ASSET_CATALINA_FLASH = Asset(
14 'https://github.com/legoater/qemu-aspeed-boot/raw/a866feb5ef81245b4827a214584bf6bcc72939f6/images/catalina-bmc/obmc-phosphor-image-catalina-20250619123021.static.mtd.xz',
15 '287402e1ba021991e06be1d098f509444a02a3d81a73a932f66528b159e864f9')
16
17 def test_arm_ast2600_catalina_openbmc(self):
18 image_path = self.uncompress(self.ASSET_CATALINA_FLASH)
19
20 self.do_test_arm_aspeed_openbmc('catalina-bmc', image=image_path,
21 uboot='2019.04', cpu_id='0xf00',
22 soc='AST2600 rev A3')
23
24 if __name__ == '__main__':
25 AspeedTest.main()