How to recompile Linux (on a Raspberry Pi)

Опубликовано: 14 Март 2026
на канале: Level 2 Jeff
71,637
4k

Recompiling Linux isn't as daunting as you think.

Some of the resources I mentioned in this video:

Raspberry Pi Linux guide: https://www.raspberrypi.com/documenta...
Cross-compile Linux for the Pi: https://github.com/geerlingguy/raspbe...
Intel Arc A750 on Pi 5: https://github.com/geerlingguy/raspbe...
Intel Arc B580 on Pi 5: https://github.com/geerlingguy/raspbe...
Raspberry Pi OS moving to kernel 6.12: https://forums.raspberrypi.com/viewto...
Ubuntu Mainline Kernels utility: https://github.com/bkw777/mainline?ta...

Support me on Patreon:   / geerlingguy  
Sponsor me on GitHub: https://github.com/sponsors/geerlingguy
Merch: https://www.redshirtjeff.com
2nd Channel:    / @geerlingengineering  
3rd Channel:    / @level2jeff  

Contents:

00:00 - Why recompile Linux?
01:15 - Get the Linux kernel source
03:00 - Selecting kernel options and adding modules
04:31 - Patching the kernel and compiling
06:52 - Recompiling (is faster)
07:27 - Placing the new kernel, modules, and DTBs
08:35 - Checking for success!
09:41 - Alternative ways to get newer kernels