<?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: How to show Debug message during mfgtool burning in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-show-Debug-message-during-mfgtool-burning/m-p/738809#M114975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you put your dtb and u-boot file to&amp;nbsp;BootStrap location? I mean, mfgtool will burn a u-boot and kernel first, then burn your real image. So need to put your modified file to 2 locations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Nov 2017 10:13:26 GMT</pubDate>
    <dc:creator>jerrylain</dc:creator>
    <dc:date>2017-11-15T10:13:26Z</dc:date>
    <item>
      <title>How to show Debug message during mfgtool burning</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-show-Debug-message-during-mfgtool-burning/m-p/738808#M114974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm using i.MX6 sabresd for my layer.&lt;/P&gt;&lt;P&gt;I wanna show the debug message from uart2 during mfgtool burning.&lt;/P&gt;&lt;P&gt;I've settings my dts under mfgtool-linux-imx/4.1.15-r0/git/arch/arm/boot/dts/XXX.dts&lt;/P&gt;&lt;P&gt;Also I modify the&amp;nbsp;mx6sabresd.c which is located at u-boot-imx/2015.04-r0/git/board/freescale/mx6sabresd/.&lt;/P&gt;&lt;P&gt;This is what I try to modified.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;static iomux_v3_cfg_t const uart1_pads[] = {&lt;BR /&gt; MX6_PAD_CSI0_DAT10__UART1_TX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),&lt;BR /&gt; MX6_PAD_CSI0_DAT11__UART1_RX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),&lt;BR /&gt;};/*ttymxc0*/&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;to&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;static iomux_v3_cfg_t const uart1_pads[] = {&lt;BR /&gt; MX6_PAD_EIM_D26__UART2_TX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),&lt;BR /&gt; MX6_PAD_EIM_D27__UART2_RX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),&lt;BR /&gt; MX6_PAD_EIM_A25__GPIO5_IO02 | MUX_PAD_CTRL(NO_PAD_CTRL),&lt;BR /&gt;};/*ttymxc1*/&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Besides, I also modify this two file which are&amp;nbsp;mx6sabre_common.h and&amp;nbsp;mx6sabresd.h.&lt;/P&gt;&lt;P&gt;Below is what I have modified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For&amp;nbsp;&lt;SPAN&gt;mx6sabre_common.h&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;#define CONFIG_CONS_INDEX&lt;/SPAN&gt;&lt;SPAN style="background-color: #f6f6f6;"&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;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;#define CONFIG_CONS_INDEX&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2 /*1 to 2*/&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For&amp;nbsp;&lt;SPAN&gt;mx6sabresd.h&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;#define CONFIG_MXC_UART_BASE UART1_BASE&amp;nbsp;&lt;/SPAN&gt;&lt;BR style="background-color: #f6f6f6;" /&gt;&lt;SPAN style="background-color: #f6f6f6;"&gt;#define CONFIG_CONSOLE_DEV "ttymxc0"&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;#define CONFIG_MXC_UART_BASE UART2_BASE /*&lt;SPAN style="background-color: #f6f6f6;"&gt;UART1_BASE to&amp;nbsp;&lt;SPAN&gt;UART2_BASE&lt;/SPAN&gt;&lt;/SPAN&gt;*/&lt;BR /&gt;#define CONFIG_CONSOLE_DEV "ttymxc1" /*ttymxc0 to ttymxc1*/&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But I still cannot show the debug message.&lt;/P&gt;&lt;P&gt;However I can show the kernel message after I burning the image and reboot the system.&lt;/P&gt;&lt;P&gt;How can I solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advanced!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 06:06:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-show-Debug-message-during-mfgtool-burning/m-p/738808#M114974</guid>
      <dc:creator>wangvictor</dc:creator>
      <dc:date>2017-11-01T06:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to show Debug message during mfgtool burning</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-show-Debug-message-during-mfgtool-burning/m-p/738809#M114975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you put your dtb and u-boot file to&amp;nbsp;BootStrap location? I mean, mfgtool will burn a u-boot and kernel first, then burn your real image. So need to put your modified file to 2 locations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 10:13:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-show-Debug-message-during-mfgtool-burning/m-p/738809#M114975</guid>
      <dc:creator>jerrylain</dc:creator>
      <dc:date>2017-11-15T10:13:26Z</dc:date>
    </item>
  </channel>
</rss>

