mbox series

[0/3] Fix for rare beaglebone ethernet failures

Message ID 20180823114131.8684-1-nsekhar@ti.com
Headers show
Series Fix for rare beaglebone ethernet failures | expand

Message

Sekhar Nori Aug. 23, 2018, 11:41 a.m. UTC
There have been reports of ethernet network failures on beagle
bone black. These have been root caused to ethernet PHY latching
to a different address on boot than what is programmed in DT.

See: https://groups.google.com/d/msg/beagleboard/9mctrG26Mc8/1FuI_i5KW10J

This patch series tries to workaround this suitaiton by patching
device-tree passed to kernel with the correct address. As well as
updating the PHY address U-Boot drivers themselves use.

Tested on beaglebone black rev A4 by simulating the error condition
I was also able to hit the actual hardware error once in a while.

Sekhar Nori (3):
  drivers: net: cpsw: add support to update phy address
  board: ti: am335x: add support to fixup phy address
  configs: am335x_evm: enable OF_BOARD_SETUP

 board/ti/am335x/board.c      | 78 ++++++++++++++++++++++++++++++++++++++++++++
 configs/am335x_evm_defconfig |  1 +
 drivers/net/cpsw.c           | 29 ++++++++++++++++
 include/cpsw.h               |  1 +
 4 files changed, 109 insertions(+)

Comments

Grygorii Strashko Aug. 24, 2018, 4:37 p.m. UTC | #1
On 08/23/2018 06:41 AM, Sekhar Nori wrote:
> There have been reports of ethernet network failures on beagle
> bone black. These have been root caused to ethernet PHY latching
> to a different address on boot than what is programmed in DT.
> 
> See: https://groups.google.com/d/msg/beagleboard/9mctrG26Mc8/1FuI_i5KW10J
> 
> This patch series tries to workaround this suitaiton by patching
> device-tree passed to kernel with the correct address. As well as
> updating the PHY address U-Boot drivers themselves use.
> 
> Tested on beaglebone black rev A4 by simulating the error condition
> I was also able to hit the actual hardware error once in a while.
> 
> Sekhar Nori (3):
>    drivers: net: cpsw: add support to update phy address
>    board: ti: am335x: add support to fixup phy address
>    configs: am335x_evm: enable OF_BOARD_SETUP
> 
>   board/ti/am335x/board.c      | 78 ++++++++++++++++++++++++++++++++++++++++++++
>   configs/am335x_evm_defconfig |  1 +
>   drivers/net/cpsw.c           | 29 ++++++++++++++++
>   include/cpsw.h               |  1 +
>   4 files changed, 109 insertions(+)
> 

Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>