Updating the Configuration File#

Note

Only modify the version numbers in the configuration file. Do not modify any other data in the file other than the version number.

The OEM owned firmware version values, both in MB1_BCT and in BCH of the component, are generated from the configuration file included in the package:

tegra264-mb1-bct-ratchet-<board_name>.dts

This file is located in the folder:

platform-config/hardware/nvidia/platform/t264/automotive/bct/<board_name>/ratchet

The minimum ratchet is specified in the .json file in board_configs.

During, flashing, and offline binaries creation, all the values listed in this ratchet configuration file are copied to MB1_BCT and to the BCH of corresponding firmware components. As described in the Bootloader section, the version value in the configuration file must always be updated with latest version number to enable bootloaders to detect and prevent rollback to earlier versions.

The format for each OEM firmware component in the configuration file is:

<bin_name>= <index version_number>;
Example:
mb2 = <OEM_FW_RATCHET_IDX_MB2 0>;
membct = <OEM_FW_RATCHET_IDX_MEMBCT 0>;

When the OEM wants to ensure ratchet of a software, the ratchet configuration must be updated with the latest version information. Update the version number in the ratchet configuration file for the following:

  • Modified component(s)

  • MB1_BCT

For MB1_BCT, the mb1bct version number in hardware fuses is updated by MB2 when all bootchain MB1_BCTs are updated with the ratchet value. For additional details about hardware fusing for OEM owned firmware components, see the Bootloader section.