summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2015-12-18 16:20:48 -0500
committerDenys Dmytriyenko <denys@ti.com>2015-12-22 11:33:44 -0500
commitc5a3170d766cb4ea476171ee72d868242dcb6348 (patch)
tree75ead0f8b3ee54f2f83554e4f50b37ac38b08923
parent120ecb5a16a733baeaf5f844441beb66e0f1c568 (diff)
downloadmeta-ti-c5a3170d766cb4ea476171ee72d868242dcb6348.tar.gz
serdes-fw: add SerDes firmware images for Keystone
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r--recipes-bsp/serdes-fw/serdes-fw_git.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes-bsp/serdes-fw/serdes-fw_git.bb b/recipes-bsp/serdes-fw/serdes-fw_git.bb
new file mode 100644
index 00000000..2564cec7
--- /dev/null
+++ b/recipes-bsp/serdes-fw/serdes-fw_git.bb
@@ -0,0 +1,36 @@
1DESCRIPTION = "SerDes firmware for Keystone PCIe and 1/10GigE"
2
3LICENSE = "TI-TFL"
4LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c"
5
6PV = "1.0.0"
7PR = "r0"
8
9CLEANBROKEN = "1"
10
11COMPATIBLE_MACHINE = "keystone"
12
13PACKAGE_ARCH = "${MACHINE_ARCH}"
14
15SRCREV = "8756d98081e1011a1334b0769f13ffb31d3b41bd"
16BRANCH ?= "ti-linux-firmware-4.1.y"
17
18SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
19
20S = "${WORKDIR}/git"
21ORIGINPCIE = "ks2_pcie_serdes_1.0.0.bin"
22ORIGINGBE = "ks2_gbe_serdes_1.0.0.bin"
23ORIGINXGBE = "ks2_xgbe_serdes_1.0.0.bin"
24
25TARGETPCIE = "ks2_pcie_serdes.bin"
26TARGETGBE = "ks2_gbe_serdes.bin"
27TARGETXGBE = "ks2_xgbe_serdes.bin"
28
29do_install() {
30 install -d ${D}${base_libdir}/firmware
31 install -m 0644 ${S}/ti-keystone/${ORIGINPCIE} ${D}${base_libdir}/firmware/${TARGETPCIE}
32 install -m 0644 ${S}/ti-keystone/${ORIGINGBE} ${D}${base_libdir}/firmware/${TARGETGBE}
33 install -m 0644 ${S}/ti-keystone/${ORIGINXGBE} ${D}${base_libdir}/firmware/${TARGETXGBE}
34}
35
36FILES_${PN} = "${base_libdir}/firmware"