fix: use P3767-0001
nvpmodel
conf for Orin NX 8GB
#168
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.
nvpmodel.service
is failing on 8GB variants of this board since it has 2 less cores than the 16GB variant (supported already) and since the nvpmodel configuration file was being recycled for all Orin NX variants. So,nvpmodel.service
would try to change settings for 8 CPUs when only 6 exist.cf. https://docs.nvidia.com/jetson/archives/r35.3.1/DeveloperGuide/index.html for the mapping between Orin NX variant and Nvidia "P-number".
Description of changes
Add a
hardware.jetpack-nixos.sku
module option that allows for specifying the SKU (in addition to the already-available SOM). If set to indicate that the board is the 8 GB variant of an Orin NX then we use a compatiblenvpmodel
configuration file.Testing
We used
systemctl edit --runtime
to add a block likeand
systemctl restart nvpmodel
and saw the service was working. We also executed this same command from the command line. We haven't tested all power modes since we only want to fix the service, right now, and the service's default power mode (0
) is exactly what we want. We lost access to the hardware before we could run tests on the other modes. If this change set is accepted then we can test other modes and submit an issue if we find they're not working.