Software and Hardware Environment

  • Ubuntu 19.10 64 – bit
  • The kernel 5.6.14

Download the kernel

Download the latest version 5.6.14 from https://www.kernel.org and decompress it

Tar XVF linux-5.6.14.tar.gz CD linux-5.6.14Copy the code

Download the necessary software packages

The compilation process requires some tools, which we have prepared in advance

sudo apt install build-essential pkg-config flex bison libssl-dev libncurses-dev
Copy the code

Configuration to compile

make menuconfig
make
sudo make modules_install
sudo make install
sudo reboot
Copy the code

After the system is restarted, run uname -a to view the current kernel version