tenstorrent / tt-flash

Tenstorrent Firmware Update Utility
Apache License 2.0
11 stars 6 forks source link

Added a --list_fw_ver option to the flash command. This will only que… #13

Closed dlfryar closed 3 months ago

dlfryar commented 4 months ago

…ry installed

cards and print the firmware and bundle versions on the card. Note the BCD (binary coded decimal) matches the named releases in github.com/tenstorrent/tt-firmware/tags.

tt-flash flash --list_fw_ver

Device Grayskull[0] found

    fw_ver hex: 0x01070000
    fw_ver dec: 17235968
    fw_ver bcd: v1.7.0.0

    bunver hex: 0x500a0000
    bunver dec: 1342832640
    bunver bcd: v80.10.0.0

tt-flash flash -h

usage: tt-flash flash [-h] [--sys-config SYS_CONFIG] [--list_fw_ver] --fw-tar FW_TAR [--skip-missing-fw] [--force] [--no-reset]

options: -h, --help show this help message and exit --sys-config SYS_CONFIG Path to the pre generated sys-config json --list_fw_ver List the current version of firmware and exit --fw-tar FW_TAR Path to the firmware tarball --skip-missing-fw If the fw packages doesn't contain the fw for a detected board, continue flashing --force Force update the ROM --no-reset Do not reset devices at the end of flash