lib: bh_arc: tensix_init: add DEST register wipe at init#1002
Open
ShLiTT wants to merge 2 commits intotenstorrent:mainfrom
Open
lib: bh_arc: tensix_init: add DEST register wipe at init#1002ShLiTT wants to merge 2 commits intotenstorrent:mainfrom
ShLiTT wants to merge 2 commits intotenstorrent:mainfrom
Conversation
jgrowdenTT
reviewed
Feb 10, 2026
| raw/refs/heads/main/zephyr/blobs/fw_pack-grayskull.tar.gz" | ||
| description: "Grayskull FW" | ||
| doc-url: https://tenstorrent.com | ||
| - path: tt_blackhole_trisc_dest_wipe.bin |
Contributor
There was a problem hiding this comment.
Is this merged to the internal repository?
If so we should document the git hash, or some version, from which it came from...
If not, we should do that first, then do above.
Contributor
There was a problem hiding this comment.
Sry I just caught 0.2. Is that accurate?
Contributor
Author
There was a problem hiding this comment.
What would be a good format to add git hash? I am not sure if having a commented source is good enough...
# Source: <full-commit-hash> in t6py
Contributor
There was a problem hiding this comment.
Appologies @ShLiTT ; you have a verion 0.2 there. I'm not sure if that's accurate or not but that'll probably do, so long as internally the verison is being tracked as well.
jgrowdenTT
reviewed
Feb 10, 2026
jgrowdenTT
reviewed
Feb 10, 2026
Add a 4KB read-only destwipe partition at 0x22c000 for the TRISC dest wipe firmware blob in the Blackhole fixed partitions dtsi. Signed-off-by: Sherry Li <xiaoruli@tenstorrent.com>
Add wipe_dest() to zero the DEST register of every non-harvested Tensix core during initialization. Loads a TRISC wipe firmware from SPI flash to Tensix L1 via multicast, runs it on TRISC 0, and waits for all cores to complete via an atomic counter with a 10ms timeout before re-asserting soft reset. Signed-off-by: Sherry Li <xiaoruli@tenstorrent.com>
Contributor
Author
|
This pr needs to be merged after merge-request 2357 landing in t6py. |
b492116 to
4508f40
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
wipe_dest()which:via NOC multicast
(
global_sync()with 10ms timeout)global_sync()helper to poll a counter on a designated Tensix corenoc2axi_write32_fw()helper for 32-bit NOC writes during SPI transferwipe_dest()fromtensix_init()afterwipe_l1()