Recommended production workflow for a single OTA image supporting both Orin Nano and Orin NX with different default nvpmodel modes

Hi everyone,

I’m working on a custom carrier board (manufactured by my company) based on JetPack 6.2 (L4T 36.4.3)

My setup is the following:

  • A single BSP/image supporting:
    • Jetson Orin Nano (4GB / 8GB)
    • Jetson Orin NX (8GB / 16GB)
  • l4t_initrd_flash.sh
  • External NVMe rootfs
  • ROOTFS_AB=1
  • A custom DTB shared by all modules
  • A single OTA package generated with l4t_generate_ota_package.sh

I’m flashing using a custom board configuration derived from jetson-orin-nano-devkit-super.conf.

Due to power supply limitations on our carrier board, we intentionally want different default power modes depending on the installed module:

  • Orin Nano → SUPER_MAXN
  • Orin NX → MAXN

Since I’m using a single BSP and a single OTA package for all modules, I’d like to avoid maintaining different images or different OTA packages for each SKU.

My first idea was to install a small systemd service that runs at every boot, detects the installed module, and selects the appropriate nvpmodel. This would also ensure the correct mode is applied after an A/B OTA update.

Before implementing this, I’d like to ask what do you guys recommends for this type of production deployment.

  • Is there an NVIDIA-supported way to reliably identify the installed module (Orin Nano vs Orin NX) at runtime, independently of the DTB model string?
  • Is there a recommended mechanism for automatically selecting the appropriate nvpmodel after flashing and after OTA updates?
  • Or is a systemd service executed at every boot considered the recommended approach?

I’d appreciate any guidance or best practices.

Thanks!

hello mehdieaa,

it should be available to create a single OTA image supporting both Orin Nano and Orin NX with different default nvpmodel modes.
please refer to.. /etc/nv_boot_control.conf, you may check TNSPEC/COMPATIBLE_SPEC for module detection.
you may patch nvpower.sh, to select the right nvpmodel.conf per Orin SKUs.
please see-also board configuration file for understanding how it distinguish the board sku and writing different bpmp-dtb.
such as.. jetson-orin-nano-devkit-super.conf and jetson-orin-nano-devkit-super-maxn.conf

Hi Jerry,

thank you for your reply.

I have one question about nvpower.sh: does it already identify the installed module SKU (for example by reading TNSPEC / COMPATIBLE_SPEC from /etc/nv_boot_control.conf), or is this detection expected to be implemented by the user?

My concern is OTA updates. Since the updated rootfs replaces the inactive slot, I would like to understand how the appropriate nvpmodel is expected to be selected after booting the updated slot while using a single production image and a single OTA package.

My goal is to have an Orin Nano always boot in SUPER_MAXN and an Orin NX always boot in MAXN, without maintaining different images for each SKU.

hello mehdieaa,

please have implementation for the detection.
you can tell Orin Nano/NX from the part number of the module.
for instance,
for Jetson Orin NX, the part numbers are:
– P3767-0000 for Jetson Orin NX 16GB module
– P3767-0001 for Jetson Orin NX 8GB module
for Jetson Orin Nano, the part numbers are:
– P3767-0003 for Jetson Orin Nano 8GB module
– P3767-0004 for Jetson Orin Nano 4GB module
– P3767-0005 for Jetson Orin Nano developer kit module with SD Card

here’s some code snippets for your reference.

  sku="$(awk '/^TNSPEC/ { split($2, a, "-"); print a[3]; exit }' /etc/nv_boot_control.conf)"                                                                                 
                                                                                                                                                                             
  case "${sku}" in                                                                                                                                                           
    0000|0002)                                                                                                                                                               
      conf="/etc/nvpmodel/nvpmodel_p3767_0000.conf"                                                                                                                          
      mode="0"   # MAXN                                                                                                                                                      
      ;;                                                                                                                                                                     
    0001)                                                                                                                                                                    
      conf="/etc/nvpmodel/nvpmodel_p3767_0001.conf"                                                                                                                          
      mode="0"   # MAXN                                                                                                                                                      
      ;;                                                                                                                                                                     
    0003|0005)                                                                                                                                                               
      conf="/etc/nvpmodel/nvpmodel_p3767_0003_super.conf"
      mode="2"   # MAXN_SUPER
      ;;
    0004)
      conf="/etc/nvpmodel/nvpmodel_p3767_0004_super.conf"
      mode="2"   # MAXN_SUPER
      ;;
    *)
      echo "Unsupported P3767 SKU: ${sku}" >&2
      exit 1
      ;;
  esac

Hi Jerry,

Your detailed explanation was very helpful.

I noticed that the JetPack 6.2 documentation recommends flashing with jetson-orin-nano-devkit-super.conf and then enabling the desired mode with nvpmodel -m after boot.

However, when I run nvpmodel -m (for example -m 2 on an Orin Nano), it sometimes prompts for a reboot.

Is this expected behavior? Under what conditions does nvpmodel require a reboot after switching to MAXN/SUPER_MAXN?

I’m trying to understand whether this is due to the BPMP configuration or whether there is another mechanism involved.

Thanks for your time and guidance!

hello mehdieaa,

please refer to developer guide, nvpmodel GUI.
let me re-cap as below..

If the nvpmodel power mode change requires to set the different tpc_pg_mask value then the system reboot is required.

Hello mehdieaa,

Considering your information and your use-case, I think your planned workflow is correct.

In order to generate a single OTA you need a custom conf file to modify the bootfiles according to the Orin NX/ Orin Nano you use.

On the custom conf file, modify the variables to use the proper values according to the SKU and TNSPEC.

For changing the nvpmodel, a service will do the trick after booting so a single rootfs can work on both board versions.