2022-10-21 03:52:12

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH] arm64: defconfig: build-in Qualcomm SC7180 and SM8450 interconnects

On Qualcomm SC7180 and SM8450 SocS, the typical debug console serial
port is part of GENI Serial Engine QUP Wrapper Controller which uses
interconnects. This means that without interconnect drivers, the serial
might not probe. Without serial console, the root might not be mounted
by initramfs:

+ REASON=No init found. Try passing init= bootarg. PS1=(initramfs
...
(initramfs) run-init -c /dev/console -n /root /sbin/init
run-init: opening console: No such file or directory

This means that interconnect drivers on these Qualcomm SoCs cannot be
modules and must be built-in to mount rootfs.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
arch/arm64/configs/defconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 2af94d3c1c11..c1b7fb44e381 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1301,7 +1301,7 @@ CONFIG_INTERCONNECT_QCOM_MSM8916=m
CONFIG_INTERCONNECT_QCOM_MSM8996=m
CONFIG_INTERCONNECT_QCOM_OSM_L3=m
CONFIG_INTERCONNECT_QCOM_QCS404=m
-CONFIG_INTERCONNECT_QCOM_SC7180=m
+CONFIG_INTERCONNECT_QCOM_SC7180=y
CONFIG_INTERCONNECT_QCOM_SC7280=y
CONFIG_INTERCONNECT_QCOM_SC8180X=y
CONFIG_INTERCONNECT_QCOM_SC8280XP=y
@@ -1309,7 +1309,7 @@ CONFIG_INTERCONNECT_QCOM_SDM845=y
CONFIG_INTERCONNECT_QCOM_SM8150=m
CONFIG_INTERCONNECT_QCOM_SM8250=m
CONFIG_INTERCONNECT_QCOM_SM8350=m
-CONFIG_INTERCONNECT_QCOM_SM8450=m
+CONFIG_INTERCONNECT_QCOM_SM8450=y
CONFIG_EXT2_FS=y
CONFIG_EXT3_FS=y
CONFIG_EXT4_FS_POSIX_ACL=y
--
2.34.1


2022-10-21 09:32:03

by Konrad Dybcio

[permalink] [raw]
Subject: Re: [PATCH] arm64: defconfig: build-in Qualcomm SC7180 and SM8450 interconnects



On 21.10.2022 05:27, Krzysztof Kozlowski wrote:
> On Qualcomm SC7180 and SM8450 SocS, the typical debug console serial
> port is part of GENI Serial Engine QUP Wrapper Controller which uses
> interconnects. This means that without interconnect drivers, the serial
> might not probe. Without serial console, the root might not be mounted
> by initramfs:
>
> + REASON=No init found. Try passing init= bootarg. PS1=(initramfs
> ...
> (initramfs) run-init -c /dev/console -n /root /sbin/init
> run-init: opening console: No such file or directory
>
> This means that interconnect drivers on these Qualcomm SoCs cannot be
> modules and must be built-in to mount rootfs.
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> ---
Reviewed-by: Konrad Dybcio <[email protected]>

Konrad
> arch/arm64/configs/defconfig | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 2af94d3c1c11..c1b7fb44e381 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -1301,7 +1301,7 @@ CONFIG_INTERCONNECT_QCOM_MSM8916=m
> CONFIG_INTERCONNECT_QCOM_MSM8996=m
> CONFIG_INTERCONNECT_QCOM_OSM_L3=m
> CONFIG_INTERCONNECT_QCOM_QCS404=m
> -CONFIG_INTERCONNECT_QCOM_SC7180=m
> +CONFIG_INTERCONNECT_QCOM_SC7180=y
> CONFIG_INTERCONNECT_QCOM_SC7280=y
> CONFIG_INTERCONNECT_QCOM_SC8180X=y
> CONFIG_INTERCONNECT_QCOM_SC8280XP=y
> @@ -1309,7 +1309,7 @@ CONFIG_INTERCONNECT_QCOM_SDM845=y
> CONFIG_INTERCONNECT_QCOM_SM8150=m
> CONFIG_INTERCONNECT_QCOM_SM8250=m
> CONFIG_INTERCONNECT_QCOM_SM8350=m
> -CONFIG_INTERCONNECT_QCOM_SM8450=m
> +CONFIG_INTERCONNECT_QCOM_SM8450=y
> CONFIG_EXT2_FS=y
> CONFIG_EXT3_FS=y
> CONFIG_EXT4_FS_POSIX_ACL=y

2022-11-07 03:33:57

by Bjorn Andersson

[permalink] [raw]
Subject: Re: [PATCH] arm64: defconfig: build-in Qualcomm SC7180 and SM8450 interconnects

On Thu, 20 Oct 2022 23:27:02 -0400, Krzysztof Kozlowski wrote:
> On Qualcomm SC7180 and SM8450 SocS, the typical debug console serial
> port is part of GENI Serial Engine QUP Wrapper Controller which uses
> interconnects. This means that without interconnect drivers, the serial
> might not probe. Without serial console, the root might not be mounted
> by initramfs:
>
> + REASON=No init found. Try passing init= bootarg. PS1=(initramfs
> ...
> (initramfs) run-init -c /dev/console -n /root /sbin/init
> run-init: opening console: No such file or directory
>
> [...]

Applied, thanks!

[1/1] arm64: defconfig: build-in Qualcomm SC7180 and SM8450 interconnects
commit: c03fa428ac6e439afa1d437776365a632ce24262

Best regards,
--
Bjorn Andersson <[email protected]>