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:
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
UI output for 2nd display during video playback on boot, and mount ext4 partitions on fs.
The latter has stuff like setup the global environment, create mountpoints, backward compatibility, etc.
Which file should I be editing?