Be careful with the mpurate variable; running your overo at the higher OPP will, at least for OMAP which is what I know about, cut the expected lifetime of your silicon in half.

I don't have my specs on me right now, but it is something like 10 years to 5 years.

If that doesn't matter, go for it!  Be aware that you can also bump things to 720MHz if you've got the high performance omap part (your u-boot, if it is new, should suggest the maximum mpurate before allowing you to interact).

On Sat, Jun 23, 2012 at 2:23 AM, Rick Rogers <Richard.Rogers@jhuapl.edu> wrote:
3min boot time... ugh, I feel for ya!

I've gotten down to anywhere from ~18sec down to ~7sec, depending on what needs to be enabled at boot (wifi, usb, etc).

The biggest initial impact to boot time for me was been switching to ubifs from jffs2 and mdev from udev.  Also, the latest uboot and MLO (x-loader) are very fast at transferring data from nand flash- I grabbed v2012-04-01 of u-boot from Linaro. 

Other things to consider:
  • set uboot bootdelay to 1 (it can actually be set to 0 if uboot is compiled with CONFIG_ZERO_BOOTDELAY_CHECK)
  • set kernel command line param "mpurate=600" in uboot (otherwise it defaults to 500MHz)
  • get rid of unnecessary stuff in the kernel (filesystems not used, etc)
  • I'm not sure if this really has an affect on boot time or not, but I typically enable PREEMPT_RT and high res timers
  • making usb a module saves 2-3 seconds, but in the kernel I'm using (3.0), usb doesn't seem to work as a module

-Rick





On 06/22/2012 12:06 PM, pjw8811 wrote:
Hi,
I am new to gumstix and linux but i learned a lot by playing with gumstix.
all i need for my gumstix project are wifi, usb otg as pheripheral and
gpios.
Everything is working but boot up time is just too slow and i think
libertas_sdio and udev is taking lot of time.
Currently, it takes about 3min to see wifi blue wifi led blinking from power
on.
I am using Overo air with tobi but eventaully will move to pinto-th. 
Kernel I am using is 3.0.0 + from sakoman and didn't change anything in
.config file except usb otg.
Any suggestion would be helpful.(what drivers i can remove from .config and
scripts from rc#.d) 
below is a list of modules that i am using
g_ether                35520  0
libertas_sdio          20338  1
libertas               92190  1 libertas_sdio
cfg80211              161771  1 libertas
lib80211                5435  1 libertas
firmware_class 

more questions...
I also tried to change .config file to remove some services that i can
recognize and don't use, but again, kernel spends lot of time after this
line 
"libertas_sdio: Copyright Pierre Ossman"

and sometime, with reduced kernel, i get invalid format error when inserting
module. I think either i messed up .config file or some step is missing. Do
i have to compile modules every time i rebuild kernel by "#make modules" and
"#make modules_install? then above modules are all i have to compile? it
seems i can change that in "modules.builtin." am i correct?
Thanks for reading this message.

Terry

--
View this message in context: http://gumstix.8.n6.nabble.com/reducing-kernel-size-to-speed-up-boot-up-time-tp4964696.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users