1. Configure secure boot

To build signed and encrypted artifacts, modify your conf/local.conf file to include the following: 

# Required to include trustfence support.
INHERIT += "trustfence"

Image signing is enabled by default. To explicitly disable the generation of signed images, define TRUSTFENCE_SIGN to 0:

TRUSTFENCE_SIGN = "0"

You can also use the following parameters to customize the location of the sensitive keys or to disable the feature:

# Path to the signature keys and certificates.
TRUSTFENCE_SIGN_KEYS_PATH = "/mnt/secure/PKI_tree"
 
# Path to the Data Encryption Key.
TRUSTFENCE_DEK_PATH = "/mnt/secure/encryption_key.bin"

U-Boot environment encryption

When enabling TrustFence, the U-Boot environment will be encrypted by default using the CAAM and the secure internal unique key.

Note This feature is only supported in closed devices. This setting has no effect on open devices.

To explicitly disable U-Boot environment encryption, set TRUSTFENCE_ENCRYPT_ENVIRONMENT to 0 as follows:

TRUSTFENCE_ENCRYPT_ENVIRONMENT= "0"

CAUTION! When flashing U-Boot without the environment encryption feature in a device with an encrypted environment, all the values will be lost. Be sure to save any important data such as MAC addresses before you execute this procedure.

 

© 2018 Digi International Inc. All rights reserved.
1. Configure secure boot updated on 22 January 2018 02:43:38 PM