-
v1.2.6 — FDR statistics around the traffic run, and unused lanes turned off before the baseline Stable
released this
2026-10-21 22:55:09 +08:00 | 3 commits to main since this release✨ New features
blanton_fdr.sh— FDR statistics throughphydiag fdrstat- Four sub-commands, each run on unit 0 then unit 1, over ports
'1-259,270-565':
start(fdrstat STArt bin_group=both Interval=30),clear(fdrstat clear),rdcnt(fdrstat Counters),stop(fdrstat STOp). - Output is printed as is, under a
### [time] unit N: ...header — no parsing, no PASS/FAIL. -u 0/-u 1for one switch unit,-i <sec>for the interval,-nfor a dry run.FDR_PORTSoverrides the port list.
FDR runs alongside the traffic test in Script A, B and C
- Script A wraps its traffic baseline:
fdr startafterinit,fdr clearafterclear,fdr rdcntafter the run,fdr stopafter the traffic stop. The traffic run is now 40 s instead of 15 s, so the counters are read after the first 30 s interval has been published — the same rule asprbsstat Ber. - Script B starts and clears FDR with the traffic setup, before the soak loop — the counters run for the whole soak — and reads them (
rdcnt) in every soak round, after the Tray ID stress. - Script C reads them (
rdcnt) before stopping the traffic and stops FDR after it — the closing read of the counters Script B started.
Script A turns off the unused lanes before the BER baseline
unused_lanes.sh off— TX squelch on the unused retimer lanes and TSC31 (cd112-cd115) disabled on the TH6, on both switch boards.
📦 Downloads
File Contents Script_ABC_Blanton_V1.2.6.zipThe full Tera Term working directory, including Blanton_Script/to copy onto the DUTchmod +x ~/Blanton_Script/*.sh grep -rlU $'\r' ~/Blanton_Script # expect no output⚠️ Before you run
chmod +xafter deploying.blanton_fdr.sh,unused_lanes.shandretimer_lanes.share all called by path;unused_lanes.shalso refuses to start ifretimer_lanes.shis not executable.blanton_fdr.sh stopsendsfdrstat STOp— that keyword is inferred fromprbsstat STOpand has not been checked on the bench.bcmcmdexits 0 even when the BCM shell rejects a command, so if it is wrong, FDR keeps running and only the log shows it. Check the first run.- FDR only runs when both switch units are enabled (
SWB_UNIT0 = SWB_UNIT1 = 1). The single-unit branches have no FDR, and Script A's single-unit traffic run is still 15 s. - Script B's per-round
fdr rdcntis not gated by the unit settings — with one unit enabled, FDR was never started and each round just logs whateverfdrstat Countersreturns. - Nothing turns the unused lanes back on. Script C has no
unused_lanes.sh on; run it by hand when the DUT is needed in its normal state. Whether a reboot clears it has not been checked. unused_lanes.sh offis not gated bySWB_UNIT0/SWB_UNIT1— it always acts on both boards.blanton_ber.sh(Script A / C) still usesp=3andsleep 30; see v1.2.5.- Script 4 has no teardown: finish it with
blanton_tr518.sh stopandsystemctl stop mlucas-amm. FAN_SPEEDis 100.
🔗 Links
- ARCHITECTURE.md — test flow, data models, constraints
- CLAUDE.md — commands and the bench gotchas
Full changelog: V1.2.5...V1.2.6
Downloads
- Four sub-commands, each run on unit 0 then unit 1, over ports