<?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 Uboot does not boot when it is put at 400 offset in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Uboot-does-not-boot-when-it-is-put-at-400-offset/m-p/829369#M127424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;my board is i.MX 6QuadPlus sabresd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H3 id="toc-hId-1621960790"&gt;1. I have this question that if I have a pluging image as uboot that is flash_header.S then how can I create a uboot.imx file out of it?&lt;/H3&gt;&lt;P&gt;For sabreauto board in board/freescale/sabreauto directory I see these files&lt;/P&gt;&lt;P&gt;imximage.cfg&lt;/P&gt;&lt;P&gt;plugin.S&lt;/P&gt;&lt;P&gt;mx6qsabreauto.c&lt;/P&gt;&lt;P&gt;and some more .cfg files.&lt;/P&gt;&lt;P&gt;CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6sabresd/mx6qp.cfg,MX6QP"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for my board I only see these&lt;/P&gt;&lt;P&gt;flash_header.S&lt;/P&gt;&lt;P&gt;board_header.h&lt;/P&gt;&lt;P&gt;CONFIG_SYS_EXTRA_OPTIONS=""&lt;/P&gt;&lt;P&gt;but nothing as .cfg file.&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;H3 id="toc-hId--930196171"&gt;2. Some observations of mine when I uses plugin image and uboot.img&amp;nbsp;&lt;/H3&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I compile the uboot as uboot.img I see this from the hexdump&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;00000000 27 05 19 56 0c 00 3d 7b 5b 2e 96 e1 00 08 00 00 |'..V..={[.......|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000010 17 80 00 00 00 00 00 00 b3 6a 65 64 11 02 05 00 |.........jed....|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000020 55 2d 42 6f 6f 74 20 32 30 31 36 2e 30 33 2d 67 |U-Boot 2016.03-g|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000030 64 61 34 64 37 64 32 20 66 6f 72 20 6d 78 36 71 |da4d7d2 for mx6q|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000040 2e 07 00 ea 55 55 55 55 55 55 55 55 55 55 55 55 |....UUUUUUUUUUUU|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000050 55 55 55 55 00 00 00 00 00 00 00 00 00 00 00 00 |UUUU............|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;00000440 d1 00 20 40&amp;nbsp;xx&amp;nbsp;xx xx xx xx xx xx xx xx&amp;nbsp; &amp;nbsp; &amp;nbsp;|.. @Xt..........|&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I flash this image to the board&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sudo dd if=u-boot.img of=/dev/sdX bs=1M count=1&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the board does not bootup&lt;/P&gt;&lt;P&gt;But if I strip first 64 byte header and make it like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;00000000 2e 07 00 ea 55 55 55 55 55 55 55 55 55 55 55 55 |....UUUUUUUUUUUU|&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000010 55 55 55 55 00 00 00 00 00 00 00 00 00 00 00 00 |UUUU............|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;00000400 d1 00 20 40&amp;nbsp;xx&amp;nbsp;xx xx xx xx xx xx xx xx&amp;nbsp; &amp;nbsp; &amp;nbsp;|.. @Xt..........|&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;the board boots up.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;from 0000000 to 00000020 is start of the assembly code in flash_header.S and at 440 some more assembly instructions inside flash_header.S&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;I read TRM and I read this&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Boot Device Type&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Image Vector Table Offset&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Initial Load Region Size&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SD/MMC/eSD/eMMC/SDXC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 Kbyte = 0x400 bytes&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4 Kbyte&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em; padding: 0px;"&gt;Exp1: NXP sabre board uses these images to boot up&lt;/P&gt;&lt;PRE style="color: #242729; background-color: #eff0f1; border: 0px; margin: 0px 0px 1em; padding: 5px;"&gt;&lt;CODE style="background-color: #eff0f1; border: 0px; font-weight: inherit; padding: 0px;"&gt;U-Boot image: u-boot.imx 
boot image: boot.img 
Android system image: system.img 
Recovery image: recovery.img 
GPT table image: partition-table.img 
Vendor image: vendor.img &lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em; padding: 0px;"&gt;I took my uboot image's where I have stripped uboot.img's first 64 bytes, and put in sabresd board, sabresd boots up.&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em; padding: 0px;"&gt;Same sabresd boots with nxp android images where I checked with hexdump, the code does not start same as mine. So how ROM code undestand location of uboot in both kind of images?&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em; padding: 0px;"&gt;Can anybody point me in right direction. My goal is to use this uboot and boot android images using nxp flashing tool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jun 2018 19:09:46 GMT</pubDate>
    <dc:creator>mrigendra_chaub</dc:creator>
    <dc:date>2018-06-28T19:09:46Z</dc:date>
    <item>
      <title>Uboot does not boot when it is put at 400 offset</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Uboot-does-not-boot-when-it-is-put-at-400-offset/m-p/829369#M127424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: #ffffff;"&gt;my board is i.MX 6QuadPlus sabresd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H3 id="toc-hId-1621960790"&gt;1. I have this question that if I have a pluging image as uboot that is flash_header.S then how can I create a uboot.imx file out of it?&lt;/H3&gt;&lt;P&gt;For sabreauto board in board/freescale/sabreauto directory I see these files&lt;/P&gt;&lt;P&gt;imximage.cfg&lt;/P&gt;&lt;P&gt;plugin.S&lt;/P&gt;&lt;P&gt;mx6qsabreauto.c&lt;/P&gt;&lt;P&gt;and some more .cfg files.&lt;/P&gt;&lt;P&gt;CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6sabresd/mx6qp.cfg,MX6QP"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for my board I only see these&lt;/P&gt;&lt;P&gt;flash_header.S&lt;/P&gt;&lt;P&gt;board_header.h&lt;/P&gt;&lt;P&gt;CONFIG_SYS_EXTRA_OPTIONS=""&lt;/P&gt;&lt;P&gt;but nothing as .cfg file.&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;H3 id="toc-hId--930196171"&gt;2. Some observations of mine when I uses plugin image and uboot.img&amp;nbsp;&lt;/H3&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I compile the uboot as uboot.img I see this from the hexdump&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;00000000 27 05 19 56 0c 00 3d 7b 5b 2e 96 e1 00 08 00 00 |'..V..={[.......|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000010 17 80 00 00 00 00 00 00 b3 6a 65 64 11 02 05 00 |.........jed....|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000020 55 2d 42 6f 6f 74 20 32 30 31 36 2e 30 33 2d 67 |U-Boot 2016.03-g|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000030 64 61 34 64 37 64 32 20 66 6f 72 20 6d 78 36 71 |da4d7d2 for mx6q|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000040 2e 07 00 ea 55 55 55 55 55 55 55 55 55 55 55 55 |....UUUUUUUUUUUU|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000050 55 55 55 55 00 00 00 00 00 00 00 00 00 00 00 00 |UUUU............|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;00000440 d1 00 20 40&amp;nbsp;xx&amp;nbsp;xx xx xx xx xx xx xx xx&amp;nbsp; &amp;nbsp; &amp;nbsp;|.. @Xt..........|&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I flash this image to the board&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sudo dd if=u-boot.img of=/dev/sdX bs=1M count=1&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the board does not bootup&lt;/P&gt;&lt;P&gt;But if I strip first 64 byte header and make it like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;00000000 2e 07 00 ea 55 55 55 55 55 55 55 55 55 55 55 55 |....UUUUUUUUUUUU|&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000010 55 55 55 55 00 00 00 00 00 00 00 00 00 00 00 00 |UUUU............|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;00000400 d1 00 20 40&amp;nbsp;xx&amp;nbsp;xx xx xx xx xx xx xx xx&amp;nbsp; &amp;nbsp; &amp;nbsp;|.. @Xt..........|&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;the board boots up.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;from 0000000 to 00000020 is start of the assembly code in flash_header.S and at 440 some more assembly instructions inside flash_header.S&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;I read TRM and I read this&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Boot Device Type&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Image Vector Table Offset&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Initial Load Region Size&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SD/MMC/eSD/eMMC/SDXC&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 Kbyte = 0x400 bytes&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4 Kbyte&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em; padding: 0px;"&gt;Exp1: NXP sabre board uses these images to boot up&lt;/P&gt;&lt;PRE style="color: #242729; background-color: #eff0f1; border: 0px; margin: 0px 0px 1em; padding: 5px;"&gt;&lt;CODE style="background-color: #eff0f1; border: 0px; font-weight: inherit; padding: 0px;"&gt;U-Boot image: u-boot.imx 
boot image: boot.img 
Android system image: system.img 
Recovery image: recovery.img 
GPT table image: partition-table.img 
Vendor image: vendor.img &lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em; padding: 0px;"&gt;I took my uboot image's where I have stripped uboot.img's first 64 bytes, and put in sabresd board, sabresd boots up.&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em; padding: 0px;"&gt;Same sabresd boots with nxp android images where I checked with hexdump, the code does not start same as mine. So how ROM code undestand location of uboot in both kind of images?&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em; padding: 0px;"&gt;Can anybody point me in right direction. My goal is to use this uboot and boot android images using nxp flashing tool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 19:09:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Uboot-does-not-boot-when-it-is-put-at-400-offset/m-p/829369#M127424</guid>
      <dc:creator>mrigendra_chaub</dc:creator>
      <dc:date>2018-06-28T19:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Uboot does not boot when it is put at 400 offset</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Uboot-does-not-boot-when-it-is-put-at-400-offset/m-p/829370#M127425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mrigendra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plugin usage is described in sect.8.7 Plugin image i.MX6DQP Reference Manual&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/reference-manual/iMX6DQPRM.pdf" title="https://www.nxp.com/docs/en/reference-manual/iMX6DQPRM.pdf"&gt;https://www.nxp.com/docs/en/reference-manual/iMX6DQPRM.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does it working without plugin method.&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>Thu, 28 Jun 2018 23:43:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Uboot-does-not-boot-when-it-is-put-at-400-offset/m-p/829370#M127425</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-06-28T23:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Uboot does not boot when it is put at 400 offset</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Uboot-does-not-boot-when-it-is-put-at-400-offset/m-p/829371#M127426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it works with plugin method.&lt;/P&gt;&lt;P&gt;My question is regarding offsets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2018 04:20:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Uboot-does-not-boot-when-it-is-put-at-400-offset/m-p/829371#M127426</guid>
      <dc:creator>mrigendra_chaub</dc:creator>
      <dc:date>2018-06-29T04:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Uboot does not boot when it is put at 400 offset</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Uboot-does-not-boot-when-it-is-put-at-400-offset/m-p/829372#M127427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;offsets are the same, difference only in plugin flag as&lt;/P&gt;&lt;P&gt;described in Figure 8-21. Image Vector Table i.MX6DQ Reference Manual.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2018 05:35:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Uboot-does-not-boot-when-it-is-put-at-400-offset/m-p/829372#M127427</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-06-29T05:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Uboot does not boot when it is put at 400 offset</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Uboot-does-not-boot-when-it-is-put-at-400-offset/m-p/829373#M127428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I still do not understand how plugin image works.&lt;/P&gt;&lt;P&gt;When I flash my uboot.bin with fsl-sdcard-partition.sh. I will show&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mrigendra.chaubey@CPU-384U:~/uboot-imx_android_sabreauto$ sudo hexdump -C /dev/sdf&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;000001c0 01 00 ee fe ff ff 01 00 00 00 ff af e2 0e 00 00 |................|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000200 45 46 49 20 50 41 52 54 00 00 01 00 5c 00 00 00 |EFI PART....\...|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000210 ff 8a 6c dd 00 00 00 00 01 00 00 00 00 00 00 00 |..l.............|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000220 ff af e2 0e 00 00 00 00 22 00 00 00 00 00 00 00 |........".......|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000230 de af e2 0e 00 00 00 00 8b 43 02 05 72 4d ed 4a |.........C..rM.J|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000240 be 85 17 f1 e3 69 c2 32 02 00 00 00 00 00 00 00 |.....i.2........|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000250 80 00 00 00 80 00 00 00 86 d2 54 ab 00 00 00 00 |..........T.....|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000400 &lt;SPAN style="text-decoration: underline;"&gt;36 07 00 ea&lt;/SPAN&gt; 00 00 00 00 00 00 00 00 00 00 00 00 |6...............| ---------&amp;gt; b _start at 1KiB&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000800 d1 00 20 40 58 74 90 00 00 00 00 00 00 00 00 00 |.. @Xt..........| ---------------&amp;gt; ivt header at 2KiB&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;above dump is taken when I created a GPT partition table on the sd card using gparted.&lt;/P&gt;&lt;P&gt;Then I put my uboot.bin as&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sudo dd if=u-boot.bin of=/dev/sdf bs=512 seek=2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This do not work? Why?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if I overwrite over partition table as&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sudo dd if=u-boot.bin of=/dev/sdf bs=512K count=1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and hexdump&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;00000000 36 07 00 ea 00 00 00 00 00 00 00 00 00 00 00 00 |6...............|&amp;nbsp; ---------&amp;gt; b _start at 0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000400 d1 00 20 40 58 74 90 00 00 00 00 00 00 00 00 00 |.. @Xt..........|&amp;nbsp; ---------&amp;gt; ivt header at 1kiB&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000410 20 74 90 00 00 74 90 00 00 00 00 00 00 00 00 00 | t...t..........|&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;00000420 00 70 90 00 00 20 00 00 01 00 00 00 d1 00 20 40 |.p... ........ @|&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works after flashing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my problem is, with gpt partition table my image is not working. Somehow offsets are getting wrong as I can see that gpt header is at 0x800 or at 2KiB offset.&lt;/P&gt;&lt;P&gt;I want to flash this image using&amp;nbsp;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;fsl-sdcard-partition.sh,that also creates gpt partition table. &lt;/SPAN&gt;In that case also it will not work. Then how can I use this uboot for android?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How big chunk ROM code copies from SD card&amp;nbsp; for plugin image?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;From the TRM it says that load region is 4 Kbyte. That means ROM takes first 4k from SD card with gpt partition table too?&amp;nbsp;&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;If thats the case why ROM code can't find ivt header because still my ivt header is inside that 4k?&lt;/P&gt;&lt;P&gt;Can you tell where I am wrong?&amp;nbsp;&lt;/P&gt;&lt;P&gt;flash_header.S reference i am taking from here,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://git.congatec.com/arm/qmx6_uboot/commit/476a853fac44b27c6a84f52b002e15e957f06d4f" title="https://git.congatec.com/arm/qmx6_uboot/commit/476a853fac44b27c6a84f52b002e15e957f06d4f"&gt;https://git.congatec.com/arm/qmx6_uboot/commit/476a853fac44b27c6a84f52b002e15e957f06d4f&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jun 2018 15:47:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Uboot-does-not-boot-when-it-is-put-at-400-offset/m-p/829373#M127428</guid>
      <dc:creator>mrigendra_chaub</dc:creator>
      <dc:date>2018-06-30T15:47:42Z</dc:date>
    </item>
  </channel>
</rss>

