master
py 25 lines 848 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 RomulusMachine(AspeedTest):
12
13 ASSET_ROMULUS_FLASH = Asset(
14 'https://github.com/legoater/qemu-aspeed-boot/raw/master/images/romulus-bmc/openbmc-20250128071340/obmc-phosphor-image-romulus-20250128071340.static.mtd',
15 '6d031376440c82ed9d087d25e9fa76aea75b42f80daa252ec402c0bc3cf6cf5b')
16
17 def test_arm_ast2500_romulus_openbmc(self):
18 image_path = self.ASSET_ROMULUS_FLASH.fetch()
19
20 self.do_test_arm_aspeed_openbmc('romulus-bmc', image=image_path,
21 uboot='2019.04', cpu_id='0x0',
22 soc='AST2500 rev A1')
23
24 if __name__ == '__main__':
25 AspeedTest.main()