Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


Sidebar

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

This is an old revision of the document!


Edge-2L build Linux U-Boot

We provide Fenix to help you build the Ubuntu OS images easily. You can follow the steps below to build U-Boot.

Setup environment

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

$ source setenv.sh

Select the options that match your requirements.

Build U-Boot

Build U-Boot with a single command:

$ make uboot

The output binaries are located in the U-Boot source code root directory. the following files:

  • uboot.img - U-Boot image.
  • rk3588_spl_loader_vx.xx.xxx.bin - The SPL (Secondary Program Loader) image, where x.xx.xxx indicates version, e.g. 1.07.111.

Build U-Boot Debian package

You can also build the U-Boot Debian package:

$ make uboot-deb

The generated Debian packages are located in 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 directory would be build/images/debs/1.1.1/Edge-2L/, and the Debian package is named linux-u-boot-xxx-xxx_xxx-xxx_arm64.deb.

  • Example SoC vendor Debian U-Boot package: linux-u-boot-edge-2l-vendor_1.0.11-2017.09_arm64.deb

About U-Boot source code

The U-Boot source code for Edge-2L uses the branch: khadas-edges-v2017.09.

See also

Last modified: 2026/02/25 01:18 by gray