This is an old revision of the document!
We provide Fenix to help you build the Ubuntu OS images easily. You can follow the steps below to build U-Boot.
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 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.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.
linux-u-boot-edge-2l-vendor_1.0.11-2017.09_arm64.deb
The U-Boot source code for Edge-2L uses the branch: khadas-edges-v2017.09.