Thread: iLiad The iLiad boot process
View Single Post
Old 11-11-2008, 08:49 AM   #3
hansel
JSR FFD2
hansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheese
 
hansel's Avatar
 
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
Quote:
Originally Posted by jharker View Post
[...] the goal isn't to reduce boot speed, it's to set a budget (5 seconds) for boot and then redesign the boot to make it hit the goal.
Nice chart! The 5 secs part will be difficult, since the real bootings only starts after 6 sec?
The cpu is running at 100% almost all the time, so the only possible improvement is skipping things...

What about:
Code:
const char *kHz="2000";
fp = fopen("/proc/sys/cpu/0/speed", "w");
if (fp) {
      fputs(kHz, fp);
      fclose(fp);
}

Last edited by hansel; 11-11-2008 at 09:06 AM. Reason: briliant idea
hansel is offline   Reply With Quote