All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Huth <huth@tuxfamily.org>
To: Christian Zigotzky <chzigotzky@xenosoft.de>, Greg Kurz <groug@kaod.org>
Cc: qemu-devel@nongnu.org,
	"kvm-ppc@vger.kernel.org" <kvm-ppc@vger.kernel.org>,
	Alexander Graf <agraf@suse.de>,
	qemu-ppc@nongnu.org
Subject: Re: [Qemu-devel] [PPC64] P5020DS: Booting from img possible (-drive)?
Date: Fri, 18 May 2018 18:47:38 +0200	[thread overview]
Message-ID: <3db651e3-a237-fbaa-6ffe-ecc5db43ad0f@tuxfamily.org> (raw)
In-Reply-To: <8bde9b6f-b80f-e87e-e4d3-ace15454cf3d@xenosoft.de>

On 18.05.2018 14:33, Christian Zigotzky wrote:
> On 18 May 2018 at 2:16PM, Greg Kurz wrote:
>> On Fri, 18 May 2018 13:50:42 +0200
>> Christian Zigotzky <chzigotzky@xenosoft.de> wrote:
>>
>>> On 18 May 2018 at 1:13PM, Greg Kurz wrote:
>>>> And of course your kernel should be built with virtio support.
>>> I think I have enabled virtio support. Please find attached my kernel
>>> config.
>>>
>> Indeed, what about passing root=/dev/vda3 to the kernel ?
>>
> ./qemu-system-ppc64 -M ppce500 -cpu e5500 -m 2048 -nographic -kernel
> /home/christian/Downloads/vmlinux-4.17-rc5-AmigaOne_X1000_X5000/X5000/uImage-4.17
> -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"
> -machine dt_compatible=fsl,,P5020DS
> 
> or
> 
> ./qemu-system-ppc64 -M ppce500 -cpu e5500 -m 2048 -nographic -kernel
> /home/christian/Downloads/vmlinux-4.17-rc5-AmigaOne_X1000_X5000/X5000/uImage-4.17
> -machine dt_compatible=fsl,,P5020DS -device virtio-scsi -drive
> if=none,id=c1,file=/home/christian/Dokumente/ubuntu_MATE_16.04.3_LTS_PowerPC_QEMU/ubuntu_MATE_16.04_PowerPC.img
> -device scsi-cd,drive=c1 -append "root=/dev/vda3"
> 
> or
> 
> ./qemu-system-ppc64 -M ppce500 -cpu e5500 -m 2048 -nographic -kernel
> /home/christian/Downloads/vmlinux-4.17-rc5-AmigaOne_X1000_X5000/X5000/uImage-4.17
> -machine dt_compatible=fsl,,P5020DS -drive
> if=virtio,file=/home/christian/Dokumente/ubuntu_MATE_16.04.3_LTS_PowerPC_QEMU/ubuntu_MATE_16.04_PowerPC.img
> -append "root=/dev/vda3"
> 
> Output:
> 
> [    0.000000] MMU: Supported page sizes
> [    0.000000]          4 KB as direct
> [    0.000000]       4096 KB as direct
> [    0.000000]      16384 KB as direct
> [    0.000000]      65536 KB as direct
> [    0.000000]     262144 KB as direct
> [    0.000000]    1048576 KB as direct
> [    0.000000] MMU: Book3E HW tablewalk not supported
> [    0.000000] Linux version 4.17.0-rc5_A-EON_A1-X5000
> (christian@christian-virtual-machine) (gcc version 5.4.0 20160609
> (Ubuntu 5.4.0-6ubuntu1~16.04.4)) #1 SMP Mon May 14 09:34:52 CEST 2018
> [    0.000000] Using CoreNet Generic machine description

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?

 Thomas

WARNING: multiple messages have this Message-ID (diff)
From: Thomas Huth <huth@tuxfamily.org>
To: Christian Zigotzky <chzigotzky@xenosoft.de>, Greg Kurz <groug@kaod.org>
Cc: qemu-devel@nongnu.org,
	"kvm-ppc@vger.kernel.org" <kvm-ppc@vger.kernel.org>,
	Alexander Graf <agraf@suse.de>,
	qemu-ppc@nongnu.org
Subject: Re: [Qemu-devel] [PPC64] P5020DS: Booting from img possible (-drive)?
Date: Fri, 18 May 2018 16:47:38 +0000	[thread overview]
Message-ID: <3db651e3-a237-fbaa-6ffe-ecc5db43ad0f@tuxfamily.org> (raw)
In-Reply-To: <8bde9b6f-b80f-e87e-e4d3-ace15454cf3d@xenosoft.de>

On 18.05.2018 14:33, Christian Zigotzky wrote:
> On 18 May 2018 at 2:16PM, Greg Kurz wrote:
>> On Fri, 18 May 2018 13:50:42 +0200
>> Christian Zigotzky <chzigotzky@xenosoft.de> wrote:
>>
>>> On 18 May 2018 at 1:13PM, Greg Kurz wrote:
>>>> And of course your kernel should be built with virtio support.
>>> I think I have enabled virtio support. Please find attached my kernel
>>> config.
>>>
>> Indeed, what about passing root=/dev/vda3 to the kernel ?
>>
> ./qemu-system-ppc64 -M ppce500 -cpu e5500 -m 2048 -nographic -kernel
> /home/christian/Downloads/vmlinux-4.17-rc5-AmigaOne_X1000_X5000/X5000/uImage-4.17
> -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á000 -net user,vlan=0 -append "rw root=/dev/vda3"
> -machine dt_compatible=fsl,,P5020DS
> 
> or
> 
> ./qemu-system-ppc64 -M ppce500 -cpu e5500 -m 2048 -nographic -kernel
> /home/christian/Downloads/vmlinux-4.17-rc5-AmigaOne_X1000_X5000/X5000/uImage-4.17
> -machine dt_compatible=fsl,,P5020DS -device virtio-scsi -drive
> if=none,idÁ,file=/home/christian/Dokumente/ubuntu_MATE_16.04.3_LTS_PowerPC_QEMU/ubuntu_MATE_16.04_PowerPC.img
> -device scsi-cd,driveÁ -append "root=/dev/vda3"
> 
> or
> 
> ./qemu-system-ppc64 -M ppce500 -cpu e5500 -m 2048 -nographic -kernel
> /home/christian/Downloads/vmlinux-4.17-rc5-AmigaOne_X1000_X5000/X5000/uImage-4.17
> -machine dt_compatible=fsl,,P5020DS -drive
> if=virtio,file=/home/christian/Dokumente/ubuntu_MATE_16.04.3_LTS_PowerPC_QEMU/ubuntu_MATE_16.04_PowerPC.img
> -append "root=/dev/vda3"
> 
> Output:
> 
> [    0.000000] MMU: Supported page sizes
> [    0.000000]          4 KB as direct
> [    0.000000]       4096 KB as direct
> [    0.000000]      16384 KB as direct
> [    0.000000]      65536 KB as direct
> [    0.000000]     262144 KB as direct
> [    0.000000]    1048576 KB as direct
> [    0.000000] MMU: Book3E HW tablewalk not supported
> [    0.000000] Linux version 4.17.0-rc5_A-EON_A1-X5000
> (christian@christian-virtual-machine) (gcc version 5.4.0 20160609
> (Ubuntu 5.4.0-6ubuntu1~16.04.4)) #1 SMP Mon May 14 09:34:52 CEST 2018
> [    0.000000] Using CoreNet Generic machine description

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?

 Thomas

  parent reply	other threads:[~2018-05-18 16:47 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-18  6:01 [Qemu-devel] [PPC64] P5020DS: Booting from img possible (-drive)? Christian Zigotzky
2018-05-18  6:01 ` Christian Zigotzky
2018-05-18  8:54 ` [Qemu-devel] " Thomas Huth
2018-05-18  8:54   ` Thomas Huth
2018-05-18  9:06   ` Christian Zigotzky
2018-05-18  9:24     ` Thomas Huth
2018-05-18  9:24       ` Thomas Huth
2018-05-18 10:30       ` Christian Zigotzky
2018-05-18 10:30         ` Christian Zigotzky
2018-05-18 11:13         ` Greg Kurz
2018-05-18 11:13           ` Greg Kurz
2018-05-18 11:50           ` Christian Zigotzky
2018-05-18 12:16             ` Greg Kurz
2018-05-18 12:16               ` Greg Kurz
2018-05-18 12:33               ` Christian Zigotzky
2018-05-18 12:33                 ` Christian Zigotzky
2018-05-18 13:38                 ` Christian Zigotzky
2018-05-18 13:38                   ` Christian Zigotzky
2018-05-18 14:03                   ` Greg Kurz
2018-05-18 14:03                     ` Greg Kurz
2018-05-18 16:47                 ` Thomas Huth [this message]
2018-05-18 16:47                   ` Thomas Huth
2018-05-19  4:58                   ` Christian Zigotzky
2018-05-19  4:58                     ` Christian Zigotzky
2018-05-19  6:15                     ` [Qemu-devel] [Qemu-ppc] " Thomas Huth
2018-05-19  6:15                       ` [Qemu-ppc] [Qemu-devel] " Thomas Huth
2018-05-19 14:03                       ` [Qemu-devel] [Qemu-ppc] " Christian Zigotzky
2018-05-19 14:03                         ` [Qemu-ppc] [Qemu-devel] " Christian Zigotzky
2018-05-19 15:19                         ` [Qemu-devel] [Qemu-ppc] " Thomas Huth
2018-05-19 15:19                           ` [Qemu-ppc] [Qemu-devel] " Thomas Huth
2018-05-20 18:51                           ` [Qemu-devel] [Qemu-ppc] " Christian Zigotzky
2018-05-20 18:51                             ` [Qemu-ppc] [Qemu-devel] " Christian Zigotzky
2018-05-23 10:31                           ` [Qemu-devel] [Qemu-ppc] " Christian Zigotzky
2018-05-23 10:31                             ` [Qemu-ppc] [Qemu-devel] " Christian Zigotzky
2018-05-18  9:13   ` Christian Zigotzky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3db651e3-a237-fbaa-6ffe-ecc5db43ad0f@tuxfamily.org \
    --to=huth@tuxfamily.org \
    --cc=agraf@suse.de \
    --cc=chzigotzky@xenosoft.de \
    --cc=groug@kaod.org \
    --cc=kvm-ppc@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.