If you appreciate this project, support me on Patreon !
sh GetPatchAndCompileKernel.sh
This works whether you cloned this whole repository or just downloaded the script alone.
Don't hesitate to edit the script and replace the CROSS_COMPILE
value
in the script, in order to match your cross-compiling toolset prefix.
If you'd like to reconfigure the kernel using menuconfig, nconfig, qtconfig, ... do it like this :
# Assuming that you want to use menuconfig
MAKE_CONFIG=menuconfig sh GetPatchAndCompileKernel.sh
If you're looking for prebuilt RK3288 kernels for MiQi, Tinkerboard, Firefly boards and various RK3288 boards supported by mainline kernels, see RockMyy-Build.
Armbian provide premade Debian packages of kernels for Rockchip systems including most of the patches included here.
This repository provides patches and mainline kernel cross-compiling scripts tailored towards Rockchip 3288 boards.
The main cross-compiling script will :
- Clone the latest release or release candidate branch of the mainline kernel;
- Integrate the Mali Midgard r20p0 drivers to the cloned kernel;
- Apply various RK3288 specific patches for MiQi, Tinkerboard and Firefly boards;
- Copy and use this repository configuration file;
- Cross-compile the patched kernel;
- Create the folder /tmp/Rockmyy-Build and install the cross-compiled kernel in that folder.