<?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>LayerscapeのトピックRe: ls1043 rcw issue when fetched from QSPI</title>
    <link>https://community.nxp.com/t5/Layerscape/ls1043-rcw-issue-when-fetched-from-QSPI/m-p/725911#M3042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's very usefull info. Could you share QSPI bin file here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Nov 2017 06:08:41 GMT</pubDate>
    <dc:creator>andreyromanov</dc:creator>
    <dc:date>2017-11-27T06:08:41Z</dc:date>
    <item>
      <title>ls1043 rcw issue when fetched from QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1043-rcw-issue-when-fetched-from-QSPI/m-p/725906#M3037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a board based on ls1043 that must boot from QSPI.&lt;/P&gt;&lt;P&gt;I also have a ls1046ardb evluation board. (booting from QSPI)&lt;/P&gt;&lt;P&gt;I build a u-boot image for QSPI flash boot. (linked at 0x40100000).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I programmed the u-boot in the QSPI flash and the RCW.&lt;/P&gt;&lt;P&gt;The board did not boot at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I programmed the RCW with PBI_SRC=4 (the same that is present in the QSPI flash) in the SDCARD.&lt;/P&gt;&lt;P&gt;I selected on the board to fetch the RCW from the SDCARD by a dip switch.&lt;/P&gt;&lt;P&gt;And the board booted correctly the u-boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We verified the QSPI signals data output from the QSPI flash device, and compared them with the ls1046ardb.&lt;/P&gt;&lt;P&gt;The preambule 0xaa55aa55aa is placed correctly in the frame and identically to the ls1046ardb.&lt;/P&gt;&lt;P&gt;So I correctly programmed the RCW with the correct endianess to the QSPI flash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We saw on the oscilloscope that we have 10 frames of 64 bits that are periodically run without running any code.&lt;/P&gt;&lt;P&gt;The ASLEEP led is on also. Probably indicating that the processor reset is not released.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What can be wrong ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the RCW used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reset Configuration Word (RCW):&lt;BR /&gt; 00000000: 08100010 0a000000 00000000 00000000&lt;BR /&gt; 00000010: 14550002 80004012 40025000 c1002000&lt;BR /&gt; 00000020: 00000000 00000000 00000000 00038800&lt;BR /&gt; 00000030: 20004000 00001101 00000096 00000001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RCW in SDCARD:&lt;/P&gt;&lt;P&gt;=&amp;gt; md 0x82000000&lt;BR /&gt;82000000: 55aa55aa 0001ee01 10001008 0000000a .U.U............&lt;BR /&gt;82000010: 00000000 00000000 02005514 12400080 .........U....@.&lt;BR /&gt;82000020: 00500240 002000c1 00000000 00000000 @.P... .........&lt;BR /&gt;82000030: 00000000 00880300 00400020 01110000 ........ .@.....&lt;BR /&gt;82000040: 96000000 01000000 5c015709 00001040 .........W.\@...&lt;BR /&gt;82000050: 00065709 00000000 04065709 00001040 .W.......W..@...&lt;BR /&gt;82000060: 78015709 10e00000 00001809 08000000 .W.x............&lt;BR /&gt;82000070: 18045709 9e000000 1c045709 9e000000 .W.......W......&lt;BR /&gt;82000080: 20045709 9e000000 c000ee09 00440000 .W. ..........D.&lt;BR /&gt;82000090: 58015709 00220000 40800089 01000000 .W.X.."....@....&lt;BR /&gt;820000a0: 00005509 0c400f00 40006108 ce0520da .U....@..a.@. ..&lt;BR /&gt;820000b0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;820000c0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;820000d0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;820000e0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;820000f0: 00000000 00000000 00000000 00000000 ................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RCW in QSPI&lt;/P&gt;&lt;P&gt;=&amp;gt; md 0x40000000&lt;BR /&gt;40000000: 01ee0100 aa55aa55 0a000000 08100010 ....U.U.........&lt;BR /&gt;40000010: 00000000 00000000 80004012 14550002 .........@....U.&lt;BR /&gt;40000020: c1002000 40025000 00000000 00000000 . ...P.@........&lt;BR /&gt;40000030: 00038800 00000000 00001101 20004000 .............@. &lt;BR /&gt;40000040: 00000001 00000096 40100000 0957015c ...........@\.W.&lt;BR /&gt;40000050: 00000000 09570600 40100000 09570604 ......W....@..W.&lt;BR /&gt;40000060: 0000e010 09570178 00000008 09180000 ....x.W.........&lt;BR /&gt;40000070: 0000009e 09570418 0000009e 0957041c ......W.......W.&lt;BR /&gt;40000080: 0000009e 09570420 00004400 09ee00c0 .... .W..D......&lt;BR /&gt;40000090: 00002200 09570158 00000001 89008040 ."..X.W.....@...&lt;BR /&gt;400000a0: 000f400c 09550000 da2005ce 08610040 .@....U... .@.a.&lt;BR /&gt;400000b0: ffffffff ffffffff ffffffff ffffffff ................&lt;BR /&gt;400000c0: ffffffff ffffffff ffffffff ffffffff ................&lt;BR /&gt;400000d0: ffffffff ffffffff ffffffff ffffffff ................&lt;BR /&gt;400000e0: ffffffff ffffffff ffffffff ffffffff ................&lt;BR /&gt;400000f0: ffffffff ffffffff ffffffff ffffffff ................&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 12:23:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1043-rcw-issue-when-fetched-from-QSPI/m-p/725906#M3037</guid>
      <dc:creator>benoitsansoni</dc:creator>
      <dc:date>2017-10-26T12:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: ls1043 rcw issue when fetched from QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1043-rcw-issue-when-fetched-from-QSPI/m-p/725907#M3038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like the QSPI RCW is not swapped properly.&lt;/P&gt;&lt;P&gt;Please refer to the attached LS1046ARDB RCW from the SDK v2.0-1703 which dump is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;00000000 00 01 EE 01 55 AA 55 AA 00 00 00 0E 10 00 15 0C ..о.UЄUЄ..... .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;00000010 00 00 00 00 00 00 00 00 12 50 00 40 59 55 33 11 ........ P.@YU3 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;00000020 00 00 00 C1 00 50 02 40 00 00 00 00 00 00 00 00 ...Б.P&lt;SPAN style="font-size: 11pt;"&gt;[1]&lt;/SPAN&gt;@........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;00000030 00 88 23 00 00 00 00 00 01 31 00 00 00 40 12 20 .€#......1...@ &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;00000040 01 00 00 00 96 00 00 00 00 00 10 40 5C 01 57 09 ....–.....@\.W.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;00000050 00 00 00 00 00 06 57 09 00 00 10 40 04 06 57 09 ..... W...@&amp;nbsp; W.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;00000060 10 E0 00 00 78 01 57 09 08 00 00 00 00 00 18 09 а..x.W........&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;00000070 9E 00 00 00 18 04 57 09 9E 00 00 00 1C 04 57 09 ћ... W.ћ.... W.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;00000080 9E 00 00 00 20 04 57 09 20 4E 10 80 00 13 EB 09 ћ... W. NЂ. л.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;00000090 80 28 50 00 DC 08 EB 09 0C 40 0F 00 00 00 55 09 Ђ(P.Ь.л..@...U.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;000000A0 08 61 00 40 A3 EB 7D 95&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; .a.@Јл}•&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 14:01:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1043-rcw-issue-when-fetched-from-QSPI/m-p/725907#M3038</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2017-10-26T14:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: ls1043 rcw issue when fetched from QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1043-rcw-issue-when-fetched-from-QSPI/m-p/725908#M3039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The dump I provided is under u-boot with the endianess Little Endian 64 bits.&lt;/P&gt;&lt;P&gt;As I said we checked the data with an oscilloscope and it is similar with the ls1046ardb by identifying the SYS_ADDR (=0x01ee0100)+ Preambule of the RCW (=0xaa55aa55).&lt;/P&gt;&lt;P&gt;It could not be compared with the dump of the file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2017 14:08:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1043-rcw-issue-when-fetched-from-QSPI/m-p/725908#M3039</guid>
      <dc:creator>benoitsansoni</dc:creator>
      <dc:date>2017-10-26T14:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: ls1043 rcw issue when fetched from QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1043-rcw-issue-when-fetched-from-QSPI/m-p/725909#M3040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide binary image of the RCW in question for inspection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 03:59:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1043-rcw-issue-when-fetched-from-QSPI/m-p/725909#M3040</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2017-10-27T03:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: ls1043 rcw issue when fetched from QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1043-rcw-issue-when-fetched-from-QSPI/m-p/725910#M3041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found where my problem is.&lt;/P&gt;&lt;P&gt;I used my own swap byte routine.&lt;/P&gt;&lt;P&gt;And in QSPI the latest 64bit (including Jump and checksum) must not be swap to preserve the LE 64bit write.&lt;/P&gt;&lt;P&gt;I used the byte_swap.tcl instead and now it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After looking deeply the scope trace of the SPI bus I saw that the RCW was fetched correctly at 400Khz and the PBI instruction fetched at 50MHz and stop after the latest one.&lt;/P&gt;&lt;P&gt;It was provking a busy reset looping.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is solved from my side.&lt;/P&gt;&lt;P&gt;It is not explicitly documented from my point of view.&lt;/P&gt;&lt;P&gt;But after reading code and documentation I found the tricky modification to do in my RCW file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 07:38:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1043-rcw-issue-when-fetched-from-QSPI/m-p/725910#M3041</guid>
      <dc:creator>benoitsansoni</dc:creator>
      <dc:date>2017-10-27T07:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: ls1043 rcw issue when fetched from QSPI</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1043-rcw-issue-when-fetched-from-QSPI/m-p/725911#M3042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's very usefull info. Could you share QSPI bin file here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 06:08:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1043-rcw-issue-when-fetched-from-QSPI/m-p/725911#M3042</guid>
      <dc:creator>andreyromanov</dc:creator>
      <dc:date>2017-11-27T06:08:41Z</dc:date>
    </item>
  </channel>
</rss>

