[OE-core] [PATCH] meta/classes/qemu.bbclass: set -cpu of e500v2 to e500mc

C.r. Guo chunrong.guo at nxp.com
Fri Nov 9 03:22:24 UTC 2018


From: Chunrong Guo <chunrong.guo at nxp.com>

*fix the below error
|The postinstall intercept hook 'update_font_cache' failed
|qemu: uncaught target signal 4 (Illegal instruction) - core dumped

This workaround will need to be reverted once the proper fix is found.

Signed-off-by: Chunrong Guo <chunrong.guo at nxp.com>
---
 meta/classes/qemu.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/qemu.bbclass b/meta/classes/qemu.bbclass
index f5c5780..e8545f1 100644
--- a/meta/classes/qemu.bbclass
+++ b/meta/classes/qemu.bbclass
@@ -55,7 +55,7 @@ def qemu_run_binary(data, rootfs_path, binary):
 QEMU_OPTIONS = "-r ${OLDEST_KERNEL} ${@d.getVar("QEMU_EXTRAOPTIONS_%s" % d.getVar('PACKAGE_ARCH')) or ""}"
 QEMU_OPTIONS[vardeps] += "QEMU_EXTRAOPTIONS_${PACKAGE_ARCH}"
 
-QEMU_EXTRAOPTIONS_ppce500v2 = " -cpu e500v2"
+QEMU_EXTRAOPTIONS_ppce500v2 = " -cpu e500mc"
 QEMU_EXTRAOPTIONS_ppce500mc = " -cpu e500mc"
 QEMU_EXTRAOPTIONS_ppce5500 = " -cpu e500mc"
 QEMU_EXTRAOPTIONS_ppc64e5500 = " -cpu e500mc"
-- 
2.7.4



More information about the Openembedded-core mailing list