<?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 to get fresh checkout of u-boot working on sabresd ?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-get-fresh-checkout-of-u-boot-working-on-sabresd/m-p/226424#M16181</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It WORKS !!!! :smileyhappy: Thank you so much &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/AnsonHuang"&gt;AnsonHuang&lt;/A&gt; !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For those interested here are the steps I followed to generate a u-boot.bin file which works with the MFGTool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;File needed before starting:&lt;/EM&gt;&lt;/SPAN&gt; The original "u-boot.bin" file that is created after following the instructions in "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Android_User_Guide.pdf&lt;/SPAN&gt;". In my case, I compiled the the file, but I would expect a pre-built image to work as well. What is important is that this file is already working on the sabresd board and can be loaded with the MFGTool. I will refer to this file as "u-boot.bin.working"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First checkout the repository with this command (by default you should be in master branch),&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;git clone &lt;/SPAN&gt;&lt;SPAN style="font-family: sans-serif; color: #000000;"&gt;git://git.denx.de/u-boot-imx.git&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; u-boot-imx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now copy our working file into it,&lt;/P&gt;&lt;P&gt;&amp;gt;cp u-boot.bin.working ~/u-boot-imx/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next configure and compile uboot to work with the sabresd board,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt; cd u-boot-imx&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt; export ARCH=arm&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt; export CROSS_COMPILE=~/toolchain-android/bin/arm-eabi-&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt; make mx6qsabresd_config&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt; make&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;As &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/AnsonHuang"&gt;AnsonHuang&lt;/A&gt; mentioned, you'll find a "u-boot.imx" file created. This needs to be padded with some dummy data from the u-boot.bin.working before it can be used by the MFGTool. So do this,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;dd if=u-boot.imx of=u-boot.bin.working bs=1k seek=1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;And finally to rename our file (I use the copy command so we still have the u-boot.bin.working file in the current directory if we want to build again),&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;cp u-boot.bin.working u-boot.bin&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I then transferred this file (u-boot.bin) to a windows box and loaded it on the sabresd board using the MFGtool. Instead of booting android, it seems to try booting from the network - but that's another problem and (I think) should be solved by configuring the boot arguments.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks again Yongcai !&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-Abraham V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jul 2013 08:25:41 GMT</pubDate>
    <dc:creator>abraham_v</dc:creator>
    <dc:date>2013-07-30T08:25:41Z</dc:date>
    <item>
      <title>How to get fresh checkout of u-boot working on sabresd ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-get-fresh-checkout-of-u-boot-working-on-sabresd/m-p/226417#M16174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've followed the instructions in the "Android_User_Guide.pdf" and am able to create u-boot, linux kernel &amp;amp; android images working on the iMX6Q sabresd development board. The images were loaded using the "MFGTool" provided on the main iMX6 website.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frankly, I found the u-boot sources in there difficult to navigate and checked out a fresh copy with this command,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;git clone &lt;SPAN style="color: #000000; font-family: sans-serif;"&gt;git://git.denx.de/u-boot-imx.git&lt;/SPAN&gt; u-boot-imx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's what I did next,&lt;/P&gt;&lt;P&gt;&amp;gt; cd u-boot-imx&lt;/P&gt;&lt;P&gt;&amp;gt; export ARCH=arm&lt;/P&gt;&lt;P&gt;&amp;gt; export CROSS_COMPILE=~/toolchain-android/bin/arm-eabi-&lt;/P&gt;&lt;P&gt;&amp;gt; make distclean&lt;/P&gt;&lt;P&gt;&amp;gt; make mx6qsabresd_config&lt;/P&gt;&lt;P&gt;&amp;gt; make&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This generates the u-boot.bin image file without problems, but when I try to load it on the board using the MFGTool, it doesn't boot! :smileysad: Any suggestions on what I could try? &lt;/P&gt;&lt;P&gt;Not sure how relevant this is, but I'm trying to boot off the eMMC present on the board and NOT an external SD card.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Abraham V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2013 09:24:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-get-fresh-checkout-of-u-boot-working-on-sabresd/m-p/226417#M16174</guid>
      <dc:creator>abraham_v</dc:creator>
      <dc:date>2013-07-26T09:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to get fresh checkout of u-boot working on sabresd ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-get-fresh-checkout-of-u-boot-working-on-sabresd/m-p/226418#M16175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Abraham&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Your steps looks OK, can you send me the u-boot.bin file? I can try it on my site and maybe I can find some clues from your u-boot.bin. I can look into the HEX value or even do some debug on it. BTW, when you clone the git repository, can you use "git branch" to see which branch you are at?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 07:10:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-get-fresh-checkout-of-u-boot-working-on-sabresd/m-p/226418#M16175</guid>
      <dc:creator>AnsonHuang</dc:creator>
      <dc:date>2013-07-29T07:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How to get fresh checkout of u-boot working on sabresd ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-get-fresh-checkout-of-u-boot-working-on-sabresd/m-p/226419#M16176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/AnsonHuang"&gt;AnsonHuang&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the assistance. :smileyhappy: I'm attaching 2 files with this reply. Following the instructions in "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Android_User_Guide.pdf&lt;/SPAN&gt;" I can create one "u-boot.bin" file. This is attached as "u-boot.bin.working".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After cloning the repository from &lt;SPAN style="color: #000000; font-family: sans-serif;"&gt;git://git.denx.de/u-boot-imx.git&lt;/SPAN&gt; and compiling, I'm creating another "u-boot.bin" file. This I'm attaching as "u-boot.bin.notworking".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it looks like I'm on the master branch. Here's what I see,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; git branch -a&lt;/P&gt;&lt;P&gt;* master&lt;/P&gt;&lt;P&gt;&amp;nbsp; remotes/origin/HEAD -&amp;gt; origin/master&lt;/P&gt;&lt;P&gt;&amp;nbsp; remotes/origin/arm_master&lt;/P&gt;&lt;P&gt;&amp;nbsp; remotes/origin/ea20&lt;/P&gt;&lt;P&gt;&amp;nbsp; remotes/origin/ima3-mx53&lt;/P&gt;&lt;P&gt;&amp;nbsp; remotes/origin/master&lt;/P&gt;&lt;P&gt;&amp;nbsp; remotes/origin/master_merge&lt;/P&gt;&lt;P&gt;&amp;nbsp; remotes/origin/mcx&lt;/P&gt;&lt;P&gt;&amp;nbsp; remotes/origin/next&lt;/P&gt;&lt;P&gt;&amp;nbsp; remotes/origin/spl_linux_mainline&lt;/P&gt;&lt;P&gt;&amp;nbsp; remotes/origin/spl_linux_twister&lt;/P&gt;&lt;P&gt;&amp;nbsp; remotes/origin/teejet_mtventoux&lt;/P&gt;&lt;P&gt;&amp;nbsp; remotes/origin/teejet_mtventoux_mainline&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you debug the u-boot.bin file? In addition to solving my current problem, I'd like to learn how to fix/debug this on my own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Abraham V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 13:21:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-get-fresh-checkout-of-u-boot-working-on-sabresd/m-p/226419#M16176</guid>
      <dc:creator>abraham_v</dc:creator>
      <dc:date>2013-07-29T13:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How to get fresh checkout of u-boot working on sabresd ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-get-fresh-checkout-of-u-boot-working-on-sabresd/m-p/226420#M16177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Can you try branch imx_v2009.08_3.0.35_4.0.0, Vincent just post a guide of uboot build, please check it:) Master branch may not work.&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2013 15:17:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-get-fresh-checkout-of-u-boot-working-on-sabresd/m-p/226420#M16177</guid>
      <dc:creator>AnsonHuang</dc:creator>
      <dc:date>2013-07-29T15:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to get fresh checkout of u-boot working on sabresd ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-get-fresh-checkout-of-u-boot-working-on-sabresd/m-p/226421#M16178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Abraham&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I looked into your u-boot.bin.notworking, apparently, this is not FSL's uboot, that means the u-boot you build is not based on our ROM format, maybe the source code is not corect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; From the u-boot.bin.working, open it using HEX, you can see the first 32 bit data is a JUMP instruction, and offset 0x400 is our ROM's IVT header, 0x402000d1. But the not working uboot you build is not having these content, so it is not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So, please use &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;branch imx_v2009.08_3.0.35_4.0.0&lt;/SPAN&gt; to build u-boot.bin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 02:23:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-get-fresh-checkout-of-u-boot-working-on-sabresd/m-p/226421#M16178</guid>
      <dc:creator>AnsonHuang</dc:creator>
      <dc:date>2013-07-30T02:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to get fresh checkout of u-boot working on sabresd ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-get-fresh-checkout-of-u-boot-working-on-sabresd/m-p/226422#M16179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found Vincent's u-boot guide on the following link,&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-95015"&gt;https://community.freescale.com/docs/DOC-95015&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;He seems to be using a different u-boot source link than me, so I did a fresh checkout of it. One concern I have is that his instructions are about booting from one of the on-board SD-card slots. I'm trying to boot off the eMMC. Either way, I followed his instructions but can't build a working image. (Something gets built, but it doesn't load on my sabresd board).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To solve the issue, I tried running the 'objdump' tool on the generated "u-boot" file that gets created on the top-level. Here is a snippet of what I see for the NOT-working binary,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;u-boot:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file format elf32-littlearm&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Disassembly of section .text:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;17800000 &amp;lt;__image_copy_start&amp;gt;:&lt;/P&gt;
&lt;P&gt;17800000:&amp;nbsp;&amp;nbsp; 13 00 00 ea 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ................&lt;/P&gt;
&lt;P&gt;17800010:&amp;nbsp;&amp;nbsp; 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ................&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;17800020 &amp;lt;_undefined_instruction&amp;gt;:&lt;/P&gt;
&lt;P&gt;17800020:&amp;nbsp;&amp;nbsp; 17800120&amp;nbsp;&amp;nbsp;&amp;nbsp; .word&amp;nbsp;&amp;nbsp; 0x17800120&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;17800024 &amp;lt;_software_interrupt&amp;gt;:&lt;/P&gt;
&lt;P&gt;17800024:&amp;nbsp;&amp;nbsp; 17800180&amp;nbsp;&amp;nbsp;&amp;nbsp; .word&amp;nbsp;&amp;nbsp; 0x17800180&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;17800028 &amp;lt;_prefetch_abort&amp;gt;:&lt;/P&gt;
&lt;P&gt;17800028:&amp;nbsp;&amp;nbsp; 178001e0&amp;nbsp;&amp;nbsp;&amp;nbsp; .word&amp;nbsp;&amp;nbsp; 0x178001e0&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;1780002c &amp;lt;_data_abort&amp;gt;:&lt;/P&gt;
&lt;P&gt;1780002c:&amp;nbsp;&amp;nbsp; 17800240&amp;nbsp;&amp;nbsp;&amp;nbsp; .word&amp;nbsp;&amp;nbsp; 0x17800240&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: The above is for a compile from checking out the code from &lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;git://git.denx.de/u-boot.git&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now here is the same thing for my working file,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;u-boot:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; file format elf32-littlearm&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Disassembly of section .text:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;27800000 &amp;lt;ivt_header-0x400&amp;gt;:&lt;/P&gt;
&lt;P&gt;27800000:&amp;nbsp;&amp;nbsp; ea0001b6&amp;nbsp;&amp;nbsp;&amp;nbsp; b&amp;nbsp;&amp;nbsp; 278006e0 &amp;lt;_start&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;27800400 &amp;lt;ivt_header&amp;gt;:&lt;/P&gt;
&lt;P&gt;27800400:&amp;nbsp;&amp;nbsp; 402000d1&amp;nbsp;&amp;nbsp;&amp;nbsp; .word&amp;nbsp;&amp;nbsp; 0x402000d1&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;27800404 &amp;lt;app_code_jump_v&amp;gt;:&lt;/P&gt;
&lt;P&gt;27800404:&amp;nbsp;&amp;nbsp; 278006e0&amp;nbsp;&amp;nbsp;&amp;nbsp; .word&amp;nbsp;&amp;nbsp; 0x278006e0&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;27800408 &amp;lt;reserv1&amp;gt;:&lt;/P&gt;
&lt;P&gt;27800408:&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp;&amp;nbsp;&amp;nbsp; .word&amp;nbsp;&amp;nbsp; 0x00000000&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;2780040c &amp;lt;dcd_ptr&amp;gt;:&lt;/P&gt;
&lt;P&gt;2780040c:&amp;nbsp;&amp;nbsp; 2780042c&amp;nbsp;&amp;nbsp;&amp;nbsp; .word&amp;nbsp;&amp;nbsp; 0x2780042c&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recognize the IVT header and DTD layout from figure 8-21 of the Processor Reference Manual. What I can't figure out is why it's not coming for the fresh u-boot checkout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/AnsonHuang"&gt;AnsonHuang&lt;/A&gt; - Could you tell me the exact link from where you downloaded the u-boot source? I can't find the branch you mention in either &lt;SPAN style="color: #000000; font-family: sans-serif;"&gt;git://git.denx.de/u-boot-imx.git&lt;/SPAN&gt; or &lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;git://git.denx.de/u-boot.git&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Abraham V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 04:06:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-get-fresh-checkout-of-u-boot-working-on-sabresd/m-p/226422#M16179</guid>
      <dc:creator>abraham_v</dc:creator>
      <dc:date>2013-07-30T04:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get fresh checkout of u-boot working on sabresd ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-get-fresh-checkout-of-u-boot-working-on-sabresd/m-p/226423#M16180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Abraham&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I think I have figured out the root cause of your issue, I also clone a git repository from git://git.denx.de/u-boot-imx.git and using master branch, I build a uboot using &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;mx6qsabresd_config&lt;/SPAN&gt;, the only difference is I didn't use android tool chain, but it shouldn't matter. I can make this uboot work on my sabresd board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; When your build done, you should use u-boot.imx instead of u-boot.bin, u-boot.bin is without our IMX IVT header. So please check whether there is a u-boot.imx in your build result, if yes, it should work. And the u-boot which is working on your board is a little different from u-boot.imx, when you try to burn it into eMMC, please use below command "&lt;SPAN style="color: #3d3d3d; font-family: 'courier new', courier;"&gt;dd if=u-boot.imx of=/dev/&amp;lt;your-sd-card&amp;gt; bs=1k seek=1&lt;/SPAN&gt;". If you want to use MFG tool, maybe you need to cat the old working u-boot.bin's first 1K data into the head of this u-boot.imx, in a word, u-boot.bin = 1K(dummy data) + (old)u-boot.imx.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BTW, the branch &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;imx_v2009.08_3.0.35_4.0.0&lt;/SPAN&gt; is based on v2009.08 uboot, and the git repository you used should be based on v2012 uboot, so you can NOT find it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 05:10:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-get-fresh-checkout-of-u-boot-working-on-sabresd/m-p/226423#M16180</guid>
      <dc:creator>AnsonHuang</dc:creator>
      <dc:date>2013-07-30T05:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to get fresh checkout of u-boot working on sabresd ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-get-fresh-checkout-of-u-boot-working-on-sabresd/m-p/226424#M16181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It WORKS !!!! :smileyhappy: Thank you so much &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/AnsonHuang"&gt;AnsonHuang&lt;/A&gt; !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For those interested here are the steps I followed to generate a u-boot.bin file which works with the MFGTool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;File needed before starting:&lt;/EM&gt;&lt;/SPAN&gt; The original "u-boot.bin" file that is created after following the instructions in "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Android_User_Guide.pdf&lt;/SPAN&gt;". In my case, I compiled the the file, but I would expect a pre-built image to work as well. What is important is that this file is already working on the sabresd board and can be loaded with the MFGTool. I will refer to this file as "u-boot.bin.working"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First checkout the repository with this command (by default you should be in master branch),&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;git clone &lt;/SPAN&gt;&lt;SPAN style="font-family: sans-serif; color: #000000;"&gt;git://git.denx.de/u-boot-imx.git&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; u-boot-imx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now copy our working file into it,&lt;/P&gt;&lt;P&gt;&amp;gt;cp u-boot.bin.working ~/u-boot-imx/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next configure and compile uboot to work with the sabresd board,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt; cd u-boot-imx&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt; export ARCH=arm&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt; export CROSS_COMPILE=~/toolchain-android/bin/arm-eabi-&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt; make mx6qsabresd_config&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt; make&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;As &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/AnsonHuang"&gt;AnsonHuang&lt;/A&gt; mentioned, you'll find a "u-boot.imx" file created. This needs to be padded with some dummy data from the u-boot.bin.working before it can be used by the MFGTool. So do this,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;dd if=u-boot.imx of=u-boot.bin.working bs=1k seek=1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;And finally to rename our file (I use the copy command so we still have the u-boot.bin.working file in the current directory if we want to build again),&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;cp u-boot.bin.working u-boot.bin&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I then transferred this file (u-boot.bin) to a windows box and loaded it on the sabresd board using the MFGtool. Instead of booting android, it seems to try booting from the network - but that's another problem and (I think) should be solved by configuring the boot arguments.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks again Yongcai !&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-Abraham V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 08:25:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-get-fresh-checkout-of-u-boot-working-on-sabresd/m-p/226424#M16181</guid>
      <dc:creator>abraham_v</dc:creator>
      <dc:date>2013-07-30T08:25:41Z</dc:date>
    </item>
  </channel>
</rss>

