Skip to content

Comments

feat: Kernel version option for NVIDIA Orin NX/AGX targets#1195

Merged
brianmcgillion merged 2 commits intotiiuae:mainfrom
TanelDettenborn:jetpack-kernel-version
May 15, 2025
Merged

feat: Kernel version option for NVIDIA Orin NX/AGX targets#1195
brianmcgillion merged 2 commits intotiiuae:mainfrom
TanelDettenborn:jetpack-kernel-version

Conversation

@TanelDettenborn
Copy link
Contributor

Jetpack-nixos (tiiuae fork) supports kernel version select between "bsp-default" and "upstream-6-6". Upstream kernel only works with Jetson 36.X BSP. Commit also updates Jetpack-nixos flake lock.

NVIDIA Orin NX/AGX keeps using upstream 6.6. kernel.

Description of Changes

Type of Change

  • New Feature
  • Bug Fix
  • Improvement / Refactor

Related Issues / Tickets

Checklist

  • Clear summary in PR description
  • Detailed and meaningful commit message(s)
  • Commits are logically organized and squashed if appropriate
  • Contribution guidelines followed
  • Ghaf documentation updated with the commit - https://tiiuae.github.io/ghaf/
  • 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

Testing Instructions

Define kernel version option. For example
kernelVersion = "upstream-6-6"
or
kernelVersion = "bsp-default"
or
If not explicitly defined then "bsp-default" is selected.

Applicable Targets

  • Orin AGX aarch64
  • Orin NX aarch64
  • Lenovo X1 x86_64
  • Dell Latitude x86_64

Installation Method

  • Requires full re-installation
  • Can be updated with nixos-rebuild ... switch
  • Other:

Test Steps To Verify:

If kernelVersion = "upstream-6-6"
-> uname -a should print Linux ghaf-host 6.6.75 ...
if kernelVersion = "bsp-default"
-> uname -a should print Linux ghaf-host 5.15.148 ...
if kernelVersion is NOT defined
-> uname -a should print Linux ghaf-host 5.15.148 ...

Jetpack-nixos (tiiuae fork) supports kernel version select between
"bsp-default" and "upstream-6-6". Upstream kernel only works with
Jetson 36.X BSP. Commit also updates Jetpack-nixos flake lock.

NVIDIA Orin NX/AGX keeps using upstream 6.6. kernel.

Signed-off-by: Tanel Dettenborn <tanel@ssrc.tii.ae>
devshell/kernel.nix file is left for documenting/example purpose

Signed-off-by: Tanel Dettenborn <tanel@ssrc.tii.ae>
@msaarine
Copy link

Tested with Orin-AGX & Orin-NX. No regression seen and new functionality worked as described.

@msaarine msaarine added Tested on Orin AGX This PR has been tested on NVIDIA Jetson AGX Orin Tested on Orin NX This PR has been tested on NVIDIA Jetson NX Orin and removed Needs Testing CI Team to pre-verify labels May 15, 2025
@brianmcgillion brianmcgillion merged commit 7bedaa3 into tiiuae:main May 15, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tested on Orin AGX This PR has been tested on NVIDIA Jetson AGX Orin Tested on Orin NX This PR has been tested on NVIDIA Jetson NX Orin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants