<?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: [Yocto] [Broadcom 4375 PCIE] [i.mx8mm] Build synaptics 4375 driver with Yocto image failed in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-Broadcom-4375-PCIE-i-mx8mm-Build-synaptics-4375-driver/m-p/1629051#M203826</link>
    <description>&lt;P&gt;Dear Joanxie,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your respond&lt;/P&gt;&lt;P&gt;I just found customer Makefile issue (I have already got trouble with this issue about two weeks)&lt;/P&gt;&lt;P&gt;In this driver, I shouldn't set&amp;nbsp;CONFIG_BCMDHD_MULTIPLE_DRIVER=Y to create different naming .ko for PCIE / SDIO at the same time, and it would cause this kind of error. Maybe DHDFLAGS settings becomes wrong after that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Besides, I found the other method.&lt;/P&gt;&lt;P&gt;1. Set&amp;nbsp;CONFIG_BCMDHD_MULTIPLE_DRIVER as None&lt;/P&gt;&lt;P&gt;2. Build SDIO version then rename .ko&lt;/P&gt;&lt;P&gt;3. Build PCIE version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, thank you for help^^&lt;/P&gt;</description>
    <pubDate>Thu, 06 Apr 2023 10:54:15 GMT</pubDate>
    <dc:creator>Mater</dc:creator>
    <dc:date>2023-04-06T10:54:15Z</dc:date>
    <item>
      <title>[Yocto] [Broadcom 4375 PCIE] [i.mx8mm] Build synaptics 4375 driver with Yocto image failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-Broadcom-4375-PCIE-i-mx8mm-Build-synaptics-4375-driver/m-p/1628785#M203804</link>
      <description>&lt;P&gt;Board: Myir i.mx8mm&lt;/P&gt;&lt;P&gt;I would like to package&amp;nbsp;synaptics version of&amp;nbsp;4375 wifi driver with Yocto image.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If build this PCIE&amp;nbsp; or SDIO version driver via "SDK", it is fine for finished &amp;amp; create .ko file&lt;/LI&gt;&lt;LI&gt;But if build this PCIE version driver via Yocto process(bitbake), Yocto would show error about " In function 'dhdpcie_bus_register': &amp;lt;command-line&amp;gt;: error: expected ')' before 'pcie'".&lt;/LI&gt;&lt;LI&gt;Build this SDIO version driver via Yocto process(bitbake), it is normal to finish to create .ko file.&lt;BR /&gt;&lt;BR /&gt;From the following info, this error could&amp;nbsp;expansion of macro failed. However, I didn't modify&amp;nbsp;dhd_pcie_linux.c &amp;amp;&amp;nbsp;pci.h code.&lt;BR /&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;Key error message&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;| /home/valen/work/MYD-C8MMX-Yocto/build-xwayland/tmp/work/myd_imx8mm-poky-linux/synaptics4375-linux/1.0-r0/synaptics4375-linux-1.0/dhd_pcie_linux.c: In function 'dhdpcie_bus_register':&lt;BR /&gt;| &amp;lt;command-line&amp;gt;: error: expected ')' before 'pcie'&lt;BR /&gt;| /home/valen/work/MYD-C8MMX-Yocto/build-xwayland/tmp/work-shared/myd-imx8mm/kernel-source/include/linux/pci.h:1352:45: note: in expansion of macro 'KBUILD_MODNAME'&lt;BR /&gt;| 1352 | __pci_register_driver(driver, THIS_MODULE, KBUILD_MODNAME)&lt;BR /&gt;| | ^~~~~~~~~~~~~~&lt;BR /&gt;| /home/valen/work/MYD-C8MMX-Yocto/build-xwayland/tmp/work/myd_imx8mm-poky-linux/synaptics4375-linux/1.0-r0/synaptics4375-linux-1.0/dhd_pcie_linux.c:1417:16: note: in expansion of macro 'pci_register_driver'&lt;BR /&gt;| 1417 | if (!(error = pci_register_driver(&amp;amp;dhdpcie_driver))) {&lt;BR /&gt;| | ^~~~~~~~~~~~~~~~~~~&lt;BR /&gt;| CC [M] /home/valen/work/MYD-C8MMX-Yocto/build-xwayland/tmp/work/myd_imx8mm-poky-linux/synaptics4375-linux/1.0-r0/synaptics4375-linux-1.0/dhd_linux_lb.o&lt;BR /&gt;| /home/valen/work/MYD-C8MMX-Yocto/build-xwayland/tmp/work-shared/myd-imx8mm/kernel-source/scripts/Makefile.build:265: recipe for target '/home/valen/work/MYD-C8MMX-Yocto/build-xwayland/tmp/work/myd_imx8mm-poky-linux/synaptics4375-linux/1.0-r0/synaptics4375-linux-1.0/dhd_pcie_linux.o' failed&lt;BR /&gt;| make[3]: *** [/home/valen/work/MYD-C8MMX-Yocto/build-xwayland/tmp/work/myd_imx8mm-poky-linux/synaptics4375-linux/1.0-r0/synaptics4375-linux-1.0/dhd_pcie_linux.o] Error 1&lt;BR /&gt;| make[3]: *** Waiting for unfinished jobs....&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Detail Yocto build log for this is as&amp;nbsp;log.do_compile.18399.log.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And&amp;nbsp;Broadcom 4375 driver Makefile (Makefile.log =&amp;gt; Makefile). It is adjusted by customer.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adjust LINUXDIR to Linux kernel builder path.&lt;/LI&gt;&lt;LI&gt;Build pcie : make bcmdhd_pcie&lt;/LI&gt;&lt;LI&gt;Build sdio : make bcmdhd_sdio&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do someone touch this similar problem? Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 06:16:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-Broadcom-4375-PCIE-i-mx8mm-Build-synaptics-4375-driver/m-p/1628785#M203804</guid>
      <dc:creator>Mater</dc:creator>
      <dc:date>2023-04-06T06:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: [Yocto] [Broadcom 4375 PCIE] [i.mx8mm] Build synaptics 4375 driver with Yocto image failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-Broadcom-4375-PCIE-i-mx8mm-Build-synaptics-4375-driver/m-p/1628941#M203815</link>
      <description>&lt;P&gt;could you share the detailed build steps with me?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 08:56:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-Broadcom-4375-PCIE-i-mx8mm-Build-synaptics-4375-driver/m-p/1628941#M203815</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2023-04-06T08:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: [Yocto] [Broadcom 4375 PCIE] [i.mx8mm] Build synaptics 4375 driver with Yocto image failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-Broadcom-4375-PCIE-i-mx8mm-Build-synaptics-4375-driver/m-p/1629051#M203826</link>
      <description>&lt;P&gt;Dear Joanxie,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your respond&lt;/P&gt;&lt;P&gt;I just found customer Makefile issue (I have already got trouble with this issue about two weeks)&lt;/P&gt;&lt;P&gt;In this driver, I shouldn't set&amp;nbsp;CONFIG_BCMDHD_MULTIPLE_DRIVER=Y to create different naming .ko for PCIE / SDIO at the same time, and it would cause this kind of error. Maybe DHDFLAGS settings becomes wrong after that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Besides, I found the other method.&lt;/P&gt;&lt;P&gt;1. Set&amp;nbsp;CONFIG_BCMDHD_MULTIPLE_DRIVER as None&lt;/P&gt;&lt;P&gt;2. Build SDIO version then rename .ko&lt;/P&gt;&lt;P&gt;3. Build PCIE version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, thank you for help^^&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 10:54:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-Broadcom-4375-PCIE-i-mx8mm-Build-synaptics-4375-driver/m-p/1629051#M203826</guid>
      <dc:creator>Mater</dc:creator>
      <dc:date>2023-04-06T10:54:15Z</dc:date>
    </item>
  </channel>
</rss>

