diff options
| author | Jacob Stiffler <j-stiffler@ti.com> | 2019-12-17 21:51:04 +0000 |
|---|---|---|
| committer | Denys Dmytriyenko <denys@ti.com> | 2019-12-18 04:16:12 +0000 |
| commit | 86386e9a041a6754a7d7a65efaa614cf891ee775 (patch) | |
| tree | e96dd5da50f07e805a59a536449e4e54666734e4 | |
| parent | 9cd23a0d60414dd65ab63dcb8dc4a88241257788 (diff) | |
| download | meta-ti-86386e9a041a6754a7d7a65efaa614cf891ee775.tar.gz | |
prusw-fw: PRU switch firmware for am57xx
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
| -rw-r--r-- | recipes-bsp/prusw-fw/prusw-fw_git.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/recipes-bsp/prusw-fw/prusw-fw_git.bb b/recipes-bsp/prusw-fw/prusw-fw_git.bb new file mode 100644 index 00000000..2921fb1d --- /dev/null +++ b/recipes-bsp/prusw-fw/prusw-fw_git.bb | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | DESCRIPTION = "PRU Switch firmware for AM57xx" | ||
| 2 | |||
| 3 | require recipes-ti/includes/ti-paths.inc | ||
| 4 | require recipes-bsp/icss-emac-lld/icss-emac-lld.inc | ||
| 5 | |||
| 6 | LICENSE = "TI-TFL" | ||
| 7 | LIC_FILES_CHKSUM = "file://icss_dualemac/src/firmware_version.h;beginline=6;endline=53;md5=1f0a640a261059cdcbbcf01e6a739ff3" | ||
| 8 | |||
| 9 | PR = "${INC_PR}.0" | ||
| 10 | |||
| 11 | TI_PDK_COMP = "ti.drv.icss_emac.firmware" | ||
| 12 | |||
| 13 | B = "${S}/icss_switch" | ||
| 14 | |||
| 15 | COMPATIBLE_MACHINE = "dra7xx" | ||
| 16 | |||
| 17 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 18 | |||
| 19 | DEPENDS = "ti-cgt-pru-native" | ||
| 20 | |||
| 21 | PRU_VERSION = "" | ||
| 22 | PRU_VERSION_dra7xx = "REV2" | ||
| 23 | |||
| 24 | FW_PREFIX = "" | ||
| 25 | FW_PREFIX_dra7xx = "am57xx" | ||
| 26 | |||
| 27 | |||
| 28 | EXTRA_OEMAKE += "CL_PRU_INSTALL_PATH="${TI_CGT_PRU_INSTALL_DIR}" PRU_VERSION_LIST="${PRU_VERSION}"" | ||
| 29 | |||
| 30 | do_install() { | ||
| 31 | install -d ${D}${base_libdir}/firmware/ti-pruss | ||
| 32 | install -m 0644 ./elf/${PRU_VERSION}/icss_stp_switch_PRU0.elf \ | ||
| 33 | ${D}${base_libdir}/firmware/ti-pruss/${FW_PREFIX}-pru0-prusw-fw.elf | ||
| 34 | install -m 0644 ./elf/${PRU_VERSION}/icss_stp_switch_PRU1.elf \ | ||
| 35 | ${D}${base_libdir}/firmware/ti-pruss/${FW_PREFIX}-pru1-prusw-fw.elf | ||
| 36 | } | ||
| 37 | |||
| 38 | FILES_${PN} = "${base_libdir}/firmware" | ||
| 39 | |||
| 40 | INSANE_SKIP_${PN} = "arch" | ||
