From 2f030f693af37013ff1c240f579e93b53c651f02 Mon Sep 17 00:00:00 2001 From: xz_ocs Date: Sat, 27 Sep 2025 10:45:21 +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 | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/ocs/diag_note.md b/ocs/diag_note.md index 2e07874..c01a6a0 100644 --- a/ocs/diag_note.md +++ b/ocs/diag_note.md @@ -1,40 +1,41 @@ 0. 根据需求对节点执行power cycle ipmitool power cycle -0. 设置topo +1. 设置topo python3 ocsdiag.py -i 10.57.216.95,10.57.216.96,10.57.216.97,10.57.216.98 -e 2,4,6,8 -c topo-config -p 32 -1. ocs link reset + +2. ocs link reset ocs_link_reset -i 10.57.216.95,10.57.216.96,10.57.216.97,10.57.216.98 -e 2,4,6,8 -1. 设置low freq 128 ,high freq 0 (最大) +3. 设置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(最大) +4. 设置tia_peak 为 100,全局的lane 0和lane 3设置为0(最大) python3 ocsdiag.py -i 10.57.216.98 -e 8 -s all -c tia-peak-tune -3. 校准ibias (onoc) +5. 校准ibias (onoc) python3 ocsdiag.py -i 10.57.216.98 -e 8 -s all -c ibias-auto-tune -3.1 校准ibias (onet) +6. 校准ibias (onet) python3 ocsdiag.py -i 10.57.216.98 -e 4 -s all -c ibias-auto-tune -p 10.57.216.96 python3 ocsdiag.py -i 10.57.216.96 -e 4 -s all -c ibias-auto-tune -p 10.57.216.98 -4. 校准mgc onoc +7. 校准mgc onoc python3 ocsdiag.py -i 10.57.216.98 -e 8 -c rtmr-prbs python3 ocsdiag.py -i 10.57.216.98 -e 8 -s all -c mgc-auto-tune -4.1 校准mgc onet +8.1 校准mgc onet tx端: python3 ocsdiag.py -i 10.57.216.98,10.57.216.96 -e 4 -c rtmr-prbs rx端: python3 ocsdiag.py -i 10.57.216.96 -e 4 -s all -c mgc-auto-tune python3 ocsdiag.py -i 10.57.216.98 -e 4 -s all -c mgc-auto-tune -5. 查看retimer 误码情况 +9. 查看retimer 误码情况 python3 ocsdiag.py -i 10.57.216.97 -e 8 -c vcmd -p "rtmr all" -6. 查看眼图情况 +10. 查看眼图情况 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" @@ -42,7 +43,7 @@ 如果眼偏下,则op_current需要调小。 -7. 保存配置 +11. 保存配置