Action Item #231
closedkernel config cleanup
100%
Description
To improve boot time, the kernel config should be examined for which drivers could be made modules and loaded at boot time. Module loading could be done by specific init scripts as needed or by a specialized init process that parallelizes the init scripts (without using scripts to reduce fork/exec overhead).
Related issues
Updated by Hammel about 11 years ago
- Category set to 03 - Linux Kernel
- Assignee set to Hammel
- Target version set to 2.0 - Harkonnen
Updated by Hammel almost 11 years ago
When I get around to this I should have a method of building just the Media Server kernel since this would be a stripped down version of the PiBox Development Platform, which should have nearly everything in it.
Updated by Hammel over 10 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 10
- A bunch of eth drivers are compiled in. Only smsc95xx needs to be enabled and even that could be a loadable module.
- bcm2708_spi takes 3.5 seconds to load
- sda1 (ext4) takes 9 seconds to load
- wlan0 takes 8 seconds to load
- X (and the fbtft) takes 17 seconds to load
Updated by Hammel almost 6 years ago
- Priority changed from Normal to Immediate
- Target version changed from 2.0 - Harkonnen to 1.1.0 - Upgrades
- Severity changed from 03 - Medium to 04 - Low
Bumping this to 1.1.0 release because the kernel config has so much cruft in it that PiBox just doesn't need, like all those eth drivers. This is because I switched, a while back, to using the defconfig for the Pis. Now I need to switch back to a trimmed down kernel so save both disk and memory space.
Updated by Hammel almost 5 years ago
- Status changed from In Progress to Closed
- % Done changed from 10 to 100
There is a breakdown of the required config options available. This might be a good stripped down version to start with, just to see if it boots.
I looked through the config file for what drivers are compiled in (=y). There are a few areas I could turn off, but a few things, like the eth drivers, may not have any affect according to kconfig descriptions. Also, the kernel is 5M, which is not tiny but it's not bad given all it has to do for something like a media system.
So I'm going to leave the config alone for how. It's not really a problem and the boot time issues are external to the config, at least as of now.
Closing issue.