diff options
author | Denys Dmytriyenko <denys@konsulko.com> | 2022-02-22 04:13:45 +0000 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2022-02-22 12:01:38 -0600 |
commit | 20f3191aeb592dd889eeaf96a31526297de95306 (patch) | |
tree | aec879b9855ff8a54df171ee808e30ac26f1c80b /meta-ti-bsp/recipes-bsp/prueth-fw | |
parent | bea4fd2c401af05b866bd6af1c4e501d31b7b420 (diff) | |
download | meta-ti-20f3191aeb592dd889eeaf96a31526297de95306.tar.gz |
meta-ti: create a sub-layer meta-ti-bsp from existing content
Extra sub-layers will be created next and relevant content moved across them.
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/recipes-bsp/prueth-fw')
3 files changed, 97 insertions, 0 deletions
diff --git a/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw-am65x-sr2_git.bb b/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw-am65x-sr2_git.bb new file mode 100644 index 00000000..e398cc80 --- /dev/null +++ b/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw-am65x-sr2_git.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | SUMMARY = "PRU Ethernet firmware for AM65xx SR2.0" | ||
2 | |||
3 | require recipes-bsp/ti-linux-fw/ti-linux-fw.inc | ||
4 | |||
5 | PV = "${PRUETH_FW_AM65X_SR2_VERSION}" | ||
6 | PR = "${INC_PR}.0" | ||
7 | |||
8 | CLEANBROKEN = "1" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "am65xx-evm|am64xx-evm" | ||
11 | |||
12 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | TARGET = " \ | ||
17 | am65x-sr2-pru0-prueth-fw.elf \ | ||
18 | am65x-sr2-pru1-prueth-fw.elf \ | ||
19 | am65x-sr2-rtu0-prueth-fw.elf \ | ||
20 | am65x-sr2-rtu1-prueth-fw.elf \ | ||
21 | am65x-sr2-txpru0-prueth-fw.elf \ | ||
22 | am65x-sr2-txpru1-prueth-fw.elf \ | ||
23 | " | ||
24 | |||
25 | do_install() { | ||
26 | install -d ${D}${base_libdir}/firmware/ti-pruss | ||
27 | for f in ${TARGET}; do | ||
28 | install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f | ||
29 | done | ||
30 | } | ||
31 | |||
32 | FILES:${PN} = "${base_libdir}/firmware" | ||
33 | |||
34 | INSANE_SKIP:${PN} = "arch" | ||
diff --git a/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb b/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb new file mode 100644 index 00000000..804a563f --- /dev/null +++ b/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb | |||
@@ -0,0 +1,32 @@ | |||
1 | SUMMARY = "PRU Ethernet firmware for AM65x SR1.0" | ||
2 | |||
3 | require recipes-bsp/ti-linux-fw/ti-linux-fw.inc | ||
4 | |||
5 | PV = "${PRUETH_FW_AM65X_VERSION}" | ||
6 | PR = "${INC_PR}.0" | ||
7 | |||
8 | CLEANBROKEN = "1" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "am65xx" | ||
11 | |||
12 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | TARGET = " \ | ||
17 | am65x-pru0-prueth-fw.elf \ | ||
18 | am65x-pru1-prueth-fw.elf \ | ||
19 | am65x-rtu0-prueth-fw.elf \ | ||
20 | am65x-rtu1-prueth-fw.elf \ | ||
21 | " | ||
22 | |||
23 | do_install() { | ||
24 | install -d ${D}${base_libdir}/firmware/ti-pruss | ||
25 | for f in ${TARGET}; do | ||
26 | install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f | ||
27 | done | ||
28 | } | ||
29 | |||
30 | FILES:${PN} = "${base_libdir}/firmware" | ||
31 | |||
32 | INSANE_SKIP:${PN} = "arch" | ||
diff --git a/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb b/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb new file mode 100644 index 00000000..4ca06be0 --- /dev/null +++ b/meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | SUMMARY = "PRU Ethernet firmware for AM57xx, AM437x and AM335x" | ||
2 | |||
3 | require recipes-bsp/ti-linux-fw/ti-linux-fw.inc | ||
4 | |||
5 | PR = "${INC_PR}.0" | ||
6 | |||
7 | CLEANBROKEN = "1" | ||
8 | |||
9 | COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm" | ||
10 | |||
11 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
12 | |||
13 | S = "${WORKDIR}/git" | ||
14 | |||
15 | TARGET = "" | ||
16 | TARGET:ti33x = "am335x-pru0-prueth-fw.elf am335x-pru1-prueth-fw.elf" | ||
17 | TARGET:ti43x = "am437x-pru0-prueth-fw.elf am437x-pru1-prueth-fw.elf" | ||
18 | TARGET:am57xx-evm = "am57xx-pru0-prueth-fw.elf am57xx-pru1-prueth-fw.elf" | ||
19 | TARGET:am57xx-hs-evm = "am57xx-pru0-prueth-fw.elf am57xx-pru1-prueth-fw.elf" | ||
20 | |||
21 | do_install() { | ||
22 | install -d ${D}${base_libdir}/firmware/ti-pruss | ||
23 | for f in ${TARGET}; do | ||
24 | install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f | ||
25 | done | ||
26 | } | ||
27 | |||
28 | |||
29 | FILES:${PN} = "${base_libdir}/firmware" | ||
30 | |||
31 | INSANE_SKIP:${PN} = "arch" | ||