Lines Matching +full:self +full:- +full:power
5 # SPDX-License-Identifier: GPL-2.0-or-later
13 …'https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main/buildroot/qemu_ppc64_mac99-2023.11-…
17 …'https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main//buildroot/qemu_ppc64_mac99-2023.11…
20 def test_ppc64_mac99_buildroot(self): argument
21 self.set_machine('mac99')
23 linux_path = self.ASSET_BR2_MAC99_LINUX.fetch()
24 rootfs_path = self.ASSET_BR2_MAC99_ROOTFS.fetch()
26 self.vm.set_console()
28 # Note: We need '-nographic' to get a serial console
29 self.vm.add_args('-kernel', linux_path,
30 '-append', 'root=/dev/sda',
31 '-drive', f'file={rootfs_path},format=raw',
32 '-snapshot', '-nographic')
33 self.vm.launch()
35 self.wait_for_console_pattern('>> OpenBIOS')
36 self.wait_for_console_pattern('Linux version')
37 self.wait_for_console_pattern('/init as init process')
38 self.wait_for_console_pattern('gem 0000:f0:0e.0 eth0: Link is up at 100 Mbps')
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')