Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/3] Add qemuppc64 target
@ 2016-06-21 14:38 Armin Kuster
  2016-06-21 14:39 ` [PATCH 1/3] machine: add qemuppc64 machine Armin Kuster
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Armin Kuster @ 2016-06-21 14:38 UTC (permalink / raw)
  To: akuster, openembedded-core

This is step 1 in support of Yocto bug 9778

Boot tested on Ubuntu 14.04 (qemu 2.0)

Armin Kuster (3):
  machine: add qemuppc64 machine
  linux-yocto: add qemuppc64
  runqemu: Add qemuppc64

 meta/conf/machine/qemuppc64.conf             | 13 +++++++++++++
 meta/recipes-kernel/linux/linux-yocto_4.1.bb | 22 ++++++++++++----------
 meta/recipes-kernel/linux/linux-yocto_4.4.bb | 22 ++++++++++++----------
 scripts/runqemu                              |  9 ++++++---
 scripts/runqemu-internal                     | 24 ++++++++++++++++++------
 5 files changed, 61 insertions(+), 29 deletions(-)
 create mode 100644 meta/conf/machine/qemuppc64.conf

-- 
1.9.1



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

* [PATCH 1/3] machine: add qemuppc64 machine
  2016-06-21 14:38 [PATCH 0/3] Add qemuppc64 target Armin Kuster
@ 2016-06-21 14:39 ` Armin Kuster
  2016-06-21 14:39 ` [PATCH 2/3] linux-yocto: add qemuppc64 Armin Kuster
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 11+ messages in thread
From: Armin Kuster @ 2016-06-21 14:39 UTC (permalink / raw)
  To: akuster, openembedded-core

Signed-off-by: Armin Kuster <akuster@mvista.com>
---
 meta/conf/machine/qemuppc64.conf | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta/conf/machine/qemuppc64.conf

diff --git a/meta/conf/machine/qemuppc64.conf b/meta/conf/machine/qemuppc64.conf
new file mode 100644
index 0000000..5501101
--- /dev/null
+++ b/meta/conf/machine/qemuppc64.conf
@@ -0,0 +1,13 @@
+#@TYPE: Machine
+#@NAME: qemu PPC 64 Emulator setup
+#@DESCRIPTION: Machine configuration for running an PPC system under qemu emulation
+
+require conf/machine/include/qemu.inc
+DEFAULTTUNE ?= "ppc64p6"
+require conf/machine/include/tune-power6.inc
+
+KERNEL_IMAGETYPE = "vmlinux"
+
+SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS1"
+
+MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
-- 
1.9.1



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

* [PATCH 2/3] linux-yocto: add qemuppc64
  2016-06-21 14:38 [PATCH 0/3] Add qemuppc64 target Armin Kuster
  2016-06-21 14:39 ` [PATCH 1/3] machine: add qemuppc64 machine Armin Kuster
@ 2016-06-21 14:39 ` Armin Kuster
  2016-06-21 15:01   ` Bruce Ashfield
  2016-06-21 14:39 ` [PATCH 3/3] runqemu: Add qemuppc64 Armin Kuster
  2016-06-21 15:59 ` [PATCH 0/3] Add qemuppc64 target Khem Raj
  3 siblings, 1 reply; 11+ messages in thread
From: Armin Kuster @ 2016-06-21 14:39 UTC (permalink / raw)
  To: akuster, openembedded-core

From: Armin Kuster <akuster@mvista.com>

Signed-off-by: Armin Kuster <akuster@mvista.com>
---
 meta/recipes-kernel/linux/linux-yocto_4.1.bb | 22 ++++++++++++----------
 meta/recipes-kernel/linux/linux-yocto_4.4.bb | 22 ++++++++++++----------
 2 files changed, 24 insertions(+), 20 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto_4.1.bb b/meta/recipes-kernel/linux/linux-yocto_4.1.bb
index 667212f..6053ea3 100644
--- a/meta/recipes-kernel/linux/linux-yocto_4.1.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_4.1.bb
@@ -7,19 +7,21 @@ KBRANCH_qemuarm  ?= "standard/arm-versatile-926ejs"
 KBRANCH_qemuarm64 ?= "standard/qemuarm64"
 KBRANCH_qemumips ?= "standard/mti-malta32"
 KBRANCH_qemuppc  ?= "standard/qemuppc"
+KBRANCH_qemuppc64  ?= "standard/qemuppc"
 KBRANCH_qemux86  ?= "standard/base"
 KBRANCH_qemux86-64 ?= "standard/base"
 KBRANCH_qemumips64 ?= "standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "a6899b7c294ed25d9d37afde858cdd52f41f86b0"
-SRCREV_machine_qemuarm64 ?= "9ba8c36e9ea7419d06accab5311e7fb0d56513ff"
-SRCREV_machine_qemumips ?= "69936a9614608b7aa893ae78bd69e5cc197816c3"
-SRCREV_machine_qemuppc ?= "9ba8c36e9ea7419d06accab5311e7fb0d56513ff"
-SRCREV_machine_qemux86 ?= "9ba8c36e9ea7419d06accab5311e7fb0d56513ff"
-SRCREV_machine_qemux86-64 ?= "9ba8c36e9ea7419d06accab5311e7fb0d56513ff"
-SRCREV_machine_qemumips64 ?= "f0eb9eabbeafa5eadf66893822ea42d80e04afbd"
-SRCREV_machine ?= "9ba8c36e9ea7419d06accab5311e7fb0d56513ff"
-SRCREV_meta ?= "9f68667031354532563766a3d04ca8a618e9177a"
+SRCREV_machine_qemuarm ?= "a7b999561115b0b84814a2a27fe3f8c5b0599b0d"
+SRCREV_machine_qemuarm64 ?= "57f17e7008c57885ef5c41bda2829589e499ae28"
+SRCREV_machine_qemumips ?= "ce9d4e563925e65c7a4b73fd6027ed8d2a4fc5e4"
+SRCREV_machine_qemuppc ?= "57f17e7008c57885ef5c41bda2829589e499ae28"
+SRCREV_machine_qemuppc64 ?= "57f17e7008c57885ef5c41bda2829589e499ae28"
+SRCREV_machine_qemux86 ?= "57f17e7008c57885ef5c41bda2829589e499ae28"
+SRCREV_machine_qemux86-64 ?= "57f17e7008c57885ef5c41bda2829589e499ae28"
+SRCREV_machine_qemumips64 ?= "75260c1966188a38e070420624ac65b188f77948"
+SRCREV_machine ?= "57f17e7008c57885ef5c41bda2829589e499ae28"
+SRCREV_meta ?= "4b4199bd24f206d459061bb0a920d009429d5ed3"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.1.git;name=machine;branch=${KBRANCH}; \
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.1;destsuffix=${KMETA}"
@@ -31,7 +33,7 @@ PV = "${LINUX_VERSION}+git${SRCPV}"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"
+COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemuppc64|qemumips|qemumips64|qemux86-64"
 
 # Functionality flags
 KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
diff --git a/meta/recipes-kernel/linux/linux-yocto_4.4.bb b/meta/recipes-kernel/linux/linux-yocto_4.4.bb
index d69ecec..a277199 100644
--- a/meta/recipes-kernel/linux/linux-yocto_4.4.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_4.4.bb
@@ -7,19 +7,21 @@ KBRANCH_qemuarm  ?= "standard/arm-versatile-926ejs"
 KBRANCH_qemuarm64 ?= "standard/qemuarm64"
 KBRANCH_qemumips ?= "standard/mti-malta32"
 KBRANCH_qemuppc  ?= "standard/qemuppc"
+KBRANCH_qemuppc64  ?= "standard/qemuppc"
 KBRANCH_qemux86  ?= "standard/base"
 KBRANCH_qemux86-64 ?= "standard/base"
 KBRANCH_qemumips64 ?= "standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "cdfdcbd7ee553dc2e483813054a378ef9eaa44b6"
-SRCREV_machine_qemuarm64 ?= "bc64c8124504681545cb97a22b69a4e4bfeb55e2"
-SRCREV_machine_qemumips ?= "b1f51ad1d4e95be437bf7725e094d6ad1b8286b0"
-SRCREV_machine_qemuppc ?= "bc64c8124504681545cb97a22b69a4e4bfeb55e2"
-SRCREV_machine_qemux86 ?= "bc64c8124504681545cb97a22b69a4e4bfeb55e2"
-SRCREV_machine_qemux86-64 ?= "bc64c8124504681545cb97a22b69a4e4bfeb55e2"
-SRCREV_machine_qemumips64 ?= "4b17815085dbd2a0408d7969bf4689a4c2b12942"
-SRCREV_machine ?= "bc64c8124504681545cb97a22b69a4e4bfeb55e2"
-SRCREV_meta ?= "870134f4bfa6208d6e5339e065486be3b6e693a5"
+SRCREV_machine_qemuarm ?= "ae04be16985c86803d8016b06aa57c02fe63cab3"
+SRCREV_machine_qemuarm64 ?= "1f3e98df094cb7afb7d3d540dd0e47b3b8c89711"
+SRCREV_machine_qemumips ?= "1d16db0bce02f4f46a925e5425194de8d25a926e"
+SRCREV_machine_qemuppc ?= "1f3e98df094cb7afb7d3d540dd0e47b3b8c89711"
+SRCREV_machine_qemuppc64 ?= "1f3e98df094cb7afb7d3d540dd0e47b3b8c89711"
+SRCREV_machine_qemux86 ?= "1f3e98df094cb7afb7d3d540dd0e47b3b8c89711"
+SRCREV_machine_qemux86-64 ?= "1f3e98df094cb7afb7d3d540dd0e47b3b8c89711"
+SRCREV_machine_qemumips64 ?= "6fe42d5321cd24411c2a4b7f2aac8a01dfa82b8f"
+SRCREV_machine ?= "1f3e98df094cb7afb7d3d540dd0e47b3b8c89711"
+SRCREV_meta ?= "8900370d334ab4f7224fa71d7d46d62f0b11199d"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-4.4.git;name=machine;branch=${KBRANCH}; \
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}"
@@ -31,7 +33,7 @@ PV = "${LINUX_VERSION}+git${SRCPV}"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"
+COMPATIBLE_MACHINE = "qemuarm|qemuarm64|qemux86|qemuppc|qemuppc64|qemumips|qemumips64|qemux86-64"
 
 # Functionality flags
 KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
-- 
1.9.1



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

* [PATCH 3/3] runqemu: Add qemuppc64
  2016-06-21 14:38 [PATCH 0/3] Add qemuppc64 target Armin Kuster
  2016-06-21 14:39 ` [PATCH 1/3] machine: add qemuppc64 machine Armin Kuster
  2016-06-21 14:39 ` [PATCH 2/3] linux-yocto: add qemuppc64 Armin Kuster
@ 2016-06-21 14:39 ` Armin Kuster
  2016-06-21 15:59 ` [PATCH 0/3] Add qemuppc64 target Khem Raj
  3 siblings, 0 replies; 11+ messages in thread
From: Armin Kuster @ 2016-06-21 14:39 UTC (permalink / raw)
  To: akuster, openembedded-core

From: Armin Kuster <akuster@mvista.com>

Signed-off-by: Armin Kuster <akuster@mvista.com>
---
 scripts/runqemu          |  9 ++++++---
 scripts/runqemu-internal | 24 ++++++++++++++++++------
 2 files changed, 24 insertions(+), 9 deletions(-)

diff --git a/scripts/runqemu b/scripts/runqemu
index de05035..9c73e25 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -121,7 +121,7 @@ while true; do
     arg=${1}
     case "$arg" in
         "qemux86" | "qemux86-64" | "qemuarm" | "qemuarm64" | "qemumips" | "qemumipsel" | \
-        "qemumips64" | "qemush4"  | "qemuppc" | "qemumicroblaze" | "qemuzynq" | "qemuzynqmp")
+        "qemumips64" | "qemush4"  | "qemuppc" | "qemuppc64" | "qemumicroblaze" | "qemuzynq" | "qemuzynqmp")
             [ -z "$MACHINE" -o "$MACHINE" = "$arg" ] && MACHINE=$arg || \
                 error "conflicting MACHINE types [$MACHINE] and [$arg]"
             ;;
@@ -251,13 +251,13 @@ fi
 if [ -z "$MACHINE" ]; then
     if [ "$IS_VM" = "true" ]; then
         [ "x$FSTYPE" = "xwic" ] && filename=$ROOTFS || filename=$VM
-        MACHINE=`basename $filename | sed -n 's/.*\(qemux86-64\|qemux86\|qemuarm64\|qemuarm\|qemumips64\|qemumips\|qemuppc\|qemush4\).*/\1/p'`
+        MACHINE=`basename $filename | sed -n 's/.*\(qemux86-64\|qemux86\|qemuarm64\|qemuarm\|qemumips64\|qemumips\|qemuppc\|qemuppc64\|qemush4\).*/\1/p'`
         if [ -z "$MACHINE" ]; then
             error "Unable to set MACHINE from image filename [$VM]"
         fi
         echo "Set MACHINE to [$MACHINE] based on image [$VM]"
     else
-        MACHINE=`basename $KERNEL | sed -n 's/.*\(qemux86-64\|qemux86\|qemuarm64\|qemuarm\|qemumips64\|qemumips\|qemuppc\|qemush4\).*/\1/p'`
+        MACHINE=`basename $KERNEL | sed -n 's/.*\(qemux86-64\|qemux86\|qemuarm64\|qemuarm\|qemumips64\|qemumips\|qemuppc\|qemuppc64\|qemush4\).*/\1/p'`
         if [ -z "$MACHINE" ]; then
             error "Unable to set MACHINE from kernel filename [$KERNEL]"
         fi
@@ -344,6 +344,9 @@ QEMUSH4_DEFAULT_FSTYPE=ext4
 QEMUPPC_DEFAULT_KERNEL=vmlinux-qemuppc.bin
 QEMUPPC_DEFAULT_FSTYPE=ext4
 
+QEMUPPC64_DEFAULT_KERNEL=vmlinux-qemuppc64.bin
+QEMUPPC64_DEFAULT_FSTYPE=ext4
+
 QEMUMICROBLAZE_DEFAULT_KERNEL=linux.bin.ub
 QEMUMICROBLAZE_DEFAULT_FSTYPE=cpio
 
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
index ea1a307..e8cc1a1 100755
--- a/scripts/runqemu-internal
+++ b/scripts/runqemu-internal
@@ -438,15 +438,27 @@ config_qemumips() {
 }
 
 config_qemuppc() {
-    set_mem_size 256
-    QEMU=qemu-system-ppc
-    MACHINE_SUBTYPE=mac99
-    CPU_SUBTYPE=G4
+    case "$MACHINE" in
+        qemuppc)
+            set_mem_size 256
+            QEMU=qemu-system-ppc
+            MACHINE_SUBTYPE=mac99
+            CPU_SUBTYPE=G4
+            MODEL=pcnet
+        ;;
+        qemuppc64)
+            set_mem_size 1024
+            QEMU=qemu-system-ppc64
+            MACHINE_SUBTYPE=pseries
+            CPU_SUBTYPE=POWER7
+            MODEL=e1000
+        ;;
+    esac
     QEMU_UI_OPTIONS="$QEMU_UI_OPTIONS"
     if [ "$SLIRP_ENABLED" = "yes" ]; then
         QEMU_NETWORK_CMD=""
     else
-        QEMU_NETWORK_CMD="-net nic,model=pcnet $QEMU_TAP_CMD"
+        QEMU_NETWORK_CMD="-net nic,model=$MODEL $QEMU_TAP_CMD"
     fi
     if [ "${FSTYPE:0:3}" = "ext" -o "$FSTYPE" = "btrfs" -o "$FSTYPE" = "wic" ]; then
         KERNCMDLINE="root=$DROOT rw console=ttyS0 console=tty $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY"
@@ -543,7 +555,7 @@ case "$MACHINE" in
     "qemumips" | "qemumipsel" | "qemumips64")
         config_qemumips
         ;;
-    "qemuppc")
+    "qemuppc" | "qemuppc64")
         config_qemuppc
         ;;
     "qemush4")
-- 
1.9.1



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

* Re: [PATCH 2/3] linux-yocto: add qemuppc64
  2016-06-21 14:39 ` [PATCH 2/3] linux-yocto: add qemuppc64 Armin Kuster
@ 2016-06-21 15:01   ` Bruce Ashfield
       [not found]     ` <57695F73.80209@mvista.com>
  0 siblings, 1 reply; 11+ messages in thread
From: Bruce Ashfield @ 2016-06-21 15:01 UTC (permalink / raw)
  To: Armin Kuster; +Cc: akuster, Patches and discussions about the oe-core layer

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

On Tue, Jun 21, 2016 at 10:39 AM, Armin Kuster <akuster808@gmail.com> wrote:

> From: Armin Kuster <akuster@mvista.com>
>

Is this for master ? If so, can you drop the SRCREV updates ? I have an
entire series
under test that bumps all the versions.

What is listed here, isn't ready to go yet.

Bruce


>
> Signed-off-by: Armin Kuster <akuster@mvista.com>
> ---
>  meta/recipes-kernel/linux/linux-yocto_4.1.bb | 22 ++++++++++++----------
>  meta/recipes-kernel/linux/linux-yocto_4.4.bb | 22 ++++++++++++----------
>  2 files changed, 24 insertions(+), 20 deletions(-)
>
> diff --git a/meta/recipes-kernel/linux/linux-yocto_4.1.bb
> b/meta/recipes-kernel/linux/linux-yocto_4.1.bb
> index 667212f..6053ea3 100644
> --- a/meta/recipes-kernel/linux/linux-yocto_4.1.bb
> +++ b/meta/recipes-kernel/linux/linux-yocto_4.1.bb
> @@ -7,19 +7,21 @@ KBRANCH_qemuarm  ?= "standard/arm-versatile-926ejs"
>  KBRANCH_qemuarm64 ?= "standard/qemuarm64"
>  KBRANCH_qemumips ?= "standard/mti-malta32"
>  KBRANCH_qemuppc  ?= "standard/qemuppc"
> +KBRANCH_qemuppc64  ?= "standard/qemuppc"
>  KBRANCH_qemux86  ?= "standard/base"
>  KBRANCH_qemux86-64 ?= "standard/base"
>  KBRANCH_qemumips64 ?= "standard/mti-malta64"
>
> -SRCREV_machine_qemuarm ?= "a6899b7c294ed25d9d37afde858cdd52f41f86b0"
> -SRCREV_machine_qemuarm64 ?= "9ba8c36e9ea7419d06accab5311e7fb0d56513ff"
> -SRCREV_machine_qemumips ?= "69936a9614608b7aa893ae78bd69e5cc197816c3"
> -SRCREV_machine_qemuppc ?= "9ba8c36e9ea7419d06accab5311e7fb0d56513ff"
> -SRCREV_machine_qemux86 ?= "9ba8c36e9ea7419d06accab5311e7fb0d56513ff"
> -SRCREV_machine_qemux86-64 ?= "9ba8c36e9ea7419d06accab5311e7fb0d56513ff"
> -SRCREV_machine_qemumips64 ?= "f0eb9eabbeafa5eadf66893822ea42d80e04afbd"
> -SRCREV_machine ?= "9ba8c36e9ea7419d06accab5311e7fb0d56513ff"
> -SRCREV_meta ?= "9f68667031354532563766a3d04ca8a618e9177a"
> +SRCREV_machine_qemuarm ?= "a7b999561115b0b84814a2a27fe3f8c5b0599b0d"
> +SRCREV_machine_qemuarm64 ?= "57f17e7008c57885ef5c41bda2829589e499ae28"
> +SRCREV_machine_qemumips ?= "ce9d4e563925e65c7a4b73fd6027ed8d2a4fc5e4"
> +SRCREV_machine_qemuppc ?= "57f17e7008c57885ef5c41bda2829589e499ae28"
> +SRCREV_machine_qemuppc64 ?= "57f17e7008c57885ef5c41bda2829589e499ae28"
> +SRCREV_machine_qemux86 ?= "57f17e7008c57885ef5c41bda2829589e499ae28"
> +SRCREV_machine_qemux86-64 ?= "57f17e7008c57885ef5c41bda2829589e499ae28"
> +SRCREV_machine_qemumips64 ?= "75260c1966188a38e070420624ac65b188f77948"
> +SRCREV_machine ?= "57f17e7008c57885ef5c41bda2829589e499ae28"
> +SRCREV_meta ?= "4b4199bd24f206d459061bb0a920d009429d5ed3"
>
>  SRC_URI = "git://
> git.yoctoproject.org/linux-yocto-4.1.git;name=machine;branch=${KBRANCH}; \
>             git://
> git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.1;destsuffix=${KMETA}
> "
> @@ -31,7 +33,7 @@ PV = "${LINUX_VERSION}+git${SRCPV}"
>  KMETA = "kernel-meta"
>  KCONF_BSP_AUDIT_LEVEL = "2"
>
> -COMPATIBLE_MACHINE =
> "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"
> +COMPATIBLE_MACHINE =
> "qemuarm|qemuarm64|qemux86|qemuppc|qemuppc64|qemumips|qemumips64|qemux86-64"
>
>  # Functionality flags
>  KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
> diff --git a/meta/recipes-kernel/linux/linux-yocto_4.4.bb
> b/meta/recipes-kernel/linux/linux-yocto_4.4.bb
> index d69ecec..a277199 100644
> --- a/meta/recipes-kernel/linux/linux-yocto_4.4.bb
> +++ b/meta/recipes-kernel/linux/linux-yocto_4.4.bb
> @@ -7,19 +7,21 @@ KBRANCH_qemuarm  ?= "standard/arm-versatile-926ejs"
>  KBRANCH_qemuarm64 ?= "standard/qemuarm64"
>  KBRANCH_qemumips ?= "standard/mti-malta32"
>  KBRANCH_qemuppc  ?= "standard/qemuppc"
> +KBRANCH_qemuppc64  ?= "standard/qemuppc"
>  KBRANCH_qemux86  ?= "standard/base"
>  KBRANCH_qemux86-64 ?= "standard/base"
>  KBRANCH_qemumips64 ?= "standard/mti-malta64"
>
> -SRCREV_machine_qemuarm ?= "cdfdcbd7ee553dc2e483813054a378ef9eaa44b6"
> -SRCREV_machine_qemuarm64 ?= "bc64c8124504681545cb97a22b69a4e4bfeb55e2"
> -SRCREV_machine_qemumips ?= "b1f51ad1d4e95be437bf7725e094d6ad1b8286b0"
> -SRCREV_machine_qemuppc ?= "bc64c8124504681545cb97a22b69a4e4bfeb55e2"
> -SRCREV_machine_qemux86 ?= "bc64c8124504681545cb97a22b69a4e4bfeb55e2"
> -SRCREV_machine_qemux86-64 ?= "bc64c8124504681545cb97a22b69a4e4bfeb55e2"
> -SRCREV_machine_qemumips64 ?= "4b17815085dbd2a0408d7969bf4689a4c2b12942"
> -SRCREV_machine ?= "bc64c8124504681545cb97a22b69a4e4bfeb55e2"
> -SRCREV_meta ?= "870134f4bfa6208d6e5339e065486be3b6e693a5"
> +SRCREV_machine_qemuarm ?= "ae04be16985c86803d8016b06aa57c02fe63cab3"
> +SRCREV_machine_qemuarm64 ?= "1f3e98df094cb7afb7d3d540dd0e47b3b8c89711"
> +SRCREV_machine_qemumips ?= "1d16db0bce02f4f46a925e5425194de8d25a926e"
> +SRCREV_machine_qemuppc ?= "1f3e98df094cb7afb7d3d540dd0e47b3b8c89711"
> +SRCREV_machine_qemuppc64 ?= "1f3e98df094cb7afb7d3d540dd0e47b3b8c89711"
> +SRCREV_machine_qemux86 ?= "1f3e98df094cb7afb7d3d540dd0e47b3b8c89711"
> +SRCREV_machine_qemux86-64 ?= "1f3e98df094cb7afb7d3d540dd0e47b3b8c89711"
> +SRCREV_machine_qemumips64 ?= "6fe42d5321cd24411c2a4b7f2aac8a01dfa82b8f"
> +SRCREV_machine ?= "1f3e98df094cb7afb7d3d540dd0e47b3b8c89711"
> +SRCREV_meta ?= "8900370d334ab4f7224fa71d7d46d62f0b11199d"
>
>  SRC_URI = "git://
> git.yoctoproject.org/linux-yocto-4.4.git;name=machine;branch=${KBRANCH}; \
>             git://
> git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}
> "
> @@ -31,7 +33,7 @@ PV = "${LINUX_VERSION}+git${SRCPV}"
>  KMETA = "kernel-meta"
>  KCONF_BSP_AUDIT_LEVEL = "2"
>
> -COMPATIBLE_MACHINE =
> "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"
> +COMPATIBLE_MACHINE =
> "qemuarm|qemuarm64|qemux86|qemuppc|qemuppc64|qemumips|qemumips64|qemux86-64"
>
>  # Functionality flags
>  KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"

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

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

* Re: [PATCH 2/3] linux-yocto: add qemuppc64
       [not found]     ` <57695F73.80209@mvista.com>
@ 2016-06-21 15:39       ` Bruce Ashfield
  0 siblings, 0 replies; 11+ messages in thread
From: Bruce Ashfield @ 2016-06-21 15:39 UTC (permalink / raw)
  To: akuster; +Cc: Patches and discussions about the oe-core layer

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

On Tue, Jun 21, 2016 at 11:38 AM, akuster <akuster@mvista.com> wrote:

>
>
> On 06/21/2016 08:01 AM, Bruce Ashfield wrote:
> > On Tue, Jun 21, 2016 at 10:39 AM, Armin Kuster <akuster808@gmail.com>
> wrote:
> >
> >> From: Armin Kuster <akuster@mvista.com>
> >>
> >
> > Is this for master ? If so, can you drop the SRCREV updates ? I have an
> > entire series
> > under test that bumps all the versions.
>
> Did work against master but had merge conflict on last rebase. I figured
> this patch would have to fixed up at time of merge.
>
> >
> > What is listed here, isn't ready to go yet.
>
> hhah, what is listed has going back in time. boy, screwed that merge
> conflict up. I will resend an update to this patch.
>


No worries. I sent an updated series (which you probably saw) with my latest
SRCREVs that I've tested. If you jump off the end of that, you should be
good.

Bruce


>
> thanks,
> Armin
> >
> > Bruce
> >
> >
> >>
> >> Signed-off-by: Armin Kuster <akuster@mvista.com>
> >> ---
> >>  meta/recipes-kernel/linux/linux-yocto_4.1.bb | 22
> ++++++++++++----------
> >>  meta/recipes-kernel/linux/linux-yocto_4.4.bb | 22
> ++++++++++++----------
> >>  2 files changed, 24 insertions(+), 20 deletions(-)
> >>
> >> diff --git a/meta/recipes-kernel/linux/linux-yocto_4.1.bb
> >> b/meta/recipes-kernel/linux/linux-yocto_4.1.bb
> >> index 667212f..6053ea3 100644
> >> --- a/meta/recipes-kernel/linux/linux-yocto_4.1.bb
> >> +++ b/meta/recipes-kernel/linux/linux-yocto_4.1.bb
> >> @@ -7,19 +7,21 @@ KBRANCH_qemuarm  ?= "standard/arm-versatile-926ejs"
> >>  KBRANCH_qemuarm64 ?= "standard/qemuarm64"
> >>  KBRANCH_qemumips ?= "standard/mti-malta32"
> >>  KBRANCH_qemuppc  ?= "standard/qemuppc"
> >> +KBRANCH_qemuppc64  ?= "standard/qemuppc"
> >>  KBRANCH_qemux86  ?= "standard/base"
> >>  KBRANCH_qemux86-64 ?= "standard/base"
> >>  KBRANCH_qemumips64 ?= "standard/mti-malta64"
> >>
> >> -SRCREV_machine_qemuarm ?= "a6899b7c294ed25d9d37afde858cdd52f41f86b0"
> >> -SRCREV_machine_qemuarm64 ?= "9ba8c36e9ea7419d06accab5311e7fb0d56513ff"
> >> -SRCREV_machine_qemumips ?= "69936a9614608b7aa893ae78bd69e5cc197816c3"
> >> -SRCREV_machine_qemuppc ?= "9ba8c36e9ea7419d06accab5311e7fb0d56513ff"
> >> -SRCREV_machine_qemux86 ?= "9ba8c36e9ea7419d06accab5311e7fb0d56513ff"
> >> -SRCREV_machine_qemux86-64 ?= "9ba8c36e9ea7419d06accab5311e7fb0d56513ff"
> >> -SRCREV_machine_qemumips64 ?= "f0eb9eabbeafa5eadf66893822ea42d80e04afbd"
> >> -SRCREV_machine ?= "9ba8c36e9ea7419d06accab5311e7fb0d56513ff"
> >> -SRCREV_meta ?= "9f68667031354532563766a3d04ca8a618e9177a"
> >> +SRCREV_machine_qemuarm ?= "a7b999561115b0b84814a2a27fe3f8c5b0599b0d"
> >> +SRCREV_machine_qemuarm64 ?= "57f17e7008c57885ef5c41bda2829589e499ae28"
> >> +SRCREV_machine_qemumips ?= "ce9d4e563925e65c7a4b73fd6027ed8d2a4fc5e4"
> >> +SRCREV_machine_qemuppc ?= "57f17e7008c57885ef5c41bda2829589e499ae28"
> >> +SRCREV_machine_qemuppc64 ?= "57f17e7008c57885ef5c41bda2829589e499ae28"
> >> +SRCREV_machine_qemux86 ?= "57f17e7008c57885ef5c41bda2829589e499ae28"
> >> +SRCREV_machine_qemux86-64 ?= "57f17e7008c57885ef5c41bda2829589e499ae28"
> >> +SRCREV_machine_qemumips64 ?= "75260c1966188a38e070420624ac65b188f77948"
> >> +SRCREV_machine ?= "57f17e7008c57885ef5c41bda2829589e499ae28"
> >> +SRCREV_meta ?= "4b4199bd24f206d459061bb0a920d009429d5ed3"
> >>
> >>  SRC_URI = "git://
> >> git.yoctoproject.org/linux-yocto-4.1.git;name=machine;branch=${KBRANCH};
> \
> >>             git://
> >>
> git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.1;destsuffix=${KMETA}
> >> "
> >> @@ -31,7 +33,7 @@ PV = "${LINUX_VERSION}+git${SRCPV}"
> >>  KMETA = "kernel-meta"
> >>  KCONF_BSP_AUDIT_LEVEL = "2"
> >>
> >> -COMPATIBLE_MACHINE =
> >> "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"
> >> +COMPATIBLE_MACHINE =
> >>
> "qemuarm|qemuarm64|qemux86|qemuppc|qemuppc64|qemumips|qemumips64|qemux86-64"
> >>
> >>  # Functionality flags
> >>  KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
> >> diff --git a/meta/recipes-kernel/linux/linux-yocto_4.4.bb
> >> b/meta/recipes-kernel/linux/linux-yocto_4.4.bb
> >> index d69ecec..a277199 100644
> >> --- a/meta/recipes-kernel/linux/linux-yocto_4.4.bb
> >> +++ b/meta/recipes-kernel/linux/linux-yocto_4.4.bb
> >> @@ -7,19 +7,21 @@ KBRANCH_qemuarm  ?= "standard/arm-versatile-926ejs"
> >>  KBRANCH_qemuarm64 ?= "standard/qemuarm64"
> >>  KBRANCH_qemumips ?= "standard/mti-malta32"
> >>  KBRANCH_qemuppc  ?= "standard/qemuppc"
> >> +KBRANCH_qemuppc64  ?= "standard/qemuppc"
> >>  KBRANCH_qemux86  ?= "standard/base"
> >>  KBRANCH_qemux86-64 ?= "standard/base"
> >>  KBRANCH_qemumips64 ?= "standard/mti-malta64"
> >>
> >> -SRCREV_machine_qemuarm ?= "cdfdcbd7ee553dc2e483813054a378ef9eaa44b6"
> >> -SRCREV_machine_qemuarm64 ?= "bc64c8124504681545cb97a22b69a4e4bfeb55e2"
> >> -SRCREV_machine_qemumips ?= "b1f51ad1d4e95be437bf7725e094d6ad1b8286b0"
> >> -SRCREV_machine_qemuppc ?= "bc64c8124504681545cb97a22b69a4e4bfeb55e2"
> >> -SRCREV_machine_qemux86 ?= "bc64c8124504681545cb97a22b69a4e4bfeb55e2"
> >> -SRCREV_machine_qemux86-64 ?= "bc64c8124504681545cb97a22b69a4e4bfeb55e2"
> >> -SRCREV_machine_qemumips64 ?= "4b17815085dbd2a0408d7969bf4689a4c2b12942"
> >> -SRCREV_machine ?= "bc64c8124504681545cb97a22b69a4e4bfeb55e2"
> >> -SRCREV_meta ?= "870134f4bfa6208d6e5339e065486be3b6e693a5"
> >> +SRCREV_machine_qemuarm ?= "ae04be16985c86803d8016b06aa57c02fe63cab3"
> >> +SRCREV_machine_qemuarm64 ?= "1f3e98df094cb7afb7d3d540dd0e47b3b8c89711"
> >> +SRCREV_machine_qemumips ?= "1d16db0bce02f4f46a925e5425194de8d25a926e"
> >> +SRCREV_machine_qemuppc ?= "1f3e98df094cb7afb7d3d540dd0e47b3b8c89711"
> >> +SRCREV_machine_qemuppc64 ?= "1f3e98df094cb7afb7d3d540dd0e47b3b8c89711"
> >> +SRCREV_machine_qemux86 ?= "1f3e98df094cb7afb7d3d540dd0e47b3b8c89711"
> >> +SRCREV_machine_qemux86-64 ?= "1f3e98df094cb7afb7d3d540dd0e47b3b8c89711"
> >> +SRCREV_machine_qemumips64 ?= "6fe42d5321cd24411c2a4b7f2aac8a01dfa82b8f"
> >> +SRCREV_machine ?= "1f3e98df094cb7afb7d3d540dd0e47b3b8c89711"
> >> +SRCREV_meta ?= "8900370d334ab4f7224fa71d7d46d62f0b11199d"
> >>
> >>  SRC_URI = "git://
> >> git.yoctoproject.org/linux-yocto-4.4.git;name=machine;branch=${KBRANCH};
> \
> >>             git://
> >>
> git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}
> >> "
> >> @@ -31,7 +33,7 @@ PV = "${LINUX_VERSION}+git${SRCPV}"
> >>  KMETA = "kernel-meta"
> >>  KCONF_BSP_AUDIT_LEVEL = "2"
> >>
> >> -COMPATIBLE_MACHINE =
> >> "qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64"
> >> +COMPATIBLE_MACHINE =
> >>
> "qemuarm|qemuarm64|qemux86|qemuppc|qemuppc64|qemumips|qemumips64|qemux86-64"
> >>
> >>  # Functionality flags
> >>  KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
> >> --
> >> 1.9.1
> >>
> >> --
> >> _______________________________________________
> >> Openembedded-core mailing list
> >> Openembedded-core@lists.openembedded.org
> >> http://lists.openembedded.org/mailman/listinfo/openembedded-core
> >>
> >
> >
> >
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"

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

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

* Re: [PATCH 0/3] Add qemuppc64 target
  2016-06-21 14:38 [PATCH 0/3] Add qemuppc64 target Armin Kuster
                   ` (2 preceding siblings ...)
  2016-06-21 14:39 ` [PATCH 3/3] runqemu: Add qemuppc64 Armin Kuster
@ 2016-06-21 15:59 ` Khem Raj
  2016-06-21 16:03   ` Burton, Ross
       [not found]   ` <57698C05.7020704@mvista.com>
  3 siblings, 2 replies; 11+ messages in thread
From: Khem Raj @ 2016-06-21 15:59 UTC (permalink / raw)
  To: Armin Kuster; +Cc: akuster, Patches and discussions about the oe-core layer

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

Can you also see if usermode qemu needs to be changed for ppc64 as well
On Jun 21, 2016 7:39 AM, "Armin Kuster" <akuster808@gmail.com> wrote:

> This is step 1 in support of Yocto bug 9778
>
> Boot tested on Ubuntu 14.04 (qemu 2.0)
>
> Armin Kuster (3):
>   machine: add qemuppc64 machine
>   linux-yocto: add qemuppc64
>   runqemu: Add qemuppc64
>
>  meta/conf/machine/qemuppc64.conf             | 13 +++++++++++++
>  meta/recipes-kernel/linux/linux-yocto_4.1.bb | 22 ++++++++++++----------
>  meta/recipes-kernel/linux/linux-yocto_4.4.bb | 22 ++++++++++++----------
>  scripts/runqemu                              |  9 ++++++---
>  scripts/runqemu-internal                     | 24 ++++++++++++++++++------
>  5 files changed, 61 insertions(+), 29 deletions(-)
>  create mode 100644 meta/conf/machine/qemuppc64.conf
>
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

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

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

* Re: [PATCH 0/3] Add qemuppc64 target
  2016-06-21 15:59 ` [PATCH 0/3] Add qemuppc64 target Khem Raj
@ 2016-06-21 16:03   ` Burton, Ross
  2016-06-22 11:43     ` Alexander Kanavin
       [not found]   ` <57698C05.7020704@mvista.com>
  1 sibling, 1 reply; 11+ messages in thread
From: Burton, Ross @ 2016-06-21 16:03 UTC (permalink / raw)
  To: Khem Raj; +Cc: akuster, Patches and discussions about the oe-core layer

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

On 21 June 2016 at 16:59, Khem Raj <raj.khem@gmail.com> wrote:

> Can you also see if usermode qemu needs to be changed for ppc64 as well
>
It needs enabling entirely - qemu-ppc64 doesn't exist currently so every
build-time postinst fails.

Ross

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

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

* Re: [PATCH 0/3] Add qemuppc64 target
       [not found]   ` <57698C05.7020704@mvista.com>
@ 2016-06-21 19:54     ` Khem Raj
  0 siblings, 0 replies; 11+ messages in thread
From: Khem Raj @ 2016-06-21 19:54 UTC (permalink / raw)
  To: akuster; +Cc: Patches and discussions about the oe-core layer

On Tue, Jun 21, 2016 at 11:48 AM, akuster <akuster@mvista.com> wrote:
>
>
> On 06/21/2016 08:59 AM, Khem Raj wrote:
>> Can you also see if usermode qemu needs to be changed for ppc64 as well
>
> It has one issue. It wont display input from keyboard. it over runs the
> usb-kbd buffer. This is why I sent this series first. Working on bug
> 9778 should also address usermode.

OK thanks. I am not worried about kbd bug. We require qemu usermode to do a lot
of stuff during cross builds too now a days.

>
> thanks,
> Armin
>
>> On Jun 21, 2016 7:39 AM, "Armin Kuster" <akuster808@gmail.com> wrote:
>>
>>> This is step 1 in support of Yocto bug 9778
>>>
>>> Boot tested on Ubuntu 14.04 (qemu 2.0)
>>>
>>> Armin Kuster (3):
>>>   machine: add qemuppc64 machine
>>>   linux-yocto: add qemuppc64
>>>   runqemu: Add qemuppc64
>>>
>>>  meta/conf/machine/qemuppc64.conf             | 13 +++++++++++++
>>>  meta/recipes-kernel/linux/linux-yocto_4.1.bb | 22 ++++++++++++----------
>>>  meta/recipes-kernel/linux/linux-yocto_4.4.bb | 22 ++++++++++++----------
>>>  scripts/runqemu                              |  9 ++++++---
>>>  scripts/runqemu-internal                     | 24 ++++++++++++++++++------
>>>  5 files changed, 61 insertions(+), 29 deletions(-)
>>>  create mode 100644 meta/conf/machine/qemuppc64.conf
>>>
>>> --
>>> 1.9.1
>>>
>>> --
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core@lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>>
>>


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

* Re: [PATCH 0/3] Add qemuppc64 target
  2016-06-21 16:03   ` Burton, Ross
@ 2016-06-22 11:43     ` Alexander Kanavin
  2016-06-22 16:54       ` akuster808
  0 siblings, 1 reply; 11+ messages in thread
From: Alexander Kanavin @ 2016-06-22 11:43 UTC (permalink / raw)
  To: openembedded-core

On 06/21/2016 07:03 PM, Burton, Ross wrote:
>     Can you also see if usermode qemu needs to be changed for ppc64 as well
>
> It needs enabling entirely - qemu-ppc64 doesn't exist currently so every
> build-time postinst fails.

There were reports that qemu-ppc64 does not work even when enabled:

https://lists.yoctoproject.org/pipermail/yocto/2016-April/029698.html

Alex



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

* Re: [PATCH 0/3] Add qemuppc64 target
  2016-06-22 11:43     ` Alexander Kanavin
@ 2016-06-22 16:54       ` akuster808
  0 siblings, 0 replies; 11+ messages in thread
From: akuster808 @ 2016-06-22 16:54 UTC (permalink / raw)
  To: Alexander Kanavin, openembedded-core


Alex,

On 06/22/2016 04:43 AM, Alexander Kanavin wrote:
> On 06/21/2016 07:03 PM, Burton, Ross wrote:
>>     Can you also see if usermode qemu needs to be changed for ppc64 as
>> well
>>
>> It needs enabling entirely - qemu-ppc64 doesn't exist currently so every
>> build-time postinst fails.
> 

When I enable qemu-ppc64 in the OE build, I can boot the kernel and get
to the login prompt. When I type in the passwd, nothing is echo'd back.
If I use the Ubuntu 14.04 qemu-2.0 version , it works.

> There were reports that qemu-ppc64 does not work even when enabled:
> 
> https://lists.yoctoproject.org/pipermail/yocto/2016-April/029698.html

Haven't seen those errors.

- armin

> 
> Alex
> 


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

end of thread, other threads:[~2016-06-22 16:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-21 14:38 [PATCH 0/3] Add qemuppc64 target Armin Kuster
2016-06-21 14:39 ` [PATCH 1/3] machine: add qemuppc64 machine Armin Kuster
2016-06-21 14:39 ` [PATCH 2/3] linux-yocto: add qemuppc64 Armin Kuster
2016-06-21 15:01   ` Bruce Ashfield
     [not found]     ` <57695F73.80209@mvista.com>
2016-06-21 15:39       ` Bruce Ashfield
2016-06-21 14:39 ` [PATCH 3/3] runqemu: Add qemuppc64 Armin Kuster
2016-06-21 15:59 ` [PATCH 0/3] Add qemuppc64 target Khem Raj
2016-06-21 16:03   ` Burton, Ross
2016-06-22 11:43     ` Alexander Kanavin
2016-06-22 16:54       ` akuster808
     [not found]   ` <57698C05.7020704@mvista.com>
2016-06-21 19:54     ` Khem Raj

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