<?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: LSDK load QSPI NOR flash on FRWY-LS1046A issue in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LSDK-load-QSPI-NOR-flash-on-FRWY-LS1046A-issue/m-p/1647491#M12431</link>
    <description>&lt;P&gt;Run the following command in uboot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;: Execute qspi_bootcmd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Khushbu&lt;/P&gt;</description>
    <pubDate>Wed, 10 May 2023 01:15:49 GMT</pubDate>
    <dc:creator>wuckertrhea</dc:creator>
    <dc:date>2023-05-10T01:15:49Z</dc:date>
    <item>
      <title>LSDK load QSPI NOR flash on FRWY-LS1046A issue</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-load-QSPI-NOR-flash-on-FRWY-LS1046A-issue/m-p/1642590#M12365</link>
      <description>&lt;P&gt;LSDKUG User Guide Rev. 21.08, 05 September 2022&lt;/P&gt;&lt;P&gt;Section:&amp;nbsp;4.1.10.3 Program LSDK composite firmware image&lt;/P&gt;&lt;P&gt;1. Download the firmware (from NXP website) to the Linux host machine.&lt;BR /&gt;$ wget &lt;A href="https://www.nxp.com/lgfiles/sdk/lsdk2108/firmware_ls1046afrwy_qspiboot.img" target="_blank"&gt;https://www.nxp.com/lgfiles/sdk/lsdk2108/firmware_ls1046afrwy_qspiboot.img&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. Reboot the board from QSPI NOR flash and stop autoboot to enter U-Boot prompt.&lt;/P&gt;&lt;P&gt;3. Under U-Boot, download the firmware to the reference board using one of the following options:&lt;BR /&gt;• Load firmware from the TFTP server&lt;BR /&gt;=&amp;gt; tftp $load_addr firmware_ls1046afrwy_qspiboot.img&lt;/P&gt;&lt;P&gt;4. Program the firmware to QSPI NOR flash.&lt;BR /&gt;=&amp;gt; sf probe 0:0=&amp;gt; sf erase 0 +$filesize &amp;amp;&amp;amp; sf write $load_addr 0 $filesize&lt;/P&gt;&lt;P&gt;5.Ensure that switch settings on the board are for QSPI NOR flash and power cycle the board. The system will automatically boot up TinyDistro (log in using root/root) or LSDK distro (log in using root/root or user/user) available on the removable storage device.&lt;/P&gt;&lt;P&gt;The system does not boot to TinyDistro...&lt;/P&gt;&lt;P&gt;Attached Boot Logs...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Apr 2023 22:50:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-load-QSPI-NOR-flash-on-FRWY-LS1046A-issue/m-p/1642590#M12365</guid>
      <dc:creator>williawh</dc:creator>
      <dc:date>2023-04-30T22:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK load QSPI NOR flash on FRWY-LS1046A issue</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-load-QSPI-NOR-flash-on-FRWY-LS1046A-issue/m-p/1645377#M12402</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/214142"&gt;@williawh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Run below command under uboot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=&amp;gt; run qspi_bootcmd&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Khushbu&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 09:29:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-load-QSPI-NOR-flash-on-FRWY-LS1046A-issue/m-p/1645377#M12402</guid>
      <dc:creator>khushbur</dc:creator>
      <dc:date>2023-05-05T09:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK load QSPI NOR flash on FRWY-LS1046A issue</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-load-QSPI-NOR-flash-on-FRWY-LS1046A-issue/m-p/1645657#M12407</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/208265"&gt;@khushbur&lt;/a&gt;&amp;nbsp;that worked great!&lt;/P&gt;&lt;P&gt;BUT, How do I get back to the previous way it used to boot? For instance, when I booted from&amp;nbsp;QSPI NOR flash without uSD card inserted, it would boot immediately to tinydistro.&lt;/P&gt;&lt;P&gt;BUT Now, I see it booting to tinydistro eventually but, it goes thru attempting BOOTP for some reason (see attached boot log)...&lt;/P&gt;&lt;P&gt;Is it something I did, or because of the way this&amp;nbsp;firmware_ls1046afrwy_qspiboot.img is built?&lt;/P&gt;&lt;P&gt;How do I get back to the OEM&amp;nbsp;QSPI NOR flash boot up when I received the FRWY=LS1046A-AC:DEV BOARD PLATFORM, 64 bit&lt;/P&gt;&lt;P&gt;William&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 16:28:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-load-QSPI-NOR-flash-on-FRWY-LS1046A-issue/m-p/1645657#M12407</guid>
      <dc:creator>williawh</dc:creator>
      <dc:date>2023-05-05T16:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK load QSPI NOR flash on FRWY-LS1046A issue</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-load-QSPI-NOR-flash-on-FRWY-LS1046A-issue/m-p/1645754#M12411</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/208265"&gt;@khushbur&lt;/a&gt;&amp;nbsp; I got it to boot to TinyDistro immediately, not sure if this is how to do it but it is booting the way it used to at least...&lt;/P&gt;&lt;P&gt;Layerscape Software Development Kit User Guide Supports: LSDK 21.08&lt;/P&gt;&lt;P&gt;on page 67&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;To deploy custom LSDK images on a reference board running TinyLinux&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;After the reference board boots automatically, check whether the reference board boots TinyLinux or whether it boots LSDK userland based distribution. TinyLinux is a non-customizable prebuilt ramdisk rootfs deployed in flash media on the reference board. This rootfs fits into the firmware image on flash and is therefore called tiny.&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;If the reference board boots TinyLinux, proceed to step #3.&lt;/LI&gt;&lt;LI&gt;If the reference board boots LSDK-based distribution, &lt;U&gt;it means that an older Ubuntu based distribution may already be present on the storage device&lt;/U&gt; that is plugged into the reference board. In this case, &lt;STRONG&gt;go to step #2&lt;/STRONG&gt; first, to force the board to boot TinyLinux.&lt;/LI&gt;&lt;/UL&gt;&lt;OL&gt;&lt;LI&gt;Force the reference board to boot TinyLinux.&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;Reboot the board and stop autoboot to enter U-Boot prompt.&lt;/LI&gt;&lt;LI&gt;Enter following command at the U-Boot prompt to boot the board to the TinyLinux environment for executing flex-installer:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;=&amp;gt; run sd_bootcmd (for SD/eMMC boot)&lt;/P&gt;&lt;P&gt;=&amp;gt; run nor_bootcmd (for IFC-NOR boot)&lt;/P&gt;&lt;P&gt;=&amp;gt; run qspi_bootcmd (for QSPI-NOR boot)&lt;/P&gt;&lt;P&gt;=&amp;gt; run xspi_bootcmd (for FlexSPI-NOR boot)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, I did:&lt;/P&gt;&lt;P&gt;=&amp;gt; printenv bootcmd&lt;/P&gt;&lt;P&gt;bootcmd=run distro_bootcmd; run qspi_bootcmd; env exists secureboot &amp;amp;&amp;amp; esbc_halt;;&lt;/P&gt;&lt;P&gt;=&amp;gt; editenv bootcmd&lt;/P&gt;&lt;P&gt;edit: run qspi_bootcmd; run distro_bootcmd; env exists secureboot &amp;amp;&amp;amp; esbc_halt;;&lt;/P&gt;&lt;P&gt;=&amp;gt; saveenv&lt;/P&gt;&lt;P&gt;Saving Environment to SPIFlash... SF: Detected mt25qu512a with page size 256 Bytes, erase size 64 KiB, total 64 MiB&lt;/P&gt;&lt;P&gt;Erasing SPI flash...Writing to SPI flash...done&lt;/P&gt;&lt;P&gt;OK&lt;/P&gt;&lt;P&gt;=&amp;gt; printenv bootcmd&lt;/P&gt;&lt;P&gt;bootcmd=run qspi_bootcmd; run distro_bootcmd; env exists secureboot &amp;amp;&amp;amp; esbc_halt;;&lt;/P&gt;&lt;P&gt;=&amp;gt; reset&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now it boots immediately into Tinydistro…&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;William&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 22:39:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-load-QSPI-NOR-flash-on-FRWY-LS1046A-issue/m-p/1645754#M12411</guid>
      <dc:creator>williawh</dc:creator>
      <dc:date>2023-05-05T22:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK load QSPI NOR flash on FRWY-LS1046A issue</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-load-QSPI-NOR-flash-on-FRWY-LS1046A-issue/m-p/1647491#M12431</link>
      <description>&lt;P&gt;Run the following command in uboot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;: Execute qspi_bootcmd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Khushbu&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 01:15:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-load-QSPI-NOR-flash-on-FRWY-LS1046A-issue/m-p/1647491#M12431</guid>
      <dc:creator>wuckertrhea</dc:creator>
      <dc:date>2023-05-10T01:15:49Z</dc:date>
    </item>
  </channel>
</rss>

