<?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 Redundant Boot in sdcard failed in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Redundant-Boot-in-sdcard-failed/m-p/338952#M46319</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For an imx6qsabresd board : I would like to implement the Redundant Boot Support. &lt;/P&gt;&lt;P&gt;I modified the secondary image table format like this in my sdcard to reboot with the first u-boot after a WARM reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="49" style="border: 1px solid rgb(0, 0, 0); width: 657px; height: 9px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Address&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;0x200 (reserved Chip Num)&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;0x204 (reserved Drive Type)&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;0&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;0x208 (tag)&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0x00112233&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;0x20C (first sector number)&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0x002&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;0x210 (reserved Sector Count )&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote this header in 0x200 : &lt;/P&gt;&lt;P&gt;0000 0000 0000 0000 3322 1100 0200 0000&lt;/P&gt;&lt;P&gt;0000 0000 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dd if=header of=/dev/sdb bs=1 seek=512 count=20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For rebooting with this table I created a WARM reset in u-boot :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERSIST_SECONDARY_BOOT : SRC_GPR10[30]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reg = readl( &amp;amp;psrc-&amp;gt;gpr10 );&lt;/P&gt;&lt;P&gt;reg |= 0x40000000;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;writel( reg , &amp;amp;psrc-&amp;gt;gpr10 );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I send a reset in u-boot prompt and the system do nothing :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; reset&lt;/P&gt;&lt;P&gt;resetting ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) The secondary image table is correct ?&lt;/P&gt;&lt;P&gt;2) The WARM reset cannot be like that ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Dec 2014 10:56:07 GMT</pubDate>
    <dc:creator>julienc</dc:creator>
    <dc:date>2014-12-10T10:56:07Z</dc:date>
    <item>
      <title>Redundant Boot in sdcard failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Redundant-Boot-in-sdcard-failed/m-p/338952#M46319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For an imx6qsabresd board : I would like to implement the Redundant Boot Support. &lt;/P&gt;&lt;P&gt;I modified the secondary image table format like this in my sdcard to reboot with the first u-boot after a WARM reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="49" style="border: 1px solid rgb(0, 0, 0); width: 657px; height: 9px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Address&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;0x200 (reserved Chip Num)&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;0x204 (reserved Drive Type)&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;0&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;0x208 (tag)&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0x00112233&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;0x20C (first sector number)&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0x002&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;0x210 (reserved Sector Count )&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote this header in 0x200 : &lt;/P&gt;&lt;P&gt;0000 0000 0000 0000 3322 1100 0200 0000&lt;/P&gt;&lt;P&gt;0000 0000 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dd if=header of=/dev/sdb bs=1 seek=512 count=20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For rebooting with this table I created a WARM reset in u-boot :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERSIST_SECONDARY_BOOT : SRC_GPR10[30]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reg = readl( &amp;amp;psrc-&amp;gt;gpr10 );&lt;/P&gt;&lt;P&gt;reg |= 0x40000000;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;writel( reg , &amp;amp;psrc-&amp;gt;gpr10 );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I send a reset in u-boot prompt and the system do nothing :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; reset&lt;/P&gt;&lt;P&gt;resetting ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) The secondary image table is correct ?&lt;/P&gt;&lt;P&gt;2) The WARM reset cannot be like that ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 10:56:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Redundant-Boot-in-sdcard-failed/m-p/338952#M46319</guid>
      <dc:creator>julienc</dc:creator>
      <dc:date>2014-12-10T10:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Redundant Boot in sdcard failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Redundant-Boot-in-sdcard-failed/m-p/338953#M46320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can suspect that there is some mishmash with big- and litte-endian modes.&lt;BR /&gt;Please doublecheck this "header" file with "hexdump -C" command.&lt;BR /&gt;Here is an example of mishmash I mean:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# echo -n @ABC &amp;gt; a&lt;BR /&gt;# hexdump -C a&lt;BR /&gt;00000000&amp;nbsp; 40 41 42 43&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |@ABC|&lt;BR /&gt;00000004&lt;BR /&gt;# hexdump a&lt;BR /&gt;0000000 4140 4342&lt;BR /&gt;0000004&lt;BR /&gt;#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Victor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Wed, 21 Jan 2015 04:55:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Redundant-Boot-in-sdcard-failed/m-p/338953#M46320</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2015-01-21T04:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Redundant Boot in sdcard failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Redundant-Boot-in-sdcard-failed/m-p/338954#M46321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank for your help but i tried and nothing append. &lt;/P&gt;&lt;P&gt;I used the header from this post : &lt;A href="https://community.nxp.com/message/463428"&gt;Re: i.MX53 Redundant Boot -blog archive&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 13:35:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Redundant-Boot-in-sdcard-failed/m-p/338954#M46321</guid>
      <dc:creator>julienc</dc:creator>
      <dc:date>2015-02-04T13:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Redundant Boot in sdcard failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Redundant-Boot-in-sdcard-failed/m-p/338955#M46322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can confirm that it's not working on &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;imx6qsabresd with sd-card.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Tried every possibility regarding endianness, different sector offsets, etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Since this feature is a must-have in our product, I shall appreciate it that a freescale engineer can take this topic up.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Are we facing a silicon bug? Is the programming manual lacking information? Or do we miss something else?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Wim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 13:34:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Redundant-Boot-in-sdcard-failed/m-p/338955#M46322</guid>
      <dc:creator>wimdewitte</dc:creator>
      <dc:date>2015-04-01T13:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Redundant Boot in sdcard failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Redundant-Boot-in-sdcard-failed/m-p/338956#M46323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julien,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where you able to make it work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 17:33:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Redundant-Boot-in-sdcard-failed/m-p/338956#M46323</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-05-05T17:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Redundant Boot in sdcard failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Redundant-Boot-in-sdcard-failed/m-p/338957#M46324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alejandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not able to make it work so could you help about this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Julien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 07:11:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Redundant-Boot-in-sdcard-failed/m-p/338957#M46324</guid>
      <dc:creator>julienc</dc:creator>
      <dc:date>2015-05-06T07:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Redundant Boot in sdcard failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Redundant-Boot-in-sdcard-failed/m-p/338958#M46325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As imx6 redundant boot&amp;nbsp; from secondary bootloader may be useful for someone , i am sharing below procedure which worked for me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create primary boot image&lt;/P&gt;&lt;P&gt;dd if=u-boot.bin of=/dev/sdc bs=1K seek=1 skip=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create secondary boot image, in this example, start from 400KB i.e&amp;nbsp; seek in blocks.&lt;/P&gt;&lt;P&gt; dd if=u-boot-sec.bin of=/dev/sdc bs=512 seek=800&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take header file shared in below link.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/284495"&gt;i.MX53 Redundant Boot -blog archive&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To create secondary image table, run below command&lt;/P&gt;&lt;P&gt;dd if=header of=/dev/sdc bs=512 seek=1count=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Destory primary u-boot by setting the entry of ivt to 0, so rom can jump to secondary image.&lt;/P&gt;&lt;P&gt; dd if=/dev/zero of=/dev/sdc bs=1 seek=1028&amp;nbsp; count=4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for imx6 check value at 0x20d8044 it should show 0x40000000 , which indicates imx6 has booted from secondary bootloader.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2015 15:04:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Redundant-Boot-in-sdcard-failed/m-p/338958#M46325</guid>
      <dc:creator>ashokkumarredd1</dc:creator>
      <dc:date>2015-12-24T15:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Redundant Boot in sdcard failed</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Redundant-Boot-in-sdcard-failed/m-p/338959#M46326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Create SDCARD:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; dd if=i.MX6Q-secondary_boot_demo.sdcard of=/dev/sdc bs=512 skip=1 seek=1 &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;2. Turn on Secondary Boot:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; In the uboot commandline:&lt;/P&gt;&lt;P&gt;type:&amp;nbsp;&amp;nbsp;&amp;nbsp; mw 20d8044 0x40000000&lt;BR /&gt;type:&amp;nbsp;&amp;nbsp;&amp;nbsp; reset&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Demo Screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/52102i09E26E17DF2E8AF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Dec 2015 05:13:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Redundant-Boot-in-sdcard-failed/m-p/338959#M46326</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2015-12-25T05:13:28Z</dc:date>
    </item>
  </channel>
</rss>

