ppc/pegasos2: Use Virtual Open Firmware as firmware replacement
commita6c9808a689764cba980280fc4581e2deb5023a4
authorBALATON Zoltan <balaton@eik.bme.hu>
Sun, 27 Jun 2021 16:27:13 +0000 (27 18:27 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 9 Jul 2021 00:38:19 +0000 (9 10:38 +1000)
tree5071ff7b71d93f689ea21684be04a64187a0623a
parent17fd09c0212b1595377fd62ade033dcd4147f8b6
ppc/pegasos2: Use Virtual Open Firmware as firmware replacement

The pegasos2 board comes with an Open Firmware compliant ROM based on
SmartFirmware but it has some changes that are not open source
therefore the ROM binary cannot be included in QEMU. Guests running on
the board however depend on services provided by the firmware. The
Virtual Open Firmware recently added to QEMU implements a minimal set
of these services to allow some guests to boot without the original
firmware. This patch adds VOF as the default firmware for pegasos2
which allows booting Linux and MorphOS via -kernel option while a ROM
image can still be used with -bios for guests that don't run with VOF.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <1d6ed6f290c5c1f0b5a1e1c51cf1151452d70d9a.1624811233.git.balaton@eik.bme.hu>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/Kconfig
hw/ppc/pegasos2.c