This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM263P4-Q1: UART boot E-FUSE locked/disabled in production

Part Number: AM263P4-Q1

Hello  Team,

  1. We would like to understand whether UART boot mode can be disabled through an eFuse setting or any other device-configuration mechanism on the AM263P4x HS-SE device.

    Our intended production boot mode is OSPI, and UART boot mode or other boot mode is not expected to be used.

    Specifically, we would like to know:

    • Is there an eFuse or boot-configuration option that can permanently disable one or more boot modes (for example, UART boot mode)?
    • On HS-SE devices, is it possible to lock or disable boot-mode selection through the boot pins, such that the Boot ROM always boots from OSPI regardless of the boot-pin configuration?
    • Can the device be configured so that alternative boot modes cannot be invoked after provisioning?
    • If disabling boot modes is not supported, what is the recommended approach to prevent unauthorized use of other boot mode in a production HS-SE device  ?
    I would like to understand and reduce the security implications if the SMPK or BMPK private key is compromised.
  • Hi Jidhin,

    s there an eFuse or boot-configuration option that can permanently disable one or more boot modes (for example, UART boot mode)?

    The boot modes are mainly set using the SOP pin circuitry. You can fix the SOP pins to OSPI boot mode in your schematics.

    But in ROM, even in OSPI Boot, the final failsafe mode is UART, i.e. if ROM doesn't find image on 4 redundant locations of Flash, then it would prepare itself to accept image from UART. 

    On HS-SE devices, is it possible to lock or disable boot-mode selection through the boot pins, such that the Boot ROM always boots from OSPI regardless of the boot-pin configuration?

    Boot rom decides the boot mode based on the SOP mode value in the pin. As mentioned above, this can be frozen in the circuit.But in ROM, even in OSPI Boot, the final failsafe mode is UART, i.e. if ROM doesn't find image on 4 redundant locations of Flash, then it would prepare itself to accept image from UART. 

    Can the device be configured so that alternative boot modes cannot be invoked after provisioning?

    In ROM, even in OSPI Boot, the final failsafe mode is UART, i.e. if ROM doesn't find image on 4 redundant locations of Flash, then it would prepare itself to accept image from UART. 

    If disabling boot modes is not supported, what is the recommended approach to prevent unauthorized use of other boot mode in a production HS-SE device  ?

    To freeze the SOP in schematics to OSPI boot mode, But in ROM, even in OSPI Boot, the final failsafe mode is UART, i.e. if ROM doesn't find image on 4 redundant locations of Flash, then it would prepare itself to accept image from UART. 

    I would like to understand and reduce the security implications if the SMPK or BMPK private key is compromised.

    I would like to understand your thought process on how the UART boot mode would possess a security threat to the SMPK /BMPK in the EFUSE. The ROM firewalls this region to HSM only access and ROM does not have the capability to open HSM JTAG. 
    Hence, UART boot mode access to ROM cannot retrieve the ROT keys AFAIK.

    May I know if we have any other thoughts here?

    Thanks and Regards,

    Nikhil Dasan

  • Hello Nikhil,

    I’m considering the scenario where the SMPK/BMPK private key is compromised at the PKI level. In that situation, an attacker could sign any image and use UART boot mode to load a malicious SBL. They would still need physical access and a pin‑bed setup, but once they can push a compromised SBL together with a modified HSMRt, the secure‑boot chain is effectively broken.

    The impact becomes much larger if the same SMPK/BMPK is shared across all ECUs, because there is no mechanism to rotate or update that key once devices are deployed. Using unique keys per ECU would limit the breach to a single unit, but it also complicates software updates—especially HSM updates—because each new HSM image must be signed with the SMPK/BMPK corresponding to that specific ECU. That means the update container would differ for every device, making large‑scale rollout extremely difficult.

    Please let me know if any part of this understanding is incorrect.

    Thanks & Best Regards,
    Jidhin Angadithazha

  • Hi Jidhin,

    I’m considering the scenario where the SMPK/BMPK private key is compromised at the PKI level. In that situation, an attacker could sign any image and use UART boot mode to load a malicious SBL

    Compromise of the SMPK/BMPK would of-course lead to a massive security threat as the device root of trust keys are obtained to attacker, which makes the attacker the owner of the device. Hence, care should be taken that this does not happen at the PKI. Be it UART boot mode or OSPI boot mode, once the ROT keys are compromised, attacker can sign the SBL and put it into flash as this is an external flash device. 

    From TI's perspective, the security of customer keys should be owned by the customer (i.e. ensuring that the source providing the key is a secure source)

    there is no mechanism to rotate or update that key once devices are deployed

    To avoid this scenario TI allows 2 sets of keys i.e SMPK/SMEK and backup BMPK/BMEK in the device, so that during compromise of SMPK, customer can switch to BMPK in the field.

    But if both are compromised, then the security vulnerability is at the source of key generation, which is owned by the customer.

    Thanks and Regards,

    Nikhil Dasan