<?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 info needed on u-boot.imx dts files. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/info-needed-on-u-boot-imx-dts-files/m-p/915002#M137753</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; We have tried porting of Android Oreo on our customized board(based on imx6dl). there was some changes related to UART muxing for our board, those related changes I have made in&amp;nbsp; "uboot-imx/board/freescale/mx6sabresd/mx6sabresd.c" .&amp;nbsp; we have built mfg u-boot placed in appropriate path flashed the images successfully. after that when we tried to boot board, UART was not working 4-5 days we have worked on that to resolve the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; How come UART worked in mfg_u-boot and didn't work in actual android u-boot? After trying many things we found that android u-boot makes use of dts files which we need to modify UART muxing related changes here also !!!. It worked&lt;/P&gt;&lt;P&gt;after this change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;My question is,&amp;nbsp; why nxp developers have kept muxing at both the places?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1. uboot-imx/board/freescale/mx6sabresd/mx6sabresd.c&lt;/P&gt;&lt;P&gt;2. uboot-imx/arch/arm/dts/imx6qdl-sabresd.dtsi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff6600;"&gt;&lt;STRONG&gt;There are no documents which tells about these information.&lt;/STRONG&gt;&lt;/SPAN&gt; By seeing "uboot-imx/board/freescale/mx6sabresd/mx6sabresd.c" board file and PIN muxing in that file also,&amp;nbsp; we had assumed that kernel onwards dts files are being used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our understanding is like this,&lt;/P&gt;&lt;P&gt;Is it so, mfg_u-boot.imx doesn't make use of dts&lt;/P&gt;&lt;P&gt;where as,&amp;nbsp; android u-boot.imx makes use of dts files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly update us.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Oct 2019 08:52:21 GMT</pubDate>
    <dc:creator>prasannakulkarni</dc:creator>
    <dc:date>2019-10-14T08:52:21Z</dc:date>
    <item>
      <title>info needed on u-boot.imx dts files.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/info-needed-on-u-boot-imx-dts-files/m-p/915002#M137753</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; We have tried porting of Android Oreo on our customized board(based on imx6dl). there was some changes related to UART muxing for our board, those related changes I have made in&amp;nbsp; "uboot-imx/board/freescale/mx6sabresd/mx6sabresd.c" .&amp;nbsp; we have built mfg u-boot placed in appropriate path flashed the images successfully. after that when we tried to boot board, UART was not working 4-5 days we have worked on that to resolve the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; How come UART worked in mfg_u-boot and didn't work in actual android u-boot? After trying many things we found that android u-boot makes use of dts files which we need to modify UART muxing related changes here also !!!. It worked&lt;/P&gt;&lt;P&gt;after this change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;My question is,&amp;nbsp; why nxp developers have kept muxing at both the places?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1. uboot-imx/board/freescale/mx6sabresd/mx6sabresd.c&lt;/P&gt;&lt;P&gt;2. uboot-imx/arch/arm/dts/imx6qdl-sabresd.dtsi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff6600;"&gt;&lt;STRONG&gt;There are no documents which tells about these information.&lt;/STRONG&gt;&lt;/SPAN&gt; By seeing "uboot-imx/board/freescale/mx6sabresd/mx6sabresd.c" board file and PIN muxing in that file also,&amp;nbsp; we had assumed that kernel onwards dts files are being used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our understanding is like this,&lt;/P&gt;&lt;P&gt;Is it so, mfg_u-boot.imx doesn't make use of dts&lt;/P&gt;&lt;P&gt;where as,&amp;nbsp; android u-boot.imx makes use of dts files?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly update us.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2019 08:52:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/info-needed-on-u-boot-imx-dts-files/m-p/915002#M137753</guid>
      <dc:creator>prasannakulkarni</dc:creator>
      <dc:date>2019-10-14T08:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: info needed on u-boot.imx dts files.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/info-needed-on-u-boot-imx-dts-files/m-p/915003#M137754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &amp;nbsp;Prasanna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you did not provide info what version was used, so it makes sense to recheck&lt;/P&gt;&lt;P&gt;nxp official software documentation&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/design/i.mx-developer-resources/i.mx-software-and-development-tool:IMX-SW" title="https://www.nxp.com/design/i.mx-developer-resources/i.mx-software-and-development-tool:IMX-SW"&gt;i.MX Software | NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As stated on below link, nxp documentation described usage of uboot dts files&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/504080"&gt;Device Tree(DTS) in Uboot&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;General info about uboot vs linux dts usage can be found on web:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://stackoverflow.com/questions/30711327/why-device-tree-structure-dts-file-is-needed-both-in-bootloader-and-kernel-sou" title="https://stackoverflow.com/questions/30711327/why-device-tree-structure-dts-file-is-needed-both-in-bootloader-and-kernel-sou"&gt;arm - Why Device Tree Structure (DTS) file is needed both in bootloader and kernel source code? - Stack Overflow&lt;/A&gt;&amp;nbsp;&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>Mon, 14 Oct 2019 09:32:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/info-needed-on-u-boot-imx-dts-files/m-p/915003#M137754</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-10-14T09:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: info needed on u-boot.imx dts files.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/info-needed-on-u-boot-imx-dts-files/m-p/915004#M137755</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; &amp;nbsp; It is u- boot version 2017.x which is used along with imx6 Android O 8.0.0_1.0.0 release...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2019 15:09:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/info-needed-on-u-boot-imx-dts-files/m-p/915004#M137755</guid>
      <dc:creator>prasannakulkarni</dc:creator>
      <dc:date>2019-10-14T15:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: info needed on u-boot.imx dts files.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/info-needed-on-u-boot-imx-dts-files/m-p/915005#M137756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igorpadykov ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Why pin muxing is done at two places in board file as well as in dts files... My basic question is still not answered.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2019 15:14:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/info-needed-on-u-boot-imx-dts-files/m-p/915005#M137756</guid>
      <dc:creator>prasannakulkarni</dc:creator>
      <dc:date>2019-10-14T15:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: info needed on u-boot.imx dts files.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/info-needed-on-u-boot-imx-dts-files/m-p/915006#M137757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is answered on &lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F30711327%2Fwhy-device-tree-structure-dts-file-is-needed-both-in-bootloader-and-kernel-sou" rel="nofollow" target="_blank"&gt;arm - Why Device Tree Structure (DTS) file is needed both in bootloader and kernel source code? - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"The u-boot version allows different version of u-boot to run on several boards"&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>Tue, 15 Oct 2019 01:34:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/info-needed-on-u-boot-imx-dts-files/m-p/915006#M137757</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-10-15T01:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: info needed on u-boot.imx dts files.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/info-needed-on-u-boot-imx-dts-files/m-p/915007#M137758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igorpadykov ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am not questioning about dts at kernel, in u-boot only why at two places the PIN muxing is done at boardfile as well as in dts file. here am not at all talking on kernel....&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. About u-boot&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Has board file and dts files of its own copy.&lt;/P&gt;&lt;P&gt;2. kernel&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fully implemented FDT so no board file concept it has its own copy of dts files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Here am not at all questioning about kernel and its dts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my question is simple why in uboot alone twice PIN muxing is done? in board file as well as in dts file. like kernel they would have only used dts alone in uboot also...&lt;/P&gt;&lt;P&gt;this creates ambiguity that two places I need to change muxing in uboot.&lt;/P&gt;&lt;P&gt;1. at board file of uboot&lt;/P&gt;&lt;P&gt;2. dts file of uboot.&lt;/P&gt;&lt;P&gt;Again am repeating about kernel and its dts am clear I dont have any doubts on kernel. my doubts are only with uboot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2019 04:41:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/info-needed-on-u-boot-imx-dts-files/m-p/915007#M137758</guid>
      <dc:creator>prasannakulkarni</dc:creator>
      <dc:date>2019-10-15T04:41:23Z</dc:date>
    </item>
  </channel>
</rss>

