ARM: qcom_defconfig: Enable MAILBOX
Subsystems (3)
PATCH 1/1 ARM: qcom_defconfig: Enable MAILBOX
From: Frank Rowand <[email protected]>
Problem:ab460a2e72da ("rpmsg: qcom_smd: Access APCS through mailbox framework" added a "depends on MAILBOX") to RPMSG_QCOM_SMD, thus RPMSG_QCOM_SMD becomes unset since MAILBOX was not enabled in qcom_defconfig and is not otherwise selected for the dragonboard. When the resulting kernel is booted the mmc device which contains the root file system is not available.
Fix:
add CONFIG_MAILBOX to qcom_defconfig
added a "depends on MAILBOX")
---
Bjorn suggested that multi_v7_defconfig might need this same fix but I don't have a target to test on so I have not included that change in this patch
Tested on Qualcomm APQ8074 Dragonboard
arch/arm/configs/qcom_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm/configs/qcom_defconfig +1 -0
@@ -207,6 +207,7 @@ CONFIG_MSM_MMCC_8974=y CONFIG_MSM_IOMMU=y CONFIG_HWSPINLOCK=y CONFIG_HWSPINLOCK_QCOM=y +CONFIG_MAILBOX=y CONFIG_REMOTEPROC=y CONFIG_QCOM_ADSP_PIL=y CONFIG_QCOM_Q6V5_PIL=y
Signature · 1 line
Frank Rowand <[email protected]>
Quoted 10 lines · On Thu 06 Sep 21:44 PDT 2018, [email protected] wrote:
From: Frank Rowand <[email protected]>
Problem:
ab460a2e72da("rpmsg:qcom_smd: Access APCS through mailbox framework" added a "depends on MAILBOX") toRPMSG_QCOM_SMD, thusRPMSG_QCOM_SMDbecomes unset since MAILBOX was not enabled inqcom_defconfigand is not otherwise selected for the dragonboard. When the resulting kernel is booted the mmc device which contains the root file system is not available.
Quoted 7 lines
Fix:
addCONFIG_MAILBOXtoqcom_defconfigFixes ab460a2e72da ("rpmsg: qcom_smd: Access APCS through mailbox framework"added a "depends on MAILBOX")
Signed-off-by Frank Rowand <[email protected]>
Quoted 6 lines
---
Bjorn suggested that
multi_v7_defconfigmight need this same fix but I don't have a target to test on so I have not included that change in this patch
multi_v7_defconfig should boot on 8974 as well, but I would not be a surprise if there are other things missing there.
Regards,
Bjorn
Quoted 20 lines
Tested on Qualcomm APQ8074 Dragonboard
arch/arm/configs/qcom_defconfig | 1 + 1 file changed, 1 insertion(+)arch/arm/configs/qcom_defconfig +1
-0@@ -207,6 +207,7 @@ CONFIG_MSM_MMCC_8974=y CONFIG_MSM_IOMMU=y CONFIG_HWSPINLOCK=y CONFIG_HWSPINLOCK_QCOM=y +CONFIG_MAILBOX=y CONFIG_REMOTEPROC=y CONFIG_QCOM_ADSP_PIL=y CONFIG_QCOM_Q6V5_PIL=ySignature · 1 line
Frank Rowand <[email protected]>