Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


Sidebar

products:sbc:vim-5:development:linux:build-linux-kernel

VIM 5 Build Linux Kernel

We provide Fenix to build the Ubuntu OS images easily. You can follow the steps below:

Setup Environment

Choose your board (e.g. VIM-5), U-Boot version, Linux version, system version, etc.

$ source setenv.sh

Change the Kernel Config [Optional]

$ make kernel-config
$ make kernel-saveconfig

Build

Build the Linux Debian package.

$ make kernel
$ make kernel-deb

Debian packages are placed in the folder build/images/debs/{VERSION}/{BOARD}.

  • VERSION : refers to the Fenix version, e.g. 1.7.6
  • BOARD : refers to the Khadas SBC, e.g. VIM-5

The folder location is build/images/debs/1.7.6/VIM-5 where you'll need three packages: image package and header package.

  • linux-image-amlogic-6.12_1.7.6_arm64.deb - Linux kernel & dtb
  • linux-headers-amlogic-6.12_1.7.6_arm64.deb - Linux headers

See Also

Last modified: 2026/09/15 02:56 by nick