summaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2016-05-12 17:31:30 -0700
committerNathan Rossi <nathan@nathanrossi.com>2016-05-13 17:14:00 +1000
commit26a89b7fc84b8fc03d5a664950a645e6981ff0cf (patch)
treef6796978374b216015f209e74b833ae68c0e2b5b /recipes-bsp
parent2660bf2ae5ad04c83dafd23f84ff6711d6a460a3 (diff)
downloadmeta-xilinx-26a89b7fc84b8fc03d5a664950a645e6981ff0cf.tar.gz
kc705-bitstream_2016.1.bb: Add prebuilt bitstream
Add the recipe to fetch the v2016.1 bitstream for KC705 kit Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/reference-design/kc705-bitstream_2016.1.bb42
1 files changed, 42 insertions, 0 deletions
diff --git a/recipes-bsp/reference-design/kc705-bitstream_2016.1.bb b/recipes-bsp/reference-design/kc705-bitstream_2016.1.bb
new file mode 100644
index 00000000..75689e0e
--- /dev/null
+++ b/recipes-bsp/reference-design/kc705-bitstream_2016.1.bb
@@ -0,0 +1,42 @@
1SUMMARY = "KC705 design file for bitstream"
2DESCRIPTION = "Contains the pre-built bitstream and hardware project."
3HOMEPAGE = "http://www.xilinx.com"
4SECTION = "bsp"
5
6LICENSE = "Proprietary"
7LIC_FILES_CHKSUM = "file://implementation/system.mmi;md5=1992d9c9006c524f4178949897749f21"
8
9COMPATIBLE_MACHINE = "kc705-microblazeel"
10
11SRC_URI = "http://www.xilinx.com/support/documentation/boards_and_kits/k7_emb/2016_1/xilinx-kc705-axi-full-2016.1.tar"
12SRC_URI[md5sum] = "59ade57ab0a15c8700c129f040fe4c75"
13SRC_URI[sha256sum] = "8e3e5c5d30e6d02eaa58cb6e9255b8d6456857185744904fb931e3d8e44ba62e"
14
15S = "${WORKDIR}/Xilinx-KC705-AXI-full-2016.1"
16
17PROVIDES = "virtual/bitstream"
18
19FILES_${PN} += "/boot/download.bit"
20
21INHIBIT_DEFAULT_DEPS = "1"
22PACKAGE_ARCH = "${MACHINE_ARCH}"
23
24# Copy the bitstream into the boot directory
25do_install() {
26 install -d ${D}/boot
27 install ${S}/implementation/system.bit ${D}/boot/download.bit
28}
29
30do_compile() {
31 :
32}
33
34do_deploy () {
35 install -d ${DEPLOY_DIR_IMAGE}
36 if [ -e ${D}/boot/download.bit ]; then
37 install ${D}/boot/download.bit ${DEPLOY_DIR_IMAGE}/download.bit
38 fi
39}
40
41addtask deploy before do_build after do_install
42