Open main menu

DAVE Developer's Wiki β

Changes

no edit summary
*create the binary from the FSBL ELF chosing one of the following options:
**launch this command manually
<precode>arm-xilinx-eabi-objcopy -v -O binary $PROJ_DIR/bora.sdk/SDK/SDK_Export/bora_FSBL/Debug/bora_FSBL.elf $PROJ_DIR/bora.sdk/SDK/SDK_Export/bora_FSBL/Debug/bora_FSBL.bin</precode>**:configure the automatic binary generation on project build. In Project Explorer, right-click on ''bora_FSBL'' project, select C/C++ Build Settings and add the command <code>arm-xilinx-eabi-objcopy -v -O binary ${ProjName}.elf ${ProjName}.bin</code> on Post-build steps
*create the <code>BOOT.bin</code> image (single file including FSBL, FPGA and U-boot for uSD boot:
**select the ''bora_FSBL project'' in ''Project Explorer''
**<code>bora_wrapper.bit</code>, which is the bitstream generated by the Vivado project (<u>Partition Type must be Datafile</u>)
**<code>u-boot.elf</code>, which is the compiled U-Boot with .elf extension (<u>Partition Type must be Datafile</u>)
*in ''Output path'', select the path for the <ucode>BOOT.bin</ucode> file.
==Creating and building a Zynq project for BORA/BORAX using the Vivado GUI==
*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/ :
4,650
edits