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

C.r. Guo chunrong.guo at nxp.com
Tue Nov 20 08:07:38 UTC 2018


Hello , 
Please apply this patch in thud branch .
Now build gcc failed for e500v2 


Thanks
Chunrong

-----Original Message-----
From: C.r. Guo 
Sent: 2018年11月15日 11:37
Cc: C.r. Guo <chunrong.guo at nxp.com>
Subject: [[thud][PATCH] meta/classes/qemu.bbclass: set -cpu of e500v2 to e500mc

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