Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim2:development:linux:build-linux-uboot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
products:sbc:vim2:development:linux:build-linux-uboot [2022/07/13 20:57]
nick
products:sbc:vim2:development:linux:build-linux-uboot [2022/09/02 01:30]
hyphop [Build U-Boot]
Line 1: Line 1:
 +{{indexmenu_n>1}}
 +
  
 ====== VIM2 Build Linux U-Boot ====== ====== VIM2 Build Linux U-Boot ======
  
  
-{{page>products:sbc:vim3:development:linux:build-linux-uboot&noheader}}+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. ''VIM2''), ''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'', ''u-boot.bin'', and ''u-boot.bin.spi.bin''
 + 
 +  * ''u-boot.bin.sd.bin'' - for flashing to the **SD card** 
 +  * ''u-boot.bin'' - for flashing to the **eMMC** 
 +  * ''u-boot.bin.spi.bin'' - for flashing to the **SPI Flash** 
 + 
 +===== Build U-Boot Debian package ===== 
 + 
 +You can also choose the Debian U-Boot package: 
 + 
 +```sh 
 +$ 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. ''VIM2'' 
 + 
 +The folder location is ''build/images/debs/1.0.11/VIM2'', 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-vim2-vendor_1.0.11-2015.01_arm64.deb'' 
 + 
 +===== About U-Boot Source Code ===== 
 + 
 +[[kg>u-boot/tree/khadas-vims-v2015.01|U-Boot for VIM2]], the branch is ''khadas-vims-v2015.01''
 + 
 +===== See Aslo ===== 
 + 
 +[[products:sbc:vim2:configurations:upgrade-linux-uboot|Upgrade U-Boot]].\\ 
 +[[products:sbc:vim2:development:linux:build-linux-kernel|Build Linux Kerenl]].\\ 
 +[[products:sbc:vim2:development:linux:build-ubuntu|Build Ubuntu]]. 
 + 
 + 
 + 
 + 
Last modified: 2022/09/02 01:31 by hyphop