Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:edge1: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
products:sbc:edge1:development:linux:build-linux-uboot [2022/07/14 02:32]
frank
products:sbc:edge1:development:linux:build-linux-uboot [2023/02/14 02:54] (current)
nick
Line 11: Line 11:
 Choose your ''board'' (e.g. ''Edge''), ''U-Boot version'', ''Linux version'', ''system version'', etc. Choose your ''board'' (e.g. ''Edge''), ''U-Boot version'', ''Linux version'', ''system version'', etc.
  
-```sh+```shell
 $ source setenv.sh $ source setenv.sh
 ``` ```
  
 Choose the correct version for your requirements. Choose the correct version for your requirements.
- 
-===== Build U-Boot ===== 
- 
-Build U-Boot with a single command: 
- 
-```sh 
-$ 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 ===== ===== Build U-Boot Debian package =====
Line 35: Line 21:
 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 46: Line 32:
 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.0.11/Edge'', 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-edge-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-edge-v2017.09|U-Boot for Edge]], the branch is ''khadas-edge-v2017.09''.
  
 ===== See Aslo ===== ===== See Aslo =====
Last modified: 2022/07/14 02:32 by frank