<?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: iMX8qxp not finding CAN devices in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX8qxp-not-finding-CAN-devices/m-p/1086934#M159314</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN&gt;Joakim&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flecan may be used by m4, one can try steps described in&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-341481"&gt;System Controller Firmware 101 - Resource management service&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/112639iB603F98F06287C42/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.jpg" alt="pastedImage_2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=L5.4.3_1.0.0_SCFWKIT-1.2.10.1&amp;amp;appType=license"&gt;SCFW Porting Kit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jun 2020 00:01:08 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2020-06-12T00:01:08Z</dc:date>
    <item>
      <title>iMX8qxp not finding CAN devices</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8qxp-not-finding-CAN-devices/m-p/1086933#M159313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are currently working with the iMX8qxp-mek for preparation before production of our own units. We have trouble getting the CAN up and running. Have tried with our own yocto build along with the provided SD-card, LF_v5.4.y-1.0.0_images_MX8QXPMEK and&amp;nbsp;L4.14.98_2.3.0_images_MX8QXPMEK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From&amp;nbsp;L4.14.98_2.3.0_images_MX8QXPMEK we used the following files:&lt;BR /&gt;Image-fsl-imx8qxp-mek.dtb&lt;/P&gt;&lt;P&gt;Image-imx8_all.bin&lt;/P&gt;&lt;P&gt;fsl-image-validation-imx-imx8qxpc0mek.tar.bz2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From&amp;nbsp;&lt;SPAN&gt;LF_v5.4.y-1.0.0_images_MX8QXPMEK we used:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Image-imx8qxpmek.bin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;imx8qxp-mek.dtb&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;imx-image-full-imx8qxpmek.tar.bz2&lt;BR /&gt;&lt;BR /&gt;None of these setups manages to find a can device. In our build we are using kernel version 4.14.98 which we tried both 2.3.0 and 2.0.0_ga. CAN should be enabled and working but it does not manage to find the device. When checking the status of the CAN device through "cat /sys/firmware/devicetree/base/can\@5a8d0000/status"&lt;BR /&gt; it says okay.&lt;BR /&gt;&lt;BR /&gt;I have attached our bootlog as bootlog_imx8.txt along with the bootlog for the&amp;nbsp;L4.14.98_2.3.0_images_MX8QXPMEK as bootlog_imx8_NXP.txt.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;BR /&gt;Joakim Hesselgren&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2020 12:10:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8qxp-not-finding-CAN-devices/m-p/1086933#M159313</guid>
      <dc:creator>joakim_hesselgr</dc:creator>
      <dc:date>2020-06-11T12:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8qxp not finding CAN devices</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8qxp-not-finding-CAN-devices/m-p/1086934#M159314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN&gt;Joakim&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flecan may be used by m4, one can try steps described in&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-341481"&gt;System Controller Firmware 101 - Resource management service&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/112639iB603F98F06287C42/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.jpg" alt="pastedImage_2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=L5.4.3_1.0.0_SCFWKIT-1.2.10.1&amp;amp;appType=license"&gt;SCFW Porting Kit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2020 00:01:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8qxp-not-finding-CAN-devices/m-p/1086934#M159314</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-06-12T00:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8qxp not finding CAN devices</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8qxp-not-finding-CAN-devices/m-p/1086935#M159315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hello,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;By doing this fix it did not help since as can be seen in the bootlog we already had access to the CAN on the A35. I tried it out and I have attached these bootlogs. Bootlog_CAN_Added is where I just use the default with alt_config enabled which shows it does not own CAN while in the Bootlog_CAN_Removed I have done the fix shown in your link which shows that CAN now is owned but it still does not show the device after I modprobe flexcan.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Best regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Joakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2020 07:23:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8qxp-not-finding-CAN-devices/m-p/1086935#M159315</guid>
      <dc:creator>joakim_hesselgr</dc:creator>
      <dc:date>2020-06-17T07:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8qxp not finding CAN devices</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8qxp-not-finding-CAN-devices/m-p/1086936#M159316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;also may be helpful:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/506305"&gt;How does one set FlexCAN in 2.0B mode?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2020 08:03:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8qxp-not-finding-CAN-devices/m-p/1086936#M159316</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-06-17T08:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8qxp not finding CAN devices</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8qxp-not-finding-CAN-devices/m-p/1086937#M159317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have figured the problem:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Default device tree configurations for FlexCAN enable the devices internal power supply only if a certain GPIO pin is asserted.&lt;BR /&gt; This pin is asserted when you connect the NXP peripheral baseboard MCIMX8-8X-BB (which we do not have). &lt;BR /&gt; &lt;A class="link-titled" href="https://www.nxp.com/part/MCIMX8-8X-BB#/" rel="nofollow noopener noreferrer" title="https://www.nxp.com/part/MCIMX8-8X-BB#/" target="_blank"&gt;MCIMX8-8X-BB Product Information|NXP&lt;/A&gt;&amp;nbsp;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;The issue is that &lt;STRONG&gt;the manual does not clearly point this out&lt;/STRONG&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;We assume that when booting the MEK board, the CAN device shall show up. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Of course, it is unusable without the CAN transceiver in the baseboard, but this is obvious.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;The ambiguous issue is that the internal CAN device is enabled on an external GPIO signal.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, to get the CAN device to show up without the board, add the following to&amp;nbsp;fsl-imx8qxp-mek.dts:&lt;/P&gt;&lt;DIV style="color: #333333; background-color: #fdf6e3; font-weight: normal; font-size: 16px;"&gt;&lt;DIV&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;amp;reg_can_stby&amp;nbsp;{
&amp;nbsp;&amp;nbsp;/delete-property/&amp;nbsp;vin-supply;
&amp;nbsp;&amp;nbsp;/delete-property/&amp;nbsp;gpio;
};


&amp;amp;flexcan1&amp;nbsp;{
&amp;nbsp;&amp;nbsp;status&amp;nbsp;=&amp;nbsp;"okay";
};


&amp;amp;flexcan2&amp;nbsp;{
&amp;nbsp;&amp;nbsp;status&amp;nbsp;=&amp;nbsp;"okay";
};‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt;Running&amp;nbsp;ifconfig -a shall show:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt; can0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Link encap:UNSPEC&amp;nbsp; HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOARP&amp;nbsp; MTU:16&amp;nbsp; Metric:1
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; collisions:0 txqueuelen:10
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RX bytes:0 (0.0 B)&amp;nbsp; TX bytes:0 (0.0 B)
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Interrupt:51
 
 can1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Link encap:UNSPEC&amp;nbsp; HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOARP&amp;nbsp; MTU:16&amp;nbsp; Metric:1
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; collisions:0 txqueuelen:10
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RX bytes:0 (0.0 B)&amp;nbsp; TX bytes:0 (0.0 B)
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Interrupt:52
 ....‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Beshr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2020 16:05:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8qxp-not-finding-CAN-devices/m-p/1086937#M159317</guid>
      <dc:creator>beshr_al_nahas</dc:creator>
      <dc:date>2020-08-18T16:05:54Z</dc:date>
    </item>
  </channel>
</rss>

