Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


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

Differences

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

Link to this comparison view

Next revision
Previous revision
products:sbc:edge2:development:linux:build-linux-uboot [2022/07/15 23:37]
127.0.0.1 external edit
products:sbc:edge2:development:linux:build-linux-uboot [2022/09/05 04:21] (current)
nick
Line 2: Line 2:
  
  
-====== Edge1 Build Linux U-Boot ======+====== Edge2 Build Linux U-Boot ======
  
  
Line 9: Line 9:
 ===== Setup Environment ===== ===== Setup Environment =====
  
-Choose your ''board'' (e.g. ''Edge''), ''U-Boot version'', ''Linux version'', ''system version'', etc.+Choose your ''board'' (e.g. ''Edge2''), ''U-Boot version'', ''Linux version'', ''system version'', etc.
  
-```sh+```shell
 $ source setenv.sh $ source setenv.sh
 ``` ```
Line 21: Line 21:
 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'', ''u-boot.bin'', and ''u-boot.bin.spi.bin''.+The binaries are located in U-Boot source code root directory. You'll need ''uboot.img'' and ''rk3588_spl_loader_vx.xx.xxx.bin''.
  
-  * ''u-boot.bin.sd.bin''for flashing to the **SD card** +  * ''uboot.img''U-Boot image. 
-  * ''u-boot.bin''for flashing to the **eMMC** +  * ''rk3588_spl_loader_vx.xx.xxx.bin''SPL loader image, ''x.xx.xxx'' means version, e.g. ''1.07.111''
-  * ''u-boot.bin.spi.bin'' - for flashing to the **SPI Flash**+
  
 ===== Build U-Boot Debian package ===== ===== Build U-Boot Debian package =====
Line 35: Line 34:
 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 41: Line 40:
 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.1.1''\\ 
-**BOARD** : refers to the Khadas SBC, e.g. ''Edge''+**BOARD** : refers to the Khadas SBC, e.g. ''Edge2''
  
-The folder location is ''build/images/debs/1.0.11/Edge'', and the Debian U-Boot package is ''linux-u-boot-xxx-xxx_xxx-xxx_arm64.deb''.+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-Edge-vendor_1.0.11-2017.09_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 ===== ===== About U-Boot Source Code =====
  
-[[kg>u-boot/tree/khadas-edge-v2017.09|U-Boot for Edge]], the branch is ''khadas-vims-v2017.09''.+[[kg>u-boot/tree/khadas-edges-v2017.09|U-Boot for Edge2]], the branch is ''khadas-edges-v2017.09''.
  
-===== See Aslo =====+===== See also =====
  
-[[products:sbc:edge1:configurations:upgrade-linux-uboot|Upgrade U-Boot]].\\ +  * [[products:sbc:edge2:configurations:upgrade-linux-uboot]] 
-[[products:sbc:edge1:development:linux:build-linux-kernel|Build Linux Kerenl]].\\ +  [[products:sbc:edge2:development:linux:build-linux-kernel]] 
-[[products:sbc:edge1:development:linux:build-ubuntu|Build Ubuntu]].+  [[products:sbc:edge2:development:linux:build-ubuntu]]
  
  
Last modified: 2022/07/15 23:37 by 127.0.0.1