Hi Trenz.
We understand that in order to have the GT lanes working we need to use the modified FSBL to make sure the peripherals are getting the correct clocks.
We are currently using vivado 2018.3 and we would like to have the step of FSBL building taken care of by a bitbake patch recipe.
In order to do that, we downloaded the fsbl from Xilinx for 2018.3 and diff the Trenz's FSBL code from the StarterKit (2018.2). The patch is then deployed with fsbl_%.bbappend :
# Patch for FSBL
do_configure() {
if [ -d "${S}/patches" ]; then
rm -rf ${S}/patches
fi
if [ -d "${S}/.pc" ]; then
rm -rf ${S}/.pc
fi
}
SRC_URI_append = " \
file://0001-trenz-fsbl.patch \
"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
EXTERNALXSCTSRC = ""
EXTERNALXSCTSRC_BUILD = ""
This doesn't work and results in errors see below:
| DEBUG: Executing shell function do_compile
| /path-to-project/build/tmp/work/plnx_zynqmp-xilinx-linux/fsbl/2018.3+gitAUTOINC+56f3da2afb-r0/temp/run.do_compile.25810: line 109: cd: /path-to-project/build/tmp/work/plnx_zynqmp-xilinx-linux/fsbl/2018.3+gitAUTOINC+56f3da2afb-r0/build/fsbl: No such file or directory
Questions:
- Do you have an example .bbappend file to use for FSBL patching?
- It is possible that we have version mismatch between 2018.2 and 2018.3. Do you have an update of the FSBL code to the latest vivado version (2018.3) for the starterkit.
- What do you recommend to use ? FSBL through bitbake recipes or "external" compilation of FSBL ?
Thanks in advance for your answers and help!
Anisse