<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: cross-compile errors for LF5.10.72_2.2.0 on Ubuntu 18.04 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/cross-compile-errors-for-LF5-10-72-2-2-0-on-Ubuntu-18-04/m-p/1482595#M192045</link>
    <description>&lt;P&gt;let me double check this from WIFI team again&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jun 2022 08:31:58 GMT</pubDate>
    <dc:creator>joanxie</dc:creator>
    <dc:date>2022-06-30T08:31:58Z</dc:date>
    <item>
      <title>cross-compile errors for LF5.10.72_2.2.0 on Ubuntu 18.04</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/cross-compile-errors-for-LF5-10-72-2-2-0-on-Ubuntu-18-04/m-p/1460677#M190564</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;On cross compiling for imx lf5.10.72_2.2.0 on ubuntu 18.04,&lt;/P&gt;&lt;P&gt;the below error messages showed.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;In file included from mlanconfig.c:36:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;mlanconfig.h:35:13: fatal error: stdio.h: No such file or directory&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;35 | #include &amp;lt;stdio.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;| ^~~~~~~~~&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;compilation terminated.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The additional information of cross-compile are&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;Native machine: x86, ubuntu 18.04&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;the&amp;nbsp; source codes : nxp 88W9098 wifi-bt driver sources&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;target board : imx8mq-evk&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;target os : distro = fsl-imx-xwayland, MACHINE=imx8mqevk, LF5.10.72_2.2.0&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there someone who know the cause of the error or how to solve that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 07:56:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/cross-compile-errors-for-LF5-10-72-2-2-0-on-Ubuntu-18-04/m-p/1460677#M190564</guid>
      <dc:creator>tayjung</dc:creator>
      <dc:date>2022-05-19T07:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: cross-compile errors for LF5.10.72_2.2.0 on Ubuntu 18.04</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/cross-compile-errors-for-LF5-10-72-2-2-0-on-Ubuntu-18-04/m-p/1461237#M190608</link>
      <description>&lt;P&gt;how did you cross compile? but 5.10.72 bsp includes the 88W9098 driver already&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 02:48:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/cross-compile-errors-for-LF5-10-72-2-2-0-on-Ubuntu-18-04/m-p/1461237#M190608</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2022-05-20T02:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: cross-compile errors for LF5.10.72_2.2.0 on Ubuntu 18.04</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/cross-compile-errors-for-LF5-10-72-2-2-0-on-Ubuntu-18-04/m-p/1461307#M190618</link>
      <description>&lt;P&gt;Hello Joanxie&lt;/P&gt;&lt;P&gt;I know that 5.10.72 bsp has the 88w9098 driver.&lt;/P&gt;&lt;P&gt;But I want to build the x86 version of the 9098 driver newly because 'mlanutl' tool included in 5.10.72 bsp doesn't support commands as much as the 9098 released driver package based on x86 does.&lt;/P&gt;&lt;P&gt;I did step by step the actions described in UM11675.pdf (How to Download and Build NXP Wi-Fi Drivers) and IMXLXYOCTOUG.pdf to make and install the toolchain. I replaced the location of 'KERNELDIR' into my yocto bsp's location in Makefile of 9098 driver sources like the below&lt;/P&gt;&lt;P&gt;KERNELVERSION_X86 := $(shell uname -r)&lt;BR /&gt;#KERNELDIR ?= /lib/modules/$(KERNELVERSION_X86)/build&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;KERNELDIR ?= /home/tay/imx8_yocto/imx-yocto-bsp/build-wayland2/tmp/work/imx8mqevk-poky-linux/linux-imx/5.10.72+gitAUTOINC+a68e31b63f-r0/build&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lastly, I tried building the driver sources and then had the error message I shared early.&lt;/P&gt;&lt;P&gt;The 88w9098 released driver package version is &lt;FONT color="#0000FF"&gt;'SD-WLAN-UART-BT-9098-U16-X86-17.68.1.P87-17.26.1.P-MXM5X17286_V1-GPL'&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;building the driver module sources (mlan.ko and moal.ko) are done successfully with the toolchain I installed. But '&lt;FONT color="#FF0000"&gt;mlanutl&lt;/FONT&gt;' sources are not built and make the error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 05:18:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/cross-compile-errors-for-LF5-10-72-2-2-0-on-Ubuntu-18-04/m-p/1461307#M190618</guid>
      <dc:creator>tayjung</dc:creator>
      <dc:date>2022-05-20T05:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: cross-compile errors for LF5.10.72_2.2.0 on Ubuntu 18.04</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/cross-compile-errors-for-LF5-10-72-2-2-0-on-Ubuntu-18-04/m-p/1468493#M191134</link>
      <description>&lt;P&gt;Is nothing I can do cross-compiling 'mlanutl' of x86-9098 driver for i.mx8mq evk?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 01:38:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/cross-compile-errors-for-LF5-10-72-2-2-0-on-Ubuntu-18-04/m-p/1468493#M191134</guid>
      <dc:creator>tayjung</dc:creator>
      <dc:date>2022-06-03T01:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: cross-compile errors for LF5.10.72_2.2.0 on Ubuntu 18.04</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/cross-compile-errors-for-LF5-10-72-2-2-0-on-Ubuntu-18-04/m-p/1473296#M191428</link>
      <description>&lt;P&gt;confirmed from WIFI team, &lt;SPAN&gt;MXM driver(released together with linux bsp) can be built under X86, you just need to change Makefile, and for 9098, nxp has FP86 version which is for X86, you can download it from official website, but FP86 is under NDA &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 02:35:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/cross-compile-errors-for-LF5-10-72-2-2-0-on-Ubuntu-18-04/m-p/1473296#M191428</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2022-06-14T02:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: cross-compile errors for LF5.10.72_2.2.0 on Ubuntu 18.04</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/cross-compile-errors-for-LF5-10-72-2-2-0-on-Ubuntu-18-04/m-p/1473337#M191435</link>
      <description>&lt;P&gt;Hello joanxie&lt;/P&gt;&lt;P&gt;Thanks for the reply&lt;/P&gt;&lt;P&gt;I think there is a misunderstanding.&lt;/P&gt;&lt;P&gt;I wouldn't like to build MXM driver for X86, I'd like to build 9098 x86 driver for MXM&lt;/P&gt;&lt;P&gt;In detail, I want to use 'mlanutl' included in 9098 x86 driver package - ex)&amp;nbsp;PCIE-WLAN-UART-BT-9098-U16-X86-17.68.1.p81-17.26.1.p81-MXM5X17277_V0V1-GPL - on MXM linux&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;i.mx8mq 9098 driver -&amp;gt; cross compile -&amp;gt; x86 (x)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;x86 9098 driver's 'mlanutl' -&amp;gt; cross compile -&amp;gt; using in i.mx8mq (0)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Please check them&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 04:21:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/cross-compile-errors-for-LF5-10-72-2-2-0-on-Ubuntu-18-04/m-p/1473337#M191435</guid>
      <dc:creator>tayjung</dc:creator>
      <dc:date>2022-06-14T04:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: cross-compile errors for LF5.10.72_2.2.0 on Ubuntu 18.04</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/cross-compile-errors-for-LF5-10-72-2-2-0-on-Ubuntu-18-04/m-p/1482595#M192045</link>
      <description>&lt;P&gt;let me double check this from WIFI team again&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 08:31:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/cross-compile-errors-for-LF5-10-72-2-2-0-on-Ubuntu-18-04/m-p/1482595#M192045</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2022-06-30T08:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: cross-compile errors for LF5.10.72_2.2.0 on Ubuntu 18.04</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/cross-compile-errors-for-LF5-10-72-2-2-0-on-Ubuntu-18-04/m-p/1482727#M192061</link>
      <description>&lt;P&gt;Cross compile the driver and utilities for Wi-Fi&lt;BR /&gt;• Go to the directory PCIE-UAPSTA-UART-BT-9098-U16-X86--MXM4X17166_V0V1-&lt;BR /&gt;GPL/wlan_src&lt;BR /&gt;$ cd PCIE-UAPSTA-UART-BT-9098-U16-X86--MXM4X17166_V0V1-GPL/wlan_src/&lt;BR /&gt;• Modify the Makefile to change the kernel build directory&lt;BR /&gt;$ vim Makefile&lt;BR /&gt;Comment out the CC variable in the Makefile&lt;BR /&gt;#CC= $(CROSS_COMPILE)gcc -I$(COMPATDIR)&lt;BR /&gt;• Change the KERNELDIR&lt;BR /&gt;&amp;lt;absolute-path&amp;gt;/imx-yocto-bsp/&amp;lt;build dir&amp;gt;/tmp/work/imx8qmmekpoky-&lt;BR /&gt;linux/linux-imx/&amp;lt;linux-kernel-version&amp;gt;-r0/build/&lt;BR /&gt;• Build the driver package&lt;BR /&gt;$ make clean&lt;BR /&gt;$ make build&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The compiled driver modules reside in PCIE-UAPSTA-UART-BT-9098-U16-X86--&lt;BR /&gt;MXM4X17166_V0V1-GPL/bin_wlan directory. The firmware binary resides in the PCIEWLAN-&lt;BR /&gt;UART-BT-9098-U16-X86-17.68.0.p190-17.26.0.p190-MXM4X17166_V0V1-GPL/&lt;BR /&gt;FwImage directory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 10:57:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/cross-compile-errors-for-LF5-10-72-2-2-0-on-Ubuntu-18-04/m-p/1482727#M192061</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2022-06-30T10:57:51Z</dc:date>
    </item>
  </channel>
</rss>

