Skip to content

Commit 691126b

Browse files
fix: use P3767-0001 nvpmodel conf for Orin NX 8GB
note: 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".
1 parent 3ce210c commit 691126b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

modules/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ in
5353
# You can add your own som or carrierBoard by merging the enum type
5454
# with additional possibilies in an external NixOS module. See:
5555
# "Extensible option types" in the NixOS manual
56-
type = types.nullOr (types.enum [ "orin-agx" "orin-nx" "orin-nano" "xavier-agx" "xavier-nx" "xavier-nx-emmc" ]);
56+
type = types.nullOr (types.enum [ "orin-agx" "orin-nx" "orin-nx-8G" "orin-nano" "xavier-agx" "xavier-nx" "xavier-nx-emmc" ]);
5757
description = "Jetson SoM (System-on-Module) to target. Can be null to target a generic jetson device, but some things may not work.";
5858
};
5959

modules/devices.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{ pkgs, config, lib, ... }:
22

3-
# Configuration specific to particular SoM or carrier boardsl
3+
# Configuration specific to particular SoM or carrier boards
44
let
55
inherit (lib)
66
mkDefault
@@ -12,6 +12,7 @@ let
1212
nvpModelConf = {
1313
orin-agx = "${pkgs.nvidia-jetpack.l4t-nvpmodel}/etc/nvpmodel/nvpmodel_p3701_0000.conf";
1414
orin-nx = "${pkgs.nvidia-jetpack.l4t-nvpmodel}/etc/nvpmodel/nvpmodel_p3767_0000.conf";
15+
orin-nx-8G = "${pkgs.nvidia-jetpack.l4t-nvpmodel}/etc/nvpmodel/nvpmodel_p3767_0001.conf";
1516
orin-nano = "${pkgs.nvidia-jetpack.l4t-nvpmodel}/etc/nvpmodel/nvpmodel_p3767_0003.conf";
1617
xavier-agx = "${pkgs.nvidia-jetpack.l4t-nvpmodel}/etc/nvpmodel/nvpmodel_t194.conf";
1718
xavier-nx = "${pkgs.nvidia-jetpack.l4t-nvpmodel}/etc/nvpmodel/nvpmodel_t194_p3668.conf";

0 commit comments

Comments
 (0)