{{indexmenu_n>1}} ====== Edge2 Build Linux U-Boot ====== We provided [[kg>Fenix]] for you to build the Ubuntu OS images easily. You can follow the steps bellow to build U-Boot. ===== Setup Environment ===== Choose your ''board'' (e.g. ''Edge2''), ''U-Boot version'', ''Linux version'', ''system version'', etc. ```shell $ source setenv.sh ``` Choose the correct version for your requirements. ===== Build U-Boot ===== Build U-Boot with a single command: ```shell $ make uboot ``` The binaries are located in U-Boot source code root directory. You'll need ''uboot.img'' and ''rk3588_spl_loader_vx.xx.xxx.bin''. * ''uboot.img'' - U-Boot image. * ''rk3588_spl_loader_vx.xx.xxx.bin'' - SPL loader image, ''x.xx.xxx'' means version, e.g. ''1.07.111'' ===== Build U-Boot Debian package ===== You can also choose the Debian U-Boot package: ```shell $ make uboot-deb ``` 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. ''Edge2'' The folder location is ''build/images/debs/1.1.1/Edge2'', and the Debian U-Boot package is ''linux-u-boot-xxx-xxx_xxx-xxx_arm64.deb''. * SoC Vendor Debian U-Boot package: ''linux-u-boot-edge2-vendor_1.0.11-2017.09_arm64.deb'' ===== About U-Boot Source Code ===== [[kg>u-boot/tree/khadas-edges-v2017.09|U-Boot for Edge2]], the branch is ''khadas-edges-v2017.09''. ===== See also ===== * [[products:sbc:edge2:configurations:upgrade-linux-uboot]] * [[products:sbc:edge2:development:linux:build-linux-kernel]] * [[products:sbc:edge2:development:linux:build-ubuntu]]