اصلاح ورک فلو
This commit is contained in:
@@ -98,7 +98,8 @@ def transfer(cli, firmware, *, dtb=False, kernel=False, rootfs=False, rootfs_siz
|
|||||||
if rootfs and len(image) > 0x1800000:
|
if rootfs and len(image) > 0x1800000:
|
||||||
raise RuntimeError("RootFS exceeds the non-overlapping RAM buffer capacity (0x1800000)")
|
raise RuntimeError("RootFS exceeds the non-overlapping RAM buffer capacity (0x1800000)")
|
||||||
# Invalidate any previous transfer length before attempting a new transfer.
|
# 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(
|
output = cli.command(
|
||||||
f"tftp {address:#x} {filename}",
|
f"tftp {address:#x} {filename}",
|
||||||
r"^Bytes transferred = \d+", timeout=120,
|
r"^Bytes transferred = \d+", timeout=120,
|
||||||
|
|||||||
مرجع در شماره جدید
مسدود کردن کاربر