Hi there,
I have two questions about the meta-xilinx-tools ability to generate output
files based on an HDF file:
1. I am able to successfully build BOOT.bin from my HDF file, however it
does not automatically load the bitstream when I boot the device. Is there
something else that I need to do in order to get BOOT.bin to configure the PL
before launching u-boot?
2. I have been struggling to get the meta-xilinx-tools to generate a DTB
from my HDF file. I am successfully able to build BOOT.bin, however the device
tree blob that is generated in tmp/deploy/images/zedboard-zynq7 does not
contain my PL peripheral (it is just the default DTB). I have already verified
that the HDF file is correct. Is there something else I need to do in order to
have meta-xilinx-tools create the DTB for my design based on the HDF?
For reference, you can find the relevant sections of my local.conf below.
Thanks!
###########################
# meta-xilinx-tools configurations
###########################
# Define path to xsct tools (needed for bitfile generation)
XILINX_VER_MAIN = "2016.4"
XILINX_SDK_TOOLCHAIN = "/opt/Xilinx/SDK/${XILINX_VER_MAIN}"
# Define path to HDF (TODO: we should be using our project hosted on GIT)
HDF_BASE = "file://"
HDF_PATH =
"/home/brett/Vivado_WS/sha256test/sha256test.sdk/design_1_wrapper.hdf"
#add Boot.bin dependency
IMAGE_CLASSES += " xilinx-bootbin"
#specify BIF partition attributes required for BOOT.bin
BIF_PARTITION_ATTR= "fsbl bitstream u-boot"
# specify BIF partition attributes for FSBL
# bootloader is FSBL. Location where FSBL binary is present and dependency to
build FSBL
BIF_PARTITION_IMAGE[fsbl]="${DEPLOY_DIR_IMAGE}/fsbl-${MACHINE}.elf"
BIF_PARTITION_DEPENDS[fsbl]="virtual/fsbl"
# specify BIF partition attributes for bitstream
# enable bitstream-Note this is not enabled by default (missing in
BIF_PARTITION_ATTR)
# TODO: do we need to get rid of download preface?
BIF_PARTITION_IMAGE[bitstream] ?= "${DEPLOY_DIR_IMAGE}/download-${MACHINE}.bit"
BIF_PARTITION_DEPENDS[bitstream] ?= "virtual/bitstream"
# specify BIF partition attributes for u-boot
# Location where u-boot binary is present
BIF_PARTITION_IMAGE[u-boot]="${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.elf"
Best,
Brett Nicholas
[email protected]<mailto:[email protected]>
--
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx