<?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>i.MX ProcessorsのトピックRe: How do you use IOMUX generated files?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-do-you-use-IOMUX-generated-files/m-p/290277#M35030</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, I just want to confirm if this is correct or not??:&lt;/P&gt;&lt;P&gt;- the IOMUX tools doesn't currently produce code that can be used directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, we must mod, say, board-mx6q_sabresd.h to set up the IOMUX correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you confirm this is the best way to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jun 2013 16:26:43 GMT</pubDate>
    <dc:creator>phil_martin</dc:creator>
    <dc:date>2013-06-18T16:26:43Z</dc:date>
    <item>
      <title>How do you use IOMUX generated files?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-you-use-IOMUX-generated-files/m-p/290271#M35024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been using IOMux Tool to set up the peripherals.&amp;nbsp; One of the features it the ability of this tool to generate the configuration files for each peripheral.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how do I use these configuration files to add to LTIB for a custom BSP?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;EM&gt;IOMux_Tool_v3_Users_Manual.pdf&lt;/EM&gt; and &lt;EM&gt;BSP_Porting_Guide_L3.035_1.1.0.pdf&lt;/EM&gt; do not mention how to use the generated files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there other documentation I'm missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also...after installing LTIB, I noticed the file in the kernel tree /rpm/BUILD/linux-3.0.35/arch/arm/plat-mxc/include/mach/iomux-mx6q.h.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Inside this file, there is a line that says, "Auto Generate file, please don't edit it"&lt;/P&gt;&lt;P&gt;So the next question is, what generated this file?&amp;nbsp; It's not LTIB as I removed it.&amp;nbsp; Was it generated when I installed LTIB?&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 00:14:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-you-use-IOMUX-generated-files/m-p/290271#M35024</guid>
      <dc:creator>bonzo</dc:creator>
      <dc:date>2013-04-30T00:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use IOMUX generated files?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-you-use-IOMUX-generated-files/m-p/290272#M35025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've copied an email thread that I had with my local FAEs on this very issue.&amp;nbsp; This conversation occured in August 2012 and I have not heard of the issue being fixed yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have the IOMux 3.2.1.28034 for the I.MX6 Solo/DualLite/Dual/Quad.&amp;nbsp; I went to generate code and that works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;What I don’t understand is how it is being used in Linux.&amp;nbsp; The current board configuration for the i.MX6 boards is using&lt;BR /&gt;something completely different but with hints of iomux headers.&amp;nbsp; None of the headers are the same format as IOMux spits out so I am very confused.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can adapt to the existing implementation in the kernel, but I am more than a little frustrated that the IOMux tool does not document (that I can find) how to move these files that are generated on a PC to the Linux kernel build.&amp;nbsp; The current kernel method uses macros.&amp;nbsp; For example in the boards_sabresd.h file used in the Sabre SD kernel, the following (partial) structure exists:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;static iomux_v3_cfg_t mx6q_sabresd_pads[] = {&lt;/SPAN&gt; &lt;SPAN style="font-family: 'Courier New';"&gt;/* AUDMUX */&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6Q_PAD_CSI0_DAT4__AUDMUX_AUD3_TXC,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MX6Q_PAD_CSI0_DAT5__AUDMUX_AUD3_TXD,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New';"&gt;MX6Q_PAD_CSI0_DAT6__AUDMUX_AUD3_TXFS,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New';"&gt;MX6Q_PAD_CSI0_DAT7__AUDMUX_AUD3_RXD,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: 'Courier New';"&gt;…&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-family: 'Courier New';"&gt;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These macros have the form of pad on the left of the double underscore “__” and function on the right.&amp;nbsp; Converting this by hand from the generated IOMux code seems fraught with peril and very error prone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jim&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reply:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Hi Jim,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;The Linux BSP coding format that you describe here below is brand new to all of us. It has only recently been implemented for the MX6 (U-Boot &amp;amp; Kernel).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Unfortunately, the IOMux tool has not caught up with this new format yet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;We would all like to see the IOMux tool create compatible code. This has been requested, and the&lt;BR /&gt;implementation decision &amp;amp; timing are being discussed. We will keep you updated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Sorry for the frustration this has created.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2013 00:24:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-you-use-IOMUX-generated-files/m-p/290272#M35025</guid>
      <dc:creator>JimMalone</dc:creator>
      <dc:date>2013-05-01T00:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use IOMUX generated files?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-you-use-IOMUX-generated-files/m-p/290273#M35026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It appears the output from the current version of iomux tool is intended for the "i.MX 6 Platform SDK".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I too wish we had automatic iomux output generated for uboot and the kernel. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2013 18:05:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-you-use-IOMUX-generated-files/m-p/290273#M35026</guid>
      <dc:creator>frankcarpenter</dc:creator>
      <dc:date>2013-05-02T18:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use IOMUX generated files?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-you-use-IOMUX-generated-files/m-p/290274#M35027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For IOMUX Tool, when you want to config one pin as one function, it shows which registry and what value should be set. It will also generate sample codes.&lt;/P&gt;&lt;P&gt;But due to different OS code style, maybe it can't be used directly. For linux BSP, you'd better reference to &lt;EM&gt;BSP_Porting_Guide.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;For iomux-mx6q.h, it had listed all configable setting for all pins, for a new board, the customer just need select some of them for use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 09:22:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-you-use-IOMUX-generated-files/m-p/290274#M35027</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2013-05-13T09:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use IOMUX generated files?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-you-use-IOMUX-generated-files/m-p/290275#M35028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bradley, please click Correct Answer/Helpful Answer, if your question has been answered.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yixing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 07:42:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-you-use-IOMUX-generated-files/m-p/290275#M35028</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2013-05-17T07:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use IOMUX generated files?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-you-use-IOMUX-generated-files/m-p/290276#M35029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So a similar related question&lt;/P&gt;&lt;P&gt;- where does the Platform BSP fit into the u_boot &amp;amp; linux kernel?&lt;/P&gt;&lt;P&gt;- and how are the features of the BSP exposed to the user app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 15:59:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-you-use-IOMUX-generated-files/m-p/290276#M35029</guid>
      <dc:creator>phil_martin</dc:creator>
      <dc:date>2013-06-18T15:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use IOMUX generated files?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-you-use-IOMUX-generated-files/m-p/290277#M35030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, I just want to confirm if this is correct or not??:&lt;/P&gt;&lt;P&gt;- the IOMUX tools doesn't currently produce code that can be used directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, we must mod, say, board-mx6q_sabresd.h to set up the IOMUX correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you confirm this is the best way to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 16:26:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-you-use-IOMUX-generated-files/m-p/290277#M35030</guid>
      <dc:creator>phil_martin</dc:creator>
      <dc:date>2013-06-18T16:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do you use IOMUX generated files?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-you-use-IOMUX-generated-files/m-p/290278#M35031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The freescale uboot and kernel were implemented early than the IOMUX Tool.&lt;/P&gt;&lt;P&gt;For customer, when they implemented their own BSP, maybe they can use the IOMUX Tool directly. For Freescale released BSP, since the code is already there, we don't need re-create the IOMUX files again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jan 2014 05:39:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-you-use-IOMUX-generated-files/m-p/290278#M35031</guid>
      <dc:creator>qiang_li-mpu_se</dc:creator>
      <dc:date>2014-01-02T05:39:52Z</dc:date>
    </item>
  </channel>
</rss>

