summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2015-04-14 14:35:56 +1000
committerNathan Rossi <nathan.rossi@xilinx.com>2015-04-14 14:35:56 +1000
commit23503ff24962478e1decb16be7011cca31c1c21a (patch)
treed816c2e9e4d350fcb33987a3acb0d8154951f86d
parente1a7205fa5cf2a6186121c8394cb18d59b477e27 (diff)
downloadmeta-xilinx-23503ff24962478e1decb16be7011cca31c1c21a.tar.gz
kc705-trd_2013.1: Add recipe for retrieveing KC705 TRD Bitstream
* The recipe downloads the pre-built bitstream from the Xilinx that is provided as part of the TRD * Bitstream is populated into /boot/download.bit and is also populated into the deploy directory * The recipe provides the 'virtual/bitstream' target Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
-rw-r--r--conf/machine/kc705-trd-microblazeel.conf3
-rw-r--r--recipes-bsp/reference-design/kc705-trd_2013.1.bb42
2 files changed, 45 insertions, 0 deletions
diff --git a/conf/machine/kc705-trd-microblazeel.conf b/conf/machine/kc705-trd-microblazeel.conf
index be46e31a..43063c6c 100644
--- a/conf/machine/kc705-trd-microblazeel.conf
+++ b/conf/machine/kc705-trd-microblazeel.conf
@@ -24,3 +24,6 @@ SERIAL_CONSOLE = "115200 ttyS0"
24 24
25MACHINE_DEVICETREE := "kc705/kc705-trd-microblazeel.dts" 25MACHINE_DEVICETREE := "kc705/kc705-trd-microblazeel.dts"
26MACHINE_XPARAMETERS := "kc705/kc705-trd-microblazeel.xparameters.h" 26MACHINE_XPARAMETERS := "kc705/kc705-trd-microblazeel.xparameters.h"
27
28EXTRA_IMAGEDEPENDS += "virtual/bitstream"
29
diff --git a/recipes-bsp/reference-design/kc705-trd_2013.1.bb b/recipes-bsp/reference-design/kc705-trd_2013.1.bb
new file mode 100644
index 00000000..9384a9cc
--- /dev/null
+++ b/recipes-bsp/reference-design/kc705-trd_2013.1.bb
@@ -0,0 +1,42 @@
1SUMMARY = "KC705 Targeted Reference Design"
2DESCRIPTION = "Contains the Reference Design Files and pre-built bitstream."
3HOMEPAGE = "http://www.xilinx.com"
4SECTION = "bsp"
5
6LICENSE = "Proprietary"
7LIC_FILES_CHKSUM = "file://readme.txt;md5=3460f0b771d39ff306837a28cd1d2532"
8
9COMPATIBLE_MACHINE = "kc705-trd-microblazeel"
10
11SRC_URI = "http://www.xilinx.com/support/documentation/boards_and_kits/k7_emb/2013_1/k7-embedded-trd-rdf0283.zip"
12SRC_URI[md5sum] = "226cac219b1307cd465caa411d76d657"
13SRC_URI[sha256sum] = "82096948c2c74a16f4d6c5a43d9e6d76eab73e322ace56d30f9c84a9be43edbe"
14
15S = "${WORKDIR}/k7-embedded-trd-rdf0283"
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}/KC705_Embedded_Kit/KC705_System/ready_for_download/download.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