You can build Ubuntu OS images easily via the link Fenix.Here are the steps how to build U-Boot.
Choose your board (e.g. VIM-5), U-Boot version, Linux version, or system version,the correct version for your requirements.
$ source setenv.sh
Build U-Boot with a single command:
$ make uboot
The binaries are located in build/u-boot/fip/_tmp. choose u-boot.bin.sd.bin.signed, u-boot.bin.signed, u-boot.bin.spi.bin.signed.
u-boot.bin.sd.bin.signed - flashing to the SD cardu-boot.bin.signed - flashing to the eMMCYou can also choose the Debian U-Boot package:
$ make uboot-deb
Debian packages are located in build/images/debs/{VERSION}/{BOARD}.
VERSION : refers to the Fenix version, e.g. 1.7.6
BOARD : refers to the Khadas SBC, e.g. VIM-5
The folder location is build/images/debs/1.7.6/VIM-5, and the Debian U-Boot package is linux-u-boot-xxx-xxx_xxx-xxx_arm64.deb.
linux-u-boot-vim-5-vendor_1.7.6-2025.01_arm64.deb
U-Boot for VIM-5, the branch is khadas-vims-v2025.01.