<?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中的主题 Start u-boot from u-boot using go command</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Start-u-boot-from-u-boot-using-go-command/m-p/783588#M121602</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an imx6, u-boot booting on emmc,&amp;nbsp;&lt;EM style="color: #6a6a6a; background-color: #ffffff; font-weight: bold; font-size: small;"&gt;SYS_TEXT_BASE&lt;/EM&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&amp;nbsp;= 17800000&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;When i "go 0x17800000", it restart, good.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;Now i wan't to start an other uboot from ram.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;I've compiled it with&amp;nbsp;SYS_TEXT_BASE&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&amp;nbsp;= 17900000&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;I do :&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;tftp 0x&lt;SPAN style="color: #545454;"&gt;17900000 u-boot.bin&lt;/SPAN&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;EM style=": ; background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;go 0x7900000&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;EM style=": ; background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;It write "Starting application at ********" and it was blocked.&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;EM style=": ; background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;With lauterbach trace32 :&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;EM style=": ; background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;I see "stopped by vector catch", it's a data abord (SDABORT)&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;EM style=": ; background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;It failed in board_init_f at :&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;EM&gt;&lt;SPAN style="color: #545454;"&gt;if (mxc_get_clock(MXC_ARM_CLK) == 396000000)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #545454;"&gt; set_ahb_rate(132000000);&lt;/SPAN&gt;&lt;/EM&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;EM style=": ; background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&amp;nbsp;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;EM style=": ; background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;If i comment it, it fail after....&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;EM style=": ; background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;It's at my work, i wan't to use "go" command, not sb loader or other&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;EM style=": ; background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;Thanks for your help :smileyhappy:&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Sep 2018 17:43:16 GMT</pubDate>
    <dc:creator>ciaran_lequeux</dc:creator>
    <dc:date>2018-09-01T17:43:16Z</dc:date>
    <item>
      <title>Start u-boot from u-boot using go command</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Start-u-boot-from-u-boot-using-go-command/m-p/783588#M121602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an imx6, u-boot booting on emmc,&amp;nbsp;&lt;EM style="color: #6a6a6a; background-color: #ffffff; font-weight: bold; font-size: small;"&gt;SYS_TEXT_BASE&lt;/EM&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&amp;nbsp;= 17800000&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;When i "go 0x17800000", it restart, good.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;Now i wan't to start an other uboot from ram.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;I've compiled it with&amp;nbsp;SYS_TEXT_BASE&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&amp;nbsp;= 17900000&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;I do :&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;tftp 0x&lt;SPAN style="color: #545454;"&gt;17900000 u-boot.bin&lt;/SPAN&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;EM style=": ; background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;go 0x7900000&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;EM style=": ; background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;It write "Starting application at ********" and it was blocked.&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;EM style=": ; background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;With lauterbach trace32 :&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;EM style=": ; background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;I see "stopped by vector catch", it's a data abord (SDABORT)&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;EM style=": ; background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;It failed in board_init_f at :&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;EM&gt;&lt;SPAN style="color: #545454;"&gt;if (mxc_get_clock(MXC_ARM_CLK) == 396000000)&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #545454;"&gt; set_ahb_rate(132000000);&lt;/SPAN&gt;&lt;/EM&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;EM style=": ; background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&amp;nbsp;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;EM style=": ; background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;If i comment it, it fail after....&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;EM style=": ; background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;It's at my work, i wan't to use "go" command, not sb loader or other&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;&lt;EM style=": ; background-color: #ffffff; color: #545454; font-weight: bold; font-size: small;"&gt;Thanks for your help :smileyhappy:&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Sep 2018 17:43:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Start-u-boot-from-u-boot-using-go-command/m-p/783588#M121602</guid>
      <dc:creator>ciaran_lequeux</dc:creator>
      <dc:date>2018-09-01T17:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Start u-boot from u-boot using go command</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Start-u-boot-from-u-boot-using-go-command/m-p/783589#M121603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi lequxu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once started uboot initializes processor clock tree using special procedures&lt;/P&gt;&lt;P&gt;described in sect.18.5.1.5 CCM internal clock generation, sect.18.5.1.5.6 Divider change handshake,&lt;/P&gt;&lt;P&gt;sect.18.5.1.7 Clock Switching Multiplexers, sect.18.5.1.9 MMDC handshake i.MX6DQ Reference Manual.&lt;/P&gt;&lt;P&gt;So when running second uboot instance it tries to configure clocks which are already initialized.&lt;/P&gt;&lt;P&gt;Another document which describes clock configuration rules is EB790 Configuration of Phase Fractional Dividers&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/engineering-bulletin/EB790.pdf" title="https://www.nxp.com/docs/en/engineering-bulletin/EB790.pdf"&gt;https://www.nxp.com/docs/en/engineering-bulletin/EB790.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can try analyze which clock causes exception usng these documents.&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Freference-manual%2FIMX6DQRM.pdf" rel="nofollow" target="_blank"&gt;http://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf&lt;/A&gt;&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, 03 Sep 2018 08:53:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Start-u-boot-from-u-boot-using-go-command/m-p/783589#M121603</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-09-03T08:53:08Z</dc:date>
    </item>
  </channel>
</rss>

