[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [PPC64] P5020DS: Booting from img possible (
From: |
Thomas Huth |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [PPC64] P5020DS: Booting from img possible (-drive)? |
Date: |
Sat, 19 May 2018 17:19:49 +0200 |
Am Sat, 19 May 2018 16:03:02 +0200
schrieb Christian Zigotzky <address@hidden>:
> 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=n" in
> >>> your kernel config?
> >> I think it‘s 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 generic support today. ubuntu MATE 16.04 LTS PowerPC
> boots!!!!!!!!!
Cool! :-)
> With the following command I can boot it with a VirtIO graphics cards.
>
> qemu-system-ppc64 -M ppce500 -cpu e5500 -m 2048 -kernel
> /home/christian/Downloads/uImage-4.17-without_corenet -drive
> file=/home/christian/Dokumente/ubuntu_MATE_16.04.3_LTS_PowerPC_QEMU/ubuntu_MATE_16.04_PowerPC.img,index=0,if=virtio
>
> -net nic,vlan=0,model=e1000 -net user,vlan=0 -append "rw
> root=/dev/vda3" -device virtio-vga
Note that "vlan=0" won't work with the next version (2.13) of QEMU
anymore. But since that's the default, you can simply omit that
"vlan=0" in both -net options. Or if you are using the latest and
greatest QEMU v2.12 already, you can also use "-nic user,model=e1000"
instead.
> Unfortunately mouse and keyboard doesn't work in the virtual machine.
I guess with the ppce500 machine, you've also got to specify them
manually, too. You've got two options, virtio and USB. For virtio, try:
-device virtio-mouse-pci -device virtio-keyboard-pci
And for USB, try something like:
-device qemu-xhci -device usb-mouse -device usb-kbd
If "qemu-xhci" does not work, you could also try "pci-ohci" instead.
HTH,
Thomas
- Re: [Qemu-ppc] [Qemu-devel] [PPC64] P5020DS: Booting from img possible (-drive)?, (continued)
- Re: [Qemu-ppc] [Qemu-devel] [PPC64] P5020DS: Booting from img possible (-drive)?, Greg Kurz, 2018/05/18
- Re: [Qemu-ppc] [Qemu-devel] [PPC64] P5020DS: Booting from img possible (-drive)?, Christian Zigotzky, 2018/05/18
- Re: [Qemu-ppc] [Qemu-devel] [PPC64] P5020DS: Booting from img possible (-drive)?, Greg Kurz, 2018/05/18
- Re: [Qemu-ppc] [Qemu-devel] [PPC64] P5020DS: Booting from img possible (-drive)?, Christian Zigotzky, 2018/05/18
- Re: [Qemu-ppc] [Qemu-devel] [PPC64] P5020DS: Booting from img possible (-drive)?, Christian Zigotzky, 2018/05/18
- Re: [Qemu-ppc] [Qemu-devel] [PPC64] P5020DS: Booting from img possible (-drive)?, Greg Kurz, 2018/05/18
- Re: [Qemu-ppc] [Qemu-devel] [PPC64] P5020DS: Booting from img possible (-drive)?, Thomas Huth, 2018/05/18
- [Qemu-ppc] [Qemu-devel] [PPC64] P5020DS: Booting from img possible (-drive)?, Christian Zigotzky, 2018/05/19
- Re: [Qemu-ppc] [Qemu-devel] [PPC64] P5020DS: Booting from img possible (-drive)?, Thomas Huth, 2018/05/19
- Re: [Qemu-ppc] [Qemu-devel] [PPC64] P5020DS: Booting from img possible (-drive)?, Christian Zigotzky, 2018/05/19
- Re: [Qemu-ppc] [Qemu-devel] [PPC64] P5020DS: Booting from img possible (-drive)?,
Thomas Huth <=
- Re: [Qemu-ppc] [Qemu-devel] [PPC64] P5020DS: Booting from img possible (-drive)?, Christian Zigotzky, 2018/05/20
- [Qemu-ppc] [Qemu-devel] [PPC64] P5020DS: Booting from img possible (-drive)?, Christian Zigotzky, 2018/05/23