This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
stuff [2023/12/09 13:01] admin |
stuff [2023/12/15 18:09] admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | 1 | + | ====================================================================================== |
- | + | Quote: | |
- | It's important to give to the toolchain used to build the kernel the location of the kernel source tree. Otherwise, even if the compilation runs perfectly, the installation may fail with errors about missing modules or parts. | + | Originally Posted by Alien Bob View Post |
- | + | First, make sure that all hardware that you want your kernel | |
- | The kernel | + | |
- | + | ||
- | export KERNEL_TREE=/ | + | |
- | + | ||
- | or define a symlink from /usr/ | + | |
- | + | ||
- | ln -s / | + | |
- | + | ||
- | Of course, replace / | + | |
+ | Then, run the following command in your kernel source directory: | ||
+ | Code: | ||
+ | make localyesconfig | ||
+ | That will create a kernel with built-in support for all your hardware and not much more. | ||
+ | As a variation which creates modules for your hardware instead of compiling the drivers right into the kernel: | ||
+ | Code: | ||
+ | make localmodconfig | ||
+ | Eric | ||
+ | Eric, thanks so much. In my other tab of my browser this page is open: http:// | ||
+ | ================================================================ | ||
make -j 32 bzImage modules && \ | make -j 32 bzImage modules && \ | ||
make -j 32 modules_install && \ | make -j 32 modules_install && \ | ||
Line 32: | Line 33: | ||
Choose the name of the output you wish to change the resolution of, and: | Choose the name of the output you wish to change the resolution of, and: | ||
- | xrandr --output | + | <file c foo> |
----------------------------- | ----------------------------- |