fix: remove 'uboot'/'u-boot' from fail keywords — too broad

Xilinx program_flash often outputs informational lines containing
'uboot' (mini u-boot image file, U-Boot version banner) which are
not errors. The 'failed' keyword already catches 'U-Boot failed'
and 'uboot failed' in actual failure scenarios.
This commit is contained in:
2026-06-11 18:13:30 +08:00
parent 04ad61e694
commit f330f8c276
+1 -1
View File
@@ -38,7 +38,7 @@ ProgressCallback = Callable[[str, str], None] | None
# Keywords in program_flash output that indicate failure even with rc=0 # Keywords in program_flash output that indicate failure even with rc=0
_FAIL_KEYWORDS = [ _FAIL_KEYWORDS = [
"uboot", "u-boot", "failed", "cannot", "abort", "failed", "cannot", "abort",
"invalid", "unsupported", "timeout", "invalid", "unsupported", "timeout",
] ]