Incorrect /etc/nvpmodel.conf when Using Custom Config

Hi,

We’ve got an Orin NX 16GB on a custom carrier.

When I flash using p3768-0000+p3767-0000-nvme.conf, nvpmodel.conf is correct:

nvidia@CHARM252xxx:~$ ls -l /etc/nvpmodel.conf
lrwxrwxrwx 1 root root 38 Mar 27  2023 /etc/nvpmodel.conf -> /etc/nvpmodel/nvpmodel_p3767_0000.conf
nvidia@CHARM252xxx:~$

I created a customer .conf based on p3768-0000+p3767-0000-nvme.conf because we needed to change the pinmux. I also made changes to the device tree, using dtc, including changing the model name.

source "${LDK_DIR}/p3768-0000+p3767-0000.conf";

EMMC_CFG="flash_t234_qspi_nvme.xml";

if [ "${UPHYLANE}" = "c7x1" ]; then
	UPHYLANE_CONFIG="tegra234-mb1-bct-uphylane-si-c7x1.dtsi";
	EMMC_CFG="flash_t234_qspi_nvme_c7.xml";
elif [ "${UPHYLANE}" = "c7x2" ]; then
	UPHYLANE_CONFIG="tegra234-mb1-bct-uphylane-si-c7x2.dtsi";
	EMMC_CFG="flash_t234_qspi_nvme_c7.xml";
fi

PINMUX_CONFIG="Orin-trk081-r7-padvoltage-default.dtsi";
PMC_CONFIG="Orin-trk081-r7-pinmux.dtsi";
DTB_FILE="tegra234-p3767-0004-trk081-r7-a0.dtb";

When I use my custom config, nvpmodel.conf is wrong, it seems to be pointing at the Orin Nano 4GB config:

nvidia@CHARM252xxx:~$ ls -l /etc/nvpmodel.conf
lrwxrwxrwx 1 root root 38 Mar 27  2023 /etc/nvpmodel.conf -> /etc/nvpmodel/nvpmodel_p3767_0004.conf
nvidia@CHARM252xxx:~$

What have I don wrong in my custom config and/or device tree?

Could/should I just change nvpmodel.conf after first boot?

Any thoughts greatly appreciated,
Matt

Looks like you used a p3767-0004 dtb by yourself and leads to the change of nvpmodel?

Oh, yeah, good spot!

I don’t think that’s what I meant to do, I shall review and try and understand what I meant to do and what I actually did! :-)

Thanks

Oh, fool!

I think I followed this example Orin Nano - Using UARTD or E or F without realising the importance of the ‘0004’ in the examples! :-(

Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.