<?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: i.MX8M U-Boot UART1 problems in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-U-Boot-UART1-problems/m-p/1393410#M185223</link>
    <description>&lt;P&gt;Hi Pavel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what processor used in the case, i.MX8MQ or i.MX8M Mini (these are different).&lt;/P&gt;
&lt;P&gt;Recommended to use uboot from nxp source.codeaurora.org/external/imx/ repository:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/imx8mq_evk?h=lf_v2021.04" target="_blank"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/imx8mq_evk?h=lf_v2021.04&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/imx8mm_evk?h=lf_v2021.04" target="_blank"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/imx8mm_evk?h=lf_v2021.04&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and use attached documents.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
    <pubDate>Thu, 30 Dec 2021 23:39:52 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2021-12-30T23:39:52Z</dc:date>
    <item>
      <title>i.MX8M U-Boot UART1 problems</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-U-Boot-UART1-problems/m-p/1393371#M185217</link>
      <description>&lt;P&gt;Sorry for taking your time, but i'm lost. I'm new to both iMX and U-Boot, therefore a mistake might be visible to professionals like you.&lt;/P&gt;&lt;P&gt;We have built a system closely resembling i.MX8M-evk board, which we have trouble properly booting up. To boot it up we have started with cloning a U-Boot official git repository. In order to build a binary we have followed&amp;nbsp;&lt;A href="https://u-boot.readthedocs.io/en/latest/board/freescale/imx8mm_evk.html" target="_blank" rel="noopener"&gt;https://u-boot.readthedocs.io/en/latest/board/freescale/imx8mm_evk.html&lt;/A&gt;&amp;nbsp; example with gcc-aarch64 compiler and several device tree changes: instead of uart2 we are using uart1 (unsuccessfully) and several other i2c changes. The image was prepared to be used within a board-internal flash memory or an emmc.&lt;BR /&gt;! Except the very last step:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;#&lt;/SPAN&gt; dd &lt;SPAN class=""&gt;if&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;flash.bin &lt;SPAN class=""&gt;of&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;/dev/sd&lt;SPAN class=""&gt;[&lt;/SPAN&gt;x&lt;SPAN class=""&gt;]&lt;/SPAN&gt; &lt;SPAN class=""&gt;bs&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;1024&lt;/SPAN&gt; &lt;SPAN class=""&gt;seek&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;33&lt;/SPAN&gt; &lt;SPAN class=""&gt;conv&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;notrunc&lt;/PRE&gt;&lt;P&gt;The first build had a misconfigured i2c device (several devices took same address: pmic and port expander), which did not boot up a pmic properly. Second build actually corrected that mistake and we were able to boot up and use "UUU"-tility to play around with a binary. I'm guessing that mcu clocks and an I2C have booted up properly. But there were no signals on either uart lines (we have changed "used" console device to uart1), so no U-Boot startup message was shown.&lt;/P&gt;&lt;P&gt;Then we have added the above mentioned line to a build process (i had doubts about it since the beginning), and a new upload through uuu-tility rendered the device useless. We only had 2 boards, so no way to check a new firmware now, until we manufacture an another batch. We had no jtag capabilities before and uuu does not recognize a device from now on. I understand that the above mentioned line was aimed at an external sd card. A blank space of 33 kilobytes? why not 32? We also had to add 0x55AA sequence in order for the rufus to recognize the image.&lt;/P&gt;&lt;P&gt;Another question is: the above mentioned line lists 33 kB length blank space, but several binaries (like from a similar verdin board, presented in a u-boot repository) have a different blank space at the beginning - 3.3kB. Please point me in the right direction: am i using an outdated tutorial or are there other factors at play?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Dec 2021 14:41:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-U-Boot-UART1-problems/m-p/1393371#M185217</guid>
      <dc:creator>pavelr</dc:creator>
      <dc:date>2021-12-30T14:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M U-Boot UART1 problems</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-U-Boot-UART1-problems/m-p/1393410#M185223</link>
      <description>&lt;P&gt;Hi Pavel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what processor used in the case, i.MX8MQ or i.MX8M Mini (these are different).&lt;/P&gt;
&lt;P&gt;Recommended to use uboot from nxp source.codeaurora.org/external/imx/ repository:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/imx8mq_evk?h=lf_v2021.04" target="_blank"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/imx8mq_evk?h=lf_v2021.04&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/imx8mm_evk?h=lf_v2021.04" target="_blank"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/imx8mm_evk?h=lf_v2021.04&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and use attached documents.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Thu, 30 Dec 2021 23:39:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-U-Boot-UART1-problems/m-p/1393410#M185223</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-12-30T23:39:52Z</dc:date>
    </item>
  </channel>
</rss>

