Skip to contentSkip to conversation

configs: pico-imx6: convert ethernet function to DM_ETH

PATCH New wig.cheng at technexion.com 2 participants 2 messages Jul 28, 2020 – Aug 4, 2020 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: pico-imx6: convert ethernet function to DM_ETH

From: Wig Cheng <[email protected]>

Before enable _DM_ETH:
Net: FEC [PRIME]

After enable DM_ETH:

    Net:   eth0: ethernet at 2188000

Here is the test commands:
=> dhcp
BOOTP broadcast 1
DHCP client bound to address 10.88.88.152 (146 ms) *** ERROR: `serverip' not set
Cannot autoload with TFTPGET
=> ping 8.8.8.8
Using ethernet at 2188000 device
host 8.8.8.8 is alive

---
 configs/pico-imx6_defconfig | 3 +++
 1 file changed, 3 insertions(+)
configs/pico-imx6_defconfig +3 -0
index 04c132b474..5fe2850086 100644
@@ -64,6 +64,9 @@ CONFIG_DM_MMC=y
 CONFIG_FSL_USDHC=y
 CONFIG_PHYLIB=y
 CONFIG_PHY_ATHEROS=y
+CONFIG_DM_ETH=y
+CONFIG_DM_MDIO=y
+CONFIG_RGMII=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_IMX6=y
 CONFIG_MXC_UART=y
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 configs: pico-imx6: convert ethernet function to DM_ETH

Quoted 14 lines

From: Wig Cheng <[email protected]>
Before enable _DM_ETH:
Net: FEC [PRIME]
After enable DM_ETH:

    Net:   eth0: ethernet at 2188000

Here is the test commands:
=> dhcp
BOOTP broadcast 1
DHCP client bound to address 10.88.88.152 (146 ms) *** ERROR: `serverip' not set
Cannot autoload with TFTPGET
=> ping 8.8.8.8
Using ethernet at 2188000 device
host 8.8.8.8 is alive

Quoted 1 line

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================