[#6894] ethernet controller fail to operation when DSA chip is enabled in Linux kernel

Document created by Aaronwu Employee on Sep 26, 2013
Version 1Show Document
  • View in full screen mode

[#6894] ethernet controller fail to operation when DSA chip is enabled in Linux kernel

Submitted By: Aaron Wu

Open Date

2011-11-22 03:14:44     Close Date

2013-05-16 02:31:10

Priority:

Medium     Assignee:

Aaron Wu

Category:

N/A     Fixed In Release:

2011R1

Found In Release:

2010R1     Status:

Closed

Board:

N/A     Processor:

BF518

Silicon Revision:

    Resolution:

Fixed

Is the bug repeatable?:

yes     

Summary: ethernet controller fail to operation when DSA chip is enabled in Linux kernel

Details:

 

How to reproduce:

With BF518 board, 2010R1 release

1)enable the DSA as described in http://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:dsa_for_ksz8893m

2)software reboot or press the reset key on the board

3)you will see the tftpboot trying to fetch the uImage will fail.

4)If you power down the board instead of reset it works.

 

We suspect the ethernet controller is not properly initiallized in u-boot but take the power on default value to work so once it's changed by Linux driver it can not work after reset.

 

Also a mass production customer reported that on 2009 release there is a simalar or related issue, several board in one thousand may reboot by watchdog in filed applications, sometimes the ethernet of reset board can not be back to work in u-boot.

 

Follow-ups

 

--- Aaron Wu                                                 2011-11-23 02:25:12

Fixed, patch summited to u-boot trunk

 

EMAC_VLANx regs is not properly initiallized in u-boot, once it's overwrite in

the kernel when DSA enabled, hot reset will lead to bringing up EMAC fail in

u-boot

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes