kernel_build
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| kernel_build [2025/01/21 23:38] – ounsatn | kernel_build [2025/01/21 23:45] (current) – ounsatn | ||
|---|---|---|---|
| Line 34: | Line 34: | ||
| < | < | ||
| - | it will create a folder linux-5.15, this is what i call __**source tree**__ | + | it will create a folder linux-5.15, this is what i call __**source tree**__ |
| {{http:// | {{http:// | ||
| Line 60: | Line 60: | ||
| dos2unix *.patch </ | dos2unix *.patch </ | ||
| - | Go to kernel | + | __Go to kernel |
| Line 76: | Line 76: | ||
| - | go to source tree folder : | + | __stay in source tree folder :__ |
| Change localversion in file localversion-rt | Change localversion in file localversion-rt | ||
| Line 89: | Line 89: | ||
| It gives a file named " | It gives a file named " | ||
| - | Copy this file in source tree as **" | + | Copy this file in source tree folder |
| - | go to source tree to build menuconfig | + | go to source tree folder |
| < | < | ||
| Line 102: | Line 102: | ||
| - General Setup / Local version string, now it's empty (let it empty ) | - General Setup / Local version string, now it's empty (let it empty ) | ||
| - | - General Setup / Preemption model => Fully Preemptible Kernel ( Real-Time ) : this give the rt56. | + | - General Setup / Preemption model => Fully Preemptible Kernel ( Real-Time ) : this give the rt features. |
| this option is only available after patching with rt56 patch. | this option is only available after patching with rt56 patch. | ||
| + | |||
| + | ( and of course other features ...) | ||
| Line 122: | Line 124: | ||
| - | Now when your back in source tree type : | + | Now when your back in source tree folder |
| < | < | ||
| Line 129: | Line 131: | ||
| Then go to your module folder in source tree. | Then go to your module folder in source tree. | ||
| - | For joystick we've checked it's in / | + | For joystick |
| and launch : | and launch : | ||
| Line 144: | Line 146: | ||
| - | Make detects that you have check joystick device as module in kernel config, so it compiles the associated module source file. | + | Make detects that you have checked |
| Line 174: | Line 176: | ||
| Issue command lsmod to see current loaded modules : | Issue command lsmod to see current loaded modules : | ||
| + | |||
| {{http:// | {{http:// | ||
| + | |||
| do modprobe joydev | do modprobe joydev | ||
| Issue it again, tadaaaa it's there. | Issue it again, tadaaaa it's there. | ||
| + | |||
| {{http:// | {{http:// | ||
kernel_build.1737499103.txt.gz · Last modified: 2025/01/21 23:38 by ounsatn