From: Yixun Lan <dlan@kernel.org>
To: E Shattow <e@freeshell.de>
Cc: u-boot@lists.u-boot-project.org, Tom Rini <trini@konsulko.com>,
Jerome Forissier <jerome.forissier@arm.com>,
Quentin Schulz <quentin.schulz@cherry.de>,
Peter Robinson <pbrobinson@gmail.com>,
Johan Jonker <jbx6244@gmail.com>,
Julien Stephan <jstephan@baylibre.com>,
David Lechner <dlechner@baylibre.com>,
Junhui Liu <junhui.liu@pigmoral.tech>,
fanyi zhang <fanyi.zhang@mediatek.com>,
spacemit@lists.linux.dev
Subject: Re: [PATCH 2/2] configs: spacemit: k3: Enable Ethernet support
Date: Thu, 24 Sep 2026 03:34:04 +0000 [thread overview]
Message-ID: <20260924033404-GKH353745@kernel.org> (raw)
In-Reply-To: <e4c84eac-01e6-4955-865c-56d8fb733498@freeshell.de>
On 20:13 Wed 23 Sep , E Shattow wrote:
> Hi Yixun,
>
> On 9/23/26 18:53, Yixun Lan wrote:
> > Enable the SpacemiT platform glue for the DesignWare Ethernet QoS
> > controller together with the generic PHY framework, Gigabit Ethernet
> > PHY support and the Realtek PHY driver.
> >
> > Enable DHCP, MII, ping and PXE commands for network configuration,
> > diagnostics and network boot. Allow U-Boot to generate a random
> > Ethernet address when no valid address is provided by the board.
> >
> > Signed-off-by: Yixun Lan <dlan@kernel.org>
> > ---
> > configs/spacemit_k3_defconfig | 10 ++++++++++
> > 1 file changed, 10 insertions(+)
> >
> > diff --git a/configs/spacemit_k3_defconfig b/configs/spacemit_k3_defconfig
> > index 6ca41aecc41..3a70a0a4858 100644
> > --- a/configs/spacemit_k3_defconfig
> > +++ b/configs/spacemit_k3_defconfig
> > @@ -24,10 +24,15 @@ CONFIG_SYS_PBSIZE=276
> > CONFIG_HUSH_PARSER=y
> > CONFIG_CMD_GPIO=y
> > CONFIG_CMD_I2C=y
> > +CONFIG_CMD_DHCP=y
> > +CONFIG_CMD_MII=y
> > +CONFIG_CMD_PING=y
> > +CONFIG_CMD_PXE=y
> > CONFIG_CMD_PMIC=y
> > CONFIG_CMD_REGULATOR=y
> > CONFIG_CMD_FAT=y
> > CONFIG_CMD_FS_GENERIC=y
> > +CONFIG_NET_RANDOM_ETHADDR=y
> > CONFIG_SYSCON=y
> > CONFIG_CLK_SPACEMIT=y
> > CONFIG_CLK_SPACEMIT_K3=y
> > @@ -35,6 +40,11 @@ CONFIG_SPACEMIT_GPIO=y
> > CONFIG_DM_I2C=y
> > CONFIG_SYS_I2C_SPACEMIT_K1=y
> > CONFIG_MISC=y
> > +CONFIG_PHY_GIGE=y
> > +CONFIG_DWC_ETH_QOS=y
> > +CONFIG_DWC_ETH_QOS_SPACEMIT=y
> > +CONFIG_PHY_REALTEK=y
> > +CONFIG_PHY=y
> > CONFIG_PINCTRL=y
> > CONFIG_PINCTRL_SPACEMIT_K1=y
> > CONFIG_DM_PMIC=y
> >
>
> Please also enable for this series: CMD_WGET DNS NET_LWIP
>
No objection from my side, can add in next version
> We can intentionally leave WGET_HTTPS behind when there is no
> hardware-specific DM RNG driver implemented yet. I do not see a reason
> for the legacy network stack instead of LwIP; LwIP appears to be working
> well.
>
Ok
> In my test I start a simple HTTP server on the local network host:
>
> $ python3 -m http.server 8000
> Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...
>
> Next from a Sipeed K3 Pico-ITX 32GB board and your mainline u-boot series:
>
> => dhcp
> ethernet@cac80000 Waiting for PHY auto negotiation to complete........ done
> DHCP client bound to address <10.20.30.40> (38 ms)
> => wget http://host:8000/mini.efi
> ##################################################
> 87962624 bytes transferred in 7414 ms (11.3 MiB/s)
> Bytes transferred = 87962624 (53e3400 hex)
>
> With that,
>
> Tested-by: E Shattow <e@freeshell.de>
Thanks for testing, will apply your tag to the series
--
Yixun Lan (dlan)
prev parent reply other threads:[~2026-09-24 3:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-24 1:53 [PATCH 0/2] riscv: spacemit: add ethernet support for K3 SoC Yixun Lan
2026-09-24 1:53 ` [PATCH 1/2] net: dwc_eth_qos: spacemit: add " Yixun Lan
2026-10-09 7:03 ` Yixun Lan
2026-10-09 8:46 ` Jerome Forissier
2026-10-09 17:05 ` Jerome Forissier
2026-09-24 1:53 ` [PATCH 2/2] configs: spacemit: k3: Enable Ethernet support Yixun Lan
2026-09-24 3:13 ` E Shattow
2026-09-24 3:34 ` Yixun Lan [this message]
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=20260924033404-GKH353745@kernel.org \
--to=dlan@kernel.org \
--cc=dlechner@baylibre.com \
--cc=e@freeshell.de \
--cc=fanyi.zhang@mediatek.com \
--cc=jbx6244@gmail.com \
--cc=jerome.forissier@arm.com \
--cc=jstephan@baylibre.com \
--cc=junhui.liu@pigmoral.tech \
--cc=pbrobinson@gmail.com \
--cc=quentin.schulz@cherry.de \
--cc=spacemit@lists.linux.dev \
--cc=trini@konsulko.com \
--cc=u-boot@lists.u-boot-project.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.