Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


Sidebar

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

This is an old revision of the document!


Build Linux U-Boot

We provided 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. Edge), U-Boot version, Linux version, system version, etc.

$ source setenv.sh

Choose the correct version for your requirements.

Build U-Boot

Build U-Boot with a single command:

$ 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:

$ 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. Edge

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

About U-Boot Source Code

U-Boot for Edge, the branch is khadas-vims-v2017.09.

See Aslo

Last modified: 2022/07/10 23:11 by frank