Skip to content

Commit 7aca1ed

Browse files
committed
test(hw): strip debug scaffolding from ADRV9009+ZC706 test
Removes the clk_summary / jesd204 debugfs / clk_set_rate dmesg dumps that were only useful while chasing the JESD link-up blocker (fixed in 9a7e2e2). Drops the now-unused shell_out import. Test still passes end-to-end on nemo (verified).
1 parent ddce484 commit 7aca1ed

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

test/hw/test_adrv9009_zc706_hw.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
open_iio_context,
4343
parse_ilas_status,
4444
read_jesd_status,
45-
shell_out,
4645
)
4746

4847

@@ -172,19 +171,6 @@ def test_adrv9009_zc706_xsa_hw(board, built_kernel_image_zynq, tmp_path):
172171
)
173172

174173
# --- 7. JESD link + ILAS diagnostics ---
175-
# Diagnostic: dump every registered clock's rate so we can see what
176-
# the MMCM / axi_clkgen / AD9528 actually produce per link. Compare
177-
# against production (TX = 61.44 MHz, RX/RX_OS = 122.88 MHz on the
178-
# "Reported Link Clock" sysfs line).
179-
print("=== /sys/kernel/debug/clk/clk_summary (adrv9009/ad9528/clkgen lines) ===")
180-
print(shell_out(shell, "grep -E 'ad9528|axi_adrv9009|axi_tx_clkgen|axi_rx_clkgen|jesd_|clk0|clkc|misc_clk' /sys/kernel/debug/clk/clk_summary 2>/dev/null | head -40"))
181-
print("=== jesd204 link rate debugfs ===")
182-
print(shell_out(shell, "ls /sys/kernel/debug/jesd204/ 2>/dev/null; ls /sys/kernel/debug/jesd204/*/ 2>/dev/null; ls /sys/kernel/debug/jesd204/topologies/0/ 2>/dev/null"))
183-
print("=== jesd204 per-link info ===")
184-
print(shell_out(shell, "for d in /sys/kernel/debug/jesd204/topologies/0/links/*; do echo \"=== $d ===\"; for f in $d/*; do [ -f \"$f\" ] && echo \"-- $(basename $f):\" && cat \"$f\" 2>/dev/null; done; done"))
185-
print("=== dmesg for TX rate clk_set_rate ===")
186-
print(shell_out(shell, "dmesg | grep -E 'axi-jesd204|jesd204_link|clk_set_rate|lane_rate|device_rate' | tail -n 40"))
187-
188174
rx_status, tx_status = read_jesd_status(shell)
189175
print("=== JESD204 RX status (sysfs) ===")
190176
print(rx_status)

0 commit comments

Comments
 (0)