|
本帖最后由 fhh 于 2021-3-23 14:03 编辑 & \" Z$ H% @% q5 d2 p0 L7 h
' Q8 N+ ~" Q# W6 Q" R. _( I4 v+ @4 X
发现了几乎完美的解决方案,此贴终结
! p, E: V) ~2 r; G0 Rhttps://bbs.nasdiyer.com/thread-7843-1-1.html, S3 k; U; ?* ~; H' f
刷机完成后,如果希望从emmc启动,只需更改bootcmd环境变量即可。
; C% ^$ C0 h9 Q$ k6 w. ~8 O/ g$ J1 w; r& w8 [( }0 Y
----------------------------------------原回答--------------------------------------------
& Q' V1 s! j7 ^- \) [RT由于lz本人为大学生,更新可能不频繁。
: f# X' \3 {" j/ B. O- C& p2 G6 C& {4 z& W
目前进度:1 n( A, s; Y1 D' h, L
Mar 23:, {: k; }: r) C/ }4 Z
参考https://blog.csdn.net/qq_33205540/article/details/107098898修改Device Tree
u2 f' [/ j4 Y# g' odiff --git a/u-boot-marvell/arch/arm/dts/armada-3720-catdrive.dts b/u-boot-marvell/arch/arm/dts/armada-3720-catdrive.dts6 G9 [3 A; \/ ~1 X. V! K! @0 J
index a4a4de7e..b734fc8a 100644
/ e0 K5 H2 g3 l! V4 L--- a/u-boot-marvell/arch/arm/dts/armada-3720-catdrive.dts
! R6 d/ ^: r: P7 Z* h; ?+++ b/u-boot-marvell/arch/arm/dts/armada-3720-catdrive.dts" C, S2 J+ M5 @4 j9 X% @
@@ -30,6 +30,7 @@' B3 a4 L8 H# T$ A1 @7 ]
reg = <0x32004 0x04>;: u# d4 o7 ^5 n9 n
ethphy0: ethernet-phy@0 {# g, v5 s$ N2 X9 s7 y! v) q; i! s+ r
reg = <0>;
6 I% W( d1 [; \4 p! E' q+ marvell,reg-init = <0x01 0x1A 0x0 0x47>;. V7 B# W3 I5 E0 v3 a2 P0 y# I
}; Z9 \- e' Q8 d# W& H
};/ a, S9 a- x8 Z. I: N& p6 V
};
2 ?' F. _! r% f6 A
$ m( e, N: M( k' u/ ?8 _修改后重新编译,烧录,启动后测试30分钟无CRC Error.4 @: F8 n6 O3 J7 Y
原理大致是因为硬件设计缺陷导致电路中存在较多杂波导致网络信号受到干扰,通过提高信号接收阈值的方式过滤杂波,提升稳定性。( I) ~7 `1 B8 i( N
暂时没有解决掉IP的问题,可能需要参考X3P的设备树硬件布局确定。
G* T' o, Q0 [( G2 R: }2 j
# x1 d' T1 N$ O; D) S! I! S2 J4 p7 o7 W# B& o1 v/ G3 n
|
|