Kernel configuration according to hardware
I'm trying to build a small kernel image with the minimal requirements based on the hardware I have in my laptop. Any idea about how to deal with that? How can I get info about my hardware and somehow translate it in kernel configuration settings?
|
Basic tools to get hardware info:
Code:
lspci Also: When compiling the kernel you might want to run make defconfig, which sets entries to the default symbol values from either arch/$ARCH/defconfig or arch/$ARCH/configs/${PLATFORM}_defconfig, depending on the architecture. This means doing one extra step when building the kernel: Code:
make mrproper # as stated in the LFS book |
Thanks for your answer!
I've used lspci -k to have a list of the PCI device drivers in use. I used it to configure the kernel, but it helps only for the PCI devices. Is there any similar option for the other commands you mentioned? |
Quote:
You might use this info if the command was given on a system that actually recognizes and sets-up all(??) hardware/devices. Quote:
Code:
cat /proc/modules Code:
cat /proc/devices |
This : http://kmuto.jp/debian/hcl/ might be useful
|
All times are GMT -5. The time now is 02:29 PM. |