| 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 BletchleyMachine(AspeedTest): |
| 12 | |
| 13 | ASSET_BLETCHLEY_FLASH = Asset( |
| 14 | 'https://github.com/legoater/qemu-aspeed-boot/raw/master/images/bletchley-bmc/openbmc-20250128071329/obmc-phosphor-image-bletchley-20250128071329.static.mtd.xz', |
| 15 | 'db21d04d47d7bb2a276f59d308614b4dfb70b9c7c81facbbca40a3977a2d8844') |
| 16 | |
| 17 | def test_arm_ast2600_bletchley_openbmc(self): |
| 18 | image_path = self.uncompress(self.ASSET_BLETCHLEY_FLASH) |
| 19 | |
| 20 | self.do_test_arm_aspeed_openbmc('bletchley-bmc', image=image_path, |
| 21 | uboot='2019.04', cpu_id='0xf00', |
| 22 | soc='AST2600 rev A3') |
| 23 | |
| 24 | if __name__ == '__main__': |
| 25 | AspeedTest.main() |