Lines Matching +full:self +full:- +full:power
5 # SPDX-License-Identifier: GPL-2.0-or-later
14 …'https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main/buildroot/qemu_ppc64_e5500-2023.11-…
18 …'https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main//buildroot/qemu_ppc64_e5500-2023.11…
21 def test_ppc64_e500_buildroot(self): argument
22 self.set_machine('ppce500')
23 self.require_netdev('user')
24 self.cpu = 'e5500'
26 uimage_path = self.ASSET_BR2_E5500_UIMAGE.fetch()
27 rootfs_path = self.ASSET_BR2_E5500_ROOTFS.fetch()
29 self.vm.set_console()
30 self.vm.add_args('-kernel', uimage_path,
31 '-append', 'root=/dev/vda',
32 '-drive', f'file={rootfs_path},if=virtio,format=raw',
33 '-snapshot', '-no-shutdown')
34 self.vm.launch()
36 self.wait_for_console_pattern('Linux version')
37 self.wait_for_console_pattern('/init as init process')
38 self.wait_for_console_pattern('lease of 10.0.2.15')
39 self.wait_for_console_pattern('buildroot login:')
40 exec_command_and_wait_for_pattern(self, 'root', '#')
41 exec_command_and_wait_for_pattern(self, 'poweroff', 'Power down')