Run a test doing a basic boot with network and poweroff for each PPC machines supported in QEMU using a builroot image specifically built for these.
prep/ppc
604 CPUref405ep/ppc
405EP CPUbamboo/ppc
440EP CPUsam460ex/ppc
460EX CPU (equivalent to a 440)g3beige/ppc
604 and G3 CPUmac99/ppc
74[45]x and G4 CPUe500mc/ppc
e500mc CPUmpc8544ds/ppc
e500v2 CPUppce500/ppc64
e5500, e6500mac99/ppc64
970 (g5) CPU with 64bit and 32bit user spacepseries/ppc64
POWER5+, 970, 970MP, POWER7pseries/ppc64le
POWER8, POWER9, POWER10powernv8/ppc64le
POWER8 HV CPUpowernv9/ppc64le
POWER9 HV CPUpowernv10/ppc64le
POWER10 HV CPU
This builroot
tree contains all the default configuration for the
above machines : https://github.com/legoater/buildroot/commits/qemu-ppc
For all tests, simply run :
$ ./ppc-boot.sh -q --prefix=/path/to/qemu/install/
ref405ep : /init login DONE (PASSED)
bamboo : /init net login DONE (PASSED)
sam460ex : /init net login DONE (PASSED)
g3beige-604 : /init net login DONE (PASSED)
g3beige-g3 : /init net login DONE (PASSED)
mac99-g4 : /init login DONE (PASSED)
mac99-7447 : /init login DONE (PASSED)
mac99-7448 : /init login DONE (PASSED)
mac99-7450 : /init login DONE (PASSED)
mpc8544ds : /init net login DONE (PASSED)
e500mc : /init net login DONE (PASSED)
40p : FW login DONE (PASSED)
e5500 : /init net login DONE (PASSED)
e6500 : /init net login DONE (PASSED)
g5-32 : /init login DONE (PASSED)
g5-64 : /init login DONE (PASSED)
pseries-970 : /init net login DONE (PASSED)
pseries-970mp : /init net login DONE (PASSED)
pseries-POWER5+ : /init net login DONE (PASSED)
pseries : /init net login DONE (PASSED)
pseriesle8 : /init net login DONE (PASSED)
pseriesle9 : /init net login DONE (PASSED)
pseriesle-vof : /init net login DONE (PASSED)
pseriesle10 : /init net login DONE (PASSED)
powernv8 : /init login DONE (PASSED)
powernv9 : /init login DONE (PASSED)
powernv10 : /init login DONE (PASSED)
For a simple machine with a verbose output, run
$ ./ppc-boot.sh --prefix=/path/to/qemu/install/ <machine>