https://www.raspberrypi.com/documentation/computers/linux_kernel.html Raspberry Pi 2/3 Default Build Configuration cd linux KERNEL=kernel7 make bcm2709_defconfig Build and install the kernel, modules and Device Tree blobs; this step takes a long time... make -j4 zImage modules dtbs sudo make modules_install sudo cp arch/arm/boot/dts/*.dtb /boot/ sudo cp arch/arm/boot/dts/overlays/*.dtb* /boot/overlays/ sudo cp arch/arm/boot/dts/overlays/README /boot/overlays/ sudo scripts/mkknlimg arch/arm/boot/zImage /boot/$KERNEL.img