اصلاح ورک فلو

This commit is contained in:
2026-11-09 20:56:04 +03:30
والد 5ee716f38a
کامیت cdd505b6bc
+2 -1
مشاهده پرونده
@@ -98,7 +98,8 @@ def transfer(cli, firmware, *, dtb=False, kernel=False, rootfs=False, rootfs_siz
if rootfs and len(image) > 0x1800000:
raise RuntimeError("RootFS exceeds the non-overlapping RAM buffer capacity (0x1800000)")
# Invalidate any previous transfer length before attempting a new transfer.
cli.command("setenv filesize")
cli.command("setenv filesize 0")
cli.command("printenv filesize", r"^filesize=0$")
output = cli.command(
f"tftp {address:#x} {filename}",
r"^Bytes transferred = \d+", timeout=120,