Jetpack 6 Support (WIP)#2
Draft
elliotberman wants to merge 40 commits into
Draft
Conversation
a1f08c8 to
066d7c7
Compare
f617aaa to
162f381
Compare
1d51f92 to
eb38a56
Compare
162f381 to
b48352b
Compare
f8f1521 to
397354d
Compare
b48352b to
c2a088e
Compare
c2a088e to
706979c
Compare
2b28a94 to
716575a
Compare
2122cf8 to
b75904a
Compare
706979c to
e6d5667
Compare
e6d5667 to
dc54c12
Compare
dc54c12 to
c83943f
Compare
c83943f to
9553364
Compare
PAC/BTI must be enabled to boot Arm Trusted Firmware.
An additional line needs to be removed from the l4t_bup_gen.func and tegrahost_v2 is no longer present (or needed) for flashing.
Some directories are present, but empty. Only do the mv if there are files present.
It is not present in r36, so only patch it if it's present.
In jetpack 6, libnvidia-ptxjitcompiler.so is suffixed with the CUDA driver version, not the l4t version. Describe the CUDA driver version in the overlay.nix and use it, if set.
In L4T r36, the "t186ref" directory is renamed to "generic". Handle it with a variable.
USB OTG should work in Jetpack 6.
In jetpack 6, there are multiple csv files to describe the necessary container context. The nvidia-ctk tool is not satisfied if the csv files are simply concatenated. Install all the files and register both with nvidia-ctk cdi generate.
In jetpack 6, flash.sh must be called with --sign argument. See build_l4t_bup.sh.
A couple of patches to fixup the makefile and suppress a -Wunused-result. cupti-samples also exports a shared object now, so install that in $out/lib.
Jetpack 6 ships CUDA 12 and uses cudnn v9.
Minor patch no longer-applicable and hunk adjustments for jetpack 6.
Add additional build input dependencies needed only on jetpack 6 (cuda 12+).
CUDA no longer ships the cuda-samples source. Fetch and build it from GitHub.
More drivers are modules now and erasesize sysfs is broken. Hard-code it to 16384. Link: OE4T/meta-tegra@106d558
This appears to be working, but the conftest doesn't work well with any of the kernels I threw at it.
When booting off rootfs over USB, the USB drivers need to be probed. Add the needed modules to get those drivers probed.
Describe support matrix for JetPack 6 and "gotchas" with keeping firmware and kernel/rootfs aligned.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of changes
Testing