[#6894] ethernet controller fail to operation when DSA chip is enabled in Linux kernel
Submitted By: Aaron Wu
2011-11-22 03:14:44 Close Date
N/A Fixed In Release:
Found In Release:
Is the bug repeatable?:
Summary: ethernet controller fail to operation when DSA chip is enabled in Linux kernel
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.
--- 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
File Name File Type File Size Posted By
No Files Were Found