Building U-Boot (BELK/BXELK)

From DAVE Developer's Wiki
Jump to: navigation, search
Info Box
Bora5-small.jpg Applies to Bora
BORA Xpress.png Applies to BORA Xpress

History[edit | edit source]

Version Date BELK version Notes
1.0.0 November 2015 3.0.0 First release

Instructions[edit | edit source]

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

  • start the Linux development server and login into the system
  • assuming that a local repository has not been created, clone the remote U-Boot git repository (the “-b” option is used to automatically checkout the current branch):

git clone git@git.dave.eu:dave/bora/u-boot-xlnx.git -b bora

  • Setup the server environment (please refer to this section)
  • enter the source tree directory and select the desired target by issuing one of the following commands:
make bora_qspi_config
make bora_mmc_config
make bora_noflash_config
bora_qspi: this target is available for BORA only. U-Boot is built to use NOR flashed based environment.
bora_mmc: this target is available for BORA only. U-Boot environment is placed in SD/MMC card.
bora_noflash: this target is available for BORA and BORAX. U-Boot environment is placed in SD/MMC card. NOR flash and NAND flash are disabled.
  • build U-Boot by issuing make command. This will generate U-Boot binary images.

Subsequent builds just require make command, without targets, to update the binary images. Once the build process is complete, the binary images can be copied to the tftp root directory (eg. /srv/tftp/belk/) with the following command: cp u-boot.bin /srv/tftp/belk/.