<?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 Problem in bitrate setting in iMX28 EVK in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Problem-in-bitrate-setting-in-iMX28-EVK/m-p/708989#M110180</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am using iMX28 EVK board with linux 2.6.35. I am working on CAN driver support. I enabled CAN driver and I am able to see two CAN driver using &lt;STRONG&gt;ifconfig -a&lt;/STRONG&gt; command but I am not able to set bit rate for CAN, I used two utilities,(iproute2 and canutils) but i am not able to set bitrate in both the utilities.&lt;/P&gt;&lt;P&gt;I am getting following error while setting bitrate.&lt;/P&gt;&lt;P&gt;I followed all the way to set bitrate,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Freescale FlexCAN Driver&lt;BR /&gt;root@mx28evk ~$ lsmod&lt;BR /&gt;Module Size Used by&lt;BR /&gt;flexcan 11754 0&lt;BR /&gt;root@mx28evk ~$ ip link set can0 up&lt;BR /&gt;root@mx28evk ~$ ifconfig -a&lt;BR /&gt;can0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00&lt;BR /&gt; UP RUNNING NOARP MTU:16 Metric:1&lt;BR /&gt; RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt; TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt; collisions:0 txqueuelen:64&lt;BR /&gt; RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)&lt;/P&gt;&lt;P&gt;can1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00&lt;BR /&gt; NOARP MTU:16 Metric:1&lt;BR /&gt; RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt; TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt; collisions:0 txqueuelen:64&lt;BR /&gt; RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)&lt;/P&gt;&lt;P&gt;eth0 Link encap:Ethernet HWaddr 00:04:9F:02:4E:0C&lt;BR /&gt; BROADCAST MULTICAST MTU:1500 Metric:1&lt;BR /&gt; RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt; TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt; collisions:0 txqueuelen:1000&lt;BR /&gt; RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)&lt;/P&gt;&lt;P&gt;eth1 Link encap:Ethernet HWaddr 00:04:9F:02:4E:0D&lt;BR /&gt; BROADCAST MULTICAST MTU:1500 Metric:1&lt;BR /&gt; RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt; TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt; collisions:0 txqueuelen:1000&lt;BR /&gt; RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)&lt;BR /&gt; Base address:0x8000&lt;/P&gt;&lt;P&gt;lo Link encap:Local Loopback&lt;BR /&gt; LOOPBACK MTU:16436 Metric:1&lt;BR /&gt; RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt; TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt; collisions:0 txqueuelen:0&lt;BR /&gt; RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)&lt;/P&gt;&lt;P&gt;root@mx28evk ~$ ip link set can0 type can bitrate 125000 triple-sampling on&lt;BR /&gt;RTNETLINK answers: Operation not supported&lt;BR /&gt;root@mx28evk ~$ ip link set can0 type can bitrate 125000&lt;BR /&gt;RTNETLINK answers: Operation not supported&lt;BR /&gt;root@mx28evk ~$ ip link set can0 type can bitrate 125000&lt;BR /&gt;RTNETLINK answers: Operation not supported&lt;BR /&gt;root@mx28evk ~$ ip link set can0 type can bitrate 125000&lt;BR /&gt;RTNETLINK answers: Operation not supported&lt;BR /&gt;root@mx28evk ~$ echo 125000 &amp;gt; /sys/devices/platform/FlexCAN.0/bitrate&lt;BR /&gt;root@mx28evk ~$ cat /sys/devices/platform/FlexCAN.0/bitrate&lt;BR /&gt;500000&lt;BR /&gt;root@mx28evk ~$&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me to resolve this issue and how to resolve RTNETLINK issue. I think something I am missing in enabling some driver part (RTLINK)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Aug 2017 06:43:43 GMT</pubDate>
    <dc:creator>santhoshkarthik</dc:creator>
    <dc:date>2017-08-28T06:43:43Z</dc:date>
    <item>
      <title>Problem in bitrate setting in iMX28 EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-in-bitrate-setting-in-iMX28-EVK/m-p/708989#M110180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I am using iMX28 EVK board with linux 2.6.35. I am working on CAN driver support. I enabled CAN driver and I am able to see two CAN driver using &lt;STRONG&gt;ifconfig -a&lt;/STRONG&gt; command but I am not able to set bit rate for CAN, I used two utilities,(iproute2 and canutils) but i am not able to set bitrate in both the utilities.&lt;/P&gt;&lt;P&gt;I am getting following error while setting bitrate.&lt;/P&gt;&lt;P&gt;I followed all the way to set bitrate,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Freescale FlexCAN Driver&lt;BR /&gt;root@mx28evk ~$ lsmod&lt;BR /&gt;Module Size Used by&lt;BR /&gt;flexcan 11754 0&lt;BR /&gt;root@mx28evk ~$ ip link set can0 up&lt;BR /&gt;root@mx28evk ~$ ifconfig -a&lt;BR /&gt;can0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00&lt;BR /&gt; UP RUNNING NOARP MTU:16 Metric:1&lt;BR /&gt; RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt; TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt; collisions:0 txqueuelen:64&lt;BR /&gt; RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)&lt;/P&gt;&lt;P&gt;can1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00&lt;BR /&gt; NOARP MTU:16 Metric:1&lt;BR /&gt; RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt; TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt; collisions:0 txqueuelen:64&lt;BR /&gt; RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)&lt;/P&gt;&lt;P&gt;eth0 Link encap:Ethernet HWaddr 00:04:9F:02:4E:0C&lt;BR /&gt; BROADCAST MULTICAST MTU:1500 Metric:1&lt;BR /&gt; RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt; TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt; collisions:0 txqueuelen:1000&lt;BR /&gt; RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)&lt;/P&gt;&lt;P&gt;eth1 Link encap:Ethernet HWaddr 00:04:9F:02:4E:0D&lt;BR /&gt; BROADCAST MULTICAST MTU:1500 Metric:1&lt;BR /&gt; RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt; TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt; collisions:0 txqueuelen:1000&lt;BR /&gt; RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)&lt;BR /&gt; Base address:0x8000&lt;/P&gt;&lt;P&gt;lo Link encap:Local Loopback&lt;BR /&gt; LOOPBACK MTU:16436 Metric:1&lt;BR /&gt; RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;BR /&gt; TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;BR /&gt; collisions:0 txqueuelen:0&lt;BR /&gt; RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)&lt;/P&gt;&lt;P&gt;root@mx28evk ~$ ip link set can0 type can bitrate 125000 triple-sampling on&lt;BR /&gt;RTNETLINK answers: Operation not supported&lt;BR /&gt;root@mx28evk ~$ ip link set can0 type can bitrate 125000&lt;BR /&gt;RTNETLINK answers: Operation not supported&lt;BR /&gt;root@mx28evk ~$ ip link set can0 type can bitrate 125000&lt;BR /&gt;RTNETLINK answers: Operation not supported&lt;BR /&gt;root@mx28evk ~$ ip link set can0 type can bitrate 125000&lt;BR /&gt;RTNETLINK answers: Operation not supported&lt;BR /&gt;root@mx28evk ~$ echo 125000 &amp;gt; /sys/devices/platform/FlexCAN.0/bitrate&lt;BR /&gt;root@mx28evk ~$ cat /sys/devices/platform/FlexCAN.0/bitrate&lt;BR /&gt;500000&lt;BR /&gt;root@mx28evk ~$&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me to resolve this issue and how to resolve RTNETLINK issue. I think something I am missing in enabling some driver part (RTLINK)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 06:43:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-in-bitrate-setting-in-iMX28-EVK/m-p/708989#M110180</guid>
      <dc:creator>santhoshkarthik</dc:creator>
      <dc:date>2017-08-28T06:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in bitrate setting in iMX28 EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-in-bitrate-setting-in-iMX28-EVK/m-p/708990#M110181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please try attached patch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Victor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&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>Tue, 29 Aug 2017 05:59:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-in-bitrate-setting-in-iMX28-EVK/m-p/708990#M110181</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2017-08-29T05:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in bitrate setting in iMX28 EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-in-bitrate-setting-in-iMX28-EVK/m-p/708991#M110182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Victor,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Attachment is missing. Could you please attach the patch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 10:11:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-in-bitrate-setting-in-iMX28-EVK/m-p/708991#M110182</guid>
      <dc:creator>santhoshkarthik</dc:creator>
      <dc:date>2017-08-31T10:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in bitrate setting in iMX28 EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-in-bitrate-setting-in-iMX28-EVK/m-p/708992#M110183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Victor,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; How to add this patch with my main-line Linux 2.6.35. Please help me on this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Sep 2017 09:32:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-in-bitrate-setting-in-iMX28-EVK/m-p/708992#M110183</guid>
      <dc:creator>santhoshkarthik</dc:creator>
      <dc:date>2017-09-01T09:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in bitrate setting in iMX28 EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-in-bitrate-setting-in-iMX28-EVK/m-p/708993#M110184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Dear Victor,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp; &amp;nbsp; How to add this patch with my main-line Linux 2.6.35. Please help me on this...&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Thanks,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 08:17:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-in-bitrate-setting-in-iMX28-EVK/m-p/708993#M110184</guid>
      <dc:creator>santhoshkarthik</dc:creator>
      <dc:date>2017-09-05T08:17:25Z</dc:date>
    </item>
  </channel>
</rss>

