On 07/25/2010 08:07 PM, Blair wrote:
> After getting my 7350 up and running under 2.6.34 I'm finding that the
> real-world boot times are almost 10 seconds. This includes loading the UART
> drivers, the SD card driver, USB OHCI driver, USB Audio drivers, and the FTDI
> driver. So, what's sucking up the time? And what is eptime and where is
> that defined? The TS script uses this to display the boot time which for
> 2.6.34 uncompressed coming off a roughly 3.75 MB partition is about 2.7
> seconds. The other 7 seconds is taken up by mounting the file system and
> setting up USB. Any way to streamline this?
>
>
Here are some tricks I'd recommend:
* Cut out everything that is unnecessary from the kernel (e.g. nfs,
etc...)
* Don't use a compressed kernel - longer i/o time, but no
decompression time
* Turn off all kprintfs in the kernel (use sed script or something to
just comment them out)
* Use busybox in minimal configuration
* Don't use an initrd or pivot to a real root filesystem
* Don't start networking, or if you must, assign a static ip address
* Make your application startup as fast as possible
Alternatively; just suck the startup time, but engineer your application
to never get restarted.
-Brett
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|