<?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: FRDM-LS1012 - how to update rfs? in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/FRDM-LS1012-how-to-update-rfs/m-p/698542#M2781</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I found something that may work for me here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/394712"&gt;https://community.nxp.com/thread/394712&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Oct 2017 02:35:12 GMT</pubDate>
    <dc:creator>RandyKrakora</dc:creator>
    <dc:date>2017-10-06T02:35:12Z</dc:date>
    <item>
      <title>FRDM-LS1012 - how to update rfs?</title>
      <link>https://community.nxp.com/t5/Layerscape/FRDM-LS1012-how-to-update-rfs/m-p/698538#M2777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a FRDM-LS1012 board and only want to update a few files in the rfs and save changes to QSPI without building yocto.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to add ifconfig, start the sshd and update the moduli file, so nothing groundbreaking, is there a way to do it as the board is shipped? Or do I need to build yocto rfs? Or download prebuilt binaries and edit the rfs files there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Randy Krakora&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 00:19:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/FRDM-LS1012-how-to-update-rfs/m-p/698538#M2777</guid>
      <dc:creator>RandyKrakora</dc:creator>
      <dc:date>2017-10-05T00:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-LS1012 - how to update rfs?</title>
      <link>https://community.nxp.com/t5/Layerscape/FRDM-LS1012-how-to-update-rfs/m-p/698539#M2778</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;If RAM disk is used, the following command sequence is needed:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; rename your RAM disk image to rootfs.ext2.gz.uboot&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; sudo apt-get install u-boot-tools&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;Following are the steps for adding files into rootfilesystem:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="2"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; dd if=rootfs.ext2.gz.uboot of=rootfs.ext2.gz bs=64 skip=1&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="3"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; gunzip rootfs.ext2.gz&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="4"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; mkdir /mnt/iso_1&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="5"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; sudo mount -oloop rootfs.ext2 /mnt/iso_1&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="6"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; Now, one can copy files into appropriate location under “./mnt/iso_1” directory.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="7"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; sudo umount /mnt/iso_1&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="8"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; gzip -9 rootfs.ext2&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="9"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: white;"&gt; mkimage -A ppc -O linux -T ramdisk -C gzip -n 'rootfs.ext2.gz.uboot' -d rootfs.ext2.gz rootfs.ext2.gz.uboot &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&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>Thu, 05 Oct 2017 03:00:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/FRDM-LS1012-how-to-update-rfs/m-p/698539#M2778</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2017-10-05T03:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-LS1012 - how to update rfs?</title>
      <link>https://community.nxp.com/t5/Layerscape/FRDM-LS1012-how-to-update-rfs/m-p/698540#M2779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Pavel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it appears the kernel.itb image contains the kernel, dtb and rootfs? Can you give me some steps on how to create the kernel.itb from the&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;rootfs.ext2.gz.uboot file you created above?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Randy Krakora&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Oct 2017 12:05:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/FRDM-LS1012-how-to-update-rfs/m-p/698540#M2779</guid>
      <dc:creator>RandyKrakora</dc:creator>
      <dc:date>2017-10-05T12:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-LS1012 - how to update rfs?</title>
      <link>https://community.nxp.com/t5/Layerscape/FRDM-LS1012-how-to-update-rfs/m-p/698541#M2780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pavel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, thinking ahead, it would be nice to be able to add these things to the yocto build, in case I need to add more packages, then I can just run bitbake and have my .itb file. :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm somewhat familiar with yocto, building, adding layers and patches and such, but I've never done anything with yocto builds to add lines to the startup scripts via bitbake commands, do you have any docs on that for Qoriq parts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Randy Krakora&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 02:25:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/FRDM-LS1012-how-to-update-rfs/m-p/698541#M2780</guid>
      <dc:creator>RandyKrakora</dc:creator>
      <dc:date>2017-10-06T02:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-LS1012 - how to update rfs?</title>
      <link>https://community.nxp.com/t5/Layerscape/FRDM-LS1012-how-to-update-rfs/m-p/698542#M2781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I found something that may work for me here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/394712"&gt;https://community.nxp.com/thread/394712&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Oct 2017 02:35:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/FRDM-LS1012-how-to-update-rfs/m-p/698542#M2781</guid>
      <dc:creator>RandyKrakora</dc:creator>
      <dc:date>2017-10-06T02:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-LS1012 - how to update rfs?</title>
      <link>https://community.nxp.com/t5/Layerscape/FRDM-LS1012-how-to-update-rfs/m-p/698543#M2782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Look at attached file. Find the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;Build the FIT using mkimage&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>Fri, 06 Oct 2017 03:02:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/FRDM-LS1012-how-to-update-rfs/m-p/698543#M2782</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2017-10-06T03:02:55Z</dc:date>
    </item>
  </channel>
</rss>

