diff options
| author | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2016-05-12 17:31:30 -0700 |
|---|---|---|
| committer | Nathan Rossi <nathan@nathanrossi.com> | 2016-05-13 17:14:00 +1000 |
| commit | 26a89b7fc84b8fc03d5a664950a645e6981ff0cf (patch) | |
| tree | f6796978374b216015f209e74b833ae68c0e2b5b /recipes-bsp | |
| parent | 2660bf2ae5ad04c83dafd23f84ff6711d6a460a3 (diff) | |
| download | meta-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.bb | 42 |
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 @@ | |||
| 1 | SUMMARY = "KC705 design file for bitstream" | ||
| 2 | DESCRIPTION = "Contains the pre-built bitstream and hardware project." | ||
| 3 | HOMEPAGE = "http://www.xilinx.com" | ||
| 4 | SECTION = "bsp" | ||
| 5 | |||
| 6 | LICENSE = "Proprietary" | ||
| 7 | LIC_FILES_CHKSUM = "file://implementation/system.mmi;md5=1992d9c9006c524f4178949897749f21" | ||
| 8 | |||
| 9 | COMPATIBLE_MACHINE = "kc705-microblazeel" | ||
| 10 | |||
| 11 | SRC_URI = "http://www.xilinx.com/support/documentation/boards_and_kits/k7_emb/2016_1/xilinx-kc705-axi-full-2016.1.tar" | ||
| 12 | SRC_URI[md5sum] = "59ade57ab0a15c8700c129f040fe4c75" | ||
| 13 | SRC_URI[sha256sum] = "8e3e5c5d30e6d02eaa58cb6e9255b8d6456857185744904fb931e3d8e44ba62e" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/Xilinx-KC705-AXI-full-2016.1" | ||
| 16 | |||
| 17 | PROVIDES = "virtual/bitstream" | ||
| 18 | |||
| 19 | FILES_${PN} += "/boot/download.bit" | ||
| 20 | |||
| 21 | INHIBIT_DEFAULT_DEPS = "1" | ||
| 22 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 23 | |||
| 24 | # Copy the bitstream into the boot directory | ||
| 25 | do_install() { | ||
| 26 | install -d ${D}/boot | ||
| 27 | install ${S}/implementation/system.bit ${D}/boot/download.bit | ||
| 28 | } | ||
| 29 | |||
| 30 | do_compile() { | ||
| 31 | : | ||
| 32 | } | ||
| 33 | |||
| 34 | do_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 | |||
| 41 | addtask deploy before do_build after do_install | ||
| 42 | |||
