Modify nvpmodel Power Mode (BSP-side)
Purpose
Edit the per-board nvpmodel configuration so the device boots with
the desired power-mode set, CPU/GPU/EMC/TPC clamps, and default
mode. BSP-side only — all writes land in the overlay tracker, the
upstream bsp_image copy is read-only.
This skill handles BSP-side edits to the per-board nvpmodel configuration file: adding modes, removing modes, editing CPU/GPU/EMC/TPC clamps, and changing the boot default. Applies on Jetson / Tegra platforms (T234 Orin, T264 Thor).
File format (canonical, per the BSP file header)
# 1. PARAM definitions — declare named knobs and their sysfs paths
< PARAM TYPE=FILE NAME=<param_name> >
<arg_name> </absolute/sysfs/path>
...
< PARAM TYPE=CLOCK NAME=<param_name> >
FREQ_TABLE </sysfs/.../available_frequencies>
MAX_FREQ </sysfs/.../max_freq>
MIN_FREQ </sysfs/.../min_freq>
FREQ_TABLE_KNEXT </sysfs/.../available_frequencies> # kernel-NEXT variant
MAX_FREQ_KNEXT </sysfs/.../max_freq>
MIN_FREQ_KNEXT </sysfs/.../min_freq>
# 2. POWER_MODEL definitions — one block per profile
< POWER_MODEL ID=<int> NAME=<string> >
PARAM_NAME ARG_NAME <value>
...
# 3. PM_CONFIG — mandatory; selects boot default
< PM_CONFIG DEFAULT=<id> >
Rules:
- For
TYPE=FILE,<value>is a string (0,1,on,auto, …). - For
TYPE=CLOCK,<value>is an integer (Hz for clocks, raw integer for masks). -1for a CLOCK value means INT_MAX (no cap).- The header
< … >line must start at column 0 with a space after<and before>. Strict. - Every
PARAM_NAMEreferenced in a POWER_MODEL must already be declared above. - Frequency values must come from the kernel's
available_frequenciestable for that clock — values not in the table get silently rounded. CORE_0cannot be offlined; at least one CPU core must remain online in every profile.- Copy PARAM names verbatim from an existing POWER_MODEL block in the per-board file — chip families differ (T234 Orin uses
CPU_A78_<n>for CPU clusters; T264 Thor uses a different convention). Don't invent.
Prerequisites
Resolve the active profile per