prueth-fw-bin: add AM65xx binary FW
PATCH 2/2 linux-ti-staging: pull in AM65xx PRUETH binary FW
In reply to Denys DmytriyenkoSigned-off-by Denys Dmytriyenko <[email protected]>
--- recipes-kernel/linux/linux-ti-staging_4.14.bb | 1 + 1 file changed, 1 insertion(+)
recipes-kernel/linux/linux-ti-staging_4.14.bb +1 -0
@@ -47,6 +47,7 @@ RDEPENDS_kernel-base_append_am57xx-evm = " prueth-fw" RDEPENDS_kernel-base_append_am437x-evm = " prueth-fw" RDEPENDS_kernel-base_append_am335x-evm = " prueth-fw" RDEPENDS_kernel-base_append_k2g = " prueth-fw" +RDEPENDS_kernel-base_append_am65xx-evm = " prueth-fw-bin" KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
Signature · 1 line
2.7.4
PATCH 1/2 prueth-fw-bin: add AM65xx binary FW
Signed-off-by Denys Dmytriyenko <[email protected]>
--- 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
recipes-bsp/prueth-fw/prueth-fw-bin_git.bb new file +32 -0
@@ -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"
Signature · 1 line
2.7.4