<?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: LS1028a: Booting from NOR+NAND flash device in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1028a-Booting-from-NOR-NAND-flash-device/m-p/1810825#M13999</link>
    <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203371"&gt;@LFGP&lt;/a&gt;&amp;nbsp;: Thanks for addressing the query,&lt;/P&gt;&lt;P&gt;After conducting some debugging, I discovered that u-boot lacks support for NAND flash. Conversely, Linux does support NAND flash, but it only creates a single MTD partition. Kindly have a look in below shared items,&lt;/P&gt;&lt;P&gt;u-boot:&lt;/P&gt;&lt;P&gt;under the dir path: "ls1028ardb/tmp/work/x86_64-linux/u-boot-tools-native/1_2022.07-r0/git/drivers/mtd/spi" not able to see any nand flash related files,&lt;/P&gt;&lt;P&gt;-rw-r--r-- 1 rir rir 19926 Oct 13 06:10 spi-nor-ids.c&lt;BR /&gt;-rw-r--r-- 1 rir rir 105239 Oct 13 06:10 spi-nor-core.c&lt;BR /&gt;-rw-r--r-- 1 rir rir 2456 Oct 13 06:10 sf-uclass.c&lt;BR /&gt;-rw-r--r-- 1 rir rir 4238 Oct 13 06:10 sf_probe.c&lt;BR /&gt;-rw-r--r-- 1 rir rir 3444 Oct 13 06:10 sf_mtd.c&lt;BR /&gt;-rw-r--r-- 1 rir rir 2917 Oct 13 06:10 sf_internal.h&lt;BR /&gt;-rw-r--r-- 1 rir rir 19992 Oct 13 06:10 sf_dataflash.c&lt;BR /&gt;-rw-r--r-- 1 rir rir 15290 Oct 13 06:10 sandbox.c&lt;BR /&gt;-rw-r--r-- 1 rir rir 613 Oct 13 06:10 Makefile&lt;BR /&gt;-rw-r--r-- 1 rir rir 8598 Oct 13 06:10 Kconfig&lt;BR /&gt;-rw-r--r-- 1 rir rir 2303 Oct 13 06:10 fsl_espi_spl.c&lt;BR /&gt;-rw-r--r-- 1 rir rir 19664 Oct 13 06:10 spi-nor-tiny.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;linux:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mtd-partition.PNG" style="width: 720px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/263715iF14A537DA5B02063/image-size/large?v=v2&amp;amp;px=999" role="button" title="mtd-partition.PNG" alt="mtd-partition.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gourav Jain&lt;/P&gt;</description>
    <pubDate>Mon, 19 Feb 2024 10:50:47 GMT</pubDate>
    <dc:creator>gouravjain</dc:creator>
    <dc:date>2024-02-19T10:50:47Z</dc:date>
    <item>
      <title>LS1028a: Booting from NOR+NAND flash device</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028a-Booting-from-NOR-NAND-flash-device/m-p/1805632#M13980</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I'm attempting to boot LS1028a RDB from a NOR+NAND device setup where the NOR contains u-boot, and the NAND contains the kernel, root file system, etc. However, upon trying "sf probe" in u-boot, I noticed that the NAND is not being detected. Here are the observations:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;=&amp;gt; sf probe 0:0&lt;BR /&gt;SF: Detected mt35xu02g with page size 256 Bytes, erase size 128 KiB, total 2 GiB&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;&lt;STRONG&gt;=&amp;gt; sf probe 0:1&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;&lt;STRONG&gt;SF: unrecognized JEDEC id bytes: ff, 2c, 35&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;&lt;STRONG&gt;Failed to initialize SPI flash at 0:1 (error -2)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Could anyone provide some useful guidance on how to debug this issue effectively?&lt;/P&gt;&lt;P&gt;Thank you,&lt;BR /&gt;Gourav Jain&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 06:10:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028a-Booting-from-NOR-NAND-flash-device/m-p/1805632#M13980</guid>
      <dc:creator>gouravjain</dc:creator>
      <dc:date>2024-02-13T06:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: LS1028a: Booting from NOR+NAND flash device</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028a-Booting-from-NOR-NAND-flash-device/m-p/1810095#M13994</link>
      <description>&lt;P&gt;dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/15955"&gt;@gouravjain&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;please be sure about the SPI flas chip, in order to check it you can use the "dm uclass" command and be sure for the &lt;EM&gt;bus&lt;/EM&gt; and the &lt;EM&gt;cs&lt;/EM&gt; used in the "sf probe" command.&lt;/P&gt;
&lt;P&gt;use the next link for &lt;EM&gt;dm uclass&lt;/EM&gt; command documentation and examples&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.u-boot.org/en/latest/usage/cmd/dm.html" target="_blank"&gt;https://docs.u-boot.org/en/latest/usage/cmd/dm.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;use the next link for &lt;EM&gt;sf probe&lt;/EM&gt; command&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.u-boot.org/en/latest/usage/cmd/sf.html" target="_blank"&gt;https://docs.u-boot.org/en/latest/usage/cmd/sf.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 15:50:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028a-Booting-from-NOR-NAND-flash-device/m-p/1810095#M13994</guid>
      <dc:creator>LFGP</dc:creator>
      <dc:date>2024-02-16T15:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: LS1028a: Booting from NOR+NAND flash device</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028a-Booting-from-NOR-NAND-flash-device/m-p/1810825#M13999</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203371"&gt;@LFGP&lt;/a&gt;&amp;nbsp;: Thanks for addressing the query,&lt;/P&gt;&lt;P&gt;After conducting some debugging, I discovered that u-boot lacks support for NAND flash. Conversely, Linux does support NAND flash, but it only creates a single MTD partition. Kindly have a look in below shared items,&lt;/P&gt;&lt;P&gt;u-boot:&lt;/P&gt;&lt;P&gt;under the dir path: "ls1028ardb/tmp/work/x86_64-linux/u-boot-tools-native/1_2022.07-r0/git/drivers/mtd/spi" not able to see any nand flash related files,&lt;/P&gt;&lt;P&gt;-rw-r--r-- 1 rir rir 19926 Oct 13 06:10 spi-nor-ids.c&lt;BR /&gt;-rw-r--r-- 1 rir rir 105239 Oct 13 06:10 spi-nor-core.c&lt;BR /&gt;-rw-r--r-- 1 rir rir 2456 Oct 13 06:10 sf-uclass.c&lt;BR /&gt;-rw-r--r-- 1 rir rir 4238 Oct 13 06:10 sf_probe.c&lt;BR /&gt;-rw-r--r-- 1 rir rir 3444 Oct 13 06:10 sf_mtd.c&lt;BR /&gt;-rw-r--r-- 1 rir rir 2917 Oct 13 06:10 sf_internal.h&lt;BR /&gt;-rw-r--r-- 1 rir rir 19992 Oct 13 06:10 sf_dataflash.c&lt;BR /&gt;-rw-r--r-- 1 rir rir 15290 Oct 13 06:10 sandbox.c&lt;BR /&gt;-rw-r--r-- 1 rir rir 613 Oct 13 06:10 Makefile&lt;BR /&gt;-rw-r--r-- 1 rir rir 8598 Oct 13 06:10 Kconfig&lt;BR /&gt;-rw-r--r-- 1 rir rir 2303 Oct 13 06:10 fsl_espi_spl.c&lt;BR /&gt;-rw-r--r-- 1 rir rir 19664 Oct 13 06:10 spi-nor-tiny.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;linux:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mtd-partition.PNG" style="width: 720px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/263715iF14A537DA5B02063/image-size/large?v=v2&amp;amp;px=999" role="button" title="mtd-partition.PNG" alt="mtd-partition.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gourav Jain&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 10:50:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028a-Booting-from-NOR-NAND-flash-device/m-p/1810825#M13999</guid>
      <dc:creator>gouravjain</dc:creator>
      <dc:date>2024-02-19T10:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: LS1028a: Booting from NOR+NAND flash device</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028a-Booting-from-NOR-NAND-flash-device/m-p/1811360#M14003</link>
      <description>&lt;P&gt;for the moment it is only implemented for NOR flash devices.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 02:33:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028a-Booting-from-NOR-NAND-flash-device/m-p/1811360#M14003</guid>
      <dc:creator>LFGP</dc:creator>
      <dc:date>2024-02-20T02:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: LS1028a: Booting from NOR+NAND flash device</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028a-Booting-from-NOR-NAND-flash-device/m-p/1811362#M14004</link>
      <description>&lt;P&gt;unfortunately, it is only implemented&amp;nbsp; for interact with NOR flash devices&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 02:36:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028a-Booting-from-NOR-NAND-flash-device/m-p/1811362#M14004</guid>
      <dc:creator>LFGP</dc:creator>
      <dc:date>2024-02-20T02:36:43Z</dc:date>
    </item>
  </channel>
</rss>

