Uncaught target signal 4 when bit-baking for p2020rdb


tjscheffel@...
 

Dear meta-freescale gurus,



FYI:

Trying to ‘bitbake core-image-minimal’ for p2020rdb I ran into the ‘qemu: uncaught target signal 4 (Illegal instruction) - core dumped’

As this kind of resembled an issue of Yi Zhao of 20161031 (https://lists.yoctoproject.org/pipermail/meta-freescale/2016-October/019474.html),

the resolution to have it build properly was to modify the following in /meta/classes/qemu.bbclass :



Disabled the e500v2 line and used e500mc, assuming that the support in qemu is present for e500mc given the number of architectures using that in this file.



# QEMU_EXTRAOPTIONS_ppce500v2 = " -cpu e500v2"

QEMU_EXTRAOPTIONS_ppce500v2 = " -cpu e500mc"



Probably has the same root cause as the issue of 20161031, in this case e500v2 probably hasn’t got native support in qemu.



Best regards,



Teun Scheffel

Join meta-freescale@lists.yoctoproject.org to automatically receive all group messages.