B E L K Q u i c k S t a r t G u i d e
v . 1 . 0 . 9
Select
Template
:
Zynq FSBL
Click on
Finish
Apply the patch, right-clicking on bora_FSBL
in Project Explorer and then clicking on
Team ->
Apply Patch..
From
Browse...
open the file
<bora_repo>/patch/belk-sd-boot.patch
Click
Next
Select
Apply the patch to the selected file,
folder or project
:
and select
main.c
from
bora_FSBL -> src
Click
Next
Check that the patch is correctly applied to
the source code and click on
Finish
●
with the same procedure, apply the patches to fix
DDR3 CKE deassertion time (see also
http://www.xilinx.com/support/answers/65145.html
):
apply
<bora_repo>/patch/AR65145_ps7_init_c.patch
on
ps7_init.c
under
bora_wrapper_hw_platform_0
apply
<bora_repo>/patch/AR65145_ps7_init_tcl.patch
on
ps7_init.tcl
under
bora_wrapper_hw_platform_0
●
the FSBL (ELF file) is built automatically
●
create the binary from the FSBL ELF chosing one of
the following options:
(this step is board dependent) manually launch the
command:
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
(this step is board dependent) configure the
automatic binary generation on project build. In
Project Explorer, right-click on “bora_FSBL” project
and select
C/C++ Build Settings
and add the
March, 2016
40/66