From: Diederik de Haas <didi.debian@cknow.org>
To: Kever Yang <kever.yang@rock-chips.com>,
Simon Glass <sjg@chromium.org>,
Philipp Tomsich <philipp.tomsich@vrull.eu>,
Joseph Chen <chenjh@rock-chips.com>, Andy Yan <andyshrk@163.com>,
Tianling Shen <cnsztl@gmail.com>, Jonas Karlman <jonas@kwiboo.se>,
Nicolas Frattaroli <frattaroli.nicolas@gmail.com>,
Jagan Teki <jagan@amarulasolutions.com>,
Akash Gajjar <gajjar04akash@gmail.com>,
u-boot@lists.denx.de
Cc: David Wu <david.wu@rock-chips.com>,
Eugen Hristev <eugen.hristev@collabora.com>,
Frank Wunderlich <frank-w@public-files.de>,
u-boot@lists.denx.de, Jonas Karlman <jonas@kwiboo.se>,
Stefan Agner <stefan@agner.ch>,
Diederik de Haas <didi.debian@cknow.org>
Subject: Re: [PATCH v2 6/7] configs: rockchip: Enable ethernet driver on RK356x boards
Date: Thu, 11 Jul 2024 21:38:08 +0200 [thread overview]
Message-ID: <2086393.9F9pDXStbY@bagend> (raw)
In-Reply-To: <20231001191730.4167035-7-jonas@kwiboo.se>
[-- Attachment #1: Type: text/plain, Size: 4600 bytes --]
Hi,
On Sunday, 1 October 2023 21:17:21 CEST Jonas Karlman wrote:
> Enable DWC_ETH_QOS_ROCKCHIP and related PHY driver on RK356x boards that
> have an enabled gmac node.
>
> Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
> ---
> ...
> configs/odroid-m1-rk3568_defconfig | 3 +++
> configs/quartz64-a-rk3566_defconfig | 3 +++
> configs/quartz64-b-rk3566_defconfig | 3 +++
> ...
> configs/soquartz-blade-rk3566_defconfig | 3 +++
> configs/soquartz-cm4-rk3566_defconfig | 3 +++
> configs/soquartz-model-a-rk3566_defconfig | 3 +++
> 11 files changed, 35 insertions(+), 6 deletions(-)
> ...
> diff --git a/configs/odroid-m1-rk3568_defconfig
> b/configs/odroid-m1-rk3568_defconfig index 3dda5c1f9170..96b4e9ecdaff
> 100644
> --- a/configs/odroid-m1-rk3568_defconfig
> +++ b/configs/odroid-m1-rk3568_defconfig
> @@ -82,6 +82,9 @@ CONFIG_SF_DEFAULT_BUS=4
> CONFIG_SPI_FLASH_SFDP_SUPPORT=y
> CONFIG_SPI_FLASH_MACRONIX=y
> CONFIG_SPI_FLASH_MTD=y
> +CONFIG_PHY_REALTEK=y
> +CONFIG_DWC_ETH_QOS=y
> +CONFIG_DWC_ETH_QOS_ROCKCHIP=y
> CONFIG_NVME_PCI=y
> CONFIG_PCIE_DW_ROCKCHIP=y
> CONFIG_PHY_ROCKCHIP_INNO_USB2=y
> diff --git a/configs/quartz64-a-rk3566_defconfig
> b/configs/quartz64-a-rk3566_defconfig index 6853cd6c44b4..bf4d4cd2b8ed
> 100644
> --- a/configs/quartz64-a-rk3566_defconfig
> +++ b/configs/quartz64-a-rk3566_defconfig
> @@ -81,6 +81,9 @@ CONFIG_SPI_FLASH_SFDP_SUPPORT=y
> CONFIG_SPI_FLASH_GIGADEVICE=y
> CONFIG_SPI_FLASH_MACRONIX=y
> CONFIG_SPI_FLASH_WINBOND=y
> +CONFIG_PHY_MOTORCOMM=y
> +CONFIG_DWC_ETH_QOS=y
> +CONFIG_DWC_ETH_QOS_ROCKCHIP=y
> CONFIG_NVME_PCI=y
> CONFIG_PCIE_DW_ROCKCHIP=y
> CONFIG_PHY_ROCKCHIP_INNO_USB2=y
> diff --git a/configs/quartz64-b-rk3566_defconfig
> b/configs/quartz64-b-rk3566_defconfig index aa29fff14643..358687ab5d7f
> 100644
> --- a/configs/quartz64-b-rk3566_defconfig
> +++ b/configs/quartz64-b-rk3566_defconfig
> @@ -79,6 +79,9 @@ CONFIG_SPI_FLASH_SFDP_SUPPORT=y
> CONFIG_SPI_FLASH_GIGADEVICE=y
> CONFIG_SPI_FLASH_MACRONIX=y
> CONFIG_SPI_FLASH_WINBOND=y
> +CONFIG_PHY_REALTEK=y
> +CONFIG_DWC_ETH_QOS=y
> +CONFIG_DWC_ETH_QOS_ROCKCHIP=y
> CONFIG_NVME_PCI=y
> CONFIG_PCIE_DW_ROCKCHIP=y
> CONFIG_PHY_ROCKCHIP_INNO_USB2=y
Some time ago I reported to Jonas privately that I had a problem with
my Quartz64 Model A and B and that I bisected it to this commit.
I just verified that the problem is still present in 2024.07, so I
guess it's time to report it to the (right) Mailing List.
The problem: packet loss, varying, but sometimes massive
Q64-A: The packet loss was usually between 8% and 30%
Q64-B: Packet loss up to 80% sometimes and this also resulted (then) in
its inability to receive a DHCP address.
https://lore.kernel.org/linux-rockchip/27139798.WhXITi6ROJ@bagend/
is where I brought this issue (also) up publicly, but that was on the
linux-rockchip ML. The discussion that followed may provide some clues.
When looking up the mail I'm now replying too, I noticed a reply by
Stefan Agner with very similar symptoms, but on Odroid M1.
And the fix in my case has always been easy:
diff --git a/configs/quartz64-a-rk3566_defconfig b/configs/quartz64-a-rk3566_defconfig
index 1ea8e0f40cc..641452f9162 100644
--- a/configs/quartz64-a-rk3566_defconfig
+++ b/configs/quartz64-a-rk3566_defconfig
@@ -67,9 +67,6 @@ CONFIG_SPI_FLASH_SFDP_SUPPORT=y
CONFIG_SPI_FLASH_GIGADEVICE=y
CONFIG_SPI_FLASH_MACRONIX=y
CONFIG_SPI_FLASH_WINBOND=y
-CONFIG_PHY_MOTORCOMM=y
-CONFIG_DWC_ETH_QOS=y
-CONFIG_DWC_ETH_QOS_ROCKCHIP=y
CONFIG_NVME_PCI=y
CONFIG_PCIE_DW_ROCKCHIP=y
CONFIG_PHY_ROCKCHIP_INNO_USB2=y
diff --git a/configs/quartz64-b-rk3566_defconfig b/configs/quartz64-b-rk3566_defconfig
index f61b2c181a1..aae5d66edeb 100644
--- a/configs/quartz64-b-rk3566_defconfig
+++ b/configs/quartz64-b-rk3566_defconfig
@@ -65,9 +65,6 @@ CONFIG_SPI_FLASH_SFDP_SUPPORT=y
CONFIG_SPI_FLASH_GIGADEVICE=y
CONFIG_SPI_FLASH_MACRONIX=y
CONFIG_SPI_FLASH_WINBOND=y
-CONFIG_PHY_REALTEK=y
-CONFIG_DWC_ETH_QOS=y
-CONFIG_DWC_ETH_QOS_ROCKCHIP=y
CONFIG_NVME_PCI=y
CONFIG_PCIE_DW_ROCKCHIP=y
CONFIG_PHY_ROCKCHIP_INNO_USB2=y
IOW: a (partial) revert of commit 25f56459aebc
It _could_ be that the issue is also present on the various SOQuartz
devices/boards, but I don't have those, so I can't check that.
But AFAIK they are rather similar to Q64-A and the change has also
been the same ... as was the case for Odroid-M1.
In case it's useful I have a log from the serial session with the
Q64-A (212.5 KiB) available.
Serial on Q64-B doesn't work, so I don't have that.
Cheers,
Diederik
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2024-07-12 5:06 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-01 19:17 [PATCH v2 0/7] rockchip: Add GMAC support for RK3568 and RK3588 Jonas Karlman
2023-10-01 19:17 ` [PATCH v2 1/7] net: dwc_eth_qos: Drop unused rx_pkt from eqos_priv Jonas Karlman
2023-10-06 20:32 ` Ramon Fried
2023-10-01 19:17 ` [PATCH v2 2/7] net: dwc_eth_qos: Return error code when start fails Jonas Karlman
2023-10-06 20:32 ` Ramon Fried
2023-10-01 19:17 ` [PATCH v2 3/7] net: dwc_eth_qos: Stop spam of RX packet not available message Jonas Karlman
2023-10-06 20:32 ` Ramon Fried
2023-10-01 19:17 ` [PATCH v2 4/7] net: dwc_eth_qos: Add glue driver for GMAC on Rockchip RK3568 Jonas Karlman
2023-10-06 20:33 ` Ramon Fried
2023-10-01 19:17 ` [PATCH v2 5/7] net: dwc_eth_qos_rockchip: Add support for RK3588 Jonas Karlman
2023-10-01 20:04 ` Sebastian Reichel
2023-10-06 20:35 ` Ramon Fried
2024-01-29 14:45 ` Stefan Agner
2023-10-01 19:17 ` [PATCH v2 6/7] configs: rockchip: Enable ethernet driver on RK356x boards Jonas Karlman
2024-07-11 19:38 ` Diederik de Haas [this message]
2025-04-06 20:09 ` Diederik de Haas
2025-04-06 22:31 ` Jonas Karlman
2025-04-07 10:27 ` Diederik de Haas
2023-10-01 19:17 ` [PATCH v2 7/7] configs: rockchip: Enable ethernet driver on RK3588 boards Jonas Karlman
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=2086393.9F9pDXStbY@bagend \
--to=didi.debian@cknow.org \
--cc=andyshrk@163.com \
--cc=chenjh@rock-chips.com \
--cc=cnsztl@gmail.com \
--cc=david.wu@rock-chips.com \
--cc=eugen.hristev@collabora.com \
--cc=frank-w@public-files.de \
--cc=frattaroli.nicolas@gmail.com \
--cc=gajjar04akash@gmail.com \
--cc=jagan@amarulasolutions.com \
--cc=jonas@kwiboo.se \
--cc=kever.yang@rock-chips.com \
--cc=philipp.tomsich@vrull.eu \
--cc=sjg@chromium.org \
--cc=stefan@agner.ch \
--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