<?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>i.MX ProcessorsのトピックRe: How to autostart application</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-autostart-application/m-p/607601#M91622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was useful information and I've changed the names to reflect that&lt;/P&gt;&lt;P&gt;information. I realized that to avoid "installed but not shipped" errors in&lt;/P&gt;&lt;P&gt;the past, I had installed to /home/root rather than system directories.&lt;/P&gt;&lt;P&gt;This technique does not work for these scripts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've edited bitbake.conf to add "$&lt;SPAN __jive_macro_name="sysconfdir"&gt;&lt;/SPAN&gt;/*" to the FILES_$&lt;SPAN __jive_macro_name="PN"&gt;&lt;/SPAN&gt; list,&lt;/P&gt;&lt;P&gt;but continue to get the same QA issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know what to change to create these files in the installed&lt;/P&gt;&lt;P&gt;image before reaching the login prompt. Any clues?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jan 2017 20:48:03 GMT</pubDate>
    <dc:creator>patsandt</dc:creator>
    <dc:date>2017-01-12T20:48:03Z</dc:date>
    <item>
      <title>How to autostart application</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-autostart-application/m-p/607599#M91620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to autostart my application on boot. (This seems like something others would have done.) I'm using a board derived from the Sabre board with iMX6. I'm running Linux. Searches online have yielded suggestions based on inittab (does not exist), init.d, rc.d, etc. I've added a script to init.d, rc1.d, rc2.d, rc3.d, rc4.d, rc5.d, rc6.d, and rcS.d. None of these result in running the script.&lt;/P&gt;&lt;P&gt;I can run the script manually after logging in, but the goal is to avoid logging in. That is, the device I'm writing for has no GUI at all.&lt;/P&gt;&lt;P&gt;Any hints are appreciated. I normally run from TeraTerm running the console.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 22:35:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-autostart-application/m-p/607599#M91620</guid>
      <dc:creator>patsandt</dc:creator>
      <dc:date>2017-01-11T22:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to autostart application</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-autostart-application/m-p/607600#M91621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually adding the script into rcX.d is a good idea.&lt;/P&gt;&lt;P&gt;First please check which runlevel your system is actually running:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# runlevel&lt;BR /&gt;N 3&lt;BR /&gt;# &lt;BR /&gt; &lt;BR /&gt;And then you can add your script into this exact runlevel.&lt;BR /&gt;Its name should starts with "S" that means "start".&lt;BR /&gt;The "S" should be followed with 2 digits, this number is used for start seqence - S01* starts prior to S02*, and so on to S99*. &lt;BR /&gt;Also please make sure that it is canonical shell script with something like "#!/bin/sh" in first line and has good permissions (755 for example).&lt;BR /&gt;Then the script will be executed with system start up with "start" parameter. &lt;BR /&gt;However please note that process environment incomplete. It has no $PATH, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Victor&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, 12 Jan 2017 04:45:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-autostart-application/m-p/607600#M91621</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2017-01-12T04:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to autostart application</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-autostart-application/m-p/607601#M91622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That was useful information and I've changed the names to reflect that&lt;/P&gt;&lt;P&gt;information. I realized that to avoid "installed but not shipped" errors in&lt;/P&gt;&lt;P&gt;the past, I had installed to /home/root rather than system directories.&lt;/P&gt;&lt;P&gt;This technique does not work for these scripts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've edited bitbake.conf to add "$&lt;SPAN __jive_macro_name="sysconfdir"&gt;&lt;/SPAN&gt;/*" to the FILES_$&lt;SPAN __jive_macro_name="PN"&gt;&lt;/SPAN&gt; list,&lt;/P&gt;&lt;P&gt;but continue to get the same QA issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know what to change to create these files in the installed&lt;/P&gt;&lt;P&gt;image before reaching the login prompt. Any clues?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 20:48:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-autostart-application/m-p/607601#M91622</guid>
      <dc:creator>patsandt</dc:creator>
      <dc:date>2017-01-12T20:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to autostart application</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-autostart-application/m-p/607602#M91623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did have some convoluted FILES_${PN} instances that were interfering with each other. By correcting these and changing the names, I now have the script running on startup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2017 14:22:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-autostart-application/m-p/607602#M91623</guid>
      <dc:creator>patsandt</dc:creator>
      <dc:date>2017-01-16T14:22:41Z</dc:date>
    </item>
  </channel>
</rss>

