Uploaded February 2025 | Updated November 2026, 3 hours ago
Recompiling Linux isn't as daunting as you think.
Some of the resources I mentioned in this video:
- Raspberry Pi Linux guide: raspberrypi.com/documentation/computers/linux_kernel.html
- Cross-compile Linux for the Pi: github.com/geerlingguy/raspberry-pi-pcie-devices/tree/master/extras/cross-compile
- Intel Arc A750 on Pi 5: github.com/geerlingguy/raspberry-pi-pcie-devices/issues/510
- Intel Arc B580 on Pi 5: github.com/geerlingguy/raspberry-pi-pcie-devices/issues/695
- Raspberry Pi OS moving to kernel 6.12: forums.raspberrypi.com/viewtopic.php?t=379745
- Ubuntu Mainline Kernels utility: github.com/bkw777/mainline?tab=readme-ov-file#install
Support me on Patreon: patreon.com/geerlingguy
Sponsor me on GitHub: github.com/sponsors/geerlingguy
Merch: redshirtjeff.com
2nd Channel: youtube.com/@GeerlingEngineering
3rd Channel: youtube.com/@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
Recompiling Linux isn't as daunting as you think.
Some of the resources I mentioned in this video:
- Raspberry Pi Linux guide: raspberrypi.com/documentation/computers/linux_kernel.html
- Cross-compile Linux for the Pi: github.com/geerlingguy/raspberry-pi-pcie-devices/tree/master/extras/cross-compile
- Intel Arc A750 on Pi 5: github.com/geerlingguy/raspberry-pi-pcie-devices/issues/510
- Intel Arc B580 on Pi 5: github.com/geerlingguy/raspberry-pi-pcie-devices/issues/695
- Raspberry Pi OS moving to kernel 6.12: forums.raspberrypi.com/viewtopic.php?t=379745
- Ubuntu Mainline Kernels utility: github.com/bkw777/mainline?tab=readme-ov-file#install
Support me on Patreon: patreon.com/geerlingguy
Sponsor me on GitHub: github.com/sponsors/geerlingguy
Merch: redshirtjeff.com
2nd Channel: youtube.com/@GeerlingEngineering
3rd Channel: youtube.com/@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










