All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] [Yocto 2579] fix runqemu on ext2 image
@ 2012-06-20  8:55 Kang Kai
  2012-06-20  8:55 ` [PATCH 1/1] runqemu-internal: qemu fails to run " Kang Kai
  2012-06-25 16:04   ` Saul Wold
  0 siblings, 2 replies; 4+ messages in thread
From: Kang Kai @ 2012-06-20  8:55 UTC (permalink / raw)
  To: poky

Hi,

This patch is for Yocto 2579.

When set DISTRO to poky-tiny it only builds ext2 image and runqemu doesn't set qemu options for ext2 image that cause qemu fails to boot. Fix it.

Regards,
Kai

The following changes since commit e0a70547069fe7e8a2d6bdaffc985fb172d46c31:

  perl: Allow perl to cross build and native build in a directory named "t" (2012-06-18 17:33:04 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib kangkai/runqemu
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/runqemu

Kang Kai (1):
  runqemu-internal: qemu fails to run on ext2 image

 scripts/runqemu-internal |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-- 
1.7.5.4



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

* [PATCH 1/1] runqemu-internal: qemu fails to run on ext2 image
  2012-06-20  8:55 [PATCH 0/1] [Yocto 2579] fix runqemu on ext2 image Kang Kai
@ 2012-06-20  8:55 ` Kang Kai
  2012-06-25 16:04   ` Saul Wold
  1 sibling, 0 replies; 4+ messages in thread
From: Kang Kai @ 2012-06-20  8:55 UTC (permalink / raw)
  To: poky

[Yocto 2579]

When set DISTRO to poky-tiny, only ext2 image is created. But
runqemu-internal doesn't set QEMUOPTIONS for ext2 image that make qemu
fail to boot.

Fix it for qemux86 arch since poky-tiny can only build for qemux86 now.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 scripts/runqemu-internal |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index c8e3186..041464d 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -319,7 +319,7 @@ fi
 if [ "$MACHINE" = "qemux86" ]; then
     QEMU=qemu
     QEMU_UI_OPTIONS="$QEMU_UI_OPTIONS -vga vmware -enable-gl"
-    if [ "$FSTYPE" = "ext3" -o "$FSTYPE" = "btrfs" ]; then
+    if [ "$FSTYPE" = "ext2" -o "$FSTYPE" = "ext3" -o "$FSTYPE" = "btrfs" ]; then
         KERNCMDLINE="vga=0 root=/dev/hda rw mem=$QEMU_MEMORY $KERNEL_NETWORK_CMD"
         QEMUOPTIONS="$QEMU_NETWORK_CMD -hda $ROOTFS $QEMU_UI_OPTIONS"
     fi
-- 
1.7.5.4



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

* Re: [poky] [PATCH 0/1] [Yocto 2579] fix runqemu on ext2 image
  2012-06-20  8:55 [PATCH 0/1] [Yocto 2579] fix runqemu on ext2 image Kang Kai
@ 2012-06-25 16:04   ` Saul Wold
  2012-06-25 16:04   ` Saul Wold
  1 sibling, 0 replies; 4+ messages in thread
From: Saul Wold @ 2012-06-25 16:04 UTC (permalink / raw)
  To: Kang Kai; +Cc: poky, 'Patches and discussions about the oe-core layer'

On 06/20/2012 01:55 AM, Kang Kai wrote:
> Hi,
>
> This patch is for Yocto 2579.
>
> When set DISTRO to poky-tiny it only builds ext2 image and runqemu doesn't set qemu options for ext2 image that cause qemu fails to boot. Fix it.
>
> Regards,
> Kai
>
> The following changes since commit e0a70547069fe7e8a2d6bdaffc985fb172d46c31:
>
>    perl: Allow perl to cross build and native build in a directory named "t" (2012-06-18 17:33:04 +0100)
>
> are available in the git repository at:
>    git://git.pokylinux.org/poky-contrib kangkai/runqemu
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/runqemu
>
> Kang Kai (1):
>    runqemu-internal: qemu fails to run on ext2 image
>
>   scripts/runqemu-internal |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
Merged into OE-Core

Thanks
	Sau!

(BTW, please use openembedded-core for items in meta)



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

* Re: [PATCH 0/1] [Yocto 2579] fix runqemu on ext2 image
@ 2012-06-25 16:04   ` Saul Wold
  0 siblings, 0 replies; 4+ messages in thread
From: Saul Wold @ 2012-06-25 16:04 UTC (permalink / raw)
  To: Kang Kai; +Cc: poky, 'Patches and discussions about the oe-core layer'

On 06/20/2012 01:55 AM, Kang Kai wrote:
> Hi,
>
> This patch is for Yocto 2579.
>
> When set DISTRO to poky-tiny it only builds ext2 image and runqemu doesn't set qemu options for ext2 image that cause qemu fails to boot. Fix it.
>
> Regards,
> Kai
>
> The following changes since commit e0a70547069fe7e8a2d6bdaffc985fb172d46c31:
>
>    perl: Allow perl to cross build and native build in a directory named "t" (2012-06-18 17:33:04 +0100)
>
> are available in the git repository at:
>    git://git.pokylinux.org/poky-contrib kangkai/runqemu
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/runqemu
>
> Kang Kai (1):
>    runqemu-internal: qemu fails to run on ext2 image
>
>   scripts/runqemu-internal |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
Merged into OE-Core

Thanks
	Sau!

(BTW, please use openembedded-core for items in meta)


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

end of thread, other threads:[~2012-06-25 16:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-20  8:55 [PATCH 0/1] [Yocto 2579] fix runqemu on ext2 image Kang Kai
2012-06-20  8:55 ` [PATCH 1/1] runqemu-internal: qemu fails to run " Kang Kai
2012-06-25 16:04 ` [poky] [PATCH 0/1] [Yocto 2579] fix runqemu " Saul Wold
2012-06-25 16:04   ` Saul Wold

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.