From: Christian Zigotzky Date: Sat, 19 May 2018 14:03:02 +0000 Subject: Re: [Qemu-ppc] [Qemu-devel] [PPC64] P5020DS: Booting from img possible (-drive)? Message-Id: <7d552162-5165-c022-ce6d-4903da7d2262@xenosoft.de> List-Id: References: <4521b265-855f-7f06-ffff-3fa394380922@xenosoft.de> <5BD35D0B-E490-4693-8858-E11B7401709F@xenosoft.de> <1821476d-7724-ad71-eb3f-69c731633582@tuxfamily.org> <886dc490-c96a-ad5a-e1f7-8e41a686a53e@xenosoft.de> <20180518131303.6f0778eb@bahia.lan> <20180518141642.6ad639ac@bahia.lan> <8bde9b6f-b80f-e87e-e4d3-ace15454cf3d@xenosoft.de> <3db651e3-a237-fbaa-6ffe-ecc5db43ad0f@tuxfamily.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: Thomas Huth Cc: qemu-ppc@nongnu.org, Greg Kurz , "kvm-ppc@vger.kernel.org" , qemu-devel@nongnu.org On 19 May 2018 at 08:15AM, Thomas Huth wrote: > On 19.05.2018 06:58, Christian Zigotzky wrote: >> Thomas wrote: >> >>> No clue, so just a blind guess: Is "CoreNet Generic" the right machine? >>> What happens if you set "CONFIG_CORENET_GENERIC=3Dn" in your kernel con= fig? >> I think it=E2=80=98s the right machine. > It's likely the right selection for the real hardware, but it's maybe > the wrong machine type for the QEMU ppce500 machine. > > Thomas > Hello Thomas, Thanks for your reply. I compiled the RC5 of kernel 4.17 without corenet=20 generic support today. ubuntu MATE 16.04 LTS PowerPC boots!!!!!!!!! qemu-system-ppc64 -M ppce500 -cpu e5500 -m 2048 -nographic -kernel=20 /home/christian/Downloads/uImage-4.17-without_corenet -drive=20 file=3D/home/christian/Dokumente/ubuntu_MATE_16.04.3_LTS_PowerPC_QEMU/ubunt= u_MATE_16.04_PowerPC.img,index=3D0,if=3Dvirtio=20 -net nic,vlan=3D0,model=E1000 -net user,vlan=3D0 -append "rw root=3D/dev/vd= a3" With the following command I can boot it with a VirtIO graphics cards. qemu-system-ppc64 -M ppce500 -cpu e5500 -m 2048 -kernel=20 /home/christian/Downloads/uImage-4.17-without_corenet -drive=20 file=3D/home/christian/Dokumente/ubuntu_MATE_16.04.3_LTS_PowerPC_QEMU/ubunt= u_MATE_16.04_PowerPC.img,index=3D0,if=3Dvirtio=20 -net nic,vlan=3D0,model=E1000 -net user,vlan=3D0 -append "rw root=3D/dev/vd= a3"=20 -device virtio-vga Unfortunately mouse and keyboard doesn't work in the virtual machine. Many thanks for your help! :-) Have a nice weekend! :-) Cheers, Christian