mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-07-26 22:07:51 +00:00
prueth-fw: am65x: SR1.0: Package the firmware images from ti-linux-firmware
Directly take the images from ti-linux-firmware instead of using pdk build, due to inconsistency of PDK releases vs Linux SDK releases vs different SoCs. Update to FW version: REL.CORESDK.08.00.00.20 Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
This commit is contained in:
committed by
Yogesh Siraswar
parent
d8e96545f1
commit
ececc4f073
@@ -1,43 +1,35 @@
|
|||||||
SUMMARY = "PRU Ethernet firmware for AM65x"
|
SUMMARY = "PRU Ethernet firmware for AM65x SR1.0"
|
||||||
|
|
||||||
require recipes-ti/includes/ti-paths.inc
|
|
||||||
require recipes-bsp/emac-lld/emac-lld.inc
|
|
||||||
|
|
||||||
LICENSE = "TI-TFL"
|
LICENSE = "TI-TFL"
|
||||||
LIC_FILES_CHKSUM = "file://icss_dualmac/src/makefile;beginline=6;endline=53;md5=3f9129d208f240940749757214bdc191"
|
LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
|
||||||
|
|
||||||
PR = "r0"
|
PV = "08.00.00.20"
|
||||||
|
|
||||||
TI_PDK_COMP = "ti.drv.emac.firmware"
|
CLEANBROKEN = "1"
|
||||||
|
|
||||||
B = "${S}/icss_dualmac"
|
|
||||||
|
|
||||||
COMPATIBLE_MACHINE = "am65xx"
|
COMPATIBLE_MACHINE = "am65xx"
|
||||||
|
|
||||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
|
|
||||||
DEPENDS = "ti-cgt-pru-native"
|
SRCREV = "517b0cd8d8d80e91f1f7d80f035e6af041c39726"
|
||||||
|
BRANCH ?= "ti-linux-firmware"
|
||||||
|
|
||||||
EXTRA_OEMAKE += "CL_PRU_INSTALL_PATH="${TI_CGT_PRU_INSTALL_DIR}""
|
SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
|
||||||
|
|
||||||
do_compile() {
|
S = "${WORKDIR}/git"
|
||||||
oe_runmake -C src
|
|
||||||
}
|
TARGET = " \
|
||||||
|
am65x-pru0-prueth-fw.elf \
|
||||||
|
am65x-pru1-prueth-fw.elf \
|
||||||
|
am65x-rtu0-prueth-fw.elf \
|
||||||
|
am65x-rtu1-prueth-fw.elf \
|
||||||
|
"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
install -d ${D}${base_libdir}/firmware/ti-pruss
|
install -d ${D}${base_libdir}/firmware/ti-pruss
|
||||||
|
for f in ${TARGET}; do
|
||||||
install -m 0644 bin/rxl2_txl2_rgmii0/rxl2_txl2.out \
|
install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
|
||||||
${D}${base_libdir}/firmware/ti-pruss/am65x-pru0-prueth-fw.elf
|
done
|
||||||
|
|
||||||
install -m 0644 bin/rtu_test0/rtu_v2.out \
|
|
||||||
${D}${base_libdir}/firmware/ti-pruss/am65x-rtu0-prueth-fw.elf
|
|
||||||
|
|
||||||
install -m 0644 bin/rxl2_txl2_rgmii1/rxl2_txl2.out \
|
|
||||||
${D}${base_libdir}/firmware/ti-pruss/am65x-pru1-prueth-fw.elf
|
|
||||||
|
|
||||||
install -m 0644 bin/rtu_test1/rtu_v2.out \
|
|
||||||
${D}${base_libdir}/firmware/ti-pruss/am65x-rtu1-prueth-fw.elf
|
|
||||||
}
|
}
|
||||||
|
|
||||||
FILES_${PN} = "${base_libdir}/firmware"
|
FILES_${PN} = "${base_libdir}/firmware"
|
||||||
|
|||||||
Reference in New Issue
Block a user