summaryrefslogtreecommitdiff
path: root/recipes-kernel
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-10-26 09:51:38 -0500
committerJohn Klug <john.klug@multitech.com>2021-12-29 08:26:41 -0600
commit747185e46d6e3fbbe0612fba259e8401691cc067 (patch)
treeb059b14fbf8157f1d53747a4796c97ef47ec1782 /recipes-kernel
parent783295b12092bb2b53eeddd619e7f27be980cb80 (diff)
downloadmeta-multitech-atmel-747185e46d6e3fbbe0612fba259e8401691cc067.tar.gz
meta-multitech-atmel-747185e46d6e3fbbe0612fba259e8401691cc067.tar.bz2
meta-multitech-atmel-747185e46d6e3fbbe0612fba259e8401691cc067.zip
Turn off debug in the RS9113 driver due to too many warnings
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/rs9113/rs9113-from-src/debug-rs9113.patch14
-rw-r--r--recipes-kernel/rs9113/rs9113-from-src_1.6.5.bb6
-rw-r--r--recipes-kernel/rs9113/rs9113_1.6.5.bb2
3 files changed, 19 insertions, 3 deletions
diff --git a/recipes-kernel/rs9113/rs9113-from-src/debug-rs9113.patch b/recipes-kernel/rs9113/rs9113-from-src/debug-rs9113.patch
new file mode 100644
index 0000000..4101116
--- /dev/null
+++ b/recipes-kernel/rs9113/rs9113-from-src/debug-rs9113.patch
@@ -0,0 +1,14 @@
+* Turn off debug to prevent performance issues
+=======================================================
+diff --git a/source/host/config/make.config b/source/host/config/make.config
+index fd5133b..fc4507d 100644
+--- a/source/host/config/make.config
++++ b/source/host/config/make.config
+@@ -48,7 +48,6 @@ ifeq ($(CONFIG_CHW_20_40), y)
+ endif
+
+
+-EXTRA_CFLAGS += -DONEBOX_DEBUG_ENABLE
+ EXTRA_CFLAGS += -DPROGRAMMING_BBP_TA
+ EXTRA_CFLAGS += -DPROGRAMMING_SCAN_TA
+ EXTRA_CFLAGS += -DRSI_SDIO_MULTI_BLOCK_SUPPORT
diff --git a/recipes-kernel/rs9113/rs9113-from-src_1.6.5.bb b/recipes-kernel/rs9113/rs9113-from-src_1.6.5.bb
index 05ba21a..30ade9e 100644
--- a/recipes-kernel/rs9113/rs9113-from-src_1.6.5.bb
+++ b/recipes-kernel/rs9113/rs9113-from-src_1.6.5.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "USB Driver for Redpine RS9113"
LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28"
PROVIDES = "rs9113-from-src"
-PR = "r10${KERNEL_MODULE_PACKAGE_SUFFIX}"
+PR = "r11${KERNEL_MODULE_PACKAGE_SUFFIX}"
INHIBIT_PACKAGE_STRIP = "1"
BB_STRICT_CHECKSUM = "0"
inherit module
@@ -15,6 +15,8 @@ SRCREV_FORMAT = "machine"
SRC_URI = " \
git://git@${MTS_INTERNAL_GIT}/mlinux/meta-rs9113.git;protocol=ssh;branch=${PV};destsuffix=meta/ \
git://git@${MTS_INTERNAL_GIT}/mlinux/Redpine.git;protocol=ssh;branch=${PV} \
+ file://debug-rs9113.patch \
+ file://onebox-backlog-counter.patch \
"
SRCXX_URI = " \
git://git@${MTS_INTERNAL_GIT}/mlinux/Redpine.git;protocol=ssh;branch=${PV};name=machine \
@@ -56,7 +58,7 @@ do_compile () {
do_patch () {
cd ${WORKDIR}/git
- for f in ${M}/patches/* ; do
+ for f in ${M}/patches/* ../*.patch ; do
# Cannot use [[ $f =~ \.patch$ ]] here because the $ after patch breaks the recipe.
if echo ${f} | grep '\.patch$' >/dev/null 2>&1 ; then
echo found patch ${f}
diff --git a/recipes-kernel/rs9113/rs9113_1.6.5.bb b/recipes-kernel/rs9113/rs9113_1.6.5.bb
index f968a4f..54a1ca5 100644
--- a/recipes-kernel/rs9113/rs9113_1.6.5.bb
+++ b/recipes-kernel/rs9113/rs9113_1.6.5.bb
@@ -17,7 +17,7 @@ COMPATIBLE_MACHINE = "(mtcdt|mtrv1)"
# To update this, manually copy ipk from Jenkin's job to
# git://git@${MTS_INTERNAL_GIT}/mlinux/ipk.git;protocol=ssh;branch=${PV}
#
-PR = "r10${KERNEL_MODULE_PACKAGE_SUFFIX}"
+PR = "r11${KERNEL_MODULE_PACKAGE_SUFFIX}"
SRC_URI = " \
file://rs9113/rs9113.init \
file://rs9113/rs9113.default \