~~tag>VIM1S uboot~~ {{indexmenu_n>1}} ====== VIM1S Build 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. ''VIM1S''), ''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 ''build/u-boot/fip/_tmp''. You'll need ''u-boot.bin.sd.bin.signed'', ''u-boot.bin.signed'', and ''u-boot.bin.spi.bin.signed''. * ''u-boot.bin.sd.bin.signed'' - for flashing to the **SD card** * ''u-boot.bin.signed'' - for flashing to the **eMMC** ===== 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.0.11''\\ **BOARD** : refers to the Khadas SBC, e.g. ''VIM1S'' The folder location is ''build/images/debs/1.0.11/VIM1S'', 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-vim1s-vendor_1.0.11-2019.01_arm64.deb'' ===== About U-Boot Source Code ===== [[kg>u-boot/tree/khadas-vims-v2019.01|U-Boot for VIM1S]], the branch is ''khadas-vims-v2019.01''. ===== See Aslo ===== * [[products:sbc:vim1s:configurations:upgrade-linux-uboot]] * [[products:sbc:vim1s:development:linux:build-linux-kernel]] * [[products:sbc:vim1s:development:linux:build-ubuntu]]