Open main menu

DAVE Developer's Wiki β

Changes

Building U-Boot (BELK/BXELK)

522 bytes added, 10:49, 30 October 2015
no edit summary
==Instructions==
It is assumed that the development environment has been set up properly as described [[Build_system_(BELK)|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):<code>git clone git@git.dave.eu:dave/bora/u-boot-xlnx.git -b bora</code>*Setup the server environment (please refer to [[Build_system_(BELK)#Pre-built_toolchain|this section 3.3.3.3]])*enter the source tree directory and run select the desired target by issuing one of the following commands:<pre>make bora_configbora_qspimakebora_mmcbora_noflash</pre>the former command selects the default **<code>bora_qspi</code>: this target is <u>available for BORA configuration which only</u>. U-Boot is used built to boot from SPI use NOR Flash, while the latter builds the flashed based environment.**<code>bora_mmc</code>: this target is <u>available for BORA only</u>. U-Boot environment is placed in SD/MMC card.**<code>bora_noflash</code>: this target is <u>available for BORA and BORAX</u>. U-boot Boot environment is placed in SD/MMC card. NOR flash and NAND flash are disabled.* build U-Boot by issuing <code>make</code> command. This will generate U-Boot binary images. Subsequent builds just require ''<code>make'' </code> 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. <code>/srv/tftp/belk/</code>) with the following command:<code>cp u-boot.bin /srv/tftp/belk/</code>.
4,650
edits