From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [80.241.56.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0A04024DCEF for ; Thu, 23 Oct 2025 15:53:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.241.56.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761234795; cv=none; b=YIV8apwJcgW+Iye96+zxxXV2n/DiMo+fR4PlH6AEYhY/vEejjVrjVcgi9L5j/Pwqt2ZXBVxu5YMkm6Qu8y1d8/Io68TZX8pLzEH2HCZrRbtTObd3lO2UdmccUjFbQ/7ZTdwcCtEKcGr8+v8vgxBUl/YpIDJewZFYS+c9Kf/J5FI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761234795; c=relaxed/simple; bh=ozAThHz6HQthUou8RUOhZ/yMsM4/CbbJ0fmf3s8ExDo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Rx4VGDNW/Keu+xyieGAeSysciURRLl5ZZeBJVyl+5+5ftXrb60s28QT0N2vDTWZDnAn7cVSUBQNtUooj7GNy4QGS3wcj7fUVHgOBuhW4TGiTGa4GrkBNy699gYkPVDeBTtIpGVEh6gzNpvtMByDAnOj6j/cLTw/XcrxJQKiIjt8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mailbox.org; spf=pass smtp.mailfrom=mailbox.org; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b=tpKreE2p; arc=none smtp.client-ip=80.241.56.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mailbox.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mailbox.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.b="tpKreE2p" Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4csrCn2M3qz9tmt; Thu, 23 Oct 2025 17:53:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1761234789; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0atqt29j38GuBRhYc4ja9297alyKMui/08oB1QhWzH4=; b=tpKreE2pk3d1abCk9xBoUhAx3KcBuCEPhou7RMeHsY/gCziF+it/Zxb6HpWx7oLMicm334 qZj9V/ejXxjLEc+pMCgP5hk25Mp/fCZWuo8vIhfhSMfXDDa0Q2IqhlfQJ/nlkADMUQcP84 7/rAYUikJXdfXgtm+Tc1wN56vXixDqGzN3awO56vPe3kSChNjr/bXu7Z7mSgAI+SDENVvn c3Gez2TZ+90utkr9tghsVhaWl26HkLsvZdE7HbMO12oH1e5tMrQT192zJ8DIrUomssNAjg A8DOO2TAyqNrF+yiguUir6FYHFzZ2A6CunZnPMSn5a2L02yLwS4iXhuzMvbbnA== Message-ID: <07aba8d4-533d-40f7-bcd3-548704d7d228@mailbox.org> Date: Thu, 23 Oct 2025 17:53:06 +0200 Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH v1] arm64: defconfig: Enable i.MX95 configs for booting and Ethernet To: Krzysztof Kozlowski , Alexander Stein , Catalin Marinas , Will Deacon , Shawn Guo , Fabio Estevam , Peng Fan , linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, imx@lists.linux.dev, =?UTF-8?Q?Jo=C3=A3o_Paulo_Gon=C3=A7alves?= , =?UTF-8?Q?Jo=C3=A3o_Paulo_Gon=C3=A7alves?= References: <20251023-upstream-imx95-smarc-defconfig-v1-1-62c6e6f5b315@toradex.com> <3381308.aeNJFYEL58@steina-w> <5d042f21-274e-4b69-849a-3342d77942eb@mailbox.org> <00555ed7-1aee-459a-ae60-0242809d7b85@linaro.org> Content-Language: en-US From: Marek Vasut In-Reply-To: <00555ed7-1aee-459a-ae60-0242809d7b85@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-MBO-RS-META: jdqggkk454ujny9h4p815r9kkre67smq X-MBO-RS-ID: fa5d91469f820ba399c On 10/23/25 5:32 PM, Krzysztof Kozlowski wrote: > On 23/10/2025 17:27, Marek Vasut wrote: >> On 10/23/25 5:22 PM, Krzysztof Kozlowski wrote: >>> On 23/10/2025 16:03, Alexander Stein wrote: >>>> Hi, >>>> >>>> Am Donnerstag, 23. Oktober 2025, 14:19:15 CEST schrieb João Paulo Gonçalves: >>>>> From: João Paulo Gonçalves >>>>> >>>>> Enable the necessary missing configs for the i.MX95 to boot and also >>>>> have Ethernet working: >>>>> >>>>> * CONFIG_NXP_ENETC4 for the network controller driver >>>>> * CONFIG_NXP_NETC_BLK_CTRL for the NETC hardware domain controller >>>>> * CONFIG_PINCTRL_IMX_SCMI for the pinctrl driver >>>>> * CONFIG_CLK_IMX95_BLK_CTL for the shared hardware domain controller >>>>> >>>>> Signed-off-by: João Paulo Gonçalves >>>>> --- >>>>> arch/arm64/configs/defconfig | 4 ++++ >>>>> 1 file changed, 4 insertions(+) >>>>> >>>>> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig >>>>> index e3a2d37bd10423b028f59dc40d6e8ee1c610d6b8..787d3ae3f5afeac486a905e0943e7b0e1dcee3a9 100644 >>>>> --- a/arch/arm64/configs/defconfig >>>>> +++ b/arch/arm64/configs/defconfig >>>>> @@ -354,8 +354,10 @@ CONFIG_FSL_FMAN=y >>>>> CONFIG_FSL_DPAA_ETH=y >>>>> CONFIG_FSL_DPAA2_ETH=y >>>>> CONFIG_FSL_ENETC=y >>>>> +CONFIG_NXP_ENETC4=m >>>>> CONFIG_FSL_ENETC_VF=y >>>>> CONFIG_FSL_ENETC_QOS=y >>>>> +CONFIG_NXP_NETC_BLK_CTRL=m >>>> >>>> Are you sure this should be module? Shouldn't NFS boot be supported by >>>> default? I might be wring here though. >>> >>> >>> NFS root is supported already with this being module. Yes, it must be a >>> module, cannot be built in. >> It seems I am using it as built-in on MX95 Verdin (patch is posted on >> the ML), and yes, I do boot from NFS root without any initrd/initramfs. >> It has to be built-in for that use case to work. > > > Every arm64 platform is supposed to use initramfs and we already use all > over the place. Shouldn't the platform also be at least bootable with the defconfig ? If yes, then initramfs is a mandatory requirement for a NFS root boot (not a ... supposed to ... optional one), which does not seem to be the case until now. I would argue the ethernet MAC support should be built-in to achieve maximum utility with the defconfig.