diff options
Diffstat (limited to 'meta-ti-extras/recipes-bsp')
12 files changed, 156 insertions, 136 deletions
diff --git a/meta-ti-extras/recipes-bsp/bt-fw/bt-fw_git.bb b/meta-ti-extras/recipes-bsp/bt-fw/bt-fw_git.bb index 9a5a6ffa..0d856362 100644 --- a/meta-ti-extras/recipes-bsp/bt-fw/bt-fw_git.bb +++ b/meta-ti-extras/recipes-bsp/bt-fw/bt-fw_git.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "Firmware files for Bluetooth" | 1 | SUMMARY = "Firmware files for Bluetooth" |
2 | LICENSE = "TI-TSPA" | 2 | LICENSE = "TI-TSPA" |
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f39eac9f4573be5b012e8313831e72a9" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f39eac9f4573be5b012e8313831e72a9" |
4 | 4 | ||
@@ -10,8 +10,6 @@ SRCREV = "0ee619b598d023fffc77679f099bc2a4815510e4" | |||
10 | BRANCH = "master" | 10 | BRANCH = "master" |
11 | SRC_URI = "git://git.ti.com/git/ti-bt/service-packs.git;protocol=https;branch=${BRANCH}" | 11 | SRC_URI = "git://git.ti.com/git/ti-bt/service-packs.git;protocol=https;branch=${BRANCH}" |
12 | 12 | ||
13 | S = "${WORKDIR}/git" | ||
14 | |||
15 | do_compile() { | 13 | do_compile() { |
16 | : | 14 | : |
17 | } | 15 | } |
diff --git a/meta-ti-extras/recipes-bsp/cc33xx-fw/cc33xx-fw_git.bb b/meta-ti-extras/recipes-bsp/cc33xx-fw/cc33xx-fw_git.bb new file mode 100644 index 00000000..d5597ab9 --- /dev/null +++ b/meta-ti-extras/recipes-bsp/cc33xx-fw/cc33xx-fw_git.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | SUMMARY = "Firmware files for use with TI cc33xx" | ||
2 | LICENSE = "TI-TSPA" | ||
3 | LIC_FILES_CHKSUM = "file://LICENCE;md5=df68504cbd0a4da1643ebcfd5783dbc9" | ||
4 | |||
5 | SRCREV = "988ded3a7d4d0e46de62e9ebfcb685c502bd9edf" | ||
6 | SRC_URI = "git://git.ti.com/git/cc33xx-wlan/cc33xx-fw.git;protocol=https;branch=master" | ||
7 | |||
8 | PV = "1.7.0.120" | ||
9 | |||
10 | CLEANBROKEN = "1" | ||
11 | |||
12 | do_compile[no_exec] = "1" | ||
13 | |||
14 | EXTRA_OEMAKE = "DEST_DIR=${D} BASE_LIB_DIR=${nonarch_base_libdir}" | ||
15 | |||
16 | do_install() { | ||
17 | oe_runmake install | ||
18 | } | ||
19 | |||
20 | FILES:${PN} = "${nonarch_base_libdir}/firmware/ti-connectivity/*" | ||
diff --git a/meta-ti-extras/recipes-bsp/dspdce-fw/dspdce-fw_git.bb b/meta-ti-extras/recipes-bsp/dspdce-fw/dspdce-fw_git.bb deleted file mode 100644 index 491ee0f3..00000000 --- a/meta-ti-extras/recipes-bsp/dspdce-fw/dspdce-fw_git.bb +++ /dev/null | |||
@@ -1,65 +0,0 @@ | |||
1 | SUMMARY = "Firmware for DSP for an example application called copycodectest" | ||
2 | LICENSE = "TI-TSPA" | ||
3 | LIC_FILES_CHKSUM = "file://src/ti/framework/dce/dce.c;startline=1;endline=31;md5=2c6e9aba6ed75f22b1a2b7544b1c809d" | ||
4 | |||
5 | COMPATIBLE_MACHINE = "dra7xx" | ||
6 | |||
7 | inherit features_check | ||
8 | |||
9 | REQUIRED_MACHINE_FEATURES = "dsp" | ||
10 | |||
11 | SRC_URI = "git://git.ti.com/git/glsdk/dspdce.git;protocol=https;branch=master" | ||
12 | |||
13 | SRCREV = "de6e599f067b25c46cc0c8f74a22cc3b8aafbae8" | ||
14 | |||
15 | PV = "1.00.00.07" | ||
16 | |||
17 | S = "${WORKDIR}/git" | ||
18 | |||
19 | require recipes-ti/includes/ti-paths.inc | ||
20 | |||
21 | PR = "r4" | ||
22 | inherit update-alternatives | ||
23 | |||
24 | DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-ipc-rtos ti-osal ti-cgt6x-native" | ||
25 | |||
26 | export HWVERSION = "ES10" | ||
27 | export BIOSTOOLSROOT = "${STAGING_DIR_TARGET}/usr/share/ti" | ||
28 | |||
29 | export XDCVERSION = "ti-xdctools-tree" | ||
30 | export BIOSVERSION = "ti-sysbios-tree" | ||
31 | export IPCVERSION = "ti-ipc-tree" | ||
32 | export CEVERSION = "ti-codec-engine-tree" | ||
33 | export FCVERSION = "ti-framework-components-tree" | ||
34 | export XDAISVERSION = "ti-xdais-tree" | ||
35 | export OSALVERSION = "ti-osal-tree" | ||
36 | |||
37 | export IPCSRC = "${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree" | ||
38 | export C66XCGTOOLSPATH = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" | ||
39 | |||
40 | do_configure() { | ||
41 | cd ${S} | ||
42 | make unconfig | ||
43 | make vayu_config | ||
44 | } | ||
45 | |||
46 | do_compile() { | ||
47 | cd ${S} | ||
48 | make dspbin | ||
49 | } | ||
50 | |||
51 | TARGET = "dra7-dsp1-fw.xe66" | ||
52 | |||
53 | do_install() { | ||
54 | install -d ${D}${nonarch_base_libdir}/firmware | ||
55 | install -m 0644 ${S}/dra7xx-c66x-dsp.xe66 ${D}${nonarch_base_libdir}/firmware/${TARGET}.${BPN} | ||
56 | } | ||
57 | |||
58 | ALTERNATIVE:${PN} = "dra7-dsp1-fw.xe66" | ||
59 | ALTERNATIVE_LINK_NAME[dra7-dsp1-fw.xe66] = "${nonarch_base_libdir}/firmware/${TARGET}" | ||
60 | ALTERNATIVE_TARGET[dra7-dsp1-fw.xe66] = "${nonarch_base_libdir}/firmware/${TARGET}.${BPN}" | ||
61 | ALTERNATIVE_PRIORITY = "10" | ||
62 | |||
63 | INSANE_SKIP:${PN} = "arch" | ||
64 | |||
65 | FILES:${PN} += "${nonarch_base_libdir}/firmware/*" | ||
diff --git a/meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb b/meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb index 9d85829b..d8e759d9 100644 --- a/meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb +++ b/meta-ti-extras/recipes-bsp/dsptop/debugss-module-drv_git.bb | |||
@@ -1,13 +1,10 @@ | |||
1 | DESCRIPTION = "Debug Sub-System (DebugSS) driver for Keystone and DRA7xx devices" | 1 | SUMMARY = "Debug Sub-System (DebugSS) driver for Keystone and DRA7xx devices" |
2 | LICENSE = "GPL-2.0-only" | 2 | LICENSE = "GPL-2.0-only" |
3 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=9d4316fe434ba450dca4da25348ca5a3" | 3 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=9d4316fe434ba450dca4da25348ca5a3" |
4 | 4 | ||
5 | # This package builds a kernel module, use kernel PR as base and append a local | ||
6 | MACHINE_KERNEL_PR:append = "d" | ||
7 | PR = "${MACHINE_KERNEL_PR}" | ||
8 | PV:append = "+git" | 5 | PV:append = "+git" |
9 | 6 | ||
10 | S = "${WORKDIR}/git/debugss_module/debugss-mod" | 7 | S:append = "/debugss_module/debugss-mod" |
11 | 8 | ||
12 | inherit module | 9 | inherit module |
13 | 10 | ||
@@ -20,3 +17,8 @@ COMPATIBLE_MACHINE = "dra7xx" | |||
20 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 17 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
21 | 18 | ||
22 | include dsptop.inc | 19 | include dsptop.inc |
20 | |||
21 | SRC_URI += "\ | ||
22 | file://0001-debugss_kmodule-Add-include-for-mod_devicetable.h.patch \ | ||
23 | file://0002-debugss_kmodule-kernel-6.11-changed-return-value-for.patch \ | ||
24 | " | ||
diff --git a/meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb b/meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb index 90ce8943..5e8c56b8 100644 --- a/meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb +++ b/meta-ti-extras/recipes-bsp/dsptop/dsptop_git.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "TI dsptop utility." | 1 | SUMMARY = "TI dsptop utility." |
2 | LICENSE = "BSD-3-Clause" | 2 | LICENSE = "BSD-3-Clause" |
3 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979" | 3 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=309825aa8f5edfcf2c44912ac094b979" |
4 | 4 | ||
@@ -6,7 +6,7 @@ DEPENDS = "libulm ncurses" | |||
6 | 6 | ||
7 | PR = "${INC_PR}.2" | 7 | PR = "${INC_PR}.2" |
8 | 8 | ||
9 | S = "${WORKDIR}/git/dsptop" | 9 | S:append = "/dsptop" |
10 | 10 | ||
11 | DEVICE = "" | 11 | DEVICE = "" |
12 | DEVICE:dra7xx = "DRA7xx" | 12 | DEVICE:dra7xx = "DRA7xx" |
diff --git a/meta-ti-extras/recipes-bsp/dsptop/files/0001-debugss_kmodule-Add-include-for-mod_devicetable.h.patch b/meta-ti-extras/recipes-bsp/dsptop/files/0001-debugss_kmodule-Add-include-for-mod_devicetable.h.patch new file mode 100644 index 00000000..19c6791e --- /dev/null +++ b/meta-ti-extras/recipes-bsp/dsptop/files/0001-debugss_kmodule-Add-include-for-mod_devicetable.h.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 5a514f6a6bb1c49bdbaf8eabc1776f54851227af Mon Sep 17 00:00:00 2001 | ||
2 | From: Ryan Eatmon <reatmon@ti.com> | ||
3 | Date: Sun, 4 Aug 2024 11:17:28 -0500 | ||
4 | Subject: [PATCH] debugss_kmodule: Add include for mod_devicetable.h | ||
5 | |||
6 | Add include for <linux/mod_devicetable.h> to fix compile error: | ||
7 | |||
8 | git/debugss_module/debugss-mod/debugss_kmodule.c:1149:34: error: | ||
9 | array type has incomplete element type 'struct of_device_id' | ||
10 | |||
11 | Upstream-Status: Inactive-Upstream | ||
12 | |||
13 | Signed-off-by: Ryan Eatmon <reatmon@ti.com> | ||
14 | --- | ||
15 | debugss_kmodule.c | 2 ++ | ||
16 | 1 file changed, 2 insertions(+) | ||
17 | |||
18 | diff --git a/debugss_kmodule.c b/debugss_kmodule.c | ||
19 | index 6fac61d..9e084eb 100644 | ||
20 | --- a/debugss_kmodule.c | ||
21 | +++ b/debugss_kmodule.c | ||
22 | @@ -26,6 +26,8 @@ | ||
23 | #include <linux/of_device.h> | ||
24 | #include "debugss_kmodule.h" | ||
25 | |||
26 | +#include <linux/mod_devicetable.h> | ||
27 | + | ||
28 | /* un-comment the line below to enable printing for kernel debug messages */ | ||
29 | //#define DEBUGSS_DRV_DEBUG | ||
30 | |||
31 | -- | ||
32 | 2.17.1 | ||
diff --git a/meta-ti-extras/recipes-bsp/dsptop/files/0002-debugss_kmodule-kernel-6.11-changed-return-value-for.patch b/meta-ti-extras/recipes-bsp/dsptop/files/0002-debugss_kmodule-kernel-6.11-changed-return-value-for.patch new file mode 100644 index 00000000..0afe0264 --- /dev/null +++ b/meta-ti-extras/recipes-bsp/dsptop/files/0002-debugss_kmodule-kernel-6.11-changed-return-value-for.patch | |||
@@ -0,0 +1,57 @@ | |||
1 | From aaddf1fa8b92db23ae2ebc83826c2bb5f5c87c35 Mon Sep 17 00:00:00 2001 | ||
2 | From: Ryan Eatmon <reatmon@ti.com> | ||
3 | Date: Thu, 3 Oct 2024 14:25:18 -0500 | ||
4 | Subject: [PATCH] debugss_kmodule: kernel 6.11 changed return value for remove | ||
5 | slot | ||
6 | |||
7 | In kernel version 6.11 the function footprint changed for the remove | ||
8 | slot to return a void instead of an int. [1] | ||
9 | |||
10 | Add ifdef checking code to look for kernel version and pick the correct | ||
11 | return code. | ||
12 | |||
13 | [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/include/linux/platform_device.h?id=0edb555a65d1ef047a9805051c36922b52a38a9d | ||
14 | |||
15 | Upstream-Status: Inactive-Upstream [lastcommit: 2021-04-20] | ||
16 | |||
17 | Signed-off-by: Ryan Eatmon <reatmon@ti.com> | ||
18 | --- | ||
19 | debugss_kmodule.c | 4 ++++ | ||
20 | 1 file changed, 4 insertions(+) | ||
21 | |||
22 | diff --git a/debugss_kmodule.c b/debugss_kmodule.c | ||
23 | index 9e084eb..4191be8 100644 | ||
24 | --- a/debugss_kmodule.c | ||
25 | +++ b/debugss_kmodule.c | ||
26 | @@ -27,6 +27,7 @@ | ||
27 | #include "debugss_kmodule.h" | ||
28 | |||
29 | #include <linux/mod_devicetable.h> | ||
30 | +#include <linux/version.h> | ||
31 | |||
32 | /* un-comment the line below to enable printing for kernel debug messages */ | ||
33 | //#define DEBUGSS_DRV_DEBUG | ||
34 | @@ -1132,7 +1133,11 @@ static int dra7xx_debugss_probe(struct platform_device *pdev) | ||
35 | return retval; | ||
36 | } | ||
37 | |||
38 | +#if (LINUX_VERSION_CODE < KERNEL_VERSION(6, 11, 0)) | ||
39 | static int dra7xx_debugss_remove(struct platform_device *pdev) | ||
40 | +#else | ||
41 | +static void dra7xx_debugss_remove(struct platform_device *pdev) | ||
42 | +#endif | ||
43 | { | ||
44 | __D("%s:\n",__FUNCTION__); | ||
45 | |||
46 | @@ -1145,7 +1150,9 @@ static int dra7xx_debugss_remove(struct platform_device *pdev) | ||
47 | /* Un-prepare debugSS clock */ | ||
48 | clk_disable_unprepare(sys_clk_in1); | ||
49 | |||
50 | +#if (LINUX_VERSION_CODE < KERNEL_VERSION(6, 11, 0)) | ||
51 | return 0; | ||
52 | +#endif | ||
53 | } | ||
54 | |||
55 | static const struct of_device_id dra7xx_debugss_of_match[] = { | ||
56 | -- | ||
57 | 2.17.1 | ||
diff --git a/meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb b/meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb index 6a2cde30..73c7831e 100644 --- a/meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb +++ b/meta-ti-extras/recipes-bsp/dsptop/libulm_git.bb | |||
@@ -9,9 +9,9 @@ REQUIRED_MACHINE_FEATURES = "dsp" | |||
9 | DEPENDS = "ti-cgt6x-native" | 9 | DEPENDS = "ti-cgt6x-native" |
10 | PR = "${INC_PR}.0" | 10 | PR = "${INC_PR}.0" |
11 | 11 | ||
12 | S = "${WORKDIR}/git/dsptop/ulm" | 12 | S:append = "/dsptop/ulm" |
13 | 13 | ||
14 | DEVICE="" | 14 | DEVICE = "" |
15 | DEVICE:dra7xx = "DRA7xx" | 15 | DEVICE:dra7xx = "DRA7xx" |
16 | 16 | ||
17 | EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}" | 17 | EXTRA_OEMAKE = "release DEVICE=${DEVICE} CROSS_COMPILE=${TARGET_PREFIX}" |
@@ -42,4 +42,14 @@ include dsptop.inc | |||
42 | 42 | ||
43 | ALLOW_EMPTY:${PN} = "1" | 43 | ALLOW_EMPTY:${PN} = "1" |
44 | 44 | ||
45 | PARALLEL_MAKE= "" | 45 | PARALLEL_MAKE = "" |
46 | |||
47 | # Disable the "buildpaths" check while we figure out how we are | ||
48 | # going to address this issue. | ||
49 | # | ||
50 | # The ti-cgt6x compiler is a custom TI compiler for the TI C6000 | ||
51 | # Digital Signal Processor(DSP) platform. It does not currently | ||
52 | # support reproducible builds and is provided via a binary blob | ||
53 | # download that we cannot patch in the recipe to address the | ||
54 | # issue. | ||
55 | INSANE_SKIP:${PN}-dev += "buildpaths" | ||
diff --git a/meta-ti-extras/recipes-bsp/ipumm-fw/ipumm-fw_git.bb b/meta-ti-extras/recipes-bsp/ipumm-fw/ipumm-fw_git.bb index 8d066eb0..bfdf1ac5 100644 --- a/meta-ti-extras/recipes-bsp/ipumm-fw/ipumm-fw_git.bb +++ b/meta-ti-extras/recipes-bsp/ipumm-fw/ipumm-fw_git.bb | |||
@@ -15,8 +15,6 @@ SRC_URI = "git://git.ti.com/git/ivimm/ipumm.git;protocol=https;branch=master" | |||
15 | 15 | ||
16 | SRCREV = "df4c50aecc9aad7ab3eb1ca9ebacfe473fcad7c5" | 16 | SRCREV = "df4c50aecc9aad7ab3eb1ca9ebacfe473fcad7c5" |
17 | 17 | ||
18 | S = "${WORKDIR}/git" | ||
19 | |||
20 | PV = "3.00.15.00" | 18 | PV = "3.00.15.00" |
21 | PR = "r7" | 19 | PR = "r7" |
22 | 20 | ||
@@ -26,18 +24,18 @@ inherit update-alternatives | |||
26 | 24 | ||
27 | DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-cgt-arm-native ti-ipc-rtos" | 25 | DEPENDS = "ti-xdctools-native ti-sysbios ti-codec-engine ti-framework-components ti-xdais ti-cgt-arm-native ti-ipc-rtos" |
28 | 26 | ||
29 | export HWVERSION="ES10" | 27 | export HWVERSION = "ES10" |
30 | export BIOSTOOLSROOT="${STAGING_DIR_TARGET}/usr/share/ti" | 28 | export BIOSTOOLSROOT = "${STAGING_DIR_TARGET}/usr/share/ti" |
31 | 29 | ||
32 | export XDCVERSION="ti-xdctools-tree" | 30 | export XDCVERSION = "ti-xdctools-tree" |
33 | export BIOSVERSION="ti-sysbios-tree" | 31 | export BIOSVERSION = "ti-sysbios-tree" |
34 | export IPCVERSION="ti-ipc-tree" | 32 | export IPCVERSION = "ti-ipc-tree" |
35 | export CEVERSION="ti-codec-engine-tree" | 33 | export CEVERSION = "ti-codec-engine-tree" |
36 | export FCVERSION="ti-framework-components-tree" | 34 | export FCVERSION = "ti-framework-components-tree" |
37 | export XDAISVERSION="ti-xdais-tree" | 35 | export XDAISVERSION = "ti-xdais-tree" |
38 | 36 | ||
39 | export TMS470CGTOOLPATH="${M4_TOOLCHAIN_INSTALL_DIR}" | 37 | export TMS470CGTOOLPATH = "${M4_TOOLCHAIN_INSTALL_DIR}" |
40 | export IPCSRC="${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree" | 38 | export IPCSRC = "${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree" |
41 | 39 | ||
42 | EXTRA_OEMAKE += "XDCDIST_TREE=${STAGING_DIR_NATIVE}/usr/share/ti/${XDCVERSION}" | 40 | EXTRA_OEMAKE += "XDCDIST_TREE=${STAGING_DIR_NATIVE}/usr/share/ti/${XDCVERSION}" |
43 | 41 | ||
@@ -65,3 +63,12 @@ ALTERNATIVE_TARGET[dra7-ipu2-fw.xem4] = "${nonarch_base_libdir}/firmware/${TARGE | |||
65 | ALTERNATIVE_PRIORITY = "20" | 63 | ALTERNATIVE_PRIORITY = "20" |
66 | 64 | ||
67 | FILES:${PN} += "${nonarch_base_libdir}/firmware/*" | 65 | FILES:${PN} += "${nonarch_base_libdir}/firmware/*" |
66 | |||
67 | # Disable the "buildpaths" check while we figure out how we are | ||
68 | # going to address this issue. | ||
69 | # | ||
70 | # The ti-cgt-arm compiler is a custom TI compiler. It does not | ||
71 | # currently support reproducible builds and is provided via a | ||
72 | # binary blob download that we cannot patch in the recipe to address | ||
73 | # the issue. | ||
74 | INSANE_SKIP:${PN} += "buildpaths" | ||
diff --git a/meta-ti-extras/recipes-bsp/pru/pru-icss_git.bb b/meta-ti-extras/recipes-bsp/pru/pru-icss_git.bb index b01dd6a5..73b582a2 100644 --- a/meta-ti-extras/recipes-bsp/pru/pru-icss_git.bb +++ b/meta-ti-extras/recipes-bsp/pru/pru-icss_git.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "Programmable Real-time Unit Software Package" | 1 | SUMMARY = "Programmable Real-time Unit Software Package" |
2 | HOMEPAGE = "http://processors.wiki.ti.com/index.php/PRU-ICSS" | 2 | HOMEPAGE = "http://processors.wiki.ti.com/index.php/PRU-ICSS" |
3 | LICENSE = "BSD-3-Clause & PD" | 3 | LICENSE = "BSD-3-Clause & PD" |
4 | 4 | ||
@@ -29,8 +29,6 @@ RDEPENDS:${PN}:append = " \ | |||
29 | 29 | ||
30 | DEPENDS = "ti-cgt-pru-native" | 30 | DEPENDS = "ti-cgt-pru-native" |
31 | 31 | ||
32 | S = "${WORKDIR}/git" | ||
33 | |||
34 | export PRU_CGT = "${TI_CGT_PRU_INSTALL_DIR}" | 32 | export PRU_CGT = "${TI_CGT_PRU_INSTALL_DIR}" |
35 | export PRU_SSP = "${S}" | 33 | export PRU_SSP = "${S}" |
36 | 34 | ||
diff --git a/meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw/0001-Add-Makefile-to-install-firmware-files.patch b/meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw/0001-Add-Makefile-to-install-firmware-files.patch deleted file mode 100644 index bb05c6fe..00000000 --- a/meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw/0001-Add-Makefile-to-install-firmware-files.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From 3a8fc3ccf00796254d6cef4b6d4cd70dc37012e1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Denys Dmytriyenko <denys@ti.com> | ||
3 | Date: Fri, 10 Mar 2017 13:28:29 -0500 | ||
4 | Subject: [PATCH] Add Makefile to install firmware files | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Denys Dmytriyenko <denys@ti.com> | ||
9 | --- | ||
10 | Makefile | 9 +++++++++ | ||
11 | 1 file changed, 9 insertions(+) | ||
12 | create mode 100644 Makefile | ||
13 | |||
14 | diff --git a/Makefile b/Makefile | ||
15 | new file mode 100644 | ||
16 | index 0000000..1cf38e3 | ||
17 | --- /dev/null | ||
18 | +++ b/Makefile | ||
19 | @@ -0,0 +1,9 @@ | ||
20 | +# Installs the the ti-connectivity wlan firmware files into the root file system | ||
21 | + | ||
22 | +install: | ||
23 | + @if [ ! -d $(DESTDIR) ] ; then \ | ||
24 | + echo "Target filesystem directory doesn't exist."; \ | ||
25 | + exit 1; \ | ||
26 | + fi | ||
27 | + install -d $(DEST_DIR)/lib/firmware/ti-connectivity | ||
28 | + cp *.bin $(DEST_DIR)/lib/firmware/ti-connectivity/ | ||
29 | -- | ||
30 | 2.7.4 | ||
31 | |||
diff --git a/meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw_8.9.0.0.86.bb b/meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw_8.9.0.0.86.bb index dbae5a21..3e61db88 100644 --- a/meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw_8.9.0.0.86.bb +++ b/meta-ti-extras/recipes-bsp/wl18xx-fw/wl18xx-fw_8.9.0.0.86.bb | |||
@@ -1,17 +1,12 @@ | |||
1 | DESCRIPTION = "Firmware files for use with TI wl18xx" | 1 | SUMMARY = "Firmware files for use with TI wl18xx" |
2 | LICENSE = "TI-TSPA" | 2 | LICENSE = "TI-TSPA" |
3 | LIC_FILES_CHKSUM = "file://LICENCE;md5=4977a0fe767ee17765ae63c435a32a9e" | 3 | LIC_FILES_CHKSUM = "file://LICENCE;md5=4977a0fe767ee17765ae63c435a32a9e" |
4 | 4 | ||
5 | SRC_URI = " \ | 5 | SRC_URI = "git://git.ti.com/git/wilink8-wlan/wl18xx_fw.git;protocol=https;branch=${BRANCH}" |
6 | git://git.ti.com/git/wilink8-wlan/wl18xx_fw.git;protocol=https;branch=${BRANCH} \ | ||
7 | file://0001-Add-Makefile-to-install-firmware-files.patch \ | ||
8 | " | ||
9 | 6 | ||
10 | SRCREV = "5ec05007f2662f460f881c5868311fd3ab7e6e71" | 7 | SRCREV = "5ec05007f2662f460f881c5868311fd3ab7e6e71" |
11 | BRANCH = "master" | 8 | BRANCH = "master" |
12 | 9 | ||
13 | S = "${WORKDIR}/git" | ||
14 | |||
15 | CLEANBROKEN = "1" | 10 | CLEANBROKEN = "1" |
16 | 11 | ||
17 | do_compile() { | 12 | do_compile() { |
@@ -19,11 +14,8 @@ do_compile() { | |||
19 | } | 14 | } |
20 | 15 | ||
21 | do_install() { | 16 | do_install() { |
22 | if ${@bb.utils.contains('DISTRO_FEATURES','usrmerge','true','false',d)}; then | 17 | install -d ${D}${nonarch_base_libdir}/firmware/ti-connectivity |
23 | oe_runmake 'DEST_DIR=${D}/usr' install | 18 | install -m 0644 ${S}/*.bin ${D}${nonarch_base_libdir}/firmware/ti-connectivity/ |
24 | else | ||
25 | oe_runmake 'DEST_DIR=${D}' install | ||
26 | fi | ||
27 | } | 19 | } |
28 | 20 | ||
29 | FILES:${PN} = "${nonarch_base_libdir}/firmware/ti-connectivity/*" | 21 | FILES:${PN} = "${nonarch_base_libdir}/firmware/ti-connectivity/*" |