Difference between revisions of "Creating and building example Vivado project (BELK/BXELK)"

From DAVE Developer's Wiki
Jump to: navigation, search
(Created page with "The following sections describe how to perform the most common tasks for building the software components for a BORA/BORAX-based embedded system. ==Creating and building a Zyn...")
 
Line 5: Line 5:
 
*:<code>git clone git@git.dave.eu:dave/bora/bora.git</code>
 
*:<code>git clone git@git.dave.eu:dave/bora/bora.git</code>
 
*copy the <code><bora_repo>/boards/board_parts/zynq/BELK_2.2.0</code> directory to <code><vivado_2014.4_install_dir>/data/boards/board_parts/zynq/</code> :
 
*copy the <code><bora_repo>/boards/board_parts/zynq/BELK_2.2.0</code> directory to <code><vivado_2014.4_install_dir>/data/boards/board_parts/zynq/</code> :
*:<pre><cd <bora_repo>
+
<pre>
sudo cp -r boards/board_parts/zynq/BELK_2.2.0 /opt/Xilinx/Vivado/2014.4/data/boards/board_parts/zynq//pre>
+
cd <bora_repo>
 +
sudo cp -r boards/board_parts/zynq/BELK_2.2.0 /opt/Xilinx/Vivado/2014.4/data/boards/board_parts/zynq/
 +
</pre>
 
*enter the git directory and launch the following command
 
*enter the git directory and launch the following command
*:<pre>
+
*:<code>export PROJ_DIR=$(pwd)/../bora-build-YYYYMMDD-nobk</code>
export PROJ_DIR=$(pwd)/../bora-build-YYYYMMDD-nobk
+
*launch the Vivado Design Suite with the following commands:
 +
<pre>
 +
. /opt/Xilinx/Vivado/2014.4/settings64.sh1
 +
vivado -mode tcl -source build_project.tcl -notrace -tclargs "-bitstream"
 
</pre>
 
</pre>
*launch the Vivado Design Suite with the following commands:
 

Revision as of 10:17, 28 October 2015

The following sections describe how to perform the most common tasks for building the software components for a BORA/BORAX-based embedded system.

Creating and building a Zynq project for BORA using the command line[edit | edit source]

  • start the Zynq development server and login into the system
  • assuming that a local repository has not been created, clone the remote BORA git repository:
    git clone git@git.dave.eu:dave/bora/bora.git
  • copy the <bora_repo>/boards/board_parts/zynq/BELK_2.2.0 directory to <vivado_2014.4_install_dir>/data/boards/board_parts/zynq/ :
cd <bora_repo>
sudo cp -r boards/board_parts/zynq/BELK_2.2.0 /opt/Xilinx/Vivado/2014.4/data/boards/board_parts/zynq/
  • enter the git directory and launch the following command
    export PROJ_DIR=$(pwd)/../bora-build-YYYYMMDD-nobk
  • launch the Vivado Design Suite with the following commands:
. /opt/Xilinx/Vivado/2014.4/settings64.sh1
vivado -mode tcl -source build_project.tcl -notrace -tclargs "-bitstream"