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

NVIDIA Orin NX & AGX: Updating Jetpack-Nixos NVIDIA's BSP version and switching to upstream kernel #931

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

Conversation

TanelDettenborn
Copy link

@TanelDettenborn TanelDettenborn commented Dec 11, 2024

Description of changes

Jetpack-Nixos project provides tools and components for NVIDIA Orin NX and AGX. For example flashing scripts and firmwares and more. As a from Ghaf perspective this pull request switches from Upstream Jetpack-Nixos project to our own TII-Jetpack-Nixos fork. Our Jetpack-Nixos fork has a two major changes:

  • NVIDIA BSP version is updated from 35.4 to 36.3
  • Switched from NVIADIS's BSP kernel (5.15) to upstream kernel (6.6)

Checklist for things done

  • Summary of the proposed changes in the PR description
  • More detailed description in the commit message(s)
  • Commits are squashed into relevant entities - avoid a lot of minimal dev time commits in the PR
  • Contribution guidelines followed
  • Ghaf documentation updated with the commit - https://tiiuae.github.io/ghaf/
  • PR linked to architecture documentation and requirement(s) (ticket id)
  • Test procedure described (or includes tests). Select one or more:
    • Tested on Lenovo X1 x86_64
    • Tested on Jetson Orin NX or AGX aarch64
    • Tested on Polarfire riscv64
  • Author has run make-checks and it passes
  • All automatic Github Action checks pass - see actions
  • Author has added reviewers and removed PR draft status
  • Change requires full re-installation
  • Change can be updated with nixos-rebuild ... switch

Instructions for Testing

  • List all targets that this applies to:
  • Is this a new feature
    • List the test steps to verify:
  • If it is an improvement how does it impact existing functionality?

Tanel Dettenborn and others added 7 commits December 9, 2024 12:35
- Using TII jetpack-nixos fork (fork has Jetson 36.3 with upstream Linux 6.6)
- Virtualization and bpmp is false
- Only NX target

Signed-off-by: Tanel Dettenborn <[email protected]>
- Disabled PCI passthrough until nvidia-oot device tree get integrated.

Signed-off-by: Juan Pablo Ruiz <[email protected]>
virt: updated bpmp-virt to kernel 6.6
Signed-off-by: Tanel Dettenborn <[email protected]>
Signed-off-by: Tanel Dettenborn <[email protected]>
@TanelDettenborn TanelDettenborn temporarily deployed to internal-build-workflow December 11, 2024 15:58 — with GitHub Actions Inactive
@TanelDettenborn TanelDettenborn marked this pull request as draft December 11, 2024 15:58
@TanelDettenborn TanelDettenborn temporarily deployed to internal-build-workflow December 12, 2024 09:22 — with GitHub Actions Inactive
@johannarautanen
Copy link

johannarautanen commented Dec 13, 2024

First tried to create the crosscompile AGX "flash-script", that succeeded and flashed to the AGX inside emmc. Via serial port can been that ghaf-terminal comes visible and the versions in there are:
Screenshot from 2024-12-12 17-58-00

After the AGX-version that is flashed to the memory stick booted and via serial port can be seen the same version as with the "flash-script"-version.
The crosscompile NX flash-qspi was able to build and flash to the NX. After that the memory stick version booted and via serial port can be seen the the version as were also in AGX

Have tried native and crosscompile Orin AGX and NX-versions that flashed to the memory stick, all them boot to ghaf-terminal that check via serial connection in other laptop.

Issues

  • in external-screen you can see only the kernel-ghaf screen on the boot up, but the GHAF-screen isn't visible.
  • serial connection in AGX to net-vm failed, no connection to ghaf-terminal: minicom -b 115200 -D /dev/ttyACM1

Notes:

  • native flash-script not supported

Working:

  • kernel-versions are same in all of them. Same versions as in the picture in up.
  • can check ghaf- and nixos-version
  • ethernet connection worked, can connect the ghaf-host from remove device
  • reboot and shutdown work from command nine
  • can create ssh connection from ghaf-host to net-vm

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