Skip to content

app: smc: sample.yaml: add fixes for app.recovery and pinctrl#938

Open
ShLiTT wants to merge 3 commits intotenstorrent:mainfrom
ShLiTT:smc_build_only_tests_fix
Open

app: smc: sample.yaml: add fixes for app.recovery and pinctrl#938
ShLiTT wants to merge 3 commits intotenstorrent:mainfrom
ShLiTT:smc_build_only_tests_fix

Conversation

@ShLiTT
Copy link
Contributor

@ShLiTT ShLiTT commented Jan 7, 2026

Before we didn't check build-only tests under app/smc in our ci workflows, and there are bugs in app.recovery and pinctrl.

Changes in this PR:

  • Add fixes for app.recovery and pinctrl
  • Add a new workflow to check smc build-only tests

ShLiTT added 3 commits January 7, 2026 12:03
Upstream uart driver checks `clock-frequency` first, and if present, it
uses it directly and skips the `clocks` property path.

Before the driver expects an array with a valid `CLK_ID`, but `sysclk`
has `#clock-cells = <0>` (no cells).

Signed-off-by: Sherry Li <xiaoruli@tenstorrent.com>
`recovery.conf` has been moved under `sysbuild/`

Signed-off-by: Sherry Li <xiaoruli@tenstorrent.com>
add a new workflow to test smc app build-only tests

Signed-off-by: Sherry Li <xiaoruli@tenstorrent.com>
@ShLiTT ShLiTT requested a review from danieldegrasse January 7, 2026 17:17
@ShLiTT ShLiTT marked this pull request as ready for review January 7, 2026 17:20
@alexapostolu
Copy link
Member

I'm trying to think if this PR is actually hiding a problem. If we have code in SMC that doesn't compile, then why do we even have that code in the first place?

@ShLiTT
Copy link
Contributor Author

ShLiTT commented Feb 4, 2026

@alexapostolu

why do we even have that code in the first place
I guess you can ask Le for more details.

The goal is to introduce a smc build only workflow that can test tracing and shell.

  • tracing needs more buffer memory and we want to make sure build is successful.

@alexapostolu
Copy link
Member

Maybe we can add this build test to the build-tt-tooling jobs in build-native? Idk tho, we can bring this up in standup

@danieldegrasse
Copy link
Contributor

I like the idea of putting it under build-fw workflow. @alexapostolu has a good point though- we do want to test compilation of certain options we enable with firmware for debugging/recovery firmware itself, but we don't need to compile esoteric configurations for the sake of it. We currently have pinctrl off in the production application, right? So may be no need to keep the code around to enable it until we decide to switch it in in production.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants