[meta-ti] [rocko/master][PATCH 1/2] prueth-fw-bin: add AM65xx binary FW
Denys Dmytriyenko
denys at ti.com
Wed Jun 27 10:03:31 PDT 2018
Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
recipes-bsp/prueth-fw/prueth-fw-bin_git.bb | 32 ++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 recipes-bsp/prueth-fw/prueth-fw-bin_git.bb
diff --git a/recipes-bsp/prueth-fw/prueth-fw-bin_git.bb b/recipes-bsp/prueth-fw/prueth-fw-bin_git.bb
new file mode 100644
index 0000000..b3bbb6b
--- /dev/null
+++ b/recipes-bsp/prueth-fw/prueth-fw-bin_git.bb
@@ -0,0 +1,32 @@
+SUMMARY = "PRU Ethernet firmware for AM65xx"
+
+LICENSE = "TI-TFL"
+LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
+
+PV = "1.0.0"
+
+CLEANBROKEN = "1"
+
+COMPATIBLE_MACHINE = "am65xx-evm"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRCREV = "5d8d6e8b1ec0d95ea29ca5b1c4ca09c14a6b5166"
+BRANCH ?= "ti-linux-firmware-4.1.y"
+
+SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+TARGET = "am65x-pru0-prueth-fw.elf am65x-pru1-prueth-fw.elf am65x-rtu0-prueth-fw.elf am65x-rtu1-prueth-fw.elf"
+
+do_install() {
+ install -d ${D}${base_libdir}/firmware/ti-pruss
+ for f in ${TARGET}; do
+ install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
+ done
+}
+
+FILES_${PN} = "${base_libdir}/firmware"
+
+INSANE_SKIP_${PN} = "arch"
--
2.7.4
More information about the meta-ti
mailing list