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

Jetpack update #778

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

juliuskoskela
Copy link
Contributor

@juliuskoskela juliuskoskela commented Sep 9, 2024

WIP-status:

  • Ripped out many possibly important things from lib/mk-flash-script/default.nix for clarity. These probably need to be reintroduced.
  • Importing (import "${jetpack-nixos}/overlay-with-config.nix" hostConfiguration) is broken, the config is wrong.
  • Need to refactor targets/nvidia-jetson-orin/flake-module.nix, which is the callee of lib/mk-flash-script/default.nix.
  • Need to reintroduce error handling in the flash script. Building on aarch64 will be a hard error from now on.

Jetpack-Nixos Migration and Refactoring in Ghaf

Summary:
This pull request migrates the Ghaf repository to the latest Jetpack-Nixos version, focusing on refactoring key components related to flashing procedures for NVIDIA Jetson devices. Significant changes in the Jetpack-Nixos package structure, as well as constraints on cross-compilation and host system architectures, necessitated a series of updates to the flash script generation process.

Context:

  • The migration was prompted by a need to update to the latest Jetpack-Nixos version. However, after pulling the new version, various errors emerged due to the restructuring of the package system in Jetpack-Nixos.
  • Notably, the deprecated system.build.jetsonDevicePkgs needed to be replaced by pkgs.nvidia-jetpack, and flashing is now limited to x86 systems, removing the previous capability for ARM-based flashing.

References:

@juliuskoskela juliuskoskela temporarily deployed to internal-build-workflow September 9, 2024 13:50 — with GitHub Actions Inactive
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