diff options
author | Denys Dmytriyenko <denys@ti.com> | 2015-12-18 16:20:48 -0500 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2015-12-22 11:33:44 -0500 |
commit | c5a3170d766cb4ea476171ee72d868242dcb6348 (patch) | |
tree | 75ead0f8b3ee54f2f83554e4f50b37ac38b08923 | |
parent | 120ecb5a16a733baeaf5f844441beb66e0f1c568 (diff) | |
download | meta-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.bb | 36 |
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 @@ | |||
1 | DESCRIPTION = "SerDes firmware for Keystone PCIe and 1/10GigE" | ||
2 | |||
3 | LICENSE = "TI-TFL" | ||
4 | LIC_FILES_CHKSUM = "file://LICENCE.ti-keystone;md5=3a86335d32864b0bef996bee26cc0f2c" | ||
5 | |||
6 | PV = "1.0.0" | ||
7 | PR = "r0" | ||
8 | |||
9 | CLEANBROKEN = "1" | ||
10 | |||
11 | COMPATIBLE_MACHINE = "keystone" | ||
12 | |||
13 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
14 | |||
15 | SRCREV = "8756d98081e1011a1334b0769f13ffb31d3b41bd" | ||
16 | BRANCH ?= "ti-linux-firmware-4.1.y" | ||
17 | |||
18 | SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}" | ||
19 | |||
20 | S = "${WORKDIR}/git" | ||
21 | ORIGINPCIE = "ks2_pcie_serdes_1.0.0.bin" | ||
22 | ORIGINGBE = "ks2_gbe_serdes_1.0.0.bin" | ||
23 | ORIGINXGBE = "ks2_xgbe_serdes_1.0.0.bin" | ||
24 | |||
25 | TARGETPCIE = "ks2_pcie_serdes.bin" | ||
26 | TARGETGBE = "ks2_gbe_serdes.bin" | ||
27 | TARGETXGBE = "ks2_xgbe_serdes.bin" | ||
28 | |||
29 | do_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 | |||
36 | FILES_${PN} = "${base_libdir}/firmware" | ||