[PATCH v2 0/2] net: stmmac: eic7700: fix EIC7700 eth1 RX sampling timing
Marcel Ziswiler
marcel at ziswiler.com
Fri Feb 27 01:52:55 PST 2026
Hi Zhi Li
On Thu, 2026-02-26 at 11:20 +0800, 李志 wrote:
> Hi Marcel,
>
> Thanks for sharing the details.
>
> 1. I checked your log and noticed that the kernel cmdline already includes
> "clk_ignore_unused". Therefore, your issue does not appear to be the
> same as the one previously reported by Bo Gan.
Yes, that actually came from ESWIN's hifive-premier-p550_defconfig which I disabled now.
> 2. I also verified that v6.19.2 already contains the two eMMC fix patches:
> https://lore.kernel.org/all/CAPDyKFqcMyM-=x+2FWNLhHY=gu5ApHNPQhp0xBKDJGr7BhEx4Q@mail.gmail.com/
> https://lore.kernel.org/all/CAPDyKFrkEZDuMbGpfxismcx=vJkSSK_XbtB762+sUFocupT63w@mail.gmail.com/
Yes.
> A likely cause is that the eMMC DTS node is missing the AXI clock definition.
> Please refer to the DTS updates in the following pull request for reference:
> https://github.com/eswincomputing/linux-next/pull/20
Ah, that one helped (;-p).
BTW: For CPU frequency scaling to actually work one may additionally need CONFIG_RISCV_SBI_CPUIDLE=y.
> 3. In addition, please check whether CONFIG_GPIO_DWAPB=y is enabled in your
> kernel configuration. Since GMAC is built-in by default, it depends on
> GPIO being available during early initialization.
Yes, I also changed that from =m to =y (;-p).
> Hope this helps narrow things down. Please let me know what you find.
Yes, it all works now perfectly incl. CPU frequency scaling. See [1].
Next one would be working PCIe and USB. Unfortunately, for PCIe on EBC77 one would likely need some sort of an
adapter cable/PCB. Maybe I can solder something together. Let's see...
Thank you very much!
[1] https://github.com/riscv/meta-riscv/pull/602
> Best regards,
> Zhi Li
Cheers
Marcel
> > -----原始邮件-----
> > 发件人: "Marcel Ziswiler" <marcel at ziswiler.com>
> > 发送时间:2026-02-21 02:37:57 (星期六)
> > 收件人: lizhi2 at eswincomputing.com, devicetree at vger.kernel.org, andrew+netdev at lunn.ch, davem at davemloft.net,
> > edumazet at google.com, kuba at kernel.org, robh at kernel.org, krzk+dt at kernel.org, conor+dt at kernel.org,
> > netdev at vger.kernel.org, pabeni at redhat.com, mcoquelin.stm32 at gmail.com, alexandre.torgue at foss.st.com,
> > rmk+kernel at armlinux.org.uk, linux-stm32 at st-md-mailman.stormreply.com, linux-arm-kernel at lists.infradead.org,
> > linux-kernel at vger.kernel.org
> > 抄送: ningyu at eswincomputing.com, linmin at eswincomputing.com, pinkesh.vaghela at einfochips.com,
> > weishangjuan at eswincomputing.com, dongxuyang at eswincomputing.com
> > 主题: Re: [PATCH v2 0/2] net: stmmac: eic7700: fix EIC7700 eth1 RX sampling timing
> >
> > Hi Zhi Li
> >
> > Sorry, to steal this thread, but I do have a quick question concerning Ethernet on the EIC7700. Every time
> > I
> > enable gmac0 in the device tree my EBC7700 stops booting (e.g. SD card is no longer detected) while
> > Ethernet
> > does seem to at least get detected. This has been seen using next-20260219, stable v6.19.2 [1] as well as
> > 6.18.0-rc6 [2]. Any idea what could be going wrong?
> >
> > I admit so far I only do have one single EBC7700 at hand while waiting for further hardware to arrive.
> >
> > Thanks!
> >
> > [1] https://github.com/riscv/meta-riscv/pull/601
> > [2] https://github.com/eswincomputing/linux-next/tree/dev/test-upstream-v6.18-rc6
> >
> > Cheers
> >
> > Marcel
> >
> > [snip]
More information about the linux-arm-kernel
mailing list