Skip to contentSkip to conversation

Add qemuppc64 target

PATCH Superseded Armin Kuster 5 participants 11 messages Jun 21, 2016 – Jun 22, 2016 2 messages not in the archive

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover Add qemuppc64 target

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
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/3 machine: add qemuppc64 machine

---
 meta/conf/machine/qemuppc64.conf | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta/conf/machine/qemuppc64.conf
meta/conf/machine/qemuppc64.conf new file +13 -0
new file mode 100644
index 0000000..5501101
@@ -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"
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/3 linux-yocto: add qemuppc64

In reply to Armin Kuster

From: Armin Kuster <[email protected]>

---
 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(-)
meta/recipes-kernel/linux/linux-yocto_4.1.bb +12 -10
index 667212f..6053ea3 100644
@@ -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"
meta/recipes-kernel/linux/linux-yocto_4.4.bb +12 -10
index d69ecec..a277199 100644
@@ -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"
Signature · 1 line
1.9.1
#3 lore raw

Re: [PATCH 2/3] linux-yocto: add qemuppc64

Quoted 2 lines · Armin Kuster

From: Armin Kuster <[email protected]>

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

Quoted 116 lines
---
 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(-)
meta/recipes-kernel/linux/linux-yocto_4.1.bb +11 -9
index 667212f..6053ea3 100644
@@ -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} "

meta/recipes-kernel/linux/linux-yocto_4.1.bb +0 -1
@@ -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"

meta/recipes-kernel/linux/linux-yocto_4.4.bb +11 -9
index d69ecec..a277199 100644
@@ -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} "

meta/recipes-kernel/linux/linux-yocto_4.4.bb +0 -1
@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw

Re: [PATCH 2/3] linux-yocto: add qemuppc64

Quoted 13 lines · akuster
Quoted 1 line · Bruce Ashfield

On Tue, Jun 21, 2016 at 10:39 AM, Armin Kuster <[email protected]>

Quoted 7 lines · wrote:
Quoted 3 lines

From: Armin Kuster <[email protected]>

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

Quoted 9 lines

Did work against master but had merge conflict on last rebase. I figured this patch would have to fixed up at time of merge.

Quoted 2 lines

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

Quoted 135 lines

thanks,
Armin

Quoted 8 lines

Bruce

Quoted 4 lines
---
 meta/recipes-kernel/linux/linux-yocto_4.1.bb | 22

++++++++++++----------

Quoted 1 line
Quoted 1 line
 meta/recipes-kernel/linux/linux-yocto_4.4.bb | 22

++++++++++++----------

Quoted 36 lines
Quoted 36 lines
 2 files changed, 24 insertions(+), 20 deletions(-)
meta/recipes-kernel/linux/linux-yocto_4.1.bb +11 -9
index 667212f..6053ea3 100644
@@ -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"
 
Quoted 2 lines

meta/recipes-kernel/linux/linux-yocto_4.1.bb KBRANCH_qemuarm ?= "standard/arm-versatile-926ejs" · line 27

Quoted 2 lines
meta/recipes-kernel/linux/linux-yocto_4.1.bb +0 -0
 SRC_URI = "git://
 git.yoctoproject.org/linux-yocto-4.1.git;name=machine;branch=${KBRANCH};

\

Quoted 2 lines
Quoted 2 lines
            git://

git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.1;destsuffix=${KMETA}

Quoted 9 lines
Quoted 9 lines

"

meta/recipes-kernel/linux/linux-yocto_4.1.bb +0 -1
@@ -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"

Quoted 37 lines
Quoted 37 lines

# Functionality flags
KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"

meta/recipes-kernel/linux/linux-yocto_4.4.bb +11 -9
index d69ecec..a277199 100644
@@ -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"
 
Quoted 2 lines

meta/recipes-kernel/linux/linux-yocto_4.4.bb KBRANCH_qemuarm ?= "standard/arm-versatile-926ejs" · line 27

Quoted 2 lines
meta/recipes-kernel/linux/linux-yocto_4.4.bb +0 -0
 SRC_URI = "git://
 git.yoctoproject.org/linux-yocto-4.4.git;name=machine;branch=${KBRANCH};

\

Quoted 2 lines
Quoted 2 lines
            git://

git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}

Quoted 9 lines
Quoted 9 lines

"

meta/recipes-kernel/linux/linux-yocto_4.4.bb +0 -1
@@ -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"

Quoted 15 lines
Quoted 12 lines

# Functionality flags
KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
--
1.9.1

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
#6 lore raw

PATCH 3/3 runqemu: Add qemuppc64

In reply to Armin Kuster

From: Armin Kuster <[email protected]>

---
 scripts/runqemu          |  9 ++++++---
 scripts/runqemu-internal | 24 ++++++++++++++++++------
 2 files changed, 24 insertions(+), 9 deletions(-)
scripts/runqemu +6 -3
index de05035..9c73e25 100755
@@ -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
 
scripts/runqemu-internal +18 -6
index ea1a307..e8cc1a1 100755
@@ -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")
Signature · 1 line
1.9.1
#7 lore raw
In reply to Armin Kuster

Can you also see if usermode qemu needs to be changed for ppc64 as well

Quoted 26 lines · Armin Kuster

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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#8 lore raw
Quoted 2 lines · Khem Raj

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

author
#10 lore raw

Alex,

Quoted 7 lines · Alexander Kanavin
Quoted 5 lines · Ross

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.

Quoted 3 lines

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

Quoted 3 lines

Alex

A message that is not in the archive (sent off-list or not yet received): [email protected]

#12 lore raw
Quoted 8 lines · akuster
Quoted 1 line · Khem Raj

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.

Quoted 33 lines

thanks,
Armin

Quoted 29 lines · Armin Kuster
Quoted 27 lines

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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core