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[edit | edit source]

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
2.0.0 Sep 2017 XUELK 2.0.0 Update for new XUELK release
2.0.3 Jan 2019 XUELK 2.0.3 Add support for NOR ISSI

Quick reference[edit | edit source]

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

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[edit | edit source]

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.imx).

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

cp u-boot.imx /tftpboot/lynx/

Please refer to this page for more information on how to update the bootloader on your board.