If anyone would like to test the proposed TDR fix and also get useful timing data (which I could use to fine-tune the default sleep periods in the driver)...
I've pushed the debug version of the patch to this branch for convenience: https://github.com/tim-seoss/openwrt/tree/cabletest-tdr-timeout-fix
This is based on OpenWrt main (i.e. the "snapshot" builds), so testers will need to build-in any packages needed, so at least CONFIG_PACKAGE_ethtool-full=y
should be set in the .config
so that the full ethtool package gets pre-installed in the files. Otherwise the normal OpenWrt build rules can be followed... https://openwrt.org/docs/guide-developer/start
It should be possible to tftpboot the initramfs-kernel.bin
file which gets built under bin/targets/
to test this with everything running from ram so that flash isn't touched.