arch-powerpc64.inc: disable the use of qemu usermode on ppc64
PATCH 1/1 arch-powerpc64.inc: disable the use of qemu usermode on ppc64
It simply does not work at all:
https://lists.yoctoproject.org/pipermail/yocto/2016-April/029698.html
--- meta/conf/machine/include/powerpc/arch-powerpc64.inc | 3 +++ 1 file changed, 3 insertions(+)
meta/conf/machine/include/powerpc/arch-powerpc64.inc +3 -0
@@ -7,6 +7,9 @@ TUNECONFLICTS[m64] = "m32 nf" TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'm64', ' -m64', '', d)}" TUNE_ARCH .= "${@bb.utils.contains('TUNE_FEATURES', [ 'm64' ], 'powerpc64', '', d)}" +# user mode qemu doesn't support ppc64 +MACHINE_FEATURES_BACKFILL_CONSIDERED_append = " ${@bb.utils.contains('TUNE_FEATURES', 'm64', 'qemu-usermode', '', d)}" + AVAILTUNES += "powerpc64" TUNE_FEATURES_tune-powerpc64 = "m64 fpu-hard" BASE_LIB_tune-powerpc64 = "lib64"
Signature · 1 line
2.8.0.rc3
Quoted 13 lines · Alexander Kanavin
It simply does not work at all:
https://lists.yoctoproject.org/pipermail/yocto/2016-April/029698.htmlSigned-off-by Alexander Kanavin <[email protected]>--- meta/conf/machine/include/powerpc/arch-powerpc64.inc | 3 +++ 1 file changed, 3 insertions(+)meta/conf/machine/include/powerpc/arch-powerpc64.inc +0
-0
meta/conf/machine/include/powerpc/arch-powerpc64.inc TUNECONFLICTS[m64] = "m32 nf" · line 12
Quoted 6 lines
meta/conf/machine/include/powerpc/arch-powerpc64.inc +3
-0@@ -7,6 +7,9 @@ TUNECONFLICTS[m64] = "m32 nf" TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'm64', ' -m64', '', d)}" TUNE_ARCH .= "${@bb.utils.contains('TUNE_FEATURES', [ 'm64' ], 'powerpc64', '', d)}" +# user mode qemu doesn't support ppc64 +MACHINE_FEATURES_BACKFILL_CONSIDERED_append = " ${@bb.utils.contains('TUNE_FEATURES', 'm64', 'qemu-usermode', '', d)}" +
should we replace qemu-ppc with qemu-ppc64 instead of disabling it
Quoted 11 lines
meta/conf/machine/include/powerpc/arch-powerpc64.inc +0
-1AVAILTUNES += "powerpc64" TUNE_FEATURES_tune-powerpc64 = "m64 fpu-hard" BASE_LIB_tune-powerpc64 = "lib64" --2.8.0.rc3
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 1 line · Khem Raj
should we replace qemu-ppc with qemu-ppc64 instead of disabling it
qemu-ppc64 is already used on 64 bit powerpc, the problem is that it always crashes.
Alex
Quoted 7 lines · Alexander Kanavin
Quoted 1 line · Khem Raj
should we replace qemu-ppc with qemu-ppc64 instead of disabling it
qemu-ppc64 is already used on 64 bit powerpc, the problem is that it always crashes.
Do we need to adjust the emulated machine parameter ?
Quoted 5 lines · Khem Raj
Quoted 3 lines
Quoted 1 line
should we replace qemu-ppc with qemu-ppc64 instead of disabling it
qemu-ppc64 is already used on 64 bit powerpc, the problem is that it always crashes.
Do we need to adjust the emulated machine parameter ?
I don't see how. The CPU list produced by 'qemu-ppc64 -cpu help' does not include anything that resembles e5500/6500 or Power5/6/7 (the 64 bit ppc chips that oe-core has definitions for), and I'm not a powerpc expert by any measure, so I can't investigate the problem any further. It needs to be looked at by someone who is actually working with that hardware.
The best we can do now is disable use of qemu, so that builds that target ppc64 don't fail.
Alex