<?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: Where to edit init.rc? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Where-to-edit-init-rc/m-p/185208#M8579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've looked at the init.rc in the device's root directory and it's different from the init.rc in the source. Notably, the lines I've included are missing. Why is this so?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Sep 2012 01:15:25 GMT</pubDate>
    <dc:creator>Goi</dc:creator>
    <dc:date>2012-09-04T01:15:25Z</dc:date>
    <item>
      <title>Where to edit init.rc?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Where-to-edit-init-rc/m-p/185206#M8577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working on an i.mx53qsb I wish to start up a native service in the device boot up process. I want to put it in the init.rc script, but I'm not sure where it resides. There seem to be init.rc files in multiple locations. Particularly, the following 2 look more likely:&lt;/P&gt;&lt;P&gt;src/device/fsl/imx53_loco/init.rc&lt;/P&gt;&lt;P&gt;src/system/core/rootdir/init.rc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The former has stuff like set permissions for IIM node, 3D acceleration property, fsl omx graphic manager media framework property, define the config for dual camera, set OpenGLES version, disable &lt;BR /&gt;UI output for 2nd display during video playback on boot, and mount ext4 partitions on fs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The latter has stuff like setup the global environment, create mountpoints, backward compatibility, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which file should I be editing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2012 07:18:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Where-to-edit-init-rc/m-p/185206#M8577</guid>
      <dc:creator>Goi</dc:creator>
      <dc:date>2012-09-03T07:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Where to edit init.rc?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Where-to-edit-init-rc/m-p/185207#M8578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried editing the init.rc in src/system/core/rootdir by adding the following line at the end, in the onboot section, together with vold, etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;service myprogram /data/myprogram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;myprogram is an ARM binary that I wrote in C and built using the Android NDK. However, it doesn't seem to be called, as I don't see any output in logcat, which myprogram should output to. Also, it doesn't appear in the list of running processes when I run top either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to do something special either when I write/build myprogram, or when I include it in init.rc?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Sep 2012 07:59:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Where-to-edit-init-rc/m-p/185207#M8578</guid>
      <dc:creator>Goi</dc:creator>
      <dc:date>2012-09-03T07:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Where to edit init.rc?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Where-to-edit-init-rc/m-p/185208#M8579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've looked at the init.rc in the device's root directory and it's different from the init.rc in the source. Notably, the lines I've included are missing. Why is this so?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 01:15:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Where-to-edit-init-rc/m-p/185208#M8579</guid>
      <dc:creator>Goi</dc:creator>
      <dc:date>2012-09-04T01:15:25Z</dc:date>
    </item>
  </channel>
</rss>

