Table of Contents

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:

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.

About U-Boot source code

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

See also