Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tt-flash bundle opening error implies can't be opened vs. invalid file #19

Open
saichandax opened this issue Nov 20, 2024 · 3 comments
Open
Labels
enhancement New feature or request internal_report

Comments

@saichandax
Copy link

While following the instructions on software-setup page for installing drivers on Grayskull card,
I tried to flash the firmware with the command mentioned : tt-flash --fw-tar <latest fwbundle file> --force
However, this command resulted in the following failure:

Image

Solution:
Need to use tt-flash flash --fw-tar <fwbundle file> --force to run successfully.

Update needed in the doc here

@saichandax saichandax changed the title Upate docs to use flash command for updating firmware Update docs to use flash command for updating firmware Nov 20, 2024
@dimitri-tenstorrent
Copy link

You could update this by submitting a PR to https://github.com/tenstorrent/tenstorrent.github.io

@milank94 milank94 added bug Something isn't working documentation Improvements or additions to documentation labels Nov 21, 2024
@milank94 milank94 self-assigned this Nov 22, 2024
@milank94
Copy link

Thanks @saichandax -- the docs have been refreshed.

We have an updated Getting Started guide which points to the original repo instructions for installing the firmware.

@warthog9 warthog9 reopened this Nov 22, 2024
@warthog9 warthog9 added enhancement New feature or request internal_report and removed bug Something isn't working documentation Improvements or additions to documentation labels Nov 22, 2024
@warthog9
Copy link
Member

Issue is not about tt-flash flash vs. tt-flash this was filed at my behest as a tracking issue for a different problem with the tt-flash command and error suggestions. tt-flash and tt-flash flash continue to work as expected as the former is a compat option.

Actual error in question: If the .fwbundle is not as expected, in this specific case an lfs tracking file (text file) vs. a properly compressed blob we are expecting the error that comes back is:

$ tt-flash --fw-tar fw_pack-80.13.2.0.fwbundle
Stage: SETUP
Opening of fw_pack-80.13.2.0.fwbundle failed with - file could not be opened successfully
---
[... rest of help info follows]

What's happening is the fwbundle is getting loaded and it's incorrect, the error that's getting kicked out is incorrect in that it implies the file can't be opened, which is TRUE but it's more that it's in an incorrect format, not that it can't be actually opened.

This was intended as a tracking bug to deal with enhancing the error report there that I asked someone to file so I could jog my memory for what it was for.

Reopening bug, fixing title.

@warthog9 warthog9 changed the title Update docs to use flash command for updating firmware tt-flash bundle opening error implies can't be opened vs. invalid file Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request internal_report
Projects
None yet
Development

No branches or pull requests

4 participants