Building U-Boot (XUELK)

From DAVE Developer's Wiki
Jump to: navigation, search
Info Box
AXEL ULite-top.png Applies to AXEL ULite
SBC Lynx-top.png Applies to SBC Lynx

History

Version Date XUELK version Notes

1.0.0

August 2015 XUELK 1.0.0

1.1.3

March 2017 XUELK 1.1.3
1.2.0 May 2017 XUELK 1.2.0 Update for new XUELK release

Quick reference

Repository Information
URL git@git.dave.eu:lynx/u-boot-imx.git
stable branch lynx
stable tag xuelk-1.2.1

U-Boot defconfigs
Platform SOM ConfigID CB ConfigID defconfig
SBC Lynx 0x00000008, 0x0000000C, 0x00000013 any mx6ul_lynx_defconfig
Axel ULite 0x0000000B, 0x00000014 any mx6ul_axelulite_defconfig

Detailed Instructions

It is assumed that the development environment has been set up properly as described here.

  • start the Linux development VM and login into the system
  • open a terminal window and cd into U-Boot source code
cd lynx/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 mx6ul_lynx_defconfig
make

NOTE: this is the default configuration suitable for latest SBC Lynx target.

The former command selects the default XUELK configuration suitable for latest SBC Lynx 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.img).

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

cp u-boot.img /tftpboot/lynx/

Please refer to Flashing Images (XUELK)#U-Boot for more information in how to update the bootloader on you board.