Board: Custom board with AM5748 and DP83822 PHY
Processor SDK Linux 6.02
This issue is observed when migrating from SDK Linux 5.02 to SDK Linux 6.02
Issue 1
- Issue observed on PRU 1 Ethernet
- Migrated BSP from SDK 5.02 to SDK 6.02
- Observed that during device boot up, PHY initializes and Ethernet Link comes up. After that, device does not detect removing or connecting Ethernet cable.
- Observed that PHY DP83822 PHY has a separate driver (dp83822.c) in SDK 6.02; While in SDK 5.02, PHY DP83822 was handled by driver dp83848. This issue is not observed in same device running SDK 5.02.
- When the driver dp83822.c in Linux config is disabled, and PHYID of DP83822 is added in the driver dp83848.c, this issue seems to be resolved.
- We would like to use the intended driver dp83822.c for this PHY to avoid any other issue. Please suggest a fix.
Issue 2
- PRU 1 Ethernet does not detect link with a HUB. This issue is not observed with TI SDK 5.02.
- Noticed in PRU Ethernet driver (prueth.c), the following code is added to remove support for 100baseT_Half:
prueth.c in SDK 6.02 6098 /* remove unsupported modes */ 6099 emac->phydev->supported &= ~(PHY_10BT_FEATURES | 6100 SUPPORTED_100baseT_Half | 6101 PHY_1000BT_FEATURES | 6102 SUPPORTED_Pause | 6103 SUPPORTED_Asym_Pause);