Basic Kernel Compilation

Install the cross-compile toolchain

Download from:

Use the following commands to install:

Download and Compile the Kernel:

(default branch is zero-4.10.y):

After a success compilation,the zImage can be found under 'arch/arm/boot/' and the driver .ko file will be under 'out/'