In addition to other recomendations 1. remove rc script and use manual boot script 2. remove udev and use static devices (3. compile modules inside kernel) (4. remove checksum check in u-boot)
Tell me please: - what kernel do you use? - how log takes to mount JFFS2, and what is size of the partition? -- Constantine Shulyupin Embedded Linux Consultant 054-4234440 http://linuxdriver.co.il/ On Mon, 2007-07-09 at 13:09 -0700, Andy Ngo wrote: > Hi all, > > I'm trying to optimize the bootup/load time (from power up to when the > kernel and rc scripts finish loading) on our custom Davinci board. > Our goal is to get it down to 10 seconds to close to that. I have > tried a few stuff: > > 1) Remove/disable unnecessary features in u-boot > 2) Set the prompt delay to 0 in u-boot > 3) Remove/disable all unneeded features and modules (kernel) in > the Linux kernel that we don't need > 4) Suppress kernel log messages (except for a few) to the console > 5) Remove unnecessary startup rc scripts > > We're using a combination of a ramdisk and JFFS2 NOR MTD for our file > system so it takes some time to initialize the mount these > partitions. > > 1) I noticed that the udev rc script takes some good time (around 2 > seconds) to create and initialize the /dev nodes; is this necessary? > Can I just not run the udev script and just create static dev nodes? > > 2) What else can I do in u-boot to minimize its load time? > 3) What else can I do in the kernel to minimize the kernel load time? > > I'm thinking of looking at the DD-WRT open source firmware (Linksys > router) for hints because my router which has DD-WRT in it comes up > very quickly. > > Your suggestions/recommendations are appreciated. > > Regards, > Andy _______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source