This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Boot time optimization



Hi,

There is a document given on boot time optimization guidelines along with 3.0 release.  This mentions that optimization is possible to bring the boot time to down to 21 seconds.  As of now it is close to 2 minutes for us.  But the document is not very clear on the procedure for doing this. 

Few of the suggestions mentioned are as below.  Can someone pls guide on how these are to be done?

Use “strip” utility on the libraries and executables.  When I just tried to use "strip" on the executables in /opt/ipnc/bin, it failed saying invalid file format.

Building some of the modules (cmemk.ko) into kernel instead of copying from filesystem to RAM. 

Moving u-boot, kernel and filesystem from NAND to RAM.

Removing “avoidable modules and commands” for u-boot optimization.  Is there a listing of all modules and commands somewhere so we can comment out what we feel are avoidable.

Reducing kernel size by deselecting avoidable modules in “make menuconfig”.  Which is the place where we should be doing this desection?

Using “ubifs” instead of “jffs2” to reduce boot time.  However I am not able to create the ubifs using the command given (“make ubifs” or “sudo make ubifs”).  It ends up failing.  However “make jffs2” works fine.

thanks,

Chandar