* [PATCH v1] arm64: defconfig: Enable i.MX95 configs for booting and Ethernet
@ 2025-10-23 12:19 João Paulo Gonçalves
2025-10-23 12:22 ` Krzysztof Kozlowski
2025-10-23 14:03 ` Alexander Stein
0 siblings, 2 replies; 11+ messages in thread
From: João Paulo Gonçalves @ 2025-10-23 12:19 UTC (permalink / raw)
To: Catalin Marinas, Will Deacon, Shawn Guo, Fabio Estevam,
Marek Vasut, Peng Fan, Krzysztof Kozlowski
Cc: linux-kernel, linux-arm-kernel, imx,
João Paulo Gonçalves
From: João Paulo Gonçalves <joao.goncalves@toradex.com>
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 <joao.goncalves@toradex.com>
---
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
CONFIG_HIX5HD2_GMAC=y
CONFIG_HNS_DSAF=y
CONFIG_HNS_ENET=y
@@ -615,6 +617,7 @@ CONFIG_PINCTRL_IMX8DXL=y
CONFIG_PINCTRL_IMX8ULP=y
CONFIG_PINCTRL_IMX91=y
CONFIG_PINCTRL_IMX93=y
+CONFIG_PINCTRL_IMX_SCMI=y
CONFIG_PINCTRL_MSM=y
CONFIG_PINCTRL_IPQ5018=y
CONFIG_PINCTRL_IPQ5332=y
@@ -1349,6 +1352,7 @@ CONFIG_CLK_IMX8MQ=y
CONFIG_CLK_IMX8QXP=y
CONFIG_CLK_IMX8ULP=y
CONFIG_CLK_IMX93=y
+CONFIG_CLK_IMX95_BLK_CTL=y
CONFIG_TI_SCI_CLK=y
CONFIG_COMMON_CLK_MT8192_AUDSYS=y
CONFIG_COMMON_CLK_MT8192_CAMSYS=y
---
base-commit: 3a8660878839faadb4f1a6dd72c3179c1df56787
change-id: 20251023-upstream-imx95-smarc-defconfig-8972db535918
Best regards,
--
João Paulo Gonçalves <joao.goncalves@toradex.com>
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH v1] arm64: defconfig: Enable i.MX95 configs for booting and Ethernet
2025-10-23 12:19 [PATCH v1] arm64: defconfig: Enable i.MX95 configs for booting and Ethernet João Paulo Gonçalves
@ 2025-10-23 12:22 ` Krzysztof Kozlowski
2025-10-23 16:20 ` João Paulo Gonçalves
2025-10-23 14:03 ` Alexander Stein
1 sibling, 1 reply; 11+ messages in thread
From: Krzysztof Kozlowski @ 2025-10-23 12:22 UTC (permalink / raw)
To: João Paulo Gonçalves, Catalin Marinas, Will Deacon,
Shawn Guo, Fabio Estevam, Marek Vasut, Peng Fan
Cc: linux-kernel, linux-arm-kernel, imx,
João Paulo Gonçalves
On 23/10/2025 14:19, João Paulo Gonçalves wrote:
> From: João Paulo Gonçalves <joao.goncalves@toradex.com>
>
> 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
These do not carry any IMX95 compatibles, so I have doubts you described
the issue correctly. You claim that SoC needs them, not the board.
> * CONFIG_PINCTRL_IMX_SCMI for the pinctrl driver> * CONFIG_CLK_IMX95_BLK_CTL for the shared hardware domain controller
BTW standard comment applies - explain which upstream boards have all these.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v1] arm64: defconfig: Enable i.MX95 configs for booting and Ethernet
2025-10-23 12:19 [PATCH v1] arm64: defconfig: Enable i.MX95 configs for booting and Ethernet João Paulo Gonçalves
2025-10-23 12:22 ` Krzysztof Kozlowski
@ 2025-10-23 14:03 ` Alexander Stein
2025-10-23 15:22 ` Krzysztof Kozlowski
1 sibling, 1 reply; 11+ messages in thread
From: Alexander Stein @ 2025-10-23 14:03 UTC (permalink / raw)
To: Catalin Marinas, Will Deacon, Shawn Guo, Fabio Estevam,
Marek Vasut, Peng Fan, Krzysztof Kozlowski, linux-arm-kernel
Cc: linux-kernel, linux-arm-kernel, imx,
João Paulo Gonçalves, João Paulo Gonçalves
Hi,
Am Donnerstag, 23. Oktober 2025, 14:19:15 CEST schrieb João Paulo Gonçalves:
> From: João Paulo Gonçalves <joao.goncalves@toradex.com>
>
> 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 <joao.goncalves@toradex.com>
> ---
> 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.
Best regards
Alexander
> CONFIG_HIX5HD2_GMAC=y
> CONFIG_HNS_DSAF=y
> CONFIG_HNS_ENET=y
> @@ -615,6 +617,7 @@ CONFIG_PINCTRL_IMX8DXL=y
> CONFIG_PINCTRL_IMX8ULP=y
> CONFIG_PINCTRL_IMX91=y
> CONFIG_PINCTRL_IMX93=y
> +CONFIG_PINCTRL_IMX_SCMI=y
> CONFIG_PINCTRL_MSM=y
> CONFIG_PINCTRL_IPQ5018=y
> CONFIG_PINCTRL_IPQ5332=y
> @@ -1349,6 +1352,7 @@ CONFIG_CLK_IMX8MQ=y
> CONFIG_CLK_IMX8QXP=y
> CONFIG_CLK_IMX8ULP=y
> CONFIG_CLK_IMX93=y
> +CONFIG_CLK_IMX95_BLK_CTL=y
> CONFIG_TI_SCI_CLK=y
> CONFIG_COMMON_CLK_MT8192_AUDSYS=y
> CONFIG_COMMON_CLK_MT8192_CAMSYS=y
>
> ---
> base-commit: 3a8660878839faadb4f1a6dd72c3179c1df56787
> change-id: 20251023-upstream-imx95-smarc-defconfig-8972db535918
>
> Best regards,
>
--
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v1] arm64: defconfig: Enable i.MX95 configs for booting and Ethernet
2025-10-23 14:03 ` Alexander Stein
@ 2025-10-23 15:22 ` Krzysztof Kozlowski
2025-10-23 15:27 ` Marek Vasut
0 siblings, 1 reply; 11+ messages in thread
From: Krzysztof Kozlowski @ 2025-10-23 15:22 UTC (permalink / raw)
To: Alexander Stein, Catalin Marinas, Will Deacon, Shawn Guo,
Fabio Estevam, Marek Vasut, Peng Fan, linux-arm-kernel
Cc: linux-kernel, imx, João Paulo Gonçalves,
João Paulo Gonçalves
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 <joao.goncalves@toradex.com>
>>
>> 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 <joao.goncalves@toradex.com>
>> ---
>> 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.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v1] arm64: defconfig: Enable i.MX95 configs for booting and Ethernet
2025-10-23 15:22 ` Krzysztof Kozlowski
@ 2025-10-23 15:27 ` Marek Vasut
2025-10-23 15:32 ` Krzysztof Kozlowski
0 siblings, 1 reply; 11+ messages in thread
From: Marek Vasut @ 2025-10-23 15:27 UTC (permalink / raw)
To: Krzysztof Kozlowski, Alexander Stein, Catalin Marinas,
Will Deacon, Shawn Guo, Fabio Estevam, Marek Vasut, Peng Fan,
linux-arm-kernel
Cc: linux-kernel, imx, João Paulo Gonçalves,
João Paulo Gonçalves
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 <joao.goncalves@toradex.com>
>>>
>>> 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 <joao.goncalves@toradex.com>
>>> ---
>>> 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.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v1] arm64: defconfig: Enable i.MX95 configs for booting and Ethernet
2025-10-23 15:27 ` Marek Vasut
@ 2025-10-23 15:32 ` Krzysztof Kozlowski
2025-10-23 15:53 ` Marek Vasut
0 siblings, 1 reply; 11+ messages in thread
From: Krzysztof Kozlowski @ 2025-10-23 15:32 UTC (permalink / raw)
To: Marek Vasut, Alexander Stein, Catalin Marinas, Will Deacon,
Shawn Guo, Fabio Estevam, Marek Vasut, Peng Fan, linux-arm-kernel
Cc: linux-kernel, imx, João Paulo Gonçalves,
João Paulo Gonçalves
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 <joao.goncalves@toradex.com>
>>>>
>>>> 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 <joao.goncalves@toradex.com>
>>>> ---
>>>> 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. Actually, even on arm32, so that use case is not
something defconfig is supposed to support. Your own product config of
course can.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v1] arm64: defconfig: Enable i.MX95 configs for booting and Ethernet
2025-10-23 15:32 ` Krzysztof Kozlowski
@ 2025-10-23 15:53 ` Marek Vasut
2025-10-23 16:01 ` Krzysztof Kozlowski
0 siblings, 1 reply; 11+ messages in thread
From: Marek Vasut @ 2025-10-23 15:53 UTC (permalink / raw)
To: Krzysztof Kozlowski, Alexander Stein, Catalin Marinas,
Will Deacon, Shawn Guo, Fabio Estevam, Peng Fan, linux-arm-kernel
Cc: linux-kernel, imx, João Paulo Gonçalves,
João Paulo Gonçalves
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 <joao.goncalves@toradex.com>
>>>>>
>>>>> 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 <joao.goncalves@toradex.com>
>>>>> ---
>>>>> 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.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v1] arm64: defconfig: Enable i.MX95 configs for booting and Ethernet
2025-10-23 15:53 ` Marek Vasut
@ 2025-10-23 16:01 ` Krzysztof Kozlowski
2025-10-23 20:05 ` Marek Vasut
0 siblings, 1 reply; 11+ messages in thread
From: Krzysztof Kozlowski @ 2025-10-23 16:01 UTC (permalink / raw)
To: Marek Vasut, Alexander Stein, Catalin Marinas, Will Deacon,
Shawn Guo, Fabio Estevam, Peng Fan, linux-arm-kernel
Cc: linux-kernel, imx, João Paulo Gonçalves,
João Paulo Gonçalves
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 <joao.goncalves@toradex.com>
>>>>>>
>>>>>> 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 <joao.goncalves@toradex.com>
>>>>>> ---
>>>>>> 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.
>
> 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.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v1] arm64: defconfig: Enable i.MX95 configs for booting and Ethernet
2025-10-23 12:22 ` Krzysztof Kozlowski
@ 2025-10-23 16:20 ` João Paulo Gonçalves
0 siblings, 0 replies; 11+ messages in thread
From: João Paulo Gonçalves @ 2025-10-23 16:20 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Catalin Marinas, Will Deacon, Shawn Guo, Fabio Estevam,
Marek Vasut, Peng Fan, linux-kernel, linux-arm-kernel, imx,
João Paulo Gonçalves
Hi Krzysztof,
On Thu, Oct 23, 2025 at 02:22:40PM +0200, Krzysztof Kozlowski wrote:
> On 23/10/2025 14:19, João Paulo Gonçalves wrote:
> > From: João Paulo Gonçalves <joao.goncalves@toradex.com>
> >
> > 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
>
>
> These do not carry any IMX95 compatibles, so I have doubts you described
> the issue correctly. You claim that SoC needs them, not the board.
>
> > * CONFIG_PINCTRL_IMX_SCMI for the pinctrl driver> * CONFIG_CLK_IMX95_BLK_CTL for the shared hardware domain controller
>
>
> BTW standard comment applies - explain which upstream boards have all these.
There are already some boards that need these configs, for example, the
NXP i.MX95 19x19 EVK. For booting, the only one needed is
CONFIG_PINCTRL_IMX_SCMI for the scmi_iomuxc pinctrl driver. Regarding
the other configs, they enable Ethernet and PCIe for now. All configs
are on imx95.dtsi.
I will prepare a v2 rephrasing the commit message.
Best Regards,
João Paulo Gonçalves
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v1] arm64: defconfig: Enable i.MX95 configs for booting and Ethernet
2025-10-23 16:01 ` Krzysztof Kozlowski
@ 2025-10-23 20:05 ` Marek Vasut
2025-10-23 20:16 ` Krzysztof Kozlowski
0 siblings, 1 reply; 11+ messages in thread
From: Marek Vasut @ 2025-10-23 20:05 UTC (permalink / raw)
To: Krzysztof Kozlowski, Alexander Stein, Catalin Marinas,
Will Deacon, Shawn Guo, Fabio Estevam, Peng Fan, linux-arm-kernel
Cc: linux-kernel, imx, João Paulo Gonçalves,
João Paulo Gonçalves
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 <joao.goncalves@toradex.com>
>>>>>>>
>>>>>>> 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 <joao.goncalves@toradex.com>
>>>>>>> ---
>>>>>>> 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 ?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH v1] arm64: defconfig: Enable i.MX95 configs for booting and Ethernet
2025-10-23 20:05 ` Marek Vasut
@ 2025-10-23 20:16 ` Krzysztof Kozlowski
0 siblings, 0 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2025-10-23 20:16 UTC (permalink / raw)
To: Marek Vasut, Alexander Stein, Catalin Marinas, Will Deacon,
Shawn Guo, Fabio Estevam, Peng Fan, linux-arm-kernel
Cc: linux-kernel, imx, João Paulo Gonçalves,
João Paulo Gonçalves
On 23/10/2025 22:05, Marek Vasut wrote:
> 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 <joao.goncalves@toradex.com>
>>>>>>>>
>>>>>>>> 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 <joao.goncalves@toradex.com>
>>>>>>>> ---
>>>>>>>> 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 ?
Dunno, just dozen of emails.
>
>>> 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 ?
It is 100% practical use - we all test our boards on defconfig. It is
not build testing, but actual runtime usage and testing. And as
mentioned many times - being able to only toggle KASAN for defconfig and
still fit in boot partition size is pretty useful.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2025-10-23 20:16 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-23 12:19 [PATCH v1] arm64: defconfig: Enable i.MX95 configs for booting and Ethernet João Paulo Gonçalves
2025-10-23 12:22 ` Krzysztof Kozlowski
2025-10-23 16:20 ` João Paulo Gonçalves
2025-10-23 14:03 ` Alexander Stein
2025-10-23 15:22 ` Krzysztof Kozlowski
2025-10-23 15:27 ` Marek Vasut
2025-10-23 15:32 ` Krzysztof Kozlowski
2025-10-23 15:53 ` Marek Vasut
2025-10-23 16:01 ` Krzysztof Kozlowski
2025-10-23 20:05 ` Marek Vasut
2025-10-23 20:16 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).