aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Dechesne <ndechesne@users.noreply.github.com>2018-12-04 22:58:25 +0100
committerGitHub <noreply@github.com>2018-12-04 22:58:25 +0100
commit94eb5c07ef8078387dd89deaf1783e8497a4aed7 (patch)
tree08e5e37df3c84052f0fe2c7b6674c9143ce7525d
parent3f913593affdbe1f7c034763dac720a0f249bdb8 (diff)
parenta122287169450f44a581f64501601a0e839df1a3 (diff)
downloadmeta-qcom-94eb5c07ef8078387dd89deaf1783e8497a4aed7.tar.gz
meta-qcom-94eb5c07ef8078387dd89deaf1783e8497a4aed7.tar.bz2
meta-qcom-94eb5c07ef8078387dd89deaf1783e8497a4aed7.zip
Merge pull request #84 from alimon/sumo
conf/machine/include/qcom-apq8016.inc: Load qcom_q6v5_pil afer rmtfs
-rw-r--r--conf/machine/include/qcom-apq8016.inc3
-rw-r--r--recipes-support/rmtfs/files/rmtfs.service1
2 files changed, 4 insertions, 0 deletions
diff --git a/conf/machine/include/qcom-apq8016.inc b/conf/machine/include/qcom-apq8016.inc
index 801b788..bd861ae 100644
--- a/conf/machine/include/qcom-apq8016.inc
+++ b/conf/machine/include/qcom-apq8016.inc
@@ -33,3 +33,6 @@ IMAGE_ROOTFS_ALIGNMENT = "4096"
QCOM_BOOTIMG_KERNEL_BASE ?= "0x80000000"
QCOM_BOOTIMG_PAGE_SIZE ?= "2048"
+
+KERNEL_MODULE_PROBECONF += "qcom_q6v5_pil"
+module_conf_qcom_q6v5_pil = "blacklist qcom_q6v5_pil"
diff --git a/recipes-support/rmtfs/files/rmtfs.service b/recipes-support/rmtfs/files/rmtfs.service
index e3965db..2002fd6 100644
--- a/recipes-support/rmtfs/files/rmtfs.service
+++ b/recipes-support/rmtfs/files/rmtfs.service
@@ -9,6 +9,7 @@ ExecStartPre=/bin/sh -c "[ ! -f /boot/modem_fs2 ] && dd if=/dev/zero of=/boot/m
ExecStartPre=/bin/sh -c "[ ! -f /boot/modem_fsc ] && dd if=/dev/zero of=/boot/modem_fsc bs=1M count=2 || :"
ExecStartPre=/bin/sh -c "[ ! -f /boot/modem_fsg ] && dd if=/dev/zero of=/boot/modem_fsg bs=1M count=2 || :"
ExecStart=/usr/bin/rmtfs -v
+ExecStartPost=/bin/sh -c "[ -d /sys/bus/platform/devices/*.hexagon ] && modprobe qcom_q6v5_pil"
[Install]
WantedBy=multi-user.target