From e8cc0a1bdcef6ad37a0eee770c70557285f1955a Mon Sep 17 00:00:00 2001 From: xz_ocs Date: Fri, 16 Jan 2026 10:36:01 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20'ocs/0116/=E4=BA=A4?= =?UTF-8?q?=E4=BB=98=E6=96=B9=E6=A1=88'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ocs/0116/交付方案 | 92 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 ocs/0116/交付方案 diff --git a/ocs/0116/交付方案 b/ocs/0116/交付方案 new file mode 100644 index 0000000..a6036fe --- /dev/null +++ b/ocs/0116/交付方案 @@ -0,0 +1,92 @@ + +0. 生成ctle文件。 +1. 插上模块,连接光纤。 +2. 核对并升级retimer固件、exp固件(目前已解决topo切换漏光,模块reset漏光待解决)。 +3. 检测onet、onoc位置是否正确。 +3. 筛选模块: + 1. 设置固定值,highfreq_eq, lowfreq_eq, tia_peak, opcurrent,voa, mgc(待做实验确认)。 + 2. 执行可靠性测试1:rt-ibias。更换ibias可靠性测试不通过的模块。(顺带做ibias校准。) + 3. 执行可靠性测试2: rt-mgc。更换压测不通过的模块。(考虑结合mgc校准) + 4. 执行mgc校准。 + +4. 建链压测。(10次,gen5, 2min, 3种模式,recv < 100, 不过的要统计ce,找到问题模块。) + +5. 长稳压测。 + + +4. 漏光检测() & 漏光校准。 ---todo + 先做漏光检测,针对性的做漏光校准。 + + + + + +待做实验: +1. 研究设置mgc 固定值的可行性。 +2. 研究prbs的结果真实性。 done +3. 研究mgc的取值优化。 +4. 研究mzm交叉比。 +5. 研究私有preset。 + + +待coding: +1. 实现跨机双向打流。增加当前ibias显示,当前mgc值显示。 +2. 自动识别对应关系。 +3. exp 需要加delay的bug 协助排查。 +4. 按retimer、topo,生成通用ctle参数。(暂时先保留按ip分别维护的方式) +5. 接线检测工具。 +6. ibias、mgc,多topo同时校准。对更换模块更友好。 +7. mgc校准 ,当增益小于一定值时,应该适当加一点,值很大的,适当降一点,减少error。 +(既要保持系统增益的一致性,又要保持模块工作的线性区。增益越大可能噪声越大,增益越大,不能频率的放大系数不同,可能失真 +8. mzm线上校准,解决分叉的问题。 +9. ibias校准防呆。没有变化就报错。 +10. 其他topo建链。 +11. 争对更换模块场景优化校准,筛选效率。 + + +ibias的需求: +1. ibias快速校准。找到适合的范围的rssi即可。 +2. ibias prbs打流。快速筛选问题模块。 +3. ibias prbs打流+读rssi,并设置值。要考虑prbs发起不成功的情况,误码一直很高的情况。 + +-c ibias-rt-check -p wt + +如果不写入,也就不用读取rssi。 +可以控制扫描间隔。 +如果要写入的,扫描间隔就必须小。 + +prbs连续5个为0的,所有0为的值,才参与expected_rssi的计算。 + +ibias校准 是不是要考虑voa。 + +ibias和mgc, + +扫描记录,参数记录,存储数据库。 + + + + +2026-01-14 19:29:06 [INFO] opt_reg_access_tool:309 10.57.216.111 read_opt_reg exp: 6, slot: 3, lane: 0, reg: swa_onoc_h, value: 299 +2026-01-14 19:29:06 [INFO] opt_reg_access_tool:309 10.57.216.111 read_opt_reg exp: 6, slot: 3, lane: 1, reg: swa_onoc_h, value: 310 +2026-01-14 19:29:07 [INFO] opt_reg_access_tool:309 10.57.216.111 read_opt_reg exp: 6, slot: 3, lane: 2, reg: swa_onoc_h, value: 310 +2026-01-14 19:29:07 [INFO] opt_reg_access_tool:309 10.57.216.111 read_opt_reg exp: 6, slot: 3, lane: 3, reg: swa_onoc_h, value: 319 +2026-01-14 19:29:07 [INFO] opt_reg_access_tool:309 10.57.216.111 read_opt_reg exp: 6, slot: 3, lane: 4, reg: swa_onoc_h, value: 308 +2026-01-14 19:29:08 [INFO] opt_reg_access_tool:309 10.57.216.111 read_opt_reg exp: 6, slot: 3, lane: 5, reg: swa_onoc_h, value: 318 +2026-01-14 19:29:08 [INFO] opt_reg_access_tool:309 10.57.216.111 read_opt_reg exp: 6, slot: 3, lane: 6, reg: swa_onoc_h, value: 310 +2026-01-14 19:29:08 [INFO] opt_reg_access_tool:309 10.57.216.111 read_opt_reg exp: 6, slot: 3, lane: 7, reg: swa_onoc_h, value: 306 + + + +# wt +./gpu_debugger -i all -w 0x369098 0x00000010 # Port2 +./gpu_debugger -i all -w 0x379098 0x00000010 # Port4 +./gpu_debugger -i all -w 0x781098 0x00000010 # Port6 +./gpu_debugger -i all -w 0x771098 0x00000010 # Port8 + +# rd + +./gpu_debugger -i all -r 0x369098 # Port2 +./gpu_debugger -i all -r 0x379098 # Port4 +./gpu_debugger -i all -r 0x781098 # Port6 +./gpu_debugger -i all -r 0x771098 # Port8 + \ No newline at end of file