From 0d959d68aa883f70684cfcbd5fe3b9e33d0c27f3 Mon Sep 17 00:00:00 2001 From: Murali Karicheri Date: Tue, 7 Jul 2020 23:33:59 +0000 Subject: prueth-hsr/prp: add hsr/prp firmware recipe for version 2.15.23 This patch adds recipe for hsr/prp firmware on am3/4/5 SoCs. The binary files are located on ti-linux-firmware.git. This is a forward port of the recipe from processor sdk 6.3 Signed-off-by: Jacob Stiffler Signed-off-by: Murali Karicheri Signed-off-by: Denys Dmytriyenko --- recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb | 36 ++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb (limited to 'recipes-bsp/pruhsr-fw') diff --git a/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb new file mode 100644 index 00000000..0c7e7148 --- /dev/null +++ b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb @@ -0,0 +1,36 @@ +SUMMARY = "PRU HSR firmware for AM335x/AM437x/AM57xx" + +LICENSE = "TI-TFL" +LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76" + +PV = "2.15.23" +PE = "1" +PR = "r0" + +COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29" +BRANCH ?= "ti-linux-firmware" + +SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}" + +S = "${WORKDIR}/git" + +TARGET = "" +TARGET_ti33x = "am335x-pru0-pruhsr-fw.elf am335x-pru1-pruhsr-fw.elf" +TARGET_ti43x = "am437x-pru0-pruhsr-fw.elf am437x-pru1-pruhsr-fw.elf" +TARGET_am57xx-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf" +TARGET_am57xx-hs-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-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" -- cgit v1.2.3-54-g00ecf