Fixed
Created: Mar 25, 2014
Updated: Dec 3, 2018
Resolved Date: Apr 7, 2014
Previous ID: LIN5-18403
Found In Version: 6.0
Fix Version: 6.0.0.6
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: BSP
Sometimes, customer met kernel will hang and not any output when booting.
After investigation, it always hang when run `ifconfig ethx down` command, in P2020's init script(rc.sysinit), it will ifconfig up and then ifconfig down to all ethx.
If we did not run `ifconfig ethx down`, and do it after system finish init, this issue will disppear.
I doubt it have relation with p2020's cpu errta eTSEC-A002, and we have integrate a fix on this issue(56c7e6539643d94a76a5836031916fd5367644f8), so send them a patch like:
/**************************************************/
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c
index 096d6f8..7477664 100644
--- a/drivers/net/gianfar.c
+++ b/drivers/net/gianfar.c
@@ -1132,6 +1132,10 @@ static void gfar_detect_errata(struct gfar_private *priv)
(pvr == 0x80861010 && (mod & 0xfff9) == 0x80c0))
priv->errata |= GFAR_ERRATA_A002;
+ /* P2020*/
+ if (pvr == 0x80211051)
+ priv->errata |= GFAR_ERRATA_A002;
+
/**************************************************/
This issue will disppear.
Here need to check with you if this modification is acceptable
do not run `ifconfig ethx down` in rc.sysinit script, run it later instead will let this issue disappear.
Hard to reproduce on our side, it only can be met on customer side.