<?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>NFCのトピックPN7150 Pi Yocto - NfcService Init Failed</title>
    <link>https://community.nxp.com/t5/NFC/PN7150-Pi-Yocto-NfcService-Init-Failed/m-p/1600289#M10038</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an OM5578/PN7150S along with a Raspberry Pi 4, the NFC reader is working fine when I build the Pi image with Raspbian image following the instruction from here.&amp;nbsp;&lt;A href="https://community.nxp.com/t5/NXP-Designs-Knowledge-Base/Easy-set-up-of-NFC-on-Raspberry-Pi/ta-p/1099034" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/NXP-Designs-Knowledge-Base/Easy-set-up-of-NFC-on-Raspberry-Pi/ta-p/1099034&lt;/A&gt;. I was able to get "nfcDemoApp" poll working. So the hardware should be working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In recent, I was trying to build a Pi image with yocto which can work with PN7150. However, when I run "nfcDemoApp poll", I was seeing "NfcService Init Failed".&amp;nbsp; (See attachment 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was building a yocto image with poky, pull from poky,&amp;nbsp;&lt;SPAN&gt;meta-raspberrypi, meta-openembedded and meta-nxp-nfc. (&lt;A href="https://github.com/NXPNFCLinux/meta-nxp-nfc" target="_blank" rel="noopener"&gt;https://github.com/NXPNFCLinux/meta-nxp-nfc&lt;/A&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To enable I2C, I added &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;```&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ENABLE_I2C = "1"&lt;BR /&gt;KERNAL_MODULE_AUTOLOAD += "i2c-dev i2c-bcm2835"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;```&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(See attachment 2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have also modified a bit&amp;nbsp;nxp-nfc_git.bb during my debug session. (See attachment 3) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And also&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;IMAGE_INSTALL_append = " kernel-module-nxp-pn5xx nxp-nfc-bin "&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;from&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/PN7150-NFC-Controller-on-i-MX8M-mini-evk-running-Yocto/ta-p/1125177" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/PN7150-NFC-Controller-on-i-MX8M-mini-evk-running-Yocto/ta-p/1125177&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After flashing the image, i2c and pn7150 module wasn't loaded so I ran "modprobe i2c_dev" and " modprobe pn5xx_i2c" and check with lsmod. (See attachment 4).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Both module wasn't loading automatically so something might be wrong there. However, I thought I suppose to get nfcDemoApp working after loading them. Is there any step I might be missing? Can you shed some light on this issue? Let me know if you need more info. Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2023 07:58:44 GMT</pubDate>
    <dc:creator>eldeencm</dc:creator>
    <dc:date>2023-02-16T07:58:44Z</dc:date>
    <item>
      <title>PN7150 Pi Yocto - NfcService Init Failed</title>
      <link>https://community.nxp.com/t5/NFC/PN7150-Pi-Yocto-NfcService-Init-Failed/m-p/1600289#M10038</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an OM5578/PN7150S along with a Raspberry Pi 4, the NFC reader is working fine when I build the Pi image with Raspbian image following the instruction from here.&amp;nbsp;&lt;A href="https://community.nxp.com/t5/NXP-Designs-Knowledge-Base/Easy-set-up-of-NFC-on-Raspberry-Pi/ta-p/1099034" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/NXP-Designs-Knowledge-Base/Easy-set-up-of-NFC-on-Raspberry-Pi/ta-p/1099034&lt;/A&gt;. I was able to get "nfcDemoApp" poll working. So the hardware should be working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In recent, I was trying to build a Pi image with yocto which can work with PN7150. However, when I run "nfcDemoApp poll", I was seeing "NfcService Init Failed".&amp;nbsp; (See attachment 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was building a yocto image with poky, pull from poky,&amp;nbsp;&lt;SPAN&gt;meta-raspberrypi, meta-openembedded and meta-nxp-nfc. (&lt;A href="https://github.com/NXPNFCLinux/meta-nxp-nfc" target="_blank" rel="noopener"&gt;https://github.com/NXPNFCLinux/meta-nxp-nfc&lt;/A&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To enable I2C, I added &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;```&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ENABLE_I2C = "1"&lt;BR /&gt;KERNAL_MODULE_AUTOLOAD += "i2c-dev i2c-bcm2835"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;```&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(See attachment 2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have also modified a bit&amp;nbsp;nxp-nfc_git.bb during my debug session. (See attachment 3) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And also&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;IMAGE_INSTALL_append = " kernel-module-nxp-pn5xx nxp-nfc-bin "&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;from&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/PN7150-NFC-Controller-on-i-MX8M-mini-evk-running-Yocto/ta-p/1125177" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/PN7150-NFC-Controller-on-i-MX8M-mini-evk-running-Yocto/ta-p/1125177&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After flashing the image, i2c and pn7150 module wasn't loaded so I ran "modprobe i2c_dev" and " modprobe pn5xx_i2c" and check with lsmod. (See attachment 4).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Both module wasn't loading automatically so something might be wrong there. However, I thought I suppose to get nfcDemoApp working after loading them. Is there any step I might be missing? Can you shed some light on this issue? Let me know if you need more info. Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 07:58:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7150-Pi-Yocto-NfcService-Init-Failed/m-p/1600289#M10038</guid>
      <dc:creator>eldeencm</dc:creator>
      <dc:date>2023-02-16T07:58:44Z</dc:date>
    </item>
  </channel>
</rss>

