All of lore.kernel.org
 help / color / mirror / Atom feed
* [wic.qcow2] qemu-system-x86-64 booting qcow2 image stalls
@ 2018-03-25 15:23 Tan, Raymond
  2018-03-26  6:25 ` Anuj Mittal
  0 siblings, 1 reply; 3+ messages in thread
From: Tan, Raymond @ 2018-03-25 15:23 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 481 bytes --]

Dear All,

I'm building an image with meta-intel layer, and machine set to intel-corei7-64, with additional IMAGE_FSTYPES set to "wic.qcow2".
Upon running the image with the following command, the boot stalls with "Booting from Hard Disk..."

qemu-system-x86_64 core-image-sato-sdk.wic.qcow2 -m 512

The hddimg has no issue booting with flashing to usb with mkefidisk.sh, but this qcow2 image didn't even boot till EFI,
am I missing something over here? Thanks.

/ray


[-- Attachment #2: Type: text/html, Size: 2743 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [wic.qcow2] qemu-system-x86-64 booting qcow2 image stalls
  2018-03-25 15:23 [wic.qcow2] qemu-system-x86-64 booting qcow2 image stalls Tan, Raymond
@ 2018-03-26  6:25 ` Anuj Mittal
  2018-03-27 13:59   ` Tan, Raymond
  0 siblings, 1 reply; 3+ messages in thread
From: Anuj Mittal @ 2018-03-26  6:25 UTC (permalink / raw)
  To: Tan, Raymond, yocto

Hi Raymond,

On 03/25/2018 11:23 PM, Tan, Raymond wrote:
> Dear All,
> 
>  
> 
> I’m building an image with meta-intel layer, and machine set to
> intel-corei7-64, with additional IMAGE_FSTYPES set to “wic.qcow2”.
> 
> Upon running the image with the following command, the boot stalls with
> “Booting from Hard Disk…”
> 
>  
> 
> qemu-system-x86_64 core-image-sato-sdk.wic.qcow2 –m 512
> 
>  
> 
> The hddimg has no issue booting with flashing to usb with mkefidisk.sh,
> but this qcow2 image didn’t even boot till EFI,

Did you try runqemu core-image-sato-sdk.wic.qcow2 ovmf?

Thanks,
Anuj


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [wic.qcow2] qemu-system-x86-64 booting qcow2 image stalls
  2018-03-26  6:25 ` Anuj Mittal
@ 2018-03-27 13:59   ` Tan, Raymond
  0 siblings, 0 replies; 3+ messages in thread
From: Tan, Raymond @ 2018-03-27 13:59 UTC (permalink / raw)
  To: Mittal, Anuj, yocto

Hi Anuj,

> -----Original Message-----
> From: Mittal, Anuj
> Sent: Monday, March 26, 2018 2:25 PM
> To: Tan, Raymond <raymond.tan@intel.com>; yocto@yoctoproject.org
> Subject: Re: [yocto] [wic.qcow2] qemu-system-x86-64 booting qcow2 image
> stalls
> 
> Hi Raymond,
> 
> On 03/25/2018 11:23 PM, Tan, Raymond wrote:
> > Dear All,
> >
> >
> >
> > I'm building an image with meta-intel layer, and machine set to
> > intel-corei7-64, with additional IMAGE_FSTYPES set to "wic.qcow2".
> >
> > Upon running the image with the following command, the boot stalls
> > with "Booting from Hard Disk..."
> >
> >
> >
> > qemu-system-x86_64 core-image-sato-sdk.wic.qcow2 -m 512
> >
> >
> >
> > The hddimg has no issue booting with flashing to usb with
> > mkefidisk.sh, but this qcow2 image didn't even boot till EFI,
> 
> Did you try runqemu core-image-sato-sdk.wic.qcow2 ovmf?

Thanks for the tip, I tried the following
	runqemu core-image-sato-sdk wic.qcow2 => failed with same issue, stalling at "booting from hard disk..."
	runqemu core-image-sato-sdk => pass, boots and system usable

While 2nd works, but checking the log, it's actually running the kernel and ext4 as specific param to qemu-system-x86-64, and not using the wic.qcow2 image.
I was wondering, how should wic.qcow2 be used? Should the user somehow extract the image into different portions and load with qemu-system-x86-64?
Or perhaps there's further setting needed during the build that I missed?

> 
> Thanks,
> Anuj


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-27 13:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-25 15:23 [wic.qcow2] qemu-system-x86-64 booting qcow2 image stalls Tan, Raymond
2018-03-26  6:25 ` Anuj Mittal
2018-03-27 13:59   ` Tan, Raymond

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.