<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1535190347;
        mso-list-type:hybrid;
        mso-list-template-ids:-1092986980 -1415446166 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:.7in;
        text-indent:-.25in;
        font-family:"Calibri","sans-serif";
        mso-fareast-font-family:Calibri;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:1.2in;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:1.7in;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:2.2in;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:2.7in;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:3.2in;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:3.7in;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:4.2in;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:4.7in;
        text-indent:-.25in;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hello Everyone,<o:p></o:p></p>
<p class="MsoNormal">­­­­­­ I am currently working on the creation of new <b>MACHINE</b> type for addressing the
<a href="https://community.cypress.com/docs/DOC-14056">Cypress Broadcom FMAC driver release</a> ( attached for your reference).<o:p></o:p></p>
<p class="MsoNormal">As part of the initial steps, I am ensuring that, we have necessary recipes tested, so that, it can added to the new MACHINE type along with the new layer “meta-murata-wireless”<o:p></o:p></p>
<p class="MsoNormal">I was able to get the <i>wpa-supplicant</i> and <i>hostapd</i> recipe into the Yocto setup.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I need your help in resolving a problem related to native <i>
<span style="color:blue">make</span></i><span style="color:blue"> </span>when using the Backport Tools.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><u>Backport Tools:<o:p></o:p></u></b></p>
<p class="MsoListParagraph" style="margin-left:.45in">FMAC driver uses Backport Tool (v4.12-backports) to generate the necessary .ko files, namely (<i>compat.ko</i>,
<i>brcmfmac.ko</i>, <i>brcmutil.ko</i> and <i>cfg80211.ko)</i><o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.45in">In the Readme file, 2<sup>nd</sup> step under the Section : “<i>Build the cypress driver/backports modules</i>” is to
<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.7in;text-indent:-.25in;mso-list:l0 level1 lfo1">
<![if !supportLists]><span style="mso-list:Ignore">-<span style="font:7.0pt "Times New Roman"">
</span></span><![endif]><i>(Native) compile local tools and generate .config without sourcing Yocto tool chain settings</i>.<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.7in"><span style="font-family:"Courier New"">make KLIB=$MY_KERNEL KLIB_BUILD=$MY_KERNEL defconfig-brcmfmac</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><u>Problem Description:<o:p></o:p></u></b></p>
<p class="MsoNormal"><b><u> <o:p></o:p></u></b></p>
<p class="MsoListParagraph" style="margin-left:.45in">I don’t know how to use the native make in the do_compile( ) function in
<i>backportcypress_1.0.bb</i> ( attached for your reference), as Yocto uses tool chain settings.<o:p></o:p></p>
<p class="MsoNormal"> I get the following error message, when I compile
<i>backportcypress_1.0.bb </i>recipe.<o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:.45in"><o:p> </o:p></p>
<p class="MsoListParagraph" style="margin-left:.45in"><span style="font-size:8.0pt">Compiling:<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.45in"><span style="font-size:8.0pt">| Generating local configuration database from kernel ... done.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.45in"><span style="font-size:8.0pt">| arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/jameel/project/task22-yocto-6ul-evk/fsl-arm-yocto-bsp/imx6ulevk/tmp/sysroots/imx6ulevk
-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o conf.o conf.c<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.45in"><span style="font-size:8.0pt">| arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/jameel/project/task22-yocto-6ul-evk/fsl-arm-yocto-bsp/imx6ulevk/tmp/sysroots/imx6ulevk
-Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o zconf.tab.o zconf.tab.c<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.45in"><span style="font-size:8.0pt">| arm-poky-linux-gnueabi-gcc -march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/home/jameel/project/task22-yocto-6ul-evk/fsl-arm-yocto-bsp/imx6ulevk/tmp/sysroots/imx6ulevk
-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conf.o zconf.tab.o -o conf<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.45in"><span style="font-size:8.0pt">| ./kconf/conf: 1: ./kconf/conf: Syntax error: word unexpected (expecting ")")<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.45in"><span style="font-size:8.0pt">| Makefile.real:41: recipe for target 'defconfig-brcmfmac' failed<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.45in"><span style="font-size:8.0pt">| make[1]: *** [defconfig-brcmfmac] Error 2<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.45in"><span style="font-size:8.0pt">| Makefile:40: recipe for target 'defconfig-brcmfmac' failed<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.45in"><span style="font-size:8.0pt">| make: *** [defconfig-brcmfmac] Error 2<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.45in"><span style="font-size:8.0pt">| WARNING: exit code 2 from a shell command.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:.45in"><o:p> </o:p></p>
<p class="MsoListParagraph" style="margin-left:.45in">Could you please let me know how to generate the .config file by using native
<i><span style="color:blue">make</span></i>, instead of oe_runmake in Yocto setup?.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks and Regards,<o:p></o:p></p>
<p class="MsoNormal">Jameel Basha<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
CONFIDENTIALITY: This message contains information which may be confidential and privileged.Unless you are the intended addressee (or authorized to receive for the intended addressee), you may not use, copy or disclose to anyone the message or any information
contained in the message. If you have received the message in error, please advise the sender at Murata by reply email and delete the message.
</body>
</html>