xsct-tarball.bbclass: adding flag VALIDATE_XSCT_CH...
by Jaewon Lee 6 years 10 months
xsct-tarball.bbclass: adding flag VALIDATE_XSCT_CHECKSUM

Adding a validate checksum flag to toggle a fatal error if checksum is
not the same as the one defined in the class. Default behavior is to
compare the checksums. Also changing chksum_tar to chksum_tar_actual
to go along with this change as chksum_tar is no longer guaranteed to be
the actual checksum of the tarball.

Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
97b64770
fpga-manager-util_1.0.bb: Use HDF_EXT where necess...
by Jaewon Lee 6 years 10 months
fpga-manager-util_1.0.bb: Use HDF_EXT where necessary

As input can either be hdf or dsa format, we need to use variable
HDF_EXT instead of hardcoding an extension. Also copying artifacts from
EXTRA_PATH ending with HDF_EXT extension.

Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
7973aefa
xsct-trim: Enable xsct-tarball and add support in ...
by Jaewon Lee 6 years 10 months
xsct-trim: Enable xsct-tarball and add support in dependent classes/scripts

With xsct-trim, commands and in/outputs have slightly changed. For
example, xsct command must have '-sdx -nodisplay', there are no more
createapp, createbsp, create hw commands, etc. This patch updates xsctapp,
xsctbase, bitstream receipe and script, app.tcl to support the use of
xsct-trim.

Also doing the following:
1. Updating XSCT_PATH_ADD to include correct toolchains in the PATH.
2. Removing xilinx-tool-check wiring for now, as with external tarball
flow, there will be no hsi in the tool path when the build starts.

Signed-off-by: Chaitanya Kamarapu <chaitany@xilinx.com>
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
b91fcf30
xsct-trim: Adding wiring to optionally include the...
by Jaewon Lee 6 years 10 months
xsct-trim: Adding wiring to optionally include the xsct-tarball in the eSDK.

Setting flag 'COPY_XSCT_TO_ESDK' copies the xsct tarball to the esdk and
adds to the environment script so xsct is available in the path once
the environment script is sourced. Default is '0'

Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
123a934a
xsct-trim: Add wiring to support use of external x...
by Jaewon Lee 6 years 10 months
xsct-trim: Add wiring to support use of external xsct-tarball

Adding xsct-tarball class to extract external xsct tarball for use
in build.

The external xsct tarball path is provided using the variable
'EXT_XSCT_TARBALL'

Setting flag 'USE_XSCT_TARBALL' configures build to extract the tarball
provided to sysroots-xsct and sets paths accordingly. Default is '1'

Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2980f1f0
bootbin/xilinx-mcs_1.0.bb : Use "BOOT" instead of ...
by Sreeja Vadakattu 6 years 10 months
bootbin/xilinx-mcs_1.0.bb : Use "BOOT" instead of "boot"

BOOT is used in for final binary output in bootbin class. So, maintain
uniformity to use "BOOT" in caps while deploying images

Signed-off-by: Sreeja Vadakattu <svadakat@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
2ae02c4b
bitstream-microblaze_1.0.bb, xilinx-mcs_1.0.bb : F...
by Sreeja Vadakattu 6 years 10 months
bitstream-microblaze_1.0.bb, xilinx-mcs_1.0.bb : Fix do_deploy basehash mismatch

This patch fixes the below issue :

ERROR: When reparsing
/yocto1/sources/core/../meta-xilinx-tools/recipes-bsp/bitstream/bitstream-microblaze_1.0.bb.do_deploy,
the basehash value changed from ... to .... The metadata is not
deterministic and this needs to be fixed.

bitstream-microblaze can be used seperately without generating boot.mcs,
so add deploy variables in original recipe. Also, use the same variables
in do_deploy task.

Signed-off-by: Sreeja Vadakattu <svadakat@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
93b5c5c0
xilinx-mcs_1.0.bb : add -loadbit args to WR_CFGMEM...
by Sreeja Vadakattu 6 years 10 months
xilinx-mcs_1.0.bb : add -loadbit args to WR_CFGMEM_MISC

Add -loadbit arguments to WR_CFGMEM_MISC. This way WR_CFGMEM_MISC can be
used for appending --loaddata arguments aswell. Ex of usage :
WR_CFGMEM_MISC = "-loadbit \" up 0 images/linux/download.bit\" -loaddata
\" up 0x580000 u-boot-s.bin up 0x5d0000 images/linux/image.ub\""

Signed-off-by: Sreeja Vadakattu <svadakat@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
9097cf35
xilinx-mcs_1.0.bb : make format of bootable image ...
by Sreeja Vadakattu 6 years 10 months
xilinx-mcs_1.0.bb : make format of bootable image configurable

According to documentation of write_cfgmem command of vivado, output
format can be BIN/HEX/MCS. help for format option of write_cfgmem
command:
-format [ BIN | HEX | MCS ] - (Required) The format of the memory
configuration file to write. Supported values include BIN, HEX, and MCS.

BIN/MCS are tested with this recipe. So, add new variable MB_OUT_FORMAT
so that it is configurable when needed.

Signed-off-by: Sreeja Vadakattu <svadakat@xilinx.com>
Tested-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
280228a2
external-hdf.bb: Removing code to deploy extra hdf...
by Jaewon Lee 6 years 10 months
external-hdf.bb: Removing code to deploy extra hdfs

As we are now using extra hdfs from build directory, no longer need to
deploy extra hdfs to the deploy directory.

Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
d381ae4a
Report a bug