Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4140

Troubleshooting • Re: Disabling EEE on Raspberry Pi 5 GbE port

$
0
0
I'm not sure whether the inability to disable EEE is due to a missing feature of the driver code, or if it's due to controller itself :? I hope this may be added to the driver code, if not, we are screwed.

From what can be seen into dmesg, I believe that the Gigabit Ethernet Controller, which is integrated into the RP1 chip, is an IP block from cadence:

Code:

[    2.058229] macb 1f00100000.ethernet eth0: Cadence GEM rev 0x00070109 at 0x1f00100000 irq 107 (d8:3a:dd:b2:21:4c)[    6.335107] macb 1f00100000.ethernet eth0: PHY [1f00100000.ethernet-ffffffff:01] driver [Broadcom BCM54213PE] (irq=POLL)[    6.335117] macb 1f00100000.ethernet eth0: configuring for phy/rgmii-id link mode[    6.337946] macb 1f00100000.ethernet: gem-ptp-timer ptp clock registered.[   10.430224] macb 1f00100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
This looks like it can be confirmed according to https://datasheets.raspberrypi.com/rp1/ ... herals.pdf "The ethernet subsystem is implemented using the Cadence Gigabit Ethernet MAC (GEM_GXL 1p09) IP."

I found some documentation (I place it here) about this block, but I'm not really sure it precisely applies to what is called the "GEM_GXL 1p09" block (there may be several revisions of this IP block?)
https://pix-server-sorel.luoss.fr/Manua ... adence.pdf
We can read "Support for 802.3az Energy Efficient Ethernet" but unless I was too fast, I didn't see much information about ability to enable or disable it (this should be checked again, or asked to cadence themselves).

Source code of this driver seems to be integrated to the Linux kernel
https://www.kernelconfig.io/config_macb

This driver's files are located into the following files
  • drivers/net/ethernet/cadence/Kconfig
  • drivers/net/ethernet/cadence/macb.h
  • drivers/net/ethernet/cadence/macb_main.c
  • drivers/net/ethernet/cadence/macb_pci.c
  • drivers/net/ethernet/cadence/macb_ptp.c
  • drivers/net/ethernet/cadence/Makefile
As of Kernel version 6.6.25, it looks like those files from https://github.com/raspberrypi/linux slightly differs (few additions) compared with the files from kernel.org.

Anyway, it would be nice to rework the output electronic parts of the RJ45 port for future revisions: having to disable EEE depending on what the Pi is connected to, is not the ideal way to go even in case manually disabling EEE eventually becomes possible on Pi 5.

Statistics: Posted by julienrobin28 — Mon Apr 08, 2024 11:02 am



Viewing all articles
Browse latest Browse all 4140

Trending Articles