U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] configs: imx95: enable PCI_INIT_R for Toradex modules
@ 2026-06-12  8:58 Franz Schnyder
  2026-06-12  8:59 ` [PATCH 1/2] configs: toradex-smarc-imx95: enable PCI_INIT_R Franz Schnyder
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Franz Schnyder @ 2026-06-12  8:58 UTC (permalink / raw)
  To: NXP i.MX U-Boot Team, u-boot
  Cc: Francesco Dolcini, Fabio Estevam, Tom Rini, Franz Schnyder

Currently, on the Toradex SMARC iMX95 and the Verdin iMX95 the ENETC 
device is not enumerated before network initialization because 
pci_init() is not called. As a result, no Ethernet device is registered.

Enable CONFIG_PCI_INIT_R so the PCI buses are enumerated early enough
for the Ethernet Controller to be detected and used.

Signed-off-by: Franz Schnyder <franz.schnyder@toradex.com>
---
Franz Schnyder (2):
      configs: toradex-smarc-imx95: enable PCI_INIT_R
      configs: verdin-imx95: enable PCI_INIT_R

 configs/toradex-smarc-imx95_defconfig | 1 +
 configs/verdin-imx95_defconfig        | 1 +
 2 files changed, 2 insertions(+)
---
base-commit: a566d32693600bbbe405ca5a7f4ab07f71f45e86
change-id: 20260611-fix-smarc-verdin-imx95-eth-761d2c76d6fe

Best regards,
--  
Franz Schnyder <franz.schnyder@toradex.com>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/2] configs: toradex-smarc-imx95: enable PCI_INIT_R
  2026-06-12  8:58 [PATCH 0/2] configs: imx95: enable PCI_INIT_R for Toradex modules Franz Schnyder
@ 2026-06-12  8:59 ` Franz Schnyder
  2026-06-12  8:59 ` [PATCH 2/2] configs: verdin-imx95: " Franz Schnyder
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Franz Schnyder @ 2026-06-12  8:59 UTC (permalink / raw)
  To: NXP i.MX U-Boot Team, u-boot
  Cc: Francesco Dolcini, Fabio Estevam, Tom Rini, Franz Schnyder

From: Franz Schnyder <franz.schnyder@toradex.com>

Currently, the ENETC device on iMX95 is not enumerated before network
initialization because pci_init() is not called. As a result, no
Ethernet device is registered.

Enable CONFIG_PCI_INIT_R so the PCI buses are enumerated early enough
for the Ethernet Controller to be detected and used.

Fixes: ff0540fcfe49 ("board: toradex: add Toradex SMARC iMX95")
Signed-off-by: Franz Schnyder <franz.schnyder@toradex.com>
---
 configs/toradex-smarc-imx95_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/toradex-smarc-imx95_defconfig b/configs/toradex-smarc-imx95_defconfig
index 9363eb5cbb6..9abadb0ed1a 100644
--- a/configs/toradex-smarc-imx95_defconfig
+++ b/configs/toradex-smarc-imx95_defconfig
@@ -44,6 +44,7 @@ CONFIG_LOG=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
 # CONFIG_BOARD_INIT is not set
+CONFIG_PCI_INIT_R=y
 CONFIG_SPL_MAX_SIZE=0x30000
 CONFIG_SPL_BOARD_INIT=y
 CONFIG_SPL_LOAD_IMX_CONTAINER=y

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] configs: verdin-imx95: enable PCI_INIT_R
  2026-06-12  8:58 [PATCH 0/2] configs: imx95: enable PCI_INIT_R for Toradex modules Franz Schnyder
  2026-06-12  8:59 ` [PATCH 1/2] configs: toradex-smarc-imx95: enable PCI_INIT_R Franz Schnyder
@ 2026-06-12  8:59 ` Franz Schnyder
  2026-06-12 13:11 ` [PATCH 0/2] configs: imx95: enable PCI_INIT_R for Toradex modules Francesco Dolcini
  2026-06-12 20:28 ` Tom Rini
  3 siblings, 0 replies; 6+ messages in thread
From: Franz Schnyder @ 2026-06-12  8:59 UTC (permalink / raw)
  To: NXP i.MX U-Boot Team, u-boot
  Cc: Francesco Dolcini, Fabio Estevam, Tom Rini, Franz Schnyder

From: Franz Schnyder <franz.schnyder@toradex.com>

Currently, the ENETC device on iMX95 is not enumerated before network
initialization because pci_init() is not called. As a result, no
Ethernet device is registered.

Enable CONFIG_PCI_INIT_R so the PCI buses are enumerated early enough
for the Ethernet Controller to be detected and used.

Fixes: 60d8255d8dc0 ("board: toradex: add Toradex Verdin iMX95")
Signed-off-by: Franz Schnyder <franz.schnyder@toradex.com>
---
 configs/verdin-imx95_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/verdin-imx95_defconfig b/configs/verdin-imx95_defconfig
index ea1ebb0c492..daf41a8b830 100644
--- a/configs/verdin-imx95_defconfig
+++ b/configs/verdin-imx95_defconfig
@@ -45,6 +45,7 @@ CONFIG_LOG=y
 CONFIG_DISPLAY_BOARDINFO_LATE=y
 # CONFIG_BOARD_INIT is not set
 CONFIG_BOARD_LATE_INIT=y
+CONFIG_PCI_INIT_R=y
 CONFIG_SPL_MAX_SIZE=0x30000
 CONFIG_SPL_BOARD_INIT=y
 CONFIG_SPL_LOAD_IMX_CONTAINER=y

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/2] configs: imx95: enable PCI_INIT_R for Toradex modules
  2026-06-12  8:58 [PATCH 0/2] configs: imx95: enable PCI_INIT_R for Toradex modules Franz Schnyder
  2026-06-12  8:59 ` [PATCH 1/2] configs: toradex-smarc-imx95: enable PCI_INIT_R Franz Schnyder
  2026-06-12  8:59 ` [PATCH 2/2] configs: verdin-imx95: " Franz Schnyder
@ 2026-06-12 13:11 ` Francesco Dolcini
  2026-06-12 14:12   ` Fabio Estevam
  2026-06-12 20:28 ` Tom Rini
  3 siblings, 1 reply; 6+ messages in thread
From: Francesco Dolcini @ 2026-06-12 13:11 UTC (permalink / raw)
  To: Franz Schnyder
  Cc: NXP i.MX U-Boot Team, u-boot, Francesco Dolcini, Fabio Estevam,
	Tom Rini, Franz Schnyder

On Fri, Jun 12, 2026 at 10:58:59AM +0200, Franz Schnyder wrote:
> Currently, on the Toradex SMARC iMX95 and the Verdin iMX95 the ENETC 
> device is not enumerated before network initialization because 
> pci_init() is not called. As a result, no Ethernet device is registered.
> 
> Enable CONFIG_PCI_INIT_R so the PCI buses are enumerated early enough
> for the Ethernet Controller to be detected and used.
> 
> Signed-off-by: Franz Schnyder <franz.schnyder@toradex.com>

Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>

Fabio: to me this is material for the current release (master), up to
you the final decision on this.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/2] configs: imx95: enable PCI_INIT_R for Toradex modules
  2026-06-12 13:11 ` [PATCH 0/2] configs: imx95: enable PCI_INIT_R for Toradex modules Francesco Dolcini
@ 2026-06-12 14:12   ` Fabio Estevam
  0 siblings, 0 replies; 6+ messages in thread
From: Fabio Estevam @ 2026-06-12 14:12 UTC (permalink / raw)
  To: Francesco Dolcini
  Cc: Franz Schnyder, NXP i.MX U-Boot Team, u-boot, Francesco Dolcini,
	Tom Rini, Franz Schnyder

Hi Francesco,

On Fri, Jun 12, 2026 at 10:11 AM Francesco Dolcini <francesco@dolcini.it> wrote:
>
> On Fri, Jun 12, 2026 at 10:58:59AM +0200, Franz Schnyder wrote:
> > Currently, on the Toradex SMARC iMX95 and the Verdin iMX95 the ENETC
> > device is not enumerated before network initialization because
> > pci_init() is not called. As a result, no Ethernet device is registered.
> >
> > Enable CONFIG_PCI_INIT_R so the PCI buses are enumerated early enough
> > for the Ethernet Controller to be detected and used.
> >
> > Signed-off-by: Franz Schnyder <franz.schnyder@toradex.com>
>
> Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>
>
> Fabio: to me this is material for the current release (master), up to
> you the final decision on this.

That's OK.

Tom, I don't have any other patches in my master queue.

Please feel free to apply this series directly to master.

Thanks

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/2] configs: imx95: enable PCI_INIT_R for Toradex modules
  2026-06-12  8:58 [PATCH 0/2] configs: imx95: enable PCI_INIT_R for Toradex modules Franz Schnyder
                   ` (2 preceding siblings ...)
  2026-06-12 13:11 ` [PATCH 0/2] configs: imx95: enable PCI_INIT_R for Toradex modules Francesco Dolcini
@ 2026-06-12 20:28 ` Tom Rini
  3 siblings, 0 replies; 6+ messages in thread
From: Tom Rini @ 2026-06-12 20:28 UTC (permalink / raw)
  To: NXP i.MX U-Boot Team, u-boot, Franz Schnyder
  Cc: Francesco Dolcini, Fabio Estevam, Franz Schnyder

On Fri, 12 Jun 2026 10:58:59 +0200, Franz Schnyder wrote:

> Currently, on the Toradex SMARC iMX95 and the Verdin iMX95 the ENETC
> device is not enumerated before network initialization because
> pci_init() is not called. As a result, no Ethernet device is registered.
> 
> Enable CONFIG_PCI_INIT_R so the PCI buses are enumerated early enough
> for the Ethernet Controller to be detected and used.
> 
> [...]

Applied to u-boot/master, thanks!

[1/2] configs: toradex-smarc-imx95: enable PCI_INIT_R
      commit: da8d438ae7aa9189b25abe49741aa64b244fe128
[2/2] configs: verdin-imx95: enable PCI_INIT_R
      commit: 4228d584ce6f7c54edf765b9231806314dae48ad
-- 
Tom



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-06-12 20:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-12  8:58 [PATCH 0/2] configs: imx95: enable PCI_INIT_R for Toradex modules Franz Schnyder
2026-06-12  8:59 ` [PATCH 1/2] configs: toradex-smarc-imx95: enable PCI_INIT_R Franz Schnyder
2026-06-12  8:59 ` [PATCH 2/2] configs: verdin-imx95: " Franz Schnyder
2026-06-12 13:11 ` [PATCH 0/2] configs: imx95: enable PCI_INIT_R for Toradex modules Francesco Dolcini
2026-06-12 14:12   ` Fabio Estevam
2026-06-12 20:28 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox