qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PPC64] P5020DS: Booting from img possible (-drive)?


From: Thomas Huth
Subject: Re: [Qemu-devel] [PPC64] P5020DS: Booting from img possible (-drive)?
Date: Fri, 18 May 2018 11:24:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 18.05.2018 11:06, Christian Zigotzky wrote:
> It works on my AmigaOne X5000 (P5020 board with 2x e5500 cores).
> 
> Screenshots: https://plus.google.com/115515624056477014971

Interesting ... but you still use your own kernel, and not the stock
Ubuntu kernel, right? That would explain how this can work...

Anyway, having a quick look at the sources, it seems to me that the
ppce500 / mpc8544ds machines in QEMU do not support any mass storage
controllor by default, so you got to specify the interface type.

For example:

 -drive if=virtio,file=...

or:

 -device virtio-scsi -drive if=none,id=c1,file=... \
 -device scsi-cd,drive=c1

Same for the graphics card, there does not seem to be support for a
default here, so try to specify it like this:

 -device VGA

or:

 -device virtio-vga

 HTH,
  Thomas


> — Christian
> 
> Sent from my iPhone
> 
>> On 18. May 2018, at 10:54, Thomas Huth <address@hidden> wrote:
>>
>>> On 18.05.2018 08:01, Christian Zigotzky wrote:
>>> Hello,
>>>
>>> I was able to boot a Linux kernel (uImage) with an initrd in a virtual
>>> P5020DS PPC64 machine with an e5500 core (QEMU 2.12.0) with the
>>> following command.
>>>
>>> qemu-system-ppc64 -M ppce500 -cpu e5500 -m 2048 -initrd
>>> /home/christian/Downloads/slitaz25.gz -nographic -kernel
>>> /home/christian/Downloads/vmlinux-4.17-rc5-AmigaOne_X1000_X5000/X5000/uImage-4.17
>>> -net nic,vlan=0,model=e1000 -net user,vlan=0 -machine
>>> dt_compatible=fsl,,P5020DS -append "root=/dev/ramdisk"
>>>
>>> It also works with the machine 'MPC8544DS':
>>>
>>> qemu-system-ppc64 -M mpc8544ds -cpu e5500 -m 2048 -initrd
>>> /home/christian/Downloads/slitaz25.gz -nographic -kernel
>>> /home/christian/Downloads/vmlinux-4.17-rc5-AmigaOne_X1000_X5000/X5000/uImage-4.17
>>> -net nic,vlan=0,model=e1000 -net user,vlan=0 -machine
>>> dt_compatible=fsl,,P5020DS -append "root=/dev/ramdisk"
>>
>> These two machines ppce500 and mpc8544ds are "embedded" PowerPC machines...
>>
>>> I tried to boot ubuntu MATE 16.04 LTS PowerPC from an img with the
>>> option '-drive' but without any success. Is it possible to boot from a
>>> hard disk img with a virtual P5020DS PPC64 machine? Can I use a virtual
>>> graphics card with this machine?
>>
>> ... but according to http://cdimage.ubuntu.com/releases/16.04/release/
>> Ubuntu 16.04 is for Apple and IBM machines only, so I don't think that
>> you'll be able to run this on an embedded PPC machine?
>>
>> Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]