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