<?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 Can't boot OpenWRT TWR-LS1021A SD Card Boot Image in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/Can-t-boot-OpenWRT-TWR-LS1021A-SD-Card-Boot-Image/m-p/1280513#M8048</link>
    <description>&lt;P&gt;Hello, I am new with LS1021A series. I have TWR-LS1021A board and tries to start OpenWRT image (&lt;A title="TWR-LS1021A SD Card Boot Image" href="https://firmware-selector.openwrt.org/?version=21.02-SNAPSHOT&amp;amp;target=layerscape%2Farmv7&amp;amp;id=fsl_ls1021a-twr-sdboot" target="_blank" rel="noopener"&gt;TWR-LS1021A SD Card Boot Image&lt;/A&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;First step: Clone the image to the SD card with the help of the balenaEtcher (I tried with linux dd, but result was equal).&lt;/P&gt;&lt;P&gt;Second step: Set SW2 - 00100111, SW3 - 01100101&lt;/P&gt;&lt;P&gt;Third step: Connect serial and open /dev/ttyACM0 device, and there is nothing there.&lt;/P&gt;&lt;P&gt;I can see uboot and linux console in the serial, If I start board with NOR.&lt;/P&gt;&lt;P&gt;I tried to compile images with 19.07.7 OpenWRT version but it didn't help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 May 2021 17:28:57 GMT</pubDate>
    <dc:creator>kele6ra</dc:creator>
    <dc:date>2021-05-21T17:28:57Z</dc:date>
    <item>
      <title>Can't boot OpenWRT TWR-LS1021A SD Card Boot Image</title>
      <link>https://community.nxp.com/t5/Layerscape/Can-t-boot-OpenWRT-TWR-LS1021A-SD-Card-Boot-Image/m-p/1280513#M8048</link>
      <description>&lt;P&gt;Hello, I am new with LS1021A series. I have TWR-LS1021A board and tries to start OpenWRT image (&lt;A title="TWR-LS1021A SD Card Boot Image" href="https://firmware-selector.openwrt.org/?version=21.02-SNAPSHOT&amp;amp;target=layerscape%2Farmv7&amp;amp;id=fsl_ls1021a-twr-sdboot" target="_blank" rel="noopener"&gt;TWR-LS1021A SD Card Boot Image&lt;/A&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;First step: Clone the image to the SD card with the help of the balenaEtcher (I tried with linux dd, but result was equal).&lt;/P&gt;&lt;P&gt;Second step: Set SW2 - 00100111, SW3 - 01100101&lt;/P&gt;&lt;P&gt;Third step: Connect serial and open /dev/ttyACM0 device, and there is nothing there.&lt;/P&gt;&lt;P&gt;I can see uboot and linux console in the serial, If I start board with NOR.&lt;/P&gt;&lt;P&gt;I tried to compile images with 19.07.7 OpenWRT version but it didn't help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 17:28:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Can-t-boot-OpenWRT-TWR-LS1021A-SD-Card-Boot-Image/m-p/1280513#M8048</guid>
      <dc:creator>kele6ra</dc:creator>
      <dc:date>2021-05-21T17:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can't boot OpenWRT TWR-LS1021A SD Card Boot Image</title>
      <link>https://community.nxp.com/t5/Layerscape/Can-t-boot-OpenWRT-TWR-LS1021A-SD-Card-Boot-Image/m-p/1280651#M8049</link>
      <description>&lt;P&gt;Please try NXP composite firmware image "firmware_ls1021atwr_uboot_sdboot.img" provided at:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://lsdk.github.io/components.html" target="_blank"&gt;https://lsdk.github.io/components.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;section LSDK IMAGES.&lt;/P&gt;
&lt;P&gt;Please consider that the image has to be written to SD card with offset 0x1000 - i.e. 8 512-byte blocks:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;sudo dd if=&amp;lt;image&amp;gt; of=/dev/sdx bs=512 seek=8&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 May 2021 05:41:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Can-t-boot-OpenWRT-TWR-LS1021A-SD-Card-Boot-Image/m-p/1280651#M8049</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2021-05-22T05:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can't boot OpenWRT TWR-LS1021A SD Card Boot Image</title>
      <link>https://community.nxp.com/t5/Layerscape/Can-t-boot-OpenWRT-TWR-LS1021A-SD-Card-Boot-Image/m-p/1280676#M8051</link>
      <description>&lt;P&gt;Hello. thank you for help. Should I copy this image to the empty card pr should I make 2 partitions and copy image to the first? I tried to copy to the empty card and can't see anything int the serial console.&lt;/P&gt;&lt;P&gt;There was not SD card in my board kit, should I somehow prepare sdcard before copying?&lt;/P&gt;&lt;P&gt;And I found that my board has revision 1.0.&lt;/P&gt;</description>
      <pubDate>Sat, 22 May 2021 14:30:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Can-t-boot-OpenWRT-TWR-LS1021A-SD-Card-Boot-Image/m-p/1280676#M8051</guid>
      <dc:creator>kele6ra</dc:creator>
      <dc:date>2021-05-22T14:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can't boot OpenWRT TWR-LS1021A SD Card Boot Image</title>
      <link>https://community.nxp.com/t5/Layerscape/Can-t-boot-OpenWRT-TWR-LS1021A-SD-Card-Boot-Image/m-p/1281241#M8061</link>
      <description>&lt;P&gt;I have found that board with rev.1.0 is working only with SDK &amp;lt;= 1.8 version.&lt;/P&gt;&lt;P&gt;I found u-boot for 1.8 and clone it to the sd card with command:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;sudo dd if=u-boot.bin of=/dev/sdX bs=512 seek=8 &amp;amp;&amp;amp; sync&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN class="sc-IbsAh dBpIUg"&gt;Then I found uImage.bin and uImage.dtb files and add them to my OpenWRT rootfs to the boot dir.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="sc-IbsAh dBpIUg"&gt;Then I made two partition:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="sc-IbsAh dBpIUg"&gt;1. 100mb FAT32 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="sc-IbsAh dBpIUg"&gt;2. all remaing space ETXFS2 (can't start with 1.8 u-boot and extfs3 or extfs4)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="sc-IbsAh dBpIUg"&gt;After I boot and config u-boot:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="sc-IbsAh dBpIUg"&gt;=&amp;gt;setenv bootfile uImage.bin&lt;BR /&gt;=&amp;gt;setenv fdtfile uImage.dtb&lt;BR /&gt;=&amp;gt;setenv consoledev ttyS0&lt;BR /&gt;=&amp;gt;setenv fdtaddr 8f000000&lt;BR /&gt;=&amp;gt;setenv loadaddr 82000000&lt;BR /&gt;=&amp;gt;setenv bootcmd 'setenv bootargs root=/dev/mmcblk0p2 rw rootdelay=5&amp;nbsp; console=$consoledev,$baudrate;mmcinfo;ext2load mmc 0:2 $loadaddr /boot/$bootfile;ext2load mmc 0:2 $fdtaddr /boot/$fdtfile;bootm $loadaddr - $fdtaddr'&lt;BR /&gt;=&amp;gt;saveenv&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 17:31:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Can-t-boot-OpenWRT-TWR-LS1021A-SD-Card-Boot-Image/m-p/1281241#M8061</guid>
      <dc:creator>kele6ra</dc:creator>
      <dc:date>2021-05-24T17:31:22Z</dc:date>
    </item>
  </channel>
</rss>

