Can orin nx support both MAXN_SUPER and rootfs A/B?

I see orin nx support MAXN_SUPER mode to allows a maximum number of cores and clock frequency. And to enable this mode, I should flash the board with jetson-orin-nano-devkit-super or jetson-orin-nano-devkit-super-maxn configuration.
In which, it uses this cfg file

source "${LDK_DIR}/p3768-0000-p3767-0000-super-maxn.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

But I also want to use rootfs A/B, but the configuration file like this

# Note: the lines below are used for reference only. It is not
# recommended for production.
# Rootfs A/B:
if [[ "${ROOTFS_AB}" == 1 && "${ROOTFS_ENC}" == "" ]]; then
	EMMC_CFG=flash_t234_qspi_sd_rootfs_ab.xml;
# Disk encryption support:
elif [[ "${ROOTFS_AB}" == "" && "${ROOTFS_ENC}" == 1 ]]; then
	EMMC_CFG=flash_t234_qspi_sd_enc_rfs.xml;
# Rootfs A/B + Disk encryption support:
elif [[ "${ROOTFS_AB}" == 1 && "${ROOTFS_ENC}" == 1 ]]; then
	EMMC_CFG=flash_t234_qspi_sd_enc_rootfs_ab.xml;
fi;

Is this a conflict? Can I enable rootfs A/B and maxn super mode at the same time

hello 854053437,

it’s super mode configuration for loading different device tree and also bpmp-dtb.
for instance, tegra234-p3768-0000+p3767-0003-nv-super.dtb
you may still flashing a board with ROOTFS_AB=1 to enables rootfs redundancy.

Hi, Jerry

Can I modify custom dts to get the supermode dtb file? and where should I modify in dts file?
Thanks

hello 854053437,

please visit L4T page, for instance, NVIDIA Jetson Linux 36.4.3 to download [Driver Package (BSP) Sources] package.
you’ll need to extract kernel_src.tbz2 package, and please check below for the device tree.
kernel_src/hardware/nvidia/t23x/nv-public/nv-platform/tegra234-p3768-0000+p3767-0003-nv-super.dts
you may see-also developer guide for Building the DTBs.

Hi, Jerry
I have read the nv-super dts file.

/dts-v1/;

#include "tegra234-p3768-0000+p3767-0003-nv.dts"

/ {
	compatible = "nvidia,p3768-0000+p3767-0003-super", "nvidia,p3767-0003", "nvidia,tegra234";
	model = "NVIDIA Jetson Orin Nano Engineering Reference Developer Kit Super";
};

/delete-node/ &{/opp-table-cluster0/opp-1510400000};
/delete-node/ &{/opp-table-cluster1/opp-1510400000};
/delete-node/ &{/opp-table-cluster2/opp-1510400000};

which means I just need add these lines to my custom dts file and compile it to dtb. and flash it to board, it can be actived by maxn_super mode

/delete-node/ &{/opp-table-cluster0/opp-1510400000};
/delete-node/ &{/opp-table-cluster1/opp-1510400000};
/delete-node/ &{/opp-table-cluster2/opp-1510400000};

Is my understanding right?

Thanks

yes, please note that, it also need the corresponding bpmp-dtb.

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