diff options
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 | |||
