* [PATCH 1/3] packagegroup-cross-canadian: repackage when TUNE_ARCH changes
@ 2019-05-16 15:04 Alexander Kanavin
2019-05-16 15:04 ` [PATCH 2/3] qemux86: use a Core 2 Duo CPU instead of the original circa-1993 Pentium Alexander Kanavin
2019-05-16 15:04 ` [PATCH 3/3] mesa: fix imx gallium driver PACKAGECONFIG option Alexander Kanavin
0 siblings, 2 replies; 4+ messages in thread
From: Alexander Kanavin @ 2019-05-16 15:04 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
.../packagegroups/packagegroup-cross-canadian.bb | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb b/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb
index d551147b5a4..3b430c08148 100644
--- a/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb
@@ -16,3 +16,9 @@ RDEPENDS_${PN} = "\
${@all_multilib_tune_values(d, 'GDB')} \
meta-environment-${MACHINE} \
"
+
+# When TUNE_ARCH changes but MACHINE does not (for example when a machine definition is updated),
+# cross-canadian.bbclass prevents variable dependency propagation to TRANSLATED_TARGET_ARCH
+# This will result in erroneous reuse of previous sstate packages. The following line
+# establishes a direct dependency instead.
+do_package[vardeps] += "TUNE_ARCH"
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/3] qemux86: use a Core 2 Duo CPU instead of the original circa-1993 Pentium
2019-05-16 15:04 [PATCH 1/3] packagegroup-cross-canadian: repackage when TUNE_ARCH changes Alexander Kanavin
@ 2019-05-16 15:04 ` Alexander Kanavin
2019-05-16 15:04 ` [PATCH 3/3] mesa: fix imx gallium driver PACKAGECONFIG option Alexander Kanavin
1 sibling, 0 replies; 4+ messages in thread
From: Alexander Kanavin @ 2019-05-16 15:04 UTC (permalink / raw)
To: openembedded-core
This matches what the qemux86_64 is currently using, and
will allow testing the instructions added in the meantime;
particularly various SSE extensions are now enabled.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
meta/conf/machine/include/qemuboot-x86.inc | 4 ++--
meta/conf/machine/qemux86.conf | 3 +--
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/meta/conf/machine/include/qemuboot-x86.inc b/meta/conf/machine/include/qemuboot-x86.inc
index 5fdbe4df50e..82ce46d8604 100644
--- a/meta/conf/machine/include/qemuboot-x86.inc
+++ b/meta/conf/machine/include/qemuboot-x86.inc
@@ -1,8 +1,8 @@
# For runqemu
IMAGE_CLASSES += "qemuboot"
QB_SYSTEM_NAME_x86 = "qemu-system-i386"
-QB_CPU_x86 = "-cpu pentium2"
-QB_CPU_KVM_x86 = "-cpu pentium2"
+QB_CPU_x86 = "-cpu core2duo"
+QB_CPU_KVM_x86 = "-cpu core2duo"
QB_SYSTEM_NAME_x86-64 = "qemu-system-x86_64"
QB_CPU_x86-64 = "-cpu core2duo"
diff --git a/meta/conf/machine/qemux86.conf b/meta/conf/machine/qemux86.conf
index f2434a4b5f5..272ad1e1870 100644
--- a/meta/conf/machine/qemux86.conf
+++ b/meta/conf/machine/qemux86.conf
@@ -8,8 +8,7 @@ PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
require conf/machine/include/qemu.inc
-DEFAULTTUNE ?= "i586"
-X86ARCH32 ?= "i586"
+DEFAULTTUNE ?= "core2-32"
require conf/machine/include/tune-corei7.inc
require conf/machine/include/qemuboot-x86.inc
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 3/3] mesa: fix imx gallium driver PACKAGECONFIG option
2019-05-16 15:04 [PATCH 1/3] packagegroup-cross-canadian: repackage when TUNE_ARCH changes Alexander Kanavin
2019-05-16 15:04 ` [PATCH 2/3] qemux86: use a Core 2 Duo CPU instead of the original circa-1993 Pentium Alexander Kanavin
@ 2019-05-16 15:04 ` Alexander Kanavin
2019-05-16 15:32 ` akuster808
1 sibling, 1 reply; 4+ messages in thread
From: Alexander Kanavin @ 2019-05-16 15:04 UTC (permalink / raw)
To: openembedded-core
From: Marco Felsch <m.felsch@pengutronix.de>
Since commit [1] the imx-drm driver is covered by the generic kmsro
driver.
[1] https://gitlab.freedesktop.org/mesa/mesa/commit/ \
41a0acd6a149ec9f47ea527ad08a2b29bf1ee6b2
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
meta/recipes-graphics/mesa/mesa.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index c52adbbb214..cd3ddfd8223 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -89,11 +89,11 @@ PACKAGECONFIG[gles] = "-Dgles1=true -Dgles2=true, -Dgles1=false -Dgles2=false"
PACKAGECONFIG[egl] = "-Degl=true, -Degl=false"
PACKAGECONFIG[etnaviv] = ""
-PACKAGECONFIG[imx] = ""
+PACKAGECONFIG[kmsro] = ""
GALLIUMDRIVERS = "swrast"
GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}"
-GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'imx', ',imx', '', d)}"
+GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'kmsro', ',kmsro', '', d)}"
# radeonsi requires LLVM
GALLIUMDRIVERS_LLVM33 = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',radeonsi', '', d)}"
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 3/3] mesa: fix imx gallium driver PACKAGECONFIG option
2019-05-16 15:04 ` [PATCH 3/3] mesa: fix imx gallium driver PACKAGECONFIG option Alexander Kanavin
@ 2019-05-16 15:32 ` akuster808
0 siblings, 0 replies; 4+ messages in thread
From: akuster808 @ 2019-05-16 15:32 UTC (permalink / raw)
To: Alexander Kanavin, openembedded-core
On 5/16/19 8:04 AM, Alexander Kanavin wrote:
> From: Marco Felsch <m.felsch@pengutronix.de>
>
> Since commit [1] the imx-drm driver is covered by the generic kmsro
> driver.
Can you update the bug:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=13350
- armin
>
> [1] https://gitlab.freedesktop.org/mesa/mesa/commit/ \
> 41a0acd6a149ec9f47ea527ad08a2b29bf1ee6b2
>
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
> ---
> meta/recipes-graphics/mesa/mesa.inc | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
> index c52adbbb214..cd3ddfd8223 100644
> --- a/meta/recipes-graphics/mesa/mesa.inc
> +++ b/meta/recipes-graphics/mesa/mesa.inc
> @@ -89,11 +89,11 @@ PACKAGECONFIG[gles] = "-Dgles1=true -Dgles2=true, -Dgles1=false -Dgles2=false"
> PACKAGECONFIG[egl] = "-Degl=true, -Degl=false"
>
> PACKAGECONFIG[etnaviv] = ""
> -PACKAGECONFIG[imx] = ""
> +PACKAGECONFIG[kmsro] = ""
>
> GALLIUMDRIVERS = "swrast"
> GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}"
> -GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'imx', ',imx', '', d)}"
> +GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'kmsro', ',kmsro', '', d)}"
>
> # radeonsi requires LLVM
> GALLIUMDRIVERS_LLVM33 = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',radeonsi', '', d)}"
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-05-16 15:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-16 15:04 [PATCH 1/3] packagegroup-cross-canadian: repackage when TUNE_ARCH changes Alexander Kanavin
2019-05-16 15:04 ` [PATCH 2/3] qemux86: use a Core 2 Duo CPU instead of the original circa-1993 Pentium Alexander Kanavin
2019-05-16 15:04 ` [PATCH 3/3] mesa: fix imx gallium driver PACKAGECONFIG option Alexander Kanavin
2019-05-16 15:32 ` akuster808
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.