From 41fa13cc9cc274b59322b8a76681ec2d602e76af Mon Sep 17 00:00:00 2001 From: xz_ocs Date: Thu, 25 Sep 2025 03:00:55 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'ocs/diag=5Fnote.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ocs/diag_note.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/ocs/diag_note.md b/ocs/diag_note.md index e69de29..791bea2 100644 --- a/ocs/diag_note.md +++ b/ocs/diag_note.md @@ -0,0 +1,33 @@ +1. 设置low freq 128 ,high freq 0 (最大) + python3 ocsdiag.py -i 10.57.216.97 -e 8 -s all -c reg-wt -p lowfreq_eq -v 128 + python3 ocsdiag.py -i 10.57.216.97 -e 8 -s all -c reg-wt -p highfreq_eq -v 0 + +2. 设置tia_peak 为 100,全局的lane 0和lane 3设置为0(最大) + python3 ocsdiag.py -i 10.57.216.97 -e 8 -s all -c reg-wt -p tia_peak -v 100 + python3 ocsdiag.py -i 10.57.216.97 -e 8 -s all -l 0,3 -c reg-wt -p tia_peak -v 0 + +3. 校准ibias + python3 ocsdiag.py -i 10.57.216.97 -e 8 -s all -c ibias-auto-tune + +4. 校准mgc + python3 ocsdiag.py -i 10.57.216.97 -e 8 -c rtmr-prbs + python3 ocsdiag.py -i 10.57.216.97 -e 8 -s all -c mgc-auto-tune + + +5. 查看retimer 误码情况 + python3 ocsdiag.py -i 10.57.216.97 -e 8 -c vcmd -p "rtmr all" + +6. 查看眼图情况 + python3 ocsdiag.py -i 10.57.216.97 -e 8 -c vcmd -p "rtmr 1 eye 1 a" + python3 ocsdiag.py -i 10.57.216.97 -e 8 -c vcmd -p "rtmr 2 eye 1 a" + python3 ocsdiag.py -i 10.57.216.97 -e 8 -c vcmd -p "rtmr 3 eye 1 a" + python3 ocsdiag.py -i 10.57.216.97 -e 8 -c vcmd -p "rtmr 4 eye 1 a" + + + + + + + + +