Skip to content

Development Notes

gtxaspec edited this page Jan 31, 2024 · 8 revisions

PHY Detection

If an invalid PHY is detected via registers, as on some SoC + board combinations, we should recognize this and skip initializing the network.

Invalid:

ETH:   Searching for valid PHY
ETH:   Found PHY 0:0x0-0x0
ETH:   SPEED:0, DUPLEX:0

Valid:

ETH:   Searching for valid PHY
ETH:   Found PHY 0:0x0-0x128
ETH:   SPEED:2, DUPLEX:2

reference:

https://github.com/gtxaspec/u-boot-ingenic/commit/3ad39e7d6276849908aa460391d0d0e36e9fd3eb

https://github.com/gtxaspec/u-boot-ingenic/commit/2b3923e2a57d8933a3202cbaa582779770e50c2e


Clone this wiki locally