Building U-Boot (XELK)

From DAVE Developer's Wiki
Jump to: navigation, search
Info Box
Axel-04.png Applies to Axel Ultra
Axel-lite 02.png Applies to Axel Lite
Axel-02.png Applies to AXEL ESATTA
SBC-AXEL-02.png Applies to SBC AXEL

History

Version Date XELK version Notes
1.0.0 Nov 2013 XELK 1.0.0
1.2.0 May 2014 XELK 1.2.0
2.0.0 Nov 2014 XELK 2.0.0
2.1.0 May 2015 XELK 2.1.0
2.2.0 Feb 2016 XELK 2.2.0
2.3.1 Oct 2016 XELK 2.3.1
3.0.1 Nov 2017 XELK 3.0.1

Quick reference

Repository Information
URL git@git.dave.eu:axel/u-boot-imx.git
stable branch axel
stable tag xelk-3.0.1

U-Boot defconfigs
Platform SOM ConfigID defconfig
Axel DualLite any mx6dlaxel_defconfig
Axel Q any mx6qaxel_defconfig

Detailed Instructions

It is assumed that the development environment has been set up.

  • start the Linux development VM and login into the system
  • open a terminal window and cd into U-Boot source code
cd axel/u-boot
  • in case of needs you can update your local repository with the following git command
git pull
  • configure the build environment
source ~/env.sh
  • enter the source tree directory and run the following commands:
make mx6dlaxel_defconfig
make

NOTE: this is the default configuration suitable for latest Axel Dual Lite.

The former command selects the default XELK configuration suitable for latest Axel targets (for additional defconfig please refer to the U-Boot defconfigs table above), while the latter builds the U-Boot binary image itself (u-boot.imx).

u-boot.imx can be copied to the tftp root directory /tftpboot/axel/ with the following command:

cp u-boot.imx /tftpboot/axel/