[yocto] Creating a custom mips64 layer using yocto-bsp

Stoicescu, CorneliuX corneliux.stoicescu at intel.com
Fri Oct 4 01:15:48 PDT 2013


Hello,

I am trying to create a custom mips64 layer for a project. I am using the "yocto-bsp" command to make the magic happen. Unfortunately, the tool only supports creating layers for mips (32 bit) architecture. So I tried a little magic of my own and I changed a line in meta-my_layer/conf/machine/my_layer.conf from:
require conf/machine/include/tune-mips.inc

to

require conf/machine/include/tune-mips64.inc

When building, it fails at linux-yocto task do_package with a lot of errors like:
ERROR: QA Issue: Bit size did not match (64 to 32) linux-yocto on /work/mipstest-poky-linux/linux-yocto/3.10.11+gitAUTOINC+dad2b7e1ce_e1aa804148-r0.1/packages-split/kernel-module-sch-codel/lib/modules/3.10.11-yocto-standard/kernel/net/sched/sch_codel.ko

I believe that means the modules still think they should be 32 bit but are not. Can anyone help me with my issue?

PS: I looked through the Yocto mega-manual and I added the following line to my_layer.conf file without any luck:

TARGET_ARCH = "mips64"

Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20131004/5810943f/attachment.html>


More information about the yocto mailing list