From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 6F1FDE016B0 for ; Fri, 4 Oct 2013 01:16:01 -0700 (PDT) Received: from azsmga002.ch.intel.com ([10.2.17.35]) by azsmga101.ch.intel.com with ESMTP; 04 Oct 2013 01:16:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.90,1031,1371106800"; d="scan'208,217";a="303063323" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by AZSMGA002.ch.intel.com with ESMTP; 04 Oct 2013 01:15:59 -0700 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.100]) by IRSMSX102.ger.corp.intel.com ([169.254.2.234]) with mapi id 14.03.0123.003; Fri, 4 Oct 2013 09:15:49 +0100 From: "Stoicescu, CorneliuX" To: yocto Thread-Topic: Creating a custom mips64 layer using yocto-bsp Thread-Index: Ac7A2LlaJ0If9hvHQ7mEhg7XLp3YiQ== Date: Fri, 4 Oct 2013 08:15:48 +0000 Message-ID: <33115ABC4887814E8A92A08FBC93416B0A196300@IRSMSX103.ger.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] MIME-Version: 1.0 Cc: jan alexandru vaduva Subject: Creating a custom mips64 layer using yocto-bsp X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2013 08:16:02 -0000 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_33115ABC4887814E8A92A08FBC93416B0A196300IRSMSX103gercor_" --_000_33115ABC4887814E8A92A08FBC93416B0A196300IRSMSX103gercor_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 s= upports 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_laye= r.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/mip= stest-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/k= ernel/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 t= o my_layer.conf file without any luck: TARGET_ARCH =3D "mips64" Thank you! --_000_33115ABC4887814E8A92A08FBC93416B0A196300IRSMSX103gercor_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

 

I am trying to create a custom mips64 layer for a pr= oject. I am using the “yocto-bsp” command to make the magic hap= pen. 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_packa= ge with a lot of errors like:

ERROR: QA Issue: Bit size did not match (64 to 32) l= inux-yocto on /work/mipstest-poky-linux/linux-yocto/3.10.11+gitAUTOINC&= #43;dad2b7e1ce_e1aa804148-r0.1/packages-split/kernel-module-sch-codel/lib/m= odules/3.10.11-yocto-standard/kernel/net/sched/sch_codel.ko

 

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

 

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

 

TARGET_ARCH =3D "mips64"=

 

Thank you!

--_000_33115ABC4887814E8A92A08FBC93416B0A196300IRSMSX103gercor_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 0D6D8E016B2 for ; Fri, 4 Oct 2013 05:58:53 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.3) with ESMTP id r94CwoW7004365 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 4 Oct 2013 05:58:50 -0700 (PDT) Received: from [128.224.146.67] (128.224.146.67) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.2.347.0; Fri, 4 Oct 2013 05:58:49 -0700 Message-ID: <524EBB85.7050600@windriver.com> Date: Fri, 4 Oct 2013 08:58:45 -0400 From: Bruce Ashfield User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: "Stoicescu, CorneliuX" , yocto References: <33115ABC4887814E8A92A08FBC93416B0A196300@IRSMSX103.ger.corp.intel.com> In-Reply-To: <33115ABC4887814E8A92A08FBC93416B0A196300@IRSMSX103.ger.corp.intel.com> Cc: jan alexandru vaduva Subject: Re: Creating a custom mips64 layer using yocto-bsp X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2013 12:58:54 -0000 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 8bit 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 >