summaryrefslogtreecommitdiff
path: root/qcom
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2020-02-26 20:23:14 +0000
committerJohn Stultz <john.stultz@linaro.org>2020-03-17 04:10:56 +0000
commit590ccad6562b46d75a2eb61ebecc13dd0a0a02dc (patch)
tree295be7cffcdc2ea55ba7e648150a5ad113196df3 /qcom
parentbc945f07855c7e36eb610d6231fd76dd920291b8 (diff)
db845c: qcom: Add init.qcom.rc to start up remoteproc services/wifi
Adds the init.qcom.rc file to the build so the qcom remoteproc userland code can be started and wifi can be initialized. This pach was split out from earlier patch by Amit Pundir <amit.pundir@linaro.org> Change-Id: I2032e7c2d3d5d3a10b7afd387f97a93235a908cf Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'qcom')
-rw-r--r--qcom/init.qcom.rc43
1 files changed, 43 insertions, 0 deletions
diff --git a/qcom/init.qcom.rc b/qcom/init.qcom.rc
new file mode 100644
index 0000000..303fc9a
--- /dev/null
+++ b/qcom/init.qcom.rc
@@ -0,0 +1,43 @@
+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
+ group system
+ disabled
+ oneshot
+
+service tqftpserv /vendor/bin/tqftpserv
+ class core
+ user root
+ group system
+ disabled
+ oneshot
+
+service rmtfs /vendor/bin/rmtfs -o /dev/block/platform/soc@0/1d84000.ufshc/by-name -P -r -s
+ class core
+ user root
+ group system
+ disabled
+ oneshot
+
+on early-init
+ exec - root -- /vendor/bin/qrtr-cfg 1
+ start qrtr-ns
+ start pd_mapper
+
+on post-fs-data
+ mkdir /data/vendor
+ mkdir /data/vendor/tmp
+ mkdir /data/vendor/readwrite
+ mkdir /data/vendor/readonly
+ mkdir /data/vendor/readonly/firmware
+ mkdir /data/vendor/readonly/firmware/image
+ write /sys/class/firmware/timeout 1
+ start tqftpserv
+ start rmtfs