How to recompile Linux (on a Raspberry Pi) @Level2Jeff
How to recompile Linux (on a Raspberry Pi)  @Level2Jeff
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
How to recompile Linux (on a Raspberry Pi)Things have escalated...I probably wont buy another Bambu Lab printerOpen Sauce 2025 vlog: Day 1 (People, Projects, Pee-Board)My babys toy is engineered better than my $800 dishwasherBaileys Beads and Diamond Ring - 2024 Total Solar EclipseIs MacBook Neo The One?Putting together the first Switchberry (a managed PTP switch)Whats inside the Raspberry Pi Monitor?I guess thats why its called FireWireI Know Nothing About CNC, so Sean Hodgins is Fixing ThatI NEVER thought Id see this
Level 2 Jeff |

How to recompile Linux (on a Raspberry Pi)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER