* Creating a custom mips64 layer using yocto-bsp
@ 2013-10-04 8:15 Stoicescu, CorneliuX
2013-10-04 12:58 ` Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: Stoicescu, CorneliuX @ 2013-10-04 8:15 UTC (permalink / raw)
To: yocto; +Cc: jan alexandru vaduva
[-- Attachment #1: Type: text/plain, Size: 1036 bytes --]
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!
[-- Attachment #2: Type: text/html, Size: 3642 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Creating a custom mips64 layer using yocto-bsp
2013-10-04 8:15 Creating a custom mips64 layer using yocto-bsp Stoicescu, CorneliuX
@ 2013-10-04 12:58 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2013-10-04 12:58 UTC (permalink / raw)
To: Stoicescu, CorneliuX, yocto; +Cc: jan alexandru vaduva
On 13-10-04 04:15 AM, Stoicescu, CorneliuX wrote:
> 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?
Did you check the kernel configuration ? Since the BSP tool didn't allow
you to use the 64 bit qemumips base, you got the 32 bit BSP. So it will
definitely build 32 bit modules, which gets you your warning.
Check the generated machine files, search for qemumips32 and mti-malta32
and switch them to the 64 bit variants.
Bruce
>
> 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!
>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-04 12:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-04 8:15 Creating a custom mips64 layer using yocto-bsp Stoicescu, CorneliuX
2013-10-04 12:58 ` Bruce Ashfield
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.