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 13 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
…tibility with new jetpack-nixos api

Signed-off-by: juliuskoskela <[email protected]>
@juliuskoskela juliuskoskela temporarily deployed to internal-build-workflow October 24, 2024 13:18 — with GitHub Actions Inactive
@Mic92 Mic92 temporarily deployed to internal-build-workflow October 29, 2024 10:17 — with GitHub Actions Inactive
@Mic92 Mic92 had a problem deploying to external-build-workflow October 29, 2024 10:18 — with GitHub Actions Failure
@juliuskoskela juliuskoskela temporarily deployed to internal-build-workflow October 29, 2024 12:23 — with GitHub Actions Inactive
@juliuskoskela juliuskoskela temporarily deployed to internal-build-workflow October 29, 2024 12:23 — with GitHub Actions Inactive
@juliuskoskela juliuskoskela temporarily deployed to internal-build-workflow October 29, 2024 12:25 — with GitHub Actions Inactive
@TanelDettenborn TanelDettenborn temporarily deployed to internal-build-workflow October 29, 2024 13:06 — with GitHub Actions Inactive
@juliuskoskela juliuskoskela temporarily deployed to internal-build-workflow October 30, 2024 11:47 — with GitHub Actions Inactive
Signed-off-by: Julius Koskela <[email protected]>
@juliuskoskela juliuskoskela temporarily deployed to internal-build-workflow October 30, 2024 11:49 — with GitHub Actions Inactive
@TanelDettenborn TanelDettenborn temporarily deployed to internal-build-workflow October 30, 2024 13:08 — with GitHub Actions Inactive
@vadika vadika self-requested a review October 31, 2024 13:23
…ed code marked with TODO

Signed-off-by: Tanel Dettenborn <[email protected]>
@TanelDettenborn TanelDettenborn temporarily deployed to internal-build-workflow November 1, 2024 09:18 — with GitHub Actions Inactive
@juliuskoskela juliuskoskela temporarily deployed to internal-build-workflow November 1, 2024 09:34 — 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.

3 participants