From: Marcel Ziswiler <marcel@ziswiler.com>
To: 李志 <lizhi2@eswincomputing.com>
Cc: devicetree@vger.kernel.org, andrew+netdev@lunn.ch,
davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
netdev@vger.kernel.org, pabeni@redhat.com,
mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com,
rmk+kernel@armlinux.org.uk,
linux-stm32@st-md-mailman.stormreply.com,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, ningyu@eswincomputing.com,
linmin@eswincomputing.com, pinkesh.vaghela@einfochips.com,
weishangjuan@eswincomputing.com, dongxuyang@eswincomputing.com,
ganboing@gmail.com, pritesh.patel@einfochips.com
Subject: Re: Re: [PATCH v2 0/2] net: stmmac: eic7700: fix EIC7700 eth1 RX sampling timing
Date: Fri, 27 Feb 2026 10:52:55 +0100 [thread overview]
Message-ID: <e2130fa8e18cdffb9be9426a8576e67675e87d55.camel@ziswiler.com> (raw)
In-Reply-To: <6137cd6a.4859.19c97f5eb67.Coremail.lizhi2@eswincomputing.com>
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@ziswiler.com>
> > 发送时间:2026-02-21 02:37:57 (星期六)
> > 收件人: lizhi2@eswincomputing.com, devicetree@vger.kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net,
> > edumazet@google.com, kuba@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
> > netdev@vger.kernel.org, pabeni@redhat.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com,
> > rmk+kernel@armlinux.org.uk, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org,
> > linux-kernel@vger.kernel.org
> > 抄送: ningyu@eswincomputing.com, linmin@eswincomputing.com, pinkesh.vaghela@einfochips.com,
> > weishangjuan@eswincomputing.com, dongxuyang@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]
prev parent reply other threads:[~2026-02-27 9:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-09 9:46 lizhi2
2026-02-09 9:48 ` [PATCH v2 1/2] dt-bindings: ethernet: eswin: add clock sampling control lizhi2
2026-02-09 13:21 ` Andrew Lunn
2026-02-09 9:48 ` [PATCH v2 2/2] net: stmmac: eic7700: enable clocks before syscon access and correct RX sampling timing lizhi2
2026-02-09 13:34 ` Andrew Lunn
2026-02-09 13:36 ` [PATCH v2 0/2] net: stmmac: eic7700: fix EIC7700 eth1 " Andrew Lunn
2026-02-09 14:31 ` Russell King (Oracle)
2026-02-10 10:21 ` 李志
2026-02-10 12:30 ` Russell King (Oracle)
2026-02-20 18:37 ` Marcel Ziswiler
2026-02-26 3:20 ` 李志
2026-02-27 9:52 ` Marcel Ziswiler [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=e2130fa8e18cdffb9be9426a8576e67675e87d55.camel@ziswiler.com \
--to=marcel@ziswiler.com \
--cc=alexandre.torgue@foss.st.com \
--cc=andrew+netdev@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=dongxuyang@eswincomputing.com \
--cc=edumazet@google.com \
--cc=ganboing@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linmin@eswincomputing.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=lizhi2@eswincomputing.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=ningyu@eswincomputing.com \
--cc=pabeni@redhat.com \
--cc=pinkesh.vaghela@einfochips.com \
--cc=pritesh.patel@einfochips.com \
--cc=rmk+kernel@armlinux.org.uk \
--cc=robh@kernel.org \
--cc=weishangjuan@eswincomputing.com \
/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
all inboxes | Powered by JetHome®