{{indexmenu_n>1}} ====== Edge-2L build Linux U-Boot ====== We provide [[kg>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. ```shell $ source setenv.sh ``` Select the options that match your requirements. ===== Build U-Boot ===== Build U-Boot with a single command: ```shell $ 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: ```shell $ 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 [[kg>u-boot/tree/khadas-edges-v2017.09|U-Boot source code for Edge-2L]] uses the branch: ''khadas-edges-v2017.09''. ===== See also ===== * [[products:sbc:edge-2l:configurations:upgrade-linux-uboot]] * [[products:sbc:edge-2l:development:linux:build-linux-kernel]] * [[products:sbc:edge-2l:development:linux:build-ubuntu]]