Platform Configuration Profile#
Purpose#
The Platform Configuration Profile (PCP) provides a way to enable or disable features defined in the Boot Configuration Table (BCT). It is supported beginning with the T264 device. It allows for flexible configuration of boot features across various boot chains and scenarios.
Types of PCP#
The two types of PCP are common and overlay.
Common PCP#
Prepackaged.
Can be applied across all boards.
Defined as
BCT_FLAGS_FILE
in the common board config file (such ast264.conf.common
).
Overlay PCP#
Generated during flashing or image generation.
Can be applied only to the board configurations that were flashed or for which images were generated.
BCT definitions are in specific board config files (such as
jetson-agx-thor-devkit.conf
).
Common PCP Example#
To enable SC7 in the common PCP, first ensure the BCT file has the following definition:
#ifdef CONFIG_ENABLE_SC7
disable_sc7 = <0>;
#else
disable_sc7 = <1>;
#endif
Then, apply the following changes to the PCP located at Linux_for_Tegra/bootloader/generic/bctflags/platform_config_profile.yaml
:
--- a/bct_config/platform_config_profile.yaml
+++ b/bct_config/platform_config_profile.yaml
@@ -19,5 +19,7 @@ bct_defines:
chains:
chain_A:
<<: *common_flags
+ ? "CONFIG_ENABLE_SC7"
chain_B:
<<: *common_flags
+ ? "CONFIG_ENABLE_SC7"
With the preceding setting,
SC7 is enabled for both chains in coldboot flash images.
The setting applies to all boards using this common configuration.
Overlay PCP Example#
To enable PVA for Jetson Thor in coldboot, add the following lines to Linux_for_Tegra/jetson-agx-thor-devkit.conf
:
COMMON_BCT_DEFINES=""
RCMBOOT_BCT_DEFINES=""
RCMFLASH_BCT_DEFINES=""
COLDBOOT_BCT_DEFINES="ENABLE_PVA"
With the preceding setting,
PVA is enabled for both chains in coldboot flash images.
The setting applies only to the specific board configuration.
Note
Changes to a PCP require regenerating the flash image.