如何控制agx-orin dev-kit 网口LED而不影响网络传输?

Hi Nvidia:
请问如何控制agx-orin dev-kit 网口指示灯而不影响网络传输?
驱动版本信息如下:
driver: nvethernet
version: 5.10.104-tegra
firmware-version:
expansion-rom-version:
bus-info: 6810000.ethernet
supports-statistics:yes
supports-test:yes
supports-eeprom-access:no
supports-register-dump:no
supports-priv-flags:no

是否可以实现随时通过一些手段来开启或关闭LED?

BRs

Hi taylor_quan,

Are you using the devkit or custom board for AGX Orin?

Which LED do you mean? Is that controlled by software?
Could you point out which pin do you want to control?


载板原理图对应这几个pin脚


直接由phy芯片控制,有无方式能通过orin来控制phy芯片进而控制LED状态?

PHY LED大多都是通過phy driver直接透過mdio去改PHY register達成的

這部份每家vendor的作法會有差異, 你得跟vendor拿他們PHY spec才知道要怎樣改.

十分感谢您的回复,可否提供一个针对agx orin dev-kit关闭phy led(不影响网络功能)的示例?不清楚如何来访问控制phy芯片的寄存器

Hi,

Vendor driver code
kernel/kernel-5.10/drivers/net/phy/aquantia_main.c

以下user有更改過LED behavior. 可以參考

不過基本上LED的行為還是得看spec決定, 我這邊也不清楚你要做的事情到底能不能達到.

1 Like

好的,感谢,我去了解一下如何通过mdio修改phy register

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.