Skip to content

Conversation

@TanelDettenborn
Copy link
Contributor

Jetson R36 introduces "bring your own kernel"-feature. Nvidia-oot requires a couple of fixes to work against upstream kernel. Note: Tested with kernel 6.6.118. Later kernel might require more adjusting of nvidia-oot.

Description of changes
  • Nix adds "format-security" GCC flag and therefore one of the NVIDIA's "conftest"-test error erroneously.
  • Display driver is missing "of_property_for_each_u32_removed_internal_args"-conftest
Testing

nix build .#flash-orin-nx-debug && nix build .#iso_minimal evaluates and compile (and boots on NX device). Targets has been tested with default BSP 5.15.x kernel and upstream 6.6.118 kernel.

@elliotberman
Copy link
Collaborator

We don't have the bandwidth to "bring your own kernel". I'm happy to help take work to support BYOK, but we might inadvertently break (or be forced to break) BYOK. If we know that the patches don't apply and can't trivially fix them up, we can tag you and give some time to clean up the patches.


I assume there's more to add support for the 6.6 kernel than just these 2 out-of-tree module patches?

@brianmcgillion
Copy link
Contributor

https://docs.nvidia.com/jetson/archives/r36.4/DeveloperGuide/SD/Kernel/BringYourOwnKernel.html#bring-your-own-kernel

Lists the patches, and which kernel they landed in. depending on your baseline kernel, so if you have a 6.6 you need to apply 6.7 and next.

master...tiiuae:jetpack-nixos:december-bump

The full patch for the 6.6 kernel is there, rebased yesterday, including the changes in this PR. We have had it in use and testing for quite some time.

@elliotberman
Copy link
Collaborator

If you'd like to add support for 6.6 kernel in jetpack-nixos, I'd like to bring in all the changes rather than just a subset of them.

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