<?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: Stuck In Reset On QSPI Boot After Reading 8 Bytes in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410243#M260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sinan &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im also working in ls1021a-IOT board(REV 1). I know that it wont support QSPI booting on REV1. So I'm ordered REV 2 board. In that I need to boot up from QSPI. So can you pls send me the patches to generate the RCW.bin for QSPI(Where the RCW.bin is not generating for QSPI after bitbaking, but it is generating for SD card).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In advance.......!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Dec 2015 12:42:34 GMT</pubDate>
    <dc:creator>prabinca4u</dc:creator>
    <dc:date>2015-12-09T12:42:34Z</dc:date>
    <item>
      <title>Stuck In Reset On QSPI Boot After Reading 8 Bytes</title>
      <link>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410231#M248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are working on a board using Rev 2.0 of the LS1021A but seem to be running into a problem with QSPI booting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per reference manual F, the LS1 will search for the RCW at byte offset 0 of NOR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have used a programmer to write, and successfully read back, the PBL (preamble, RCW, and PBI's) to byte offset 0 of NOR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the LS1 continually reads 8 bytes (probed and confirmed that they are the first 8 bytes which we programmed) before resetting itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Does the LS1 expect something other than the preamble to be at byte offset 0 of NOR?&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;Is there a way to build a PBL for QSPI in &lt;EM&gt;Linux SDK for LS1021A v0.4&lt;/EM&gt;? (setting &lt;SPAN style="font-family: 'courier new', courier;"&gt;UBOOT_CONFIG ??= "qspi"&lt;/SPAN&gt; in ls1021atwr.conf does not do so)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 21:55:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410231#M248</guid>
      <dc:creator>tyler-thomas</dc:creator>
      <dc:date>2015-09-25T21:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck In Reset On QSPI Boot After Reading 8 Bytes</title>
      <link>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410232#M249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tyler&lt;/P&gt;&lt;P&gt;I assume this is your custom board. Can you&lt;/P&gt;&lt;P&gt;post your RCW_SRC bootstrap pin settings and&lt;/P&gt;&lt;P&gt;the RCW that you programmed into your SPI NOR ?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sinan Akman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 23:57:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410232#M249</guid>
      <dc:creator>sinanakman</dc:creator>
      <dc:date>2015-09-25T23:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck In Reset On QSPI Boot After Reading 8 Bytes</title>
      <link>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410233#M250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sinan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are correct, this is a custom board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CFG_RCW_SRC0 = 0&lt;/P&gt;&lt;P&gt;CFG_RCW_SRC1 = 0&lt;/P&gt;&lt;P&gt;CFG_RCW_SRC2 = 1&lt;/P&gt;&lt;P&gt;CFG_RCW_SRC3 = 0&lt;/P&gt;&lt;P&gt;CFG_RCW_SRC4 = 0&lt;/P&gt;&lt;P&gt;CFG_RCW_SRC5 = 0&lt;/P&gt;&lt;P&gt;CFG_RCW_SRC6 = 1&lt;/P&gt;&lt;P&gt;CFG_RCW_SRC7 = 0&lt;/P&gt;&lt;P&gt;CFG_RCW_SRC8 = 0&lt;/P&gt;&lt;P&gt;This follows the documentation's required format for QSPI of &lt;SPAN style="line-height: 1.5;"&gt;0_0100_010X.&lt;/SPAN&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;The first 72 Bytes in SPI NOR are:&lt;/P&gt;&lt;PRE&gt;AA55AA55 01EE0100
08080010 00000000 00000000 10000000
10000000 08007922 40025A00 81046000
00000000 00000000 00000000 2003E800
00004504 24BB3140 00000000 00000000&lt;/PRE&gt;&lt;P&gt;But after reading the first 8 bytes, the LS1 goes into reset.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 14:09:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410233#M250</guid>
      <dc:creator>tyler-thomas</dc:creator>
      <dc:date>2015-09-28T14:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck In Reset On QSPI Boot After Reading 8 Bytes</title>
      <link>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410234#M251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tyler, when you mention "the LS1 continually reads 8 bytes", &lt;/P&gt;&lt;P&gt;do you mean the preamble and the sysaddr or does it actually&lt;/P&gt;&lt;P&gt;read the first 8 bytes of RCW (i.e. 08080010 00000000) ?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sinan Akman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 21:04:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410234#M251</guid>
      <dc:creator>sinanakman</dc:creator>
      <dc:date>2015-09-28T21:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck In Reset On QSPI Boot After Reading 8 Bytes</title>
      <link>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410235#M252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition, can you please verify that GROUP B PIN&lt;/P&gt;&lt;P&gt;CONFIGURATION (BITS 384-415) of RCW reflects the&lt;/P&gt;&lt;P&gt;SPI pin connections in your design ?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sinan Akman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2015 21:41:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410235#M252</guid>
      <dc:creator>sinanakman</dc:creator>
      <dc:date>2015-09-28T21:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck In Reset On QSPI Boot After Reading 8 Bytes</title>
      <link>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410236#M253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tyler,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBL obviously does not sample the preamble of RCW correctly.&lt;/P&gt;&lt;P&gt;Check the endianess of your data in QSPI. Endian boundary is 64 bits. Also, rev1 of silicon had issue with timing on QSPI while in PBL. I don't know is this issue still persists in rev2 silicon (it should not), but you can try adding 22p cap to QSPI_DIO_A0 to fix that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Borut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 08:03:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410236#M253</guid>
      <dc:creator>kladu</dc:creator>
      <dc:date>2015-09-29T08:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck In Reset On QSPI Boot After Reading 8 Bytes</title>
      <link>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410237#M254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just the preamble and sysaddr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After reading "AA55AA55 01EE0100", it resets and repeats reading the same 8 bytes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 13:19:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410237#M254</guid>
      <dc:creator>tyler-thomas</dc:creator>
      <dc:date>2015-09-29T13:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck In Reset On QSPI Boot After Reading 8 Bytes</title>
      <link>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410238#M255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the Group B Pin Configuration is set appropriately.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 20:12:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410238#M255</guid>
      <dc:creator>tyler-thomas</dc:creator>
      <dc:date>2015-09-29T20:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck In Reset On QSPI Boot After Reading 8 Bytes</title>
      <link>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410239#M256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This turned out to be the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Performing a 64-bit byte swap to the PBL such that "AA55AA55 01EE0100" became "0001EE01 55AA55AA" allowed the rest of the PBL to be read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point, we have inserted our custom RCW into ls102xa_rcw_sd.cfg in &lt;EM&gt;Linux SDK for LS1021A v0.4&lt;/EM&gt;, taken the PBL from the resulting u-boot-ls1021atwr-2014.07-r0.bin, performed a 64-bit byte swap, and programmed this to SPI NOR. As to be expected, booting fails when the Secondary Program Loader tries to read U-Boot from the SD card.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While possible and partially complete, this process seems a little roundabout. Is there a way to use the SDK to build a PBL for SPI NOR? (setting &lt;SPAN style="font-family: 'courier new', courier;"&gt;UBOOT_CONFIG ??= "qspi"&lt;/SPAN&gt; in ls1021atwr.conf does not do so)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 20:38:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410239#M256</guid>
      <dc:creator>tyler-thomas</dc:creator>
      <dc:date>2015-09-29T20:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck In Reset On QSPI Boot After Reading 8 Bytes</title>
      <link>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410240#M257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tyler&lt;/P&gt;&lt;P&gt;Good to hear you found the problem.&lt;/P&gt;&lt;P&gt;I am just curious, when you say&lt;/P&gt;&lt;P&gt;"We have used a programmer to write ..."&lt;/P&gt;&lt;P&gt;what programmer did you use. I'd expect&lt;/P&gt;&lt;P&gt;the programmer would have done a "swap"&lt;/P&gt;&lt;P&gt;based on the a choice of endianess. Was&lt;/P&gt;&lt;P&gt;there an option for this ?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sinan Akman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2015 21:03:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410240#M257</guid>
      <dc:creator>sinanakman</dc:creator>
      <dc:date>2015-09-29T21:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck In Reset On QSPI Boot After Reading 8 Bytes</title>
      <link>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410241#M258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using an Asix Forte Programmer. No endianess swap is performed and there is no option for it. While needing to manually swap bytes isn't convenient, it's certainly not the most important of our concerns. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment, the only PBL we can build using the SDK is one for booting from SD. Is anyone aware of a way to build a PBL for booting from SPI NOR?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 14:46:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410241#M258</guid>
      <dc:creator>tyler-thomas</dc:creator>
      <dc:date>2015-09-30T14:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck In Reset On QSPI Boot After Reading 8 Bytes</title>
      <link>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410242#M259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tyler&lt;/P&gt;&lt;P&gt;Thanks for the follow up. At this point&lt;/P&gt;&lt;P&gt;the mainline u-boot (which I primarily&lt;/P&gt;&lt;P&gt;use) does not generate&amp;nbsp; RCWs for NOR&lt;/P&gt;&lt;P&gt;(as well as SPI NOR). In the&amp;nbsp; case of NOR&lt;/P&gt;&lt;P&gt;it expects that RCWs that are shipped with&lt;/P&gt;&lt;P&gt;the board or generated by SDK will be used.&lt;/P&gt;&lt;P&gt;I will send a patch in the coming days to mainline&lt;/P&gt;&lt;P&gt;u-boot to generate an rcw.bin file that is&lt;/P&gt;&lt;P&gt;known to work for NOR boot and I'll see&lt;/P&gt;&lt;P&gt;if I can extend this to SPI NOR with the&lt;/P&gt;&lt;P&gt;right endianess as well.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sinan Akman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2015 15:37:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410242#M259</guid>
      <dc:creator>sinanakman</dc:creator>
      <dc:date>2015-09-30T15:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck In Reset On QSPI Boot After Reading 8 Bytes</title>
      <link>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410243#M260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sinan &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im also working in ls1021a-IOT board(REV 1). I know that it wont support QSPI booting on REV1. So I'm ordered REV 2 board. In that I need to boot up from QSPI. So can you pls send me the patches to generate the RCW.bin for QSPI(Where the RCW.bin is not generating for QSPI after bitbaking, but it is generating for SD card).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In advance.......!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 12:42:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Stuck-In-Reset-On-QSPI-Boot-After-Reading-8-Bytes/m-p/410243#M260</guid>
      <dc:creator>prabinca4u</dc:creator>
      <dc:date>2015-12-09T12:42:34Z</dc:date>
    </item>
  </channel>
</rss>

