Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] linux-yocto/qemuppc: fix console and ethernet
@ 2012-01-23 17:54 Bruce Ashfield
  2012-01-23 17:54 ` [PATCH 1/1] " Bruce Ashfield
  0 siblings, 1 reply; 4+ messages in thread
From: Bruce Ashfield @ 2012-01-23 17:54 UTC (permalink / raw)
  To: richard.purdie; +Cc: openembedded-core, saul.wold

Richard/Saul,

As was discussed on the mailing list ethernet wasn't working out
of the box on the 3.0 kernel (but it was in 3.2, hence why my
boots missed it). I bundled this together with a console fix. 

The commit says it all:

[
  Two issues are fixed with this commit, the ability to use the keyboard
  on a graphical qemu boot and enabling ethernet by default on a 3.0
  kernel.

  The keyboard is fixed via the same method as the other simulations with
  the addition of console=tty on the qemu command line.

  Ethernet is fixed by adding a dependency of PCNET32 to the qemuppc
  configuration, which allows us to build ethernet directly into the image.
]

Cheers,

Bruce

The following changes since commit 4ad01bdf3f9cea8b2f42b925fa2b644d96ba1a82:
  Richard Purdie (1):
        gcc-package-cross.inc: Mark do_package* tasks as noexec

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib zedd/qemuppc
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/qemuppc

Bruce Ashfield (1):
  linux-yocto/qemuppc: fix console and ethernet

 meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb |    2 +-
 meta/recipes-kernel/linux/linux-yocto_3.0.bb    |    2 +-
 scripts/runqemu-internal                        |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)




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

* [PATCH 1/1] linux-yocto/qemuppc: fix console and ethernet
  2012-01-23 17:54 [PATCH 0/1] linux-yocto/qemuppc: fix console and ethernet Bruce Ashfield
@ 2012-01-23 17:54 ` Bruce Ashfield
  2012-01-24 11:02   ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Bruce Ashfield @ 2012-01-23 17:54 UTC (permalink / raw)
  To: richard.purdie; +Cc: openembedded-core, saul.wold

Two issues are fixed with this commit, the ability to use the keyboard
on a graphical qemu boot and enabling ethernet by default on a 3.0
kernel.

The keyboard is fixed via the same method as the other simulations with
the addition of console=tty on the qemu command line.

Ethernet is fixed by adding a dependency of PCNET32 to the qemuppc
configuration, which allows us to build ethernet directly into the image.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb |    2 +-
 meta/recipes-kernel/linux/linux-yocto_3.0.bb    |    2 +-
 scripts/runqemu-internal                        |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb b/meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb
index 145e548..9a543ab 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb
@@ -16,7 +16,7 @@ LINUX_KERNEL_TYPE = "preempt-rt"
 
 SRCREV_machine ?= "f1cc220f4ddf434bf254707c83a45794a63f117f"
 SRCREV_machine_qemuppc ?= "8bd5b80cb3243dadc9d6c5c09482c49994dff1a8"
-SRCREV_meta ?= "73dafd44ea875df654129b32b2877f342d5573e4"
+SRCREV_meta ?= "665fea1c249b4f335cb1c9a46a9f2c138d611f1a"
 
 PR = "r1"
 PV = "${LINUX_VERSION}+git${SRCPV}"
diff --git a/meta/recipes-kernel/linux/linux-yocto_3.0.bb b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
index 0b79bee..10859e7 100644
--- a/meta/recipes-kernel/linux/linux-yocto_3.0.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
@@ -19,7 +19,7 @@ SRCREV_machine_qemuppc ?= "53e71af30e30162e17e32b2f57e4481f5bc0573e"
 SRCREV_machine_qemux86 ?= "9e73573b6b227ab2c62e66e63470866d136f8d76"
 SRCREV_machine_qemux86-64 ?= "3551fd0412965b1f6b0b2f6ba35f7fecdaddb58a"
 SRCREV_machine ?= "6f5b11830deba4a6262c8c4abf67e608924f649e"
-SRCREV_meta ?= "73dafd44ea875df654129b32b2877f342d5573e4"
+SRCREV_meta ?= "665fea1c249b4f335cb1c9a46a9f2c138d611f1a"
 
 PR = "r2"
 PV = "${LINUX_VERSION}+git${SRCPV}"
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index 11dda55..21fbce3 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -394,7 +394,7 @@ if [ "$MACHINE" = "qemuppc" ]; then
     QEMU_UI_OPTIONS="$QEMU_UI_OPTIONS"
     QEMU_NETWORK_CMD="-net nic,model=pcnet $QEMU_TAP_CMD"
     if [ "$FSTYPE" = "ext3" -o "$FSTYPE" = "btrfs" ]; then
-        KERNCMDLINE="root=/dev/hda rw console=ttyS0 $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY"
+        KERNCMDLINE="root=/dev/hda rw console=ttyS0 console=tty $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY"
         QEMUOPTIONS="$QEMU_NETWORK_CMD -cpu $CPU_SUBTYPE -M $MACHINE_SUBTYPE -hda $ROOTFS -no-reboot $QEMU_UI_OPTIONS"
     fi
     if [ "$FSTYPE" = "nfs" ]; then
-- 
1.7.0.4




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

* Re: [PATCH 1/1] linux-yocto/qemuppc: fix console and ethernet
  2012-01-23 17:54 ` [PATCH 1/1] " Bruce Ashfield
@ 2012-01-24 11:02   ` Richard Purdie
  2012-01-24 14:12     ` Bruce Ashfield
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2012-01-24 11:02 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: openembedded-core, saul.wold

On Mon, 2012-01-23 at 12:54 -0500, Bruce Ashfield wrote:
> Two issues are fixed with this commit, the ability to use the keyboard
> on a graphical qemu boot and enabling ethernet by default on a 3.0
> kernel.
> 
> The keyboard is fixed via the same method as the other simulations with
> the addition of console=tty on the qemu command line.
> 
> Ethernet is fixed by adding a dependency of PCNET32 to the qemuppc
> configuration, which allows us to build ethernet directly into the image.
> 
> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
> ---
>  meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb |    2 +-
>  meta/recipes-kernel/linux/linux-yocto_3.0.bb    |    2 +-
>  scripts/runqemu-internal                        |    2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)

Merged to master, thanks.

I can confirm qemuppc now has networking as well as graphics which is
great progress :)

Cheers,

Richard




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

* Re: [PATCH 1/1] linux-yocto/qemuppc: fix console and ethernet
  2012-01-24 11:02   ` Richard Purdie
@ 2012-01-24 14:12     ` Bruce Ashfield
  0 siblings, 0 replies; 4+ messages in thread
From: Bruce Ashfield @ 2012-01-24 14:12 UTC (permalink / raw)
  To: Richard Purdie; +Cc: openembedded-core, saul.wold

On 12-01-24 06:02 AM, Richard Purdie wrote:
> On Mon, 2012-01-23 at 12:54 -0500, Bruce Ashfield wrote:
>> Two issues are fixed with this commit, the ability to use the keyboard
>> on a graphical qemu boot and enabling ethernet by default on a 3.0
>> kernel.
>>
>> The keyboard is fixed via the same method as the other simulations with
>> the addition of console=tty on the qemu command line.
>>
>> Ethernet is fixed by adding a dependency of PCNET32 to the qemuppc
>> configuration, which allows us to build ethernet directly into the image.
>>
>> Signed-off-by: Bruce Ashfield<bruce.ashfield@windriver.com>
>> ---
>>   meta/recipes-kernel/linux/linux-yocto-rt_3.0.bb |    2 +-
>>   meta/recipes-kernel/linux/linux-yocto_3.0.bb    |    2 +-
>>   scripts/runqemu-internal                        |    2 +-
>>   3 files changed, 3 insertions(+), 3 deletions(-)
>
> Merged to master, thanks.
>
> I can confirm qemuppc now has networking as well as graphics which is
> great progress :)

Indeed! It is nice to close out this longstanding issue.

Cheers,

Bruce

>
> Cheers,
>
> Richard
>




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

end of thread, other threads:[~2012-01-24 14:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-23 17:54 [PATCH 0/1] linux-yocto/qemuppc: fix console and ethernet Bruce Ashfield
2012-01-23 17:54 ` [PATCH 1/1] " Bruce Ashfield
2012-01-24 11:02   ` Richard Purdie
2012-01-24 14:12     ` Bruce Ashfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox