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

Fix platform firmware and UEFI capsule builds when cross compiling #265

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jmbaur
Copy link
Contributor

@jmbaur jmbaur commented Jan 10, 2025

Description of changes

We must ensure we are using flash-tools for the build platform when we are using it during a build (i.e. not on a machine performing the flashing at "runtime").

This change fixes the immediate issue of some of the packages flake outputs not building (since we cross compile them), however there is some good future work that can be done to re-organize these derivations where we can just callPackage them and automatically get the right flash-tools.

Testing

Tested against internal test suite as well as tested the fixed flake outputs for uefi capsule updating and initrd flashing for an orin-nx devkit.

We must ensure we are using `flash-tools` for the build platform when we
are using it during a build (i.e. not on a machine performing the
flashing at "runtime").
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.

1 participant