aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linaro.org>2018-12-03 14:14:23 -0600
committerAníbal Limón <anibal.limon@linaro.org>2018-12-04 15:08:59 -0600
commita122287169450f44a581f64501601a0e839df1a3 (patch)
tree08e5e37df3c84052f0fe2c7b6674c9143ce7525d
parent3f913593affdbe1f7c034763dac720a0f249bdb8 (diff)
downloadmeta-qcom-a122287169450f44a581f64501601a0e839df1a3.tar.gz
meta-qcom-a122287169450f44a581f64501601a0e839df1a3.tar.bz2
meta-qcom-a122287169450f44a581f64501601a0e839df1a3.zip
conf/machine/include/qcom-apq8016.inc: Load qcom_q6v5_pil afer rmtfs
To workaround problems when the DSP isn't ready load qcom_q6v5_pil after rmtfs, blacklist the module to avoid autoload on boot. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
-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