|
|
本帖最后由 fhh 于 2021-3-23 14:03 编辑
5 |. U6 V, ?: i( `) H7 j2 b! ?* H9 Y6 P& I
5 t+ g3 [$ T& h& X: G& o3 D
发现了几乎完美的解决方案,此贴终结
; S0 Q+ a$ M4 c8 @ o7 e# X- Ohttps://bbs.nasdiyer.com/thread-7843-1-1.html
1 y/ x7 b5 u9 z5 B$ K2 J9 {5 z+ u刷机完成后,如果希望从emmc启动,只需更改bootcmd环境变量即可。& i9 T9 k) Q0 s" I% J' V( R" [
3 {; J2 i$ q% n- i/ ~2 i/ x" ~7 C& s----------------------------------------原回答--------------------------------------------
8 | I: G) q0 c: `2 WRT由于lz本人为大学生,更新可能不频繁。, D9 u4 D3 D2 t) \9 k8 H x% a* V
, v1 M- ~0 \+ O- @4 [目前进度:5 C) C# s5 j% p! ^- f: g
Mar 23:
& f' w5 t. s. ?, b& s+ U u参考https://blog.csdn.net/qq_33205540/article/details/107098898修改Device Tree6 L5 r# ^+ O; ~6 p% G" W) T
diff --git a/u-boot-marvell/arch/arm/dts/armada-3720-catdrive.dts b/u-boot-marvell/arch/arm/dts/armada-3720-catdrive.dts, P$ {! O: O3 u% k1 E; H# g4 _/ t
index a4a4de7e..b734fc8a 100644
) k! z2 ~! |& a ~--- a/u-boot-marvell/arch/arm/dts/armada-3720-catdrive.dts y2 O4 x) E: Q) O& G9 L
+++ b/u-boot-marvell/arch/arm/dts/armada-3720-catdrive.dts7 t) I# L0 m2 a5 A
@@ -30,6 +30,7 @@
/ w& v, x+ I1 m reg = <0x32004 0x04>;
4 p. X" l! x0 d! N ethphy0: ethernet-phy@0 {& I8 N8 H! ?: t5 }4 K9 P
reg = <0>;. [) y9 V, N+ X, d6 O
+ marvell,reg-init = <0x01 0x1A 0x0 0x47>;/ O1 F1 Y; E, N3 T! ]
};0 [* ]3 x. {6 w, I+ B* H& r
};# S: X- [" f, A6 f9 Y$ p) ?+ k, E
};
: [/ H [. ]3 }. ]7 f5 Z! o% s: z1 j+ E, W" c) h+ k) L. R
修改后重新编译,烧录,启动后测试30分钟无CRC Error.
4 O# z# Y% k# X原理大致是因为硬件设计缺陷导致电路中存在较多杂波导致网络信号受到干扰,通过提高信号接收阈值的方式过滤杂波,提升稳定性。
( P+ @+ A9 X" C4 B暂时没有解决掉IP的问题,可能需要参考X3P的设备树硬件布局确定。0 P3 i, ^0 J: f
* R0 b5 G1 K: {" t, c9 a, l$ m! w* d+ y7 [& F- k4 [; j( H, V
|
|