summaryrefslogtreecommitdiff
path: root/qcom
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2020-07-09 10:43:01 +0530
committerAmit Pundir <amit.pundir@linaro.org>2020-07-09 16:24:26 +0530
commitac5ab76ae185210f5eb94a50d9b7ae96fa81b95f (patch)
treea9ab555190d06efe4d3daf1e065ecc05c11cb850 /qcom
parent33f08860f42d19ea2def096cc0cd5dbd67d42d3d (diff)
Revert "qcom: qrtr: Disable qrtr-ns and qrtr-cfg"android-r-beta-3android-r-beta-2
This reverts commit 2cf92a4173d774ad491709f80fe8fe3aa1698e6a. Needed to get WiFi working on android-5.4 kernel. Otherwise we need to backport a chunk of in-kernel qrtr ns patches from upstream (v5.7-rc1) kernel. Userspace qrtr-ns tool is compatible with upstream kernel as well, check: https://android-review.googlesource.com/c/1286419 Change-Id: Icf9654ed415fe77c8f22592feccd7c68f46bd765 Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Diffstat (limited to 'qcom')
-rw-r--r--qcom/init.qcom.rc11
1 files changed, 11 insertions, 0 deletions
diff --git a/qcom/init.qcom.rc b/qcom/init.qcom.rc
index ba4f24c..94e9038 100644
--- a/qcom/init.qcom.rc
+++ b/qcom/init.qcom.rc
@@ -1,3 +1,10 @@
+service qrtr-ns /vendor/bin/qrtr-ns -f 1
+ class core
+ user root
+ group system
+ disabled
+ oneshot
+
service pd_mapper /vendor/bin/pd-mapper
class core
user root
@@ -19,6 +26,10 @@ service rmtfs /vendor/bin/rmtfs -o /dev/block/platform/soc@0/1d84000.ufshc/by-na
disabled
oneshot
+on early-init
+ exec - root -- /vendor/bin/qrtr-cfg 1
+ start qrtr-ns
+
on post-fs
start pd_mapper
exec - root -- /system/bin/sleep 1