From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mout-p-103.mailbox.org (mout-p-103.mailbox.org [80.241.56.161]) (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 C2A05259CBC for ; Thu, 23 Oct 2025 20:05:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.241.56.161 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761249925; cv=none; b=hS1GoJszlDnX+txTdk+kZ48R3HoGHO42fMNGl1ZP059m9t7zVKI7aFkDF2lT6b9YGZ5MYg9Mz96mvfaFb9RFAteTR2hQlYTSlPZK2F/NNC3+UBs2RNABNpW1YEdBLRU/W1WBsWPI88rPqMJLby8RRaojYsteofVUYEvBRdZDeXo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761249925; c=relaxed/simple; bh=oUYjDQBHUDFlbuuvZWTZCt/mx5zlXM/RUgOxcWVsZ7Q=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=MHDMmLSyOObqYcbSFqGyG66fUJoZ45WQYVfDEe0BnJqwvqt/7R2uNCGcuq1oUnZ0vfwCqXAMFO18J6kKDjK+WbmohdeyexJ0+wmgfXchrFR/6kxAqykMBomwiZsxfpahM7wMEfIMuiCMNIrkwtRwjNaIVw2ila38bpvqcBjxDn0= 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=FOukngX7; arc=none smtp.client-ip=80.241.56.161 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="FOukngX7" Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (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-103.mailbox.org (Postfix) with ESMTPS id 4csxpl6xZkz9syZ; Thu, 23 Oct 2025 22:05:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1761249920; 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=ZTu1GyMmRr5jRVz3DxG2pC8vNPi+HgdHRimaAWFOClw=; b=FOukngX7r7iiiyjKQaWF+xeMU6eorFJkpXuQAGHeAy7lMzPkiiBO7lc7AvmEptwd53qNHd stm4w7abAp7fMiEYiOUB9Il0lQa5U0esQ3/Sq66GBGbo9mwpa2K5CNBCgEOJgRmYgvXVRu HLmeuW15nyu2Mr+kpwDDFvuMOq0deK9bHCUnsq1ObQJKOOlmpb6ma90tDUN+WbLIMMkRDg yPDIZKXFgRuiuFTsduUHWOqb/M83CmNtpHj1HLeaCVGDOBi5D8wPCuQACaVv7Sl8cBwzst nuefnVKjbsuu3VQm4SrsNgkL627ZSNqU88q6k261FgLjGrT2C14UXg0D73KLzA== Message-ID: <656164be-5ce7-4f9e-b6cd-0eb1b9305132@mailbox.org> Date: Thu, 23 Oct 2025 22:05:16 +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> <07aba8d4-533d-40f7-bcd3-548704d7d228@mailbox.org> Content-Language: en-US From: Marek Vasut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-MBO-RS-ID: fa78ef5ec364d2144c7 X-MBO-RS-META: bjh1abmyap9ebgkw866c7oyit4s7fefu On 10/23/25 6:01 PM, Krzysztof Kozlowski wrote: > On 23/10/2025 17:53, Marek Vasut wrote: >> 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. > > It always was a requirement, nothing new here. Is this requirement documented anywhere then ? >> I would argue the ethernet MAC support should be built-in to achieve >> maximum utility with the defconfig. > > No, you missed my earlier point - all decent platforms already use > initramfs since it is really not complicated. Is my understanding correct, that the in-kernel defconfig is not meant for practical use and is meant mainly for build-testing/build-coverage ?