master
py 25 lines 873 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 WitherspoonMachine(AspeedTest):
12
13 ASSET_WITHERSPOON_FLASH = Asset(
14 'https://github.com/legoater/qemu-aspeed-boot/raw/master/images/witherspoon-bmc/openbmc-20240618035022/obmc-phosphor-image-witherspoon-20240618035022.ubi.mtd',
15 '937d9ed449ea6c6cbed983519088a42d0cafe276bcfe4fce07772ca6673f9213')
16
17 def test_arm_ast2500_witherspoon_openbmc(self):
18 image_path = self.ASSET_WITHERSPOON_FLASH.fetch()
19
20 self.do_test_arm_aspeed_openbmc('witherspoon-bmc', image=image_path,
21 uboot='2016.07', cpu_id='0x0',
22 soc='AST2500 rev A1')
23
24 if __name__ == '__main__':
25 AspeedTest.main()