Upon launching qemu-system-ppc ( 2.6.2 ) with 4.4.198 kernel compiled by GCC toolchain "-with-cpu=405", following errors are observed.
However qemu-system-ppc -cpu --help shows that it supports 405 CPU architecture. We have tried all the following options -cpu { 405D2 ,
405GPa, 405GPb, 405CRa, 405GPc, 405GPd, 405GP, 405CRb, 405CRc, 405CR, 405GPe, Npe405H, Npe405H2, 405EZ, Npe405L, 405D4, 405, 405LP,
405GPR and 405EP }, and it throws same error. Could you please confirm is this a bug ? Or am I doing something wrong ?
GCC options:
GCC_CONFIGURE="--with-cpu=405 --with-tune=405"
Qemu command line options:
qemu-system-ppc \
-nodefconfig -no-user-config -nodefaults -no-reboot \
-nographic \
-serial stdio \
-cpu 405d4 \
-m 2047 \
-net nic,model=virtio,macaddr=$macaddr -net user$QEMU_HOSTFWD \
-drive file=powerpc-qemu.img,if=virtio,index=0,format=qcow2 \
-drive file=scratch.img,if=virtio,index=1,format=qcow2 \
-virtfs local,id=work,path=`pwd`,security_model=none,mount_tag=work \
-boot menu=off -kernel ppcqemu-vmlinux-stable
Error message observed:
[osman@osci ~]$ qemu-system-ppc -nodefconfig -no-user-config -nodefaults -no-reboot -nographic -serial stdio -cpu 405D4 -m 2047 -net nic,model=virtio,macaddr=$macaddr -net user$QEMU_HOSTFWD -drive file=powerpc-qemu.img,if=virtio,index=0,format=qcow2 -drive file=scratch.img,if=virtio,index=1,format=qcow2 -virtfs local,id=work,path=`pwd`,security_model=none,mount_tag=work -boot menu=off -kernel ppcqemu-vmlinux-stable
qemu-system-ppc: Bus model not supported on OldWorld Mac machine
[osman@osci ~]$
Thanks & Regards,
Muralikrishna CH