<?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: Boot LS 1012A (FRDM) from USB</title>
    <link>https://community.nxp.com/t5/Layerscape/Boot-LS-1012A-FRDM-from-USB/m-p/728797#M3079</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to follow these steps, but it seems like I am missing some files to do so correctly. I only have an image .bin file so I used that one instead, without luck unfortunately. The files I have are listed on this screenshot:&lt;span class="lia-inline-image-display-wrapper" image-alt="screenshot.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4917i4A9AABE8C82DE465/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot.png" alt="screenshot.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2018 09:22:44 GMT</pubDate>
    <dc:creator>pieterdewachter</dc:creator>
    <dc:date>2018-03-08T09:22:44Z</dc:date>
    <item>
      <title>Boot LS 1012A (FRDM) from USB</title>
      <link>https://community.nxp.com/t5/Layerscape/Boot-LS-1012A-FRDM-from-USB/m-p/728793#M3075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have currently compiled the QorIQ SDK (update 1703) for the (LS1012A FRDM) board, more specifically fsl-image-full and fsl-image-kernelitb. This gives me some u-boot, rcw, kernel and rootfs files / images. Now I would like to boot this extended Linux (the full image) from a USB drive. Unfortunately I'm not sure as of how to setup the environment correctly to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The USB drive is recognized correctly in both the U-boot bootloader and the Linux that came preinstalled on the board. Some debug info:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;gt; usb storage&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Device 0: Vendor: Intenso Rev: 1.00 Prod: Speed Line&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Type: Removable Hard Disk&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Capacity: 15237.1 MB = 14.8 GB (31205621 x 512)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;gt; usb part&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Partition Map for USB device 0 -- Partition Type: DOS&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Part Start Sector Num Sectors UUID Type&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;1 32 31205344 0005d59e-01 83&lt;/EM&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;gt; usb dev&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;USB device 0: Vendor: Intenso Rev: 1.00 Prod: Speed Line&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Type: Removable Hard Disk&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Capacity: 15237.1 MB = 14.8 GB (31205621 x 512)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The drive has been formatted as ext2 and I put all the files of the rootfs archive (extracted it) and the &lt;EM&gt;kernel-fsl-ls1012a-frdm.itb&lt;/EM&gt; file on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 10:09:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Boot-LS-1012A-FRDM-from-USB/m-p/728793#M3075</guid>
      <dc:creator>pieterdewachter</dc:creator>
      <dc:date>2018-03-05T10:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Boot LS 1012A (FRDM) from USB</title>
      <link>https://community.nxp.com/t5/Layerscape/Boot-LS-1012A-FRDM-from-USB/m-p/728794#M3076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;Look at the Section &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;4.4.9.5.3 of SDK 2.0-1703 documentation about "Deploying the full file system":&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fsupporting-information%2FQORIQ-SDK-2.0-IC-REV0.pdf" rel="nofollow" target="_blank"&gt;https://www.nxp.com/docs/en/supporting-information/QORIQ-SDK-2.0-IC-REV0.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Pavel Chubakov&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 06:01:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Boot-LS-1012A-FRDM-from-USB/m-p/728794#M3076</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2018-03-06T06:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Boot LS 1012A (FRDM) from USB</title>
      <link>https://community.nxp.com/t5/Layerscape/Boot-LS-1012A-FRDM-from-USB/m-p/728795#M3077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've already done it, but with dtb and kernel files instead of itb:&lt;/P&gt;&lt;P&gt;(I'm using OpenWRT distribution instead of Yocto)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two partitions in the usb drive, made with gparted in linux.&lt;/P&gt;&lt;P&gt;First one, a small FAT partition, second an ext4 file system.&lt;/P&gt;&lt;P&gt;In the first one, I've put the following files:&lt;/P&gt;&lt;P&gt;image-fsl-ls1012a-frdm.dtb&lt;/P&gt;&lt;P&gt;ls1012afrdm-kernel.bin&lt;/P&gt;&lt;P&gt;In the second partition, the linux file system.&lt;/P&gt;&lt;P&gt;Uboot commands:&lt;/P&gt;&lt;P&gt;usb start&lt;BR /&gt;fatload usb 0:1 90000000 image-fsl-ls1012a-frdm.dtb&lt;/P&gt;&lt;P&gt;fatload usb 0:1 96000000 ls1012afrdm-kernel.bin&lt;BR /&gt;setenv bootargs "console=${console},${baudrate} root=/dev/sda2 rootwait rw"&lt;BR /&gt;bootm 96000000 - 90000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, this should work, if the itb file is in root of usb drive:&lt;/P&gt;&lt;P&gt;usb start&lt;BR /&gt;ext2load usb 0:1 90000000 kernel-fsl-ls1012a-frdm.itb&lt;BR /&gt;setenv bootargs "console=${console},${baudrate} root=/dev/sda1 rootwait rw"&lt;BR /&gt;bootm 90000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 09:07:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Boot-LS-1012A-FRDM-from-USB/m-p/728795#M3077</guid>
      <dc:creator>zmlopez</dc:creator>
      <dc:date>2018-03-07T09:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Boot LS 1012A (FRDM) from USB</title>
      <link>https://community.nxp.com/t5/Layerscape/Boot-LS-1012A-FRDM-from-USB/m-p/728796#M3078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the advice, unfortunately I keep getting this message when performing the steps described in that section:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ERROR: can't get kernel image!&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 09:21:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Boot-LS-1012A-FRDM-from-USB/m-p/728796#M3078</guid>
      <dc:creator>pieterdewachter</dc:creator>
      <dc:date>2018-03-08T09:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Boot LS 1012A (FRDM) from USB</title>
      <link>https://community.nxp.com/t5/Layerscape/Boot-LS-1012A-FRDM-from-USB/m-p/728797#M3079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to follow these steps, but it seems like I am missing some files to do so correctly. I only have an image .bin file so I used that one instead, without luck unfortunately. The files I have are listed on this screenshot:&lt;span class="lia-inline-image-display-wrapper" image-alt="screenshot.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4917i4A9AABE8C82DE465/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot.png" alt="screenshot.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 09:22:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Boot-LS-1012A-FRDM-from-USB/m-p/728797#M3079</guid>
      <dc:creator>pieterdewachter</dc:creator>
      <dc:date>2018-03-08T09:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Boot LS 1012A (FRDM) from USB</title>
      <link>https://community.nxp.com/t5/Layerscape/Boot-LS-1012A-FRDM-from-USB/m-p/728798#M3080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need uImage format, not Image, to load it with bootm in u-boot (or zImage if you use bootz).&lt;/P&gt;&lt;P&gt;uImage has a wrapper to tell u-boot how to load the binary file, created with mkimage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried with the itb file?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;usb start&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;ext2load usb 0:1 90000000 kernel-fsl-ls1012a-frdm.itb&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;setenv bootargs "console=${console},${baudrate} root=/dev/sda1 rootwait rw"&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;bootm 90000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't test it myself rigth now, because I don't have an itb file generated in my system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2018 11:34:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Boot-LS-1012A-FRDM-from-USB/m-p/728798#M3080</guid>
      <dc:creator>zmlopez</dc:creator>
      <dc:date>2018-03-12T11:34:17Z</dc:date>
    </item>
  </channel>
</rss>

