public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: wig.cheng at technexion.com <wig.cheng@technexion.com>
To: u-boot@lists.denx.de
Subject: [PATCH v1] configs: pico-imx6: convert ethernet function to DM_ETH
Date: Tue, 28 Jul 2020 18:37:44 +0800	[thread overview]
Message-ID: <20200728103744.11626-1-wig.cheng@technexion.com> (raw)

From: Wig Cheng <wig.cheng@technexion.com>

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

Signed-off-by: Wig Cheng <wig.cheng@technexion.com>
---
 configs/pico-imx6_defconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configs/pico-imx6_defconfig b/configs/pico-imx6_defconfig
index 04c132b474..5fe2850086 100644
--- a/configs/pico-imx6_defconfig
+++ b/configs/pico-imx6_defconfig
@@ -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
-- 
2.17.1

             reply	other threads:[~2020-07-28 10:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-28 10:37 wig.cheng at technexion.com [this message]
2020-07-28 12:42 ` [PATCH v1] configs: pico-imx6: convert ethernet function to DM_ETH Fabio Estevam
  -- strict thread matches above, loose matches on Subject: below --
2020-07-28  8:15 wig.cheng at technexion.com
2020-08-04  8:52 ` sbabic at denx.de

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200728103744.11626-1-wig.cheng@technexion.com \
    --to=wig.cheng@technexion.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox