Open main menu

DAVE Developer's Wiki β

Building U-Boot (DIVELK)

Revision as of 12:08, 8 March 2019 by U0007 (talk | contribs)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Info Box
Diva-am335x-overview.png Applies to Diva


Version Date DIVELK version Notes


June 2017 DIVELK 3.0.0 DIVELK release
4.0.0 April 2018

March 2019
DIVELK 4.0.0

DIVELK 4.0.1
DIVELK release

Quick referenceEdit

Repository Information
stable branch diva
stable tag divelk-4.0.0

U-Boot defconfigs
Platform SOM ConfigID CB ConfigID defconfig
DIVELK 0x00000001 0x00000001 make diva_defconfig
SBCD 0x00000001 0x00000002 make diva_defconfig

Detailed InstructionsEdit

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 diva/u-boot
  • in case of needs you can update your local repository with the following git command
git pull
  • configure the build environment
source ~/
  • enter the source tree directory and run the following commands:
make diva_defconfig

NOTE: this is the default configuration suitable for latest DIVA target. The other defined configs for different boot sources are:

 make diva_defconfig
 make diva_spiboot_defconfig
 make diva_nandboot_defconfig
 make diva_devel_defconfig
The former command selects the default DIVA configuration suitable for latest DIVELK targets, while the latter builds the U-Boot binaries (MLO, MLO.byteswap. u-boot.img).

u-boot binaries can be copied to the tftp root directory /tftpboot/diva/ with the following command:

cp MLO /tftpboot/diva/
cp MLO.byteswap /tftpboot/diva/
cp u-boot.img /tftpboot/diva/

Please refer to Standalone_boot_(DIVELK) for more information in how to update the bootloader on you board.