AnsweredAssumed Answered

Where to edit init.rc?

Question asked by Goi on Sep 3, 2012
Latest reply on Sep 3, 2012 by Goi

Hi,

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:

src/device/fsl/imx53_loco/init.rc

src/system/core/rootdir/init.rc

 

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?

 

Thanks.

Outcomes