Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


Sidebar

products:sbc:edge1:development:linux:build-linux-kernel

Edge1 Build Linux Kernel

Ubuntu

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

Setup Environment

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

$ source setenv.sh

Change the Kernel Config [Optional]

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

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

  • VERSION : refers to the Fenix version, e.g. 1.0.11
  • BOARD : refers to the Khadas SBC, e.g. Edge

The folder location is build/images/debs/1.0.11/Edge, and you'll need 3 packages: dtb package, image package and header package.

  • DTB - linux-dtb-rockchip_4.4_1.0.11_arm64.deb
  • Image - linux-image-rockchip_4.4_1.0.11_arm64.deb
  • Header - linux-headers-rockchip_4.4_1.0.11_arm64.deb

See Also

Last modified: 2022/07/14 02:32 by frank