diff options
| author | Grygorii Strashko <grygorii.strashko@ti.com> | 2021-06-24 22:42:06 +0300 |
|---|---|---|
| committer | Yogesh Siraswar <yogeshs@ti.com> | 2021-06-28 11:17:38 +0000 |
| commit | ececc4f073f2bc40d0581acbee62be83153254b3 (patch) | |
| tree | a9f85f17cc41be95d42ea2bed3183239a1895841 | |
| parent | d8e96545f10bd2057b665a1e0c363f60f0a8cda5 (diff) | |
| download | meta-ti-ececc4f073f2bc40d0581acbee62be83153254b3.tar.gz | |
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>
| -rw-r--r-- | recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb | 46 |
1 files changed, 19 insertions, 27 deletions
diff --git a/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb b/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb index 430e2a4e..d447df33 100644 --- a/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb +++ b/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb | |||
| @@ -1,43 +1,35 @@ | |||
| 1 | SUMMARY = "PRU Ethernet firmware for AM65x" | 1 | SUMMARY = "PRU Ethernet firmware for AM65x SR1.0" |
| 2 | |||
| 3 | require recipes-ti/includes/ti-paths.inc | ||
| 4 | require recipes-bsp/emac-lld/emac-lld.inc | ||
| 5 | 2 | ||
| 6 | LICENSE = "TI-TFL" | 3 | LICENSE = "TI-TFL" |
| 7 | LIC_FILES_CHKSUM = "file://icss_dualmac/src/makefile;beginline=6;endline=53;md5=3f9129d208f240940749757214bdc191" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76" |
| 8 | |||
| 9 | PR = "r0" | ||
| 10 | 5 | ||
| 11 | TI_PDK_COMP = "ti.drv.emac.firmware" | 6 | PV = "08.00.00.20" |
| 12 | 7 | ||
| 13 | B = "${S}/icss_dualmac" | 8 | CLEANBROKEN = "1" |
| 14 | 9 | ||
| 15 | COMPATIBLE_MACHINE = "am65xx" | 10 | COMPATIBLE_MACHINE = "am65xx" |
| 16 | 11 | ||
| 17 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 12 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 18 | 13 | ||
| 19 | DEPENDS = "ti-cgt-pru-native" | 14 | SRCREV = "517b0cd8d8d80e91f1f7d80f035e6af041c39726" |
| 20 | 15 | BRANCH ?= "ti-linux-firmware" | |
| 21 | EXTRA_OEMAKE += "CL_PRU_INSTALL_PATH="${TI_CGT_PRU_INSTALL_DIR}"" | ||
| 22 | |||
| 23 | do_compile() { | ||
| 24 | oe_runmake -C src | ||
| 25 | } | ||
| 26 | |||
| 27 | do_install() { | ||
| 28 | install -d ${D}${base_libdir}/firmware/ti-pruss | ||
| 29 | 16 | ||
| 30 | install -m 0644 bin/rxl2_txl2_rgmii0/rxl2_txl2.out \ | 17 | SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}" |
| 31 | ${D}${base_libdir}/firmware/ti-pruss/am65x-pru0-prueth-fw.elf | ||
| 32 | 18 | ||
| 33 | install -m 0644 bin/rtu_test0/rtu_v2.out \ | 19 | S = "${WORKDIR}/git" |
| 34 | ${D}${base_libdir}/firmware/ti-pruss/am65x-rtu0-prueth-fw.elf | ||
| 35 | 20 | ||
| 36 | install -m 0644 bin/rxl2_txl2_rgmii1/rxl2_txl2.out \ | 21 | TARGET = " \ |
| 37 | ${D}${base_libdir}/firmware/ti-pruss/am65x-pru1-prueth-fw.elf | 22 | am65x-pru0-prueth-fw.elf \ |
| 23 | am65x-pru1-prueth-fw.elf \ | ||
| 24 | am65x-rtu0-prueth-fw.elf \ | ||
| 25 | am65x-rtu1-prueth-fw.elf \ | ||
| 26 | " | ||
| 38 | 27 | ||
| 39 | install -m 0644 bin/rtu_test1/rtu_v2.out \ | 28 | do_install() { |
| 40 | ${D}${base_libdir}/firmware/ti-pruss/am65x-rtu1-prueth-fw.elf | 29 | install -d ${D}${base_libdir}/firmware/ti-pruss |
| 30 | for f in ${TARGET}; do | ||
| 31 | install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f | ||
| 32 | done | ||
| 41 | } | 33 | } |
| 42 | 34 | ||
| 43 | FILES_${PN} = "${base_libdir}/firmware" | 35 | FILES_${PN} = "${base_libdir}/firmware" |
