mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-06-07 03:11:59 +00:00
prueth-fw: Combine PRU-ETH firmwares into single package
The firmware for different machines and versions are named differently so there is no need to have machine specific packages for each of these firmwares. Move all the PRU-ETH firmwares into single package. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
committed by
Ryan Eatmon
parent
e37033130d
commit
81b671424f
@@ -6,4 +6,4 @@ require conf/machine/include/am65xx.inc
|
||||
|
||||
UBOOT_MACHINE = "am65x_evm_a53_defconfig"
|
||||
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw-am65x-sr2 pruhsr-fw-am65x-sr2 prusw-fw-am65x-sr2"
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw pruhsr-fw-am65x-sr2 prusw-fw-am65x-sr2"
|
||||
|
||||
@@ -21,4 +21,4 @@ TFA_BOARD = "lite"
|
||||
|
||||
OPTEEMACHINE = "k3-am64x"
|
||||
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw-am65x-sr2 pruhsr-fw-am65x-sr2 prusw-fw-am65x-sr2"
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw pruhsr-fw-am65x-sr2 prusw-fw-am65x-sr2"
|
||||
|
||||
@@ -26,4 +26,4 @@ TFA_BOARD = "generic"
|
||||
|
||||
OPTEEMACHINE = "k3-am65x"
|
||||
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw-am65x"
|
||||
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "prueth-fw"
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
SUMMARY = "PRU Ethernet firmware for AM65xx SR2.0"
|
||||
|
||||
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
|
||||
|
||||
PV = "${PRUETH_FW_AM65X_SR2_VERSION}"
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
COMPATIBLE_MACHINE = "am65xx-evm|am64xx"
|
||||
|
||||
TARGET = " \
|
||||
am65x-sr2-pru0-prueth-fw.elf \
|
||||
am65x-sr2-pru1-prueth-fw.elf \
|
||||
am65x-sr2-rtu0-prueth-fw.elf \
|
||||
am65x-sr2-rtu1-prueth-fw.elf \
|
||||
am65x-sr2-txpru0-prueth-fw.elf \
|
||||
am65x-sr2-txpru1-prueth-fw.elf \
|
||||
"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${nonarch_base_libdir}/firmware/ti-pruss
|
||||
for f in ${TARGET}; do
|
||||
install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
|
||||
done
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
SUMMARY = "PRU Ethernet firmware for AM65x SR1.0"
|
||||
|
||||
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
|
||||
|
||||
PV = "${PRUETH_FW_AM65X_VERSION}"
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
COMPATIBLE_MACHINE = "am65xx"
|
||||
|
||||
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}${nonarch_base_libdir}/firmware/ti-pruss
|
||||
for f in ${TARGET}; do
|
||||
install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
|
||||
done
|
||||
}
|
||||
@@ -1,17 +1,29 @@
|
||||
SUMMARY = "PRU Ethernet firmware for AM57xx, AM437x and AM335x"
|
||||
SUMMARY = "PRU Ethernet firmware"
|
||||
|
||||
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
|
||||
|
||||
PR = "${INC_PR}.0"
|
||||
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx"
|
||||
COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx|am65xx|am64xx"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
TARGET = ""
|
||||
TARGET:ti33x = "am335x-pru0-prueth-fw.elf am335x-pru1-prueth-fw.elf"
|
||||
TARGET:ti43x = "am437x-pru0-prueth-fw.elf am437x-pru1-prueth-fw.elf"
|
||||
TARGET:am57xx = "am57xx-pru0-prueth-fw.elf am57xx-pru1-prueth-fw.elf"
|
||||
TARGET = " \
|
||||
am335x-pru0-prueth-fw.elf \
|
||||
am335x-pru1-prueth-fw.elf \
|
||||
am437x-pru0-prueth-fw.elf \
|
||||
am437x-pru1-prueth-fw.elf \
|
||||
am57xx-pru0-prueth-fw.elf \
|
||||
am57xx-pru1-prueth-fw.elf \
|
||||
am65x-pru0-prueth-fw.elf \
|
||||
am65x-pru1-prueth-fw.elf \
|
||||
am65x-rtu0-prueth-fw.elf \
|
||||
am65x-rtu1-prueth-fw.elf \
|
||||
am65x-sr2-pru0-prueth-fw.elf \
|
||||
am65x-sr2-pru1-prueth-fw.elf \
|
||||
am65x-sr2-rtu0-prueth-fw.elf \
|
||||
am65x-sr2-rtu1-prueth-fw.elf \
|
||||
am65x-sr2-txpru0-prueth-fw.elf \
|
||||
am65x-sr2-txpru1-prueth-fw.elf \
|
||||
"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${nonarch_base_libdir}/firmware/ti-pruss
|
||||
|
||||
Reference in New Issue
Block a user