<?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>PowerQUICC Processors中的主题 adding linux application to rootfs using LTIB</title>
    <link>https://community.nxp.com/t5/PowerQUICC-Processors/adding-linux-application-to-rootfs-using-LTIB/m-p/707453#M2210</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am able to run a linux application on a custom MPC83x board using TFTP. I need to boot this application at start up which means storing in flash.&lt;/P&gt;&lt;P&gt;a)How should I add the application (say ./hello) in rootfile system using LTIB?&lt;/P&gt;&lt;P&gt;b) What is the method to invoke this application to run at startup?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Searched many forums, but without pointed answers. A definitive guide would be helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Aug 2017 10:52:09 GMT</pubDate>
    <dc:creator>garimella</dc:creator>
    <dc:date>2017-08-25T10:52:09Z</dc:date>
    <item>
      <title>adding linux application to rootfs using LTIB</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/adding-linux-application-to-rootfs-using-LTIB/m-p/707453#M2210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am able to run a linux application on a custom MPC83x board using TFTP. I need to boot this application at start up which means storing in flash.&lt;/P&gt;&lt;P&gt;a)How should I add the application (say ./hello) in rootfile system using LTIB?&lt;/P&gt;&lt;P&gt;b) What is the method to invoke this application to run at startup?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Searched many forums, but without pointed answers. A definitive guide would be helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2017 10:52:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/adding-linux-application-to-rootfs-using-LTIB/m-p/707453#M2210</guid>
      <dc:creator>garimella</dc:creator>
      <dc:date>2017-08-25T10:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: adding linux application to rootfs using LTIB</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/adding-linux-application-to-rootfs-using-LTIB/m-p/707454#M2211</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;Use the following command sequence for adding file to RAM disk image.&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&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;"&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;"&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;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="2"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&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;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="3"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&gt; gunzip rootfs.ext2.gz&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="4"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&gt; mkdir /mnt/iso_1&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="5"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&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;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="6"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&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;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="7"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&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;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="8"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&gt; gzip -9 rootfs.ext2&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL start="9"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.0pt;"&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;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;See also the following pages:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.tldp.org%2FHOWTO%2FHighQuality-Apps-HOWTO%2Fboot.html" rel="nofollow" target="_blank"&gt;http://www.tldp.org/HOWTO/HighQuality-Apps-HOWTO/boot.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F7221757%2Frun-automatically-program-on-startup-under-linux-ubuntu" rel="nofollow" target="_blank"&gt;https://stackoverflow.com/questions/7221757/run-automatically-program-on-startup-under-linux-ubuntu&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>Mon, 28 Aug 2017 06:19:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/adding-linux-application-to-rootfs-using-LTIB/m-p/707454#M2211</guid>
      <dc:creator>Pavel</dc:creator>
      <dc:date>2017-08-28T06:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: adding linux application to rootfs using LTIB</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/adding-linux-application-to-rootfs-using-LTIB/m-p/707455#M2212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavel,&lt;/P&gt;&lt;P&gt;I was asking the same process through LTIB. I just saw hello listed is LTIB-c. Just want to similarly add my custom application such that it appears in LTIB -c to generate rootfs.&lt;/P&gt;&lt;P&gt;For auto start up, I went through the link sent by you. It says to add our applications at init.d. But during run time, this init.d resides in RAM. How do we store this in flash in the first place?. It is a novice question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 10:58:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/adding-linux-application-to-rootfs-using-LTIB/m-p/707455#M2212</guid>
      <dc:creator>garimella</dc:creator>
      <dc:date>2017-08-28T10:58:37Z</dc:date>
    </item>
  </channel>
</rss>

