Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim4: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:vim4:development:linux:build-linux-uboot [2022/07/05 03:29]
nick [Build U-Boot Debian package]
products:sbc:vim4:development:linux:build-linux-uboot [2022/08/07 21:24]
ruby
Line 1: Line 1:
 +~~tag>VIM4 uboot~~
 {{indexmenu_n>1}} {{indexmenu_n>1}}
  
 +====== VIM4: Build U-Boot ======
  
-====== Build U-Boot ====== 
  
-===== Ubuntu =====+You can build Ubuntu OS images easily via the link [[kg>Fenix]].Here are the steps how to build U-Boot.
  
-We provided [[kg>fenix|Fenix]] for you to build the Ubuntu OS images easily. You can follow the steps bellow to build U-Boot.+===== Setup Environment =====
  
-==== Setup Environment ====+Choose your ''board'' (e.g. ''VIM4''), ''U-Boot version'', ''Linux version'', or ''system version'',the correct version for your requirements. 
  
-Choose your ''board'' (e.g. ''VIM4''), ''U-Boot version'', ''Linux version'', ''system version'', etc. +```shell
- +
-```sh+
 $ source setenv.sh $ source setenv.sh
 ``` ```
  
-Choose the correct version for your requirements. +===== Build U-Boot =====
- +
-==== Build U-Boot ====+
  
 Build U-Boot with a single command: Build U-Boot with a single command:
  
-```sh+```shell
 $ make uboot $ 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''.+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''for flashing to the **SD card** +  * ''u-boot.bin.sd.bin.signed'' - flashing to the **SD card** 
-  * ''u-boot.bin.signed''for flashing to the **eMMC** +  * ''u-boot.bin.signed'' - flashing to the **eMMC**
-  * ''u-boot.bin.spi.bin.signed'' - for flashing to the **SPI Flash**+
  
-==== Build U-Boot Debian package ====+===== Build U-Boot Debian package =====
  
 You can also choose the Debian U-Boot package: You can also choose the Debian U-Boot package:
  
-```sh+```shell
 $ make uboot-deb $ make uboot-deb
 ``` ```
Line 42: Line 38:
 Debian packages are located in ''build/images/debs/{VERSION}/{BOARD}''. Debian packages are located in ''build/images/debs/{VERSION}/{BOARD}''.
  
-**VERSION** : refers to the Fenix version, e.g. ''1.0.11''+**VERSION** : refers to the Fenix version, e.g. ''1.0.11''\\
 **BOARD** : refers to the Khadas SBC, e.g. ''VIM4'' **BOARD** : refers to the Khadas SBC, e.g. ''VIM4''
  
Line 49: Line 45:
   * SoC Vendor Debian U-Boot package: ''linux-u-boot-vim4-vendor_1.0.11-2019.01_arm64.deb''   * SoC Vendor Debian U-Boot package: ''linux-u-boot-vim4-vendor_1.0.11-2019.01_arm64.deb''
  
-==== About U-Boot Source Code ====+===== About U-Boot Source Code =====
  
-U-Boot for VIM4 is hosted on [[kg>u-boot/tree/khadas-vims-v2019.01|GitHub]], the branch is ''khadas-vims-v2019.01''.+[[kg>u-boot/tree/khadas-vims-v2019.01|U-Boot for VIM4]], the branch is ''khadas-vims-v2019.01''.
  
-===== Android =====+===== See Aslo =====
  
-Build U-Boot for Android here......+  * [[products:sbc:vim4:configurations:upgrade-linux-uboot]] 
 +  * [[products:sbc:vim4:development:linux:build-linux-kernel]] 
 +  * [[products:sbc:vim4:development:linux:build-ubuntu]]
  
  
Last modified: 2022/09/05 04:15 by nick