On Sun, Oct 19, 2025 at 5:37 PM BALATON Zoltan <[email protected]> wrote:
> On Sun, 19 Oct 2025, Yogesh Vyas wrote: > > When I run QEMU with the ROM option, the machine boots successfully with > > the below command: > > > > qemu-system-ppc64 -machine pegasos2 -bios pegasos2.rom \ > > -cdrom debian-8.11.0-powerpc-netinst.iso \ > > -device VGA,romfile="" -serial stdio > > > > However, when I try to boot the machine without the ROM using VOF, the > > machine does not come up and no logs appear on stdout: > > > > qemu-system-ppc64 -machine pegasos2 -serial stdio \ > > -kernel vmlinuz-chrp.initrd -append "---" \ > > -cdrom debian-8.11.0-powerpc-netinst.iso > > > > Please let me know if I am missing any parameters or setup required for > > booting via VOF on Pegasos2. > > > > Documentation referred: qemu/docs/system/ppc/amigang.rst > > Maybe you did not use the right vmlinuz-chrp.initrd. Pegasos2 is a 32 bit > machine so you need /install/powerpc/vmlinuz-chrp.initrd for it (see in > the /install/pegasos script that is used with firmware). Even if you call > it from qemu-system-ppc64 which includes both 32 bit and 64 bit machines > but does not make 32 bit machines 64 bit so you still need the 32 bit OS. > > Hi Balaton, I am using 32bit images only and looks like VOF boot works with the distro provided Qemu (both ppc and pp64), however doesn't work with upstream Qemu for VOF. yogi@fedora:~/work/images$ file vmlinuz-chrp.initrd vmlinuz-chrp.initrd: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), statically linked, not stripped yogi@fedora:~/work/images$ file debian-8.11.0-powerpc-netinst.iso debian-8.11.0-powerpc-netinst.iso: ISO 9660 CD-ROM filesystem data (DOS/MBR boot sector) 'Debian 8.11.0 ppc 1' Qemu distro version: yogi@fedora:~/work/images$ qemu-system-ppc --version QEMU emulator version 9.2.4 (qemu-9.2.4-2.fc42) Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers yogi@fedora:~/work/images$ qemu-system-ppc64 --version QEMU emulator version 9.2.4 (qemu-9.2.4-2.fc42) Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers When using upstream Qemu (both ppc and pp64) with VOF it just gets stuck with no console output. Am I missing something? I also tried applying the patches from https://lore.kernel.org/qemu-devel/[email protected]/T/#t but still the same issue. Regards, Yogesh > Regards, > BALATON Zoltan >
