User Tools

Site Tools


stuff

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
stuff [2023/12/09 13:00]
admin
stuff [2023/12/15 18:09]
admin
Line 1: Line 1:
- 1+====================================================================================== 
 +Quote: 
 +Originally Posted by Alien Bob View Post 
 +First, make sure that all hardware that you want your kernel to support is connected to the computer and powered on / configured (think of external USB, firewire drives, webcams, headphones etc).
  
-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. +Then, run the following command in your kernel source directory: 
- +Code: 
-The kernel source tree is specified through the KERNEL_TREE environment variable. It defaults to /usr/src/linux. So either export this variable in the terminal in which you make the kernel: +make localyesconfig 
- +That will create a kernel with built-in support for all your hardware and not much more. 
-export KERNEL_TREE=/usr/src/linux-3.2.61 +As a variation which creates modules for your hardware instead of compiling the drivers right into the kernel: 
- +Code: 
-or define a symlink from /usr/src/linux-3.2.61 to /usr/src/linux`: +make localmodconfig 
- +Eric 
-ln -s /usr/src/linux-3.2.61 /usr/src/linux +Eric, thanks so much. In my other tab of my browser this page is open: http://alien.slackbook.org/dokuwiki/...kernelbuilding Can't believe I am getting a reply from yoda himself within a few minutes of posting, surely the universe is trying to tell me something  
- +================================================================ 
-Of course, replace /usr/src/linux-3.2.61 with the corresponding kernel source directory.+make -j 32 bzImage modules && \ 
 +make -j 32 modules_install && \ 
 +cp -v arch/x86/boot/bzImage /boot/vmlinuz-6.1.6-ads
  
 --------------------------------------------------------------------- ---------------------------------------------------------------------
Line 28: 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 <OUTPUT> --mode 1024x768+<file c foo> xrandr --output eDP1 --mode 1280x720 </file>
  
 ----------------------------- -----------------------------
stuff.txt · Last modified: 2023/12/15 18:12 by admin