<?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: LS1046A custom board QSPI flash read/write not working in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1046A-custom-board-QSPI-flash-read-write-not-working/m-p/1627840#M12173</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;you can try the QSPI verification in U-boot/linux provided in LSDK 21.08, in chapter&amp;nbsp;7.2.9 Quad Serial Peripheral Interface (QSPI)&lt;/P&gt;</description>
    <pubDate>Tue, 04 Apr 2023 17:55:29 GMT</pubDate>
    <dc:creator>Oswalag</dc:creator>
    <dc:date>2023-04-04T17:55:29Z</dc:date>
    <item>
      <title>LS1046A custom board QSPI flash read/write not working</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046A-custom-board-QSPI-flash-read-write-not-working/m-p/1624366#M12110</link>
      <description>&lt;P&gt;Hello all:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Our LS1046a custom board use one QSPI A and flash s25fs512,in uboot stage,it can detect,but read or write not working.&lt;/P&gt;&lt;P&gt;when spi-rx-bus-width/spi-tx-bus-width is 1,read back is all 0; when spi-rx-bus-width/spi-tx-bus-width is 4,read back is all 0xEE,I don't know what and where is the root cause, thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;sf probe 0:0&lt;/PRE&gt;&lt;PRE&gt;SF: Detected s25fs512s with page size 256 Bytes, erase size 256 KiB, total 64 MiB&lt;/PRE&gt;&lt;P&gt;&amp;amp;qspi {&lt;BR /&gt;status = "okay";&lt;/P&gt;&lt;P&gt;s25fs512: flash@0 {&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;compatible = "jedec,spi-nor";&lt;BR /&gt;spi-max-frequency = &amp;lt;20000000&amp;gt;;&lt;BR /&gt;reg = &amp;lt;0&amp;gt;;/*&lt;BR /&gt;spi-rx-bus-width = &amp;lt;4&amp;gt;;&lt;BR /&gt;spi-tx-bus-width = &amp;lt;4&amp;gt;;*/&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=&amp;gt; md.l 0xa0000000 32&lt;BR /&gt;a0000000: 55aa55aa aa55aa55 abcdef01 12345678 .U.UU.U.....xV4.&lt;BR /&gt;a0000010: 55555555 aaaaaaaa 00000000 ffffffff UUUU............&lt;/P&gt;&lt;P&gt;sf read $load_addr 0 8&lt;BR /&gt;device 0 offset 0x0, size 0x8&lt;/P&gt;&lt;P&gt;SF: 8 bytes @ 0x0 Read: OK&lt;BR /&gt;=&amp;gt; md.l 0xa0000000 32&lt;BR /&gt;a0000000: eeeeeeee eeeeeeee abcdef01 12345678 ............xV4.&lt;BR /&gt;a0000010: 55555555 aaaaaaaa 00000000 ffffffff UUUU............&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;CONFIG_MTD=y&lt;BR /&gt;CONFIG_MTD_RAW_NAND=y&lt;BR /&gt;# CONFIG_SPI_FLASH_BAR is not set&lt;BR /&gt;CONFIG_SPI_FLASH_SPANSION=y&lt;BR /&gt;# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set&lt;BR /&gt;&lt;BR /&gt;CONFIG_SPI=y&lt;BR /&gt;CONFIG_DM_SPI=y&lt;BR /&gt;CONFIG_FSL_QSPI=y&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 16:18:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046A-custom-board-QSPI-flash-read-write-not-working/m-p/1624366#M12110</guid>
      <dc:creator>humhh</dc:creator>
      <dc:date>2023-03-29T16:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046A custom board QSPI flash read/write not working</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046A-custom-board-QSPI-flash-read-write-not-working/m-p/1627840#M12173</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;you can try the QSPI verification in U-boot/linux provided in LSDK 21.08, in chapter&amp;nbsp;7.2.9 Quad Serial Peripheral Interface (QSPI)&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 17:55:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046A-custom-board-QSPI-flash-read-write-not-working/m-p/1627840#M12173</guid>
      <dc:creator>Oswalag</dc:creator>
      <dc:date>2023-04-04T17:55:29Z</dc:date>
    </item>
  </channel>
</rss>

