<?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 NFC PN7150 i2c driver error in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/NFC-PN7150-i2c-driver-error/m-p/641489#M97917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a custom board based on imx6ulevk and I have PN7150 NFC on custom board. I have compiled it's driver following this page&amp;nbsp;&lt;A href="https://community.nxp.com/docs/DOC-329733"&gt;NFC PN7120 on the  i.MX6Q&lt;/A&gt;&amp;nbsp;. But when I try to load the driver using &lt;STRONG&gt;insmod&lt;/STRONG&gt; command I have received following error :--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pn5xx_i2c: disagrees about version of symbol dev_warn&lt;BR /&gt;pn5xx_i2c: Unknown symbol dev_warn (err -22)&lt;BR /&gt;pn5xx_i2c: disagrees about version of symbol dev_err&lt;BR /&gt;pn5xx_i2c: Unknown symbol dev_err (err -22)&lt;BR /&gt;insmod: ERROR: could not insert module pn5xx_i2c.ko: Invalid parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have downloaded driver from this link&amp;nbsp;&lt;A class="link-titled" href="https://github.com/NXPNFCLinux/nxp-pn5xx" title="https://github.com/NXPNFCLinux/nxp-pn5xx"&gt;GitHub - NXPNFCLinux/nxp-pn5xx: NXP's NFC Open Source Kernel mode driver&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;I am using Yocto and my kernel version is&amp;nbsp;Linux imx6ulevk 4.1.15-1.1.1+gd5d7c02. Please guide how to build drivers for my custom board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Mar 2017 13:30:03 GMT</pubDate>
    <dc:creator>pratyushtomar</dc:creator>
    <dc:date>2017-03-10T13:30:03Z</dc:date>
    <item>
      <title>NFC PN7150 i2c driver error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NFC-PN7150-i2c-driver-error/m-p/641489#M97917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a custom board based on imx6ulevk and I have PN7150 NFC on custom board. I have compiled it's driver following this page&amp;nbsp;&lt;A href="https://community.nxp.com/docs/DOC-329733"&gt;NFC PN7120 on the  i.MX6Q&lt;/A&gt;&amp;nbsp;. But when I try to load the driver using &lt;STRONG&gt;insmod&lt;/STRONG&gt; command I have received following error :--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pn5xx_i2c: disagrees about version of symbol dev_warn&lt;BR /&gt;pn5xx_i2c: Unknown symbol dev_warn (err -22)&lt;BR /&gt;pn5xx_i2c: disagrees about version of symbol dev_err&lt;BR /&gt;pn5xx_i2c: Unknown symbol dev_err (err -22)&lt;BR /&gt;insmod: ERROR: could not insert module pn5xx_i2c.ko: Invalid parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have downloaded driver from this link&amp;nbsp;&lt;A class="link-titled" href="https://github.com/NXPNFCLinux/nxp-pn5xx" title="https://github.com/NXPNFCLinux/nxp-pn5xx"&gt;GitHub - NXPNFCLinux/nxp-pn5xx: NXP's NFC Open Source Kernel mode driver&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;I am using Yocto and my kernel version is&amp;nbsp;Linux imx6ulevk 4.1.15-1.1.1+gd5d7c02. Please guide how to build drivers for my custom board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 13:30:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NFC-PN7150-i2c-driver-error/m-p/641489#M97917</guid>
      <dc:creator>pratyushtomar</dc:creator>
      <dc:date>2017-03-10T13:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: NFC PN7150 i2c driver error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NFC-PN7150-i2c-driver-error/m-p/641490#M97918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pratyush Tomar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see this same issue raised on the github so I’m hoping it will get addressed there.&lt;/P&gt;&lt;P&gt;However, the disagreement over versions of symbols usually refer to the Kernel module using exported symbols of other kernel modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would double check the document you followed and the Application Note for the driver below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/documents/application_note/AN11697.pdf"&gt;https://www.nxp.com/documents/application_note/AN11697.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you installed and enabled the kernel modules from your module and then copied the libraries or did you took the libraries as binaries from other sources?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you took the driver from other distribution you may want to look at the workaround shown here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/33734133/disagrees-about-version-of-symbol-symbol-name-after-insmod"&gt;http://stackoverflow.com/questions/33734133/disagrees-about-version-of-symbol-symbol-name-after-insmod&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know of your findings!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2017 20:44:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NFC-PN7150-i2c-driver-error/m-p/641490#M97918</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2017-03-14T20:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: NFC PN7150 i2c driver error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NFC-PN7150-i2c-driver-error/m-p/641491#M97919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Thanks for the reply. I tried following the same document&amp;nbsp;&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdocuments%2Fapplication_note%2FAN11697.pdf" rel="nofollow" style="color: #5e89c1; background-color: #ffffff; border: 0px; text-decoration: underline; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://www.nxp.com/documents/application_note/AN11697.pdf&lt;/A&gt;and&amp;nbsp;&lt;A href="https://community.nxp.com/docs/DOC-329733"&gt;NFC PN7120 on the i.MX6Q&lt;/A&gt;&amp;nbsp;&amp;nbsp;to compile the drivers but I failed at this step&amp;nbsp;&lt;STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; border: 0px; font-size: 12px;"&gt;source&amp;nbsp;/opt/poky/&lt;/SPAN&gt;&lt;SPAN class="" style="color: green; background-color: #ffffff; border: 0px; font-size: 12px;"&gt;1.7&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; border: 0px; font-size: 12px;"&gt;/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi.&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; border: 0px; font-size: 12px; font-family: arial, helvetica, sans-serif;"&gt;I think I failed at this step because I didn't have meta-toolchain installed so I tried building meta-toolchain but that also failed (I have created another thread for that problem. You have answered for the same). So to build drivers then I used menuconfig to include the drivers as module and then I bitbake a regular image (fsl-image-machine-test). Thus in the final image build&amp;nbsp;pn5xx_i2c.ko driver was present. But when I tried loading this driver using insmod command I received the error mentioned above.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I think my procedure is also correct for compiling drivers but don't know where I am making mistake. Let me try to follow stackoverflow link you have mentioned and check if my problem is solved. If their is some mistake in method I used to build drivers then please correct me.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 05:29:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NFC-PN7150-i2c-driver-error/m-p/641491#M97919</guid>
      <dc:creator>pratyushtomar</dc:creator>
      <dc:date>2017-03-15T05:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: NFC PN7150 i2c driver error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NFC-PN7150-i2c-driver-error/m-p/641492#M97920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is their any way to download pre built&amp;nbsp;&lt;SPAN style="color: #24292e; background-color: rgba(27, 31, 35, 0.0470588);"&gt;poky-glibc-x86_64-meta-toolchain-cortexa9hf-vfp-neon-toolchain-1.7.sh &amp;nbsp; ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: rgba(27, 31, 35, 0.0470588);"&gt;Since I am unable to install meta-tooclchain.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 05:21:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NFC-PN7150-i2c-driver-error/m-p/641492#M97920</guid>
      <dc:creator>pratyushtomar</dc:creator>
      <dc:date>2017-03-16T05:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: NFC PN7150 i2c driver error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NFC-PN7150-i2c-driver-error/m-p/641493#M97921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pratyush Tomar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may use the linaro toolchain instead. You would need to check on the release notes of the BSP you are interested in to see which toolchain version is being used. You may find the toolchain then on a repository like:&lt;/P&gt;&lt;P&gt;&lt;A href="http://repository.timesys.com/buildsources/g/gcc/"&gt;http://repository.timesys.com/buildsources/g/gcc/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 16:15:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NFC-PN7150-i2c-driver-error/m-p/641493#M97921</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2017-04-04T16:15:05Z</dc:date>
    </item>
  </channel>
</rss>

