From patchwork Tue Nov 24 10:27:08 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vivek Puar X-Patchwork-Id: 105381 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.15135.1795516044973976650 for ; Tue, 24 Nov 2026 02:27:25 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@qualcomm.com header.s=qcppdkim1 header.b=ZxNyhzh0; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: qti.qualcomm.com, ip: 205.220.168.131, mailfrom: vpuar@qti.qualcomm.com) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AO8VOkM3701098 for ; Tue, 24 Nov 2026 10:27:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=z2x7I1xPVDCorzXrNEFTdM BlhiMj2SigcoMtcW5fAnI=; b=ZxNyhzh08VieiOUpokcfxvxOx7RNVnLz3m8i+D +xpPhaKhZ7KIuH5aiRZ3SjK3dgsd5rlSdwT8ytcjkM+Clap5iIrJOO+c9wRL/m5A JY5QT8+1vF5IbJ1lXLhv6WsH/1YQhT/mDoGCQReymNAqUvNdljD1jepbXHNVy6kC hVf5PJ/gRdBC6lj2GNmyEu1kqpk+JvgyQdCrKnTEbDJk+RtsGaLCovCsIdSZuYDb 6MFvNNcqeg55p+fy8MbhFvZO5JoqIw/souyqMbz4zpLSEktOK6icg/GD0lUbFnEz AQlTBAl/cW2+cKSbwOY7sAaEVhmbtCP9qr0dJY6s6D9DuN+g== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j50ky22kr-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Tue, 24 Nov 2026 10:27:24 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.18.1.11/8.18.1.11) with ESMTPS id 6AOARNU0272184 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 24 Nov 2026 10:27:23 GMT Received: from hyd-e160-a01-2-03.qualcomm.com (10.80.81.91) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.53; Tue, 24 Nov 2026 02:27:22 -0800 From: Vivek Puar To: CC: Vivek Puar Subject: [PATCH] genericarm64: add ttyMSM0 serial console Date: Tue, 24 Nov 2026 15:57:08 +0530 Message-ID: <20261124102708.1431357-1-vpuar@qti.qualcomm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.80.81.91] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Authority-Analysis: v=2.4 cv=Y+ptIReN c=1 sm=1 tr=0 ts=6b05668c cx=c_pps a=ouPCqIW2jiPt+lZRy3xVPw==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17 a=KqM8su6xhIYA:10 a=zJRp6_cAMcgA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=EUspDBNiAAAA:8 a=HBlZNSKZ-cqriRE-EhYA:9 X-Proofpoint-GUID: xNyWAdmtRY-KMq3o61I7T4Bzzk6FHvar X-Proofpoint-ORIG-GUID: xNyWAdmtRY-KMq3o61I7T4Bzzk6FHvar X-Proofpoint-Spam-Info: AW1haW4tMjYxMTI0MDA0MCBTYWx0ZWRfX3X5QgixCbbr7 gjJlViay8NDqSeM5wW5JN41rYT0SiWN+/MXmrVP+GbFkmfkXMZKdl8xj9zcQcWD8utZ3qNKkfbK f616MUJdCYHUIuHPqS7kOIKxP858sb4= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTI0MDA0MCBTYWx0ZWRfXyd3SFtuasZjf PgJe9V9PyRNAh9puEAscOXPKBjeq7mCVTRnhepqX7d/TsIwo4wI/GYzvz/JZWTvwo0ey9rNimpG lSjSHuJu8a3FvepEvH9Vj5HIVbFzhR3q781Ljng/kuK1rmSNO7BiYahtLtVWqTENGfIGDVOThMJ Wt/a1PZMyPxvCED578CxN7WHWnQPEeM/+Dra3pcYKvJy1qjfody8pXgHToPU77ru2RXONs9zu4Y MktogR38API2DWqawl6KDIRPpihkBHp2dZe687DYuF3laLwvo/1n9DJfduAU3BCBSa8v+wY7HLR 2R1z4IMJuac4p298uVNvHlH1a/JdCiTGhGNKKU6k5CcnthRvHzSwKGRq60WwyOk6QTtiX4xg25q XABg66qAvRFnbq7nxMwuAJ1xK1IjHEJ3IfhTZ6DbIgxHERdS9hOKh5p+5oa5I1VvnD1eGAzncdV Wy2Zw7nZmq4a9+Zzr1Q== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-24_01,2026-11-23_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 clxscore=1015 malwarescore=0 adultscore=0 spamscore=0 lowpriorityscore=0 bulkscore=0 suspectscore=0 impostorscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611240040 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Tue, 24 Nov 2026 10:27:29 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/poky/message/14002 Some platforms using the MSM serial driver expose the debug UART as ttyMSM0. The genericarm64 SysVinit image does not currently start a getty on this console, preventing access to the login prompt even when ttyMSM0 is selected as the kernel console. Add ttyMSM0 to SERIAL_CONSOLES so sysvinit-inittab creates the corresponding getty entry. Signed-off-by: Vivek Puar --- meta-yocto-bsp/conf/machine/genericarm64.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-yocto-bsp/conf/machine/genericarm64.conf b/meta-yocto-bsp/conf/machine/genericarm64.conf index e10bec94..3b9aea36 100644 --- a/meta-yocto-bsp/conf/machine/genericarm64.conf +++ b/meta-yocto-bsp/conf/machine/genericarm64.conf @@ -41,7 +41,7 @@ WKS_FILE ?= "genericarm64.wks.in" EFI_PROVIDER ?= "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd-boot", "grub-efi", d)}" # Try to bring up a selection of physical or virtual serial consoles -SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0 115200;ttyS0 115200;ttyS1 115200;ttyS2 115200;ttyPS1" +SERIAL_CONSOLES ?= "115200;ttyAMA0 115200;hvc0 115200;ttyS0 115200;ttyS1 115200;ttyS2 115200;ttyPS1 115200;ttyMSM0" # Allow u-boot to be built for use with qemu-system-aarch64. # This u-boot is _not_ suitable for use with real hardware, and the expectation