We are generating a common rootfs for Xavier NX, Orin Nano and Orin NX at the same time.
Is it possible to preset the power mode set by nvpmodel before flashing the board on a per-board-type base?
So for example use mode 1 for xavier and mode 2 for orin nano?
The only idea I’d currently have is to check /etc/nv_boot_control.conf for the current board and then use a service to set my desired power mode. That seems a bit more complicated than it should be.
Please refer to the following nvpmodel configuration for different platform first.
Xavier NX:
Linux_for_Tegra/rootfs/etc/nvpmodel/nvpmodel_t194_p3668.conf
Orin NX 16GB:
Linux_for_Tegra/rootfs/etc/nvpmodel/nvpmodel_p3767_0000.conf
Orin NX 8GB:
Linux_for_Tegra/rootfs/etc/nvpmodel/nvpmodel_p3767_0001.conf
Orin Nano 8GB:
Linux_for_Tegra/rootfs/etc/nvpmodel/nvpmodel_p3767_0003.conf
Orin Nano 4GB:
Linux_for_Tegra/rootfs/etc/nvpmodel/nvpmodel_p3767_0004.conf
Just modify the last line PM_CONFIG DEFAULT
to the index of the power mode you want to configure.