Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


Sidebar

products:sbc:edge-2l:development:linux:build-linux-kernel

Edge-2L Build Linux Kernel

Ubuntu

We provide Fenix for you to build the Ubuntu OS images easily. You can follow the steps below to build Linux Kernel.

Setup environment

Configure the environment by choosing your board (e.g., Edge-2L), U-Boot version, Linux kernel version, system version, etc.

$ source setenv.sh

Select the options that match your requirements.

Change the Kernel config

This is an optional operation.

Follow these steps to change the default kernel configuration.

$ make kernel-config
$ make kernel-saveconfig

Build

Build the Linux Debian package.

$ make kernel
$ make kernel-deb

The generated Debian packages are located in the folder build/images/debs/{VERSION}/{BOARD}/.

  • VERSION : refers to the Fenix version, e.g. 1.1.1
  • BOARD : refers to the Khadas SBC, e.g. Edge-2L

For example, the folder location would be build/images/debs/1.1.1/Edge-2L/, and you will need the following three packages: the DTB package, the image package, and the header package.

  • DTB package - linux-dtb-rockchip-6.1_1.1.1_arm64.deb
  • Image package - linux-image-rockchip-6.1_1.1.1_arm64.deb
  • Header package - linux-headers-rockchip-6.1_1.1.1_arm64.deb

See also

Last modified: 2026/05/11 01:56 by nick