RidgeRun Platform Security Manual - SoC Secure Boot
- Introduction
- General Security Concepts
- Getting Started
- Contact Us
- Sponsor your Favorite Feature
SoC Secure Boot
SoC Secure Boot is the hardware-based Secure Boot mechanism used by NVIDIA Jetson platforms to establish a chain of trust from the first immutable boot code up to the bootloader stage. On Jetson Orin platforms based on the Tegra T234 SoC, this mechanism relies on the BootROM, platform security firmware, cryptographic keys, signed boot components, and security fuses programmed into the device.
The purpose of SoC Secure Boot is to ensure that only authenticated boot firmware and bootloader components are executed during the early boot process. Before a component is executed, the previous trusted stage verifies its integrity and authenticity. If verification fails, the boot process is stopped.
This page focuses on the SoC-level Secure Boot flow: hardware Root of Trust, PKC/SBK keys, fuse configuration, image signing, fuse programming, FSKP-based factory provisioning, and production validation. UEFI Secure Boot is a separate mechanism that begins after UEFI is already executing.
Chain of Trust
The Root of Trust for Jetson SoC Secure Boot begins with the BootROM, an immutable program embedded in the SoC during manufacturing. Because the BootROM cannot be modified after production, it provides the trusted starting point for the boot process.
During startup, the BootROM performs the initial hardware initialization and begins the secure boot sequence. The early boot process uses hardware-rooted trust and security firmware to authenticate the first boot stages before allowing execution to continue.
A typical Jetson secure boot chain includes components such as:
- BootROM
- PSCROM
- MB1
- PSC-BL1
- MB2
- UEFI firmware
- Linux kernel
- Device Tree Blob
- Initial RAM Disk
The exact set of authenticated components depends on the Jetson platform, Jetson Linux release, and boot configuration.
SoC Secure Boot authenticates the early boot firmware and bootloader path. UEFI is authenticated as part of this SoC Secure Boot chain. Once UEFI is running, UEFI Secure Boot may extend the chain of trust by validating EFI applications and operating-system boot payloads.
Secure Boot Keys
SoC Secure Boot relies on cryptographic keys and fuse values that define which software the device trusts.
PKC Key
The Platform Key Cryptography (PKC) key pair is used to authenticate the boot chain. The PKC private key signs boot components during image preparation. The corresponding public key hash is programmed into the device fuses as PublicKeyHash.
During boot, the BootROM uses the fused public key hash to verify that signed boot components were produced with the matching PKC private key. If an image is signed with a different key, signature verification fails and the boot process is halted.
Jetson Orin supports the following PKC algorithms:
- RSA 3K
- ECDSA P-256
- ECDSA P-521
- XMSS
The 2048-bit RSA option is no longer supported on Jetson Orin.
Yocto PKC Configuration
The following setting is a BitBake configuration assignment. It is not a shell command or build output.
Add the PKC configuration on the Yocto build host to the active build configuration file:
${BUILDDIR}/conf/local.conf
For the build environment used in this guide, the file normally corresponds to:
<Project_folder>/tegra-demo-distro/build-agx-orin/conf/local.conf
Add the PKC private key using an absolute path:
TEGRA_SIGNING_PKC = "/absolute/path/to/secure-boot-keys/pkc.pem"
The path points to a file on the build host, not to a location on the Jetson device. BitBake must be able to read the file during image generation.
The pkc.pem file contains the private key used to sign the Tegra boot-chain components. This key must remain on the trusted build or signing host. It must not be committed to the Yocto layer, source repository, generated image, or build logs.
BitBake configuration files do not automatically expand arbitrary shell variables such as $Project_folder. Therefore, write the resolved absolute path into local.conf. For example:
echo "TEGRA_SIGNING_PKC = \"$(readlink -f "$Project_folder/secure-boot-keys/pkc.pem")\"" \
>> "$Project_folder/tegra-demo-distro/build-agx-orin/conf/local.conf"
The command above is executed from a shell on the build host. It appends the BitBake assignment to local.conf; its output is not the signed image.
After configuring the key, initialize the same Yocto build environment and inspect the effective BitBake values:
bitbake -e demo-image-base | \
grep -E '^TEGRA_SIGNING_(ARGS|PKC)='
This is a verification command executed on the build host. For the validated wrynose configuration, the output should contain values equivalent to:
TEGRA_SIGNING_PKC="/absolute/path/to/pkc.pem" TEGRA_SIGNING_ARGS=" -u /absolute/path/to/pkc.pem"
The exact formatting may vary, but TEGRA_SIGNING_ARGS must contain the -u option followed by the intended PKC private-key path.
For Jetson Orin, an RSA-3K PKC key is a 3072-bit RSA key. Other supported algorithms depend on the target platform and Jetson Linux release.
The public-key hash programmed into the device's PublicKeyHash fuse must be generated from the same PKC key used by the Yocto build. If the image is signed with a different private key, the BootROM authentication step fails and the device does not continue booting.
Secure Boot Key
The Secure Boot Key (SBK) is a symmetric key used when bootloader encryption is enabled. When Secure Boot is configured in SBKPKC mode, selected bootloader components are encrypted using the SBK during image generation.
The same SBK must be used during image signing, flashing, and fuse provisioning. If the fused SBK does not match the SBK used to generate encrypted boot components, the device will be unable to decrypt the protected bootloader images.
Yocto SBK Configuration
The following setting is a BitBake configuration assignment. It is not a shell command and it is not expected build output.
Add the setting on the Yocto build host to the active build configuration:
${BUILDDIR}/conf/local.conf
For the environment used in this guide, this normally corresponds to:
<Project_folder>/tegra-demo-distro/build-agx-orin/conf/local.conf
The path assigned to TEGRA_SIGNING_SBK must be an absolute path on the build host. It does not refer to a path on the Jetson device.
When SBK encryption is required, add the following assignment to local.conf:
TEGRA_SIGNING_SBK = "/absolute/path/to/secure-boot-keys/sbk.key"
The referenced sbk.key is a secret input file used by the NVIDIA signing tools to encrypt supported boot-chain components. BitBake must be able to read the file, but the key must not be committed to the Yocto layer, source repository, generated image, or build logs.
When the build only validates PKC signing and does not use SBK encryption, omit TEGRA_SIGNING_SBK. It may also be explicitly left empty:
TEGRA_SIGNING_SBK = ""
An empty value means that SBK encryption is disabled. It is not an SBK key and must not be used when validating an SBK-fused device.
After configuring local.conf, initialize the same Yocto build environment and inspect the effective BitBake configuration:
bitbake -e demo-image-base | \
grep -E '^TEGRA_SIGNING_(ARGS|PKC|SBK)='
This command is executed on the build host. Its output is diagnostic information and should show that the PKC and SBK paths were converted into the NVIDIA signing arguments. For an SBKPKC configuration, the effective arguments should contain both:
-u /absolute/path/to/pkc.pem -v /absolute/path/to/sbk.key
The SBK used by the Yocto build must match the SecureBootKey value provisioned into the target device. If the keys do not match, the BootROM cannot decrypt the protected boot components and the device will not boot.
OEM Keys
Jetson platforms also support OEM fuse keys such as OemK1 and OemK2. These keys are not the primary signing keys for SoC Secure Boot, but they may be required by platform-specific security features.
For example:
OemK1may be used by EKB-derived security flows.OemK2may be used by Platform Vendor encrypted UEFI or other platform features.
These keys should only be included in the fuse configuration when required by the selected security features.
Signing and Encryption
Signing and encryption are different operations in the SoC Secure Boot workflow.
Signing authenticates a boot image. During signing, a cryptographic hash is generated for a boot component and signed with the PKC private key. During boot, the device verifies the signature before executing the component.
Encryption protects the confidentiality of selected bootloader components. When SBK encryption is enabled, selected components are encrypted before being packaged into the final flashing image. Encryption does not prove authenticity by itself; it complements signing by preventing protected firmware from being exposed in plaintext.
A boot image may therefore be:
- unsigned;
- signed;
- signed and encrypted.
On a Secure Boot-enabled device, unsigned or incorrectly signed images will not be accepted.
Yocto Signing vs Hardware Enforcement
In a Yocto meta-tegra workflow, signing and hardware enforcement are related but separate.
The Yocto build can sign NVIDIA boot-chain artifacts using a PKC private key configured through meta-tegra. This proves that the build system can generate signed artifacts, but it does not automatically mean that the target device enforces those signatures from BootROM.
For BootROM-rooted enforcement, the corresponding public-key trust material must be programmed into OTP fuses.
A development board may therefore be in this state:
| Capability | Development Validation |
|---|---|
| PKC private key used by Yocto signing tools | Yes |
| Signed NVIDIA boot-chain artifacts generated | Yes |
| Public-key trust material programmed into fuses | No |
| BootROM rejects artifacts signed by an untrusted PKC key | No |
In this mode, the validation demonstrates that the Yocto and NVIDIA signing tools produce the expected signed artifacts. It does not validate irreversible production fuse provisioning.
Production SoC Secure Boot requires both:
- signed boot-chain artifacts generated with the intended PKC key;
- fuse provisioning that anchors the trusted public-key hash in the device.
Fuse Configuration
The Secure Boot fuse configuration defines which programmable fuses will be written into the Jetson device and the value assigned to each fuse. On Jetson Orin platforms, this configuration is provided to the NVIDIA provisioning tools as an XML file.
The fuse configuration is created and stored on the trusted provisioning host. It is not part of the Yocto local.conf, it is not included in the target root filesystem, and it is not command output.
A suitable workspace layout is:
<provisioning-workspace>/ ├── keys/ │ ├── pkc.pem │ └── sbk.key ├── fuseblob.xml └── provisioning-output/
In this guide, fuseblob.xml is used as an example filename. The filename may be changed, but the same path must be supplied to the selected NVIDIA fuse-programming or FSKP tool.
Fuse XML Structure
The following block represents the contents of the fuse configuration file. It is not a shell command and must not be added to local.conf.
Create fuseblob.xml with the following basic structure:
<genericfuse MagicId="0x45535546" version="1.0.0">
<fuse name="<fuse-name>" size="<size-in-bytes>" value="<hexadecimal-value>"/>
<fuse name="<fuse-name>" size="<size-in-bytes>" value="<hexadecimal-value>"/>
</genericfuse>
The values enclosed in angle brackets are placeholders. Replace them with values generated and reviewed for the target product. Do not include the placeholder characters in the production file.
For example, an individual fuse entry has the following form:
<fuse name="PublicKeyHash" size="64" value="0x<64-byte-public-key-hash>"/>
The complete file must contain only the fuse entries required by the selected security configuration.
XML Fields
| Field | Meaning | Requirements |
|---|---|---|
MagicId
|
Identifies the file as a Jetson generic fuse configuration. | Use 0x45535546 for the configurations described in this guide.
|
version
|
Selects the fuse XML format version. | Most Secure Boot configurations use 1.0.0. Some RPMB provisioning workflows use 2.0.0.
|
name
|
Identifies the fuse to program. | The name must be supported by the target SoC and Jetson Linux release. |
size
|
Defines the fuse value size in bytes. | The size must match the target SoC fuse specification. |
value
|
Defines the value that will be programmed. | Use the required hexadecimal representation, normally prefixed with 0x.
|
Creating the Configuration
Build the fuse configuration using the following process:
- Identify the exact Jetson module, Tegra SoC, carrier-board configuration, and Jetson Linux release.
- Determine which security features are required, such as PKC authentication, SBK encryption, PKC key revocation, OEM keys, or production mode.
- Generate the required keys and public-key hashes in the trusted provisioning environment.
- Start from the reference fuse configuration supplied for the selected Jetson Linux release and SoC.
- Copy only the fuse entries required by the product security configuration into
fuseblob.xml. - Replace every placeholder and demonstration value with product-specific values.
- Verify the size, hexadecimal length, byte order, and source of every value.
- Arrange the entries in the programming order required by the selected NVIDIA provisioning workflow.
- Add
SecurityModeonly after all other fuse entries have been reviewed. - Validate the configuration using the test or dry-run mode supported by the selected provisioning tool.
- Archive the approved XML together with its review record, key identifiers, target hardware information, and intended device population.
A reference fuse XML is an example of the supported format and available fuse fields. It is not a checklist of entries that must all be programmed.
File Review
Before passing fuseblob.xml to a provisioning tool, confirm that:
- the file targets the correct Jetson module and Tegra SoC;
- the XML format version matches the selected provisioning workflow;
- every fuse name is supported by the target platform;
- every value contains the correct number of hexadecimal digits;
- all placeholder and demonstration values have been removed;
PublicKeyHashwas generated from the intended PKC private key;- the SBK and OEM key values correspond to the approved production keys;
BootSecurityInfomatches the selected security configuration;- the image-signing workflow uses the same PKC and SBK material;
- programming
SecurityModeis intentional; - the file has been approved before irreversible fuse programming.
The XML file must first be exercised through the provisioning tool's test mode. XML syntax validation alone does not verify that the fuse names, values, security-feature combination, or programming order are correct.
Common Secure Boot Fuse Entries
| Fuse | Size | Purpose |
|---|---|---|
PublicKeyHash
|
64 bytes | Stores the SHA-512 hash of the trusted PKC public key. |
PkcPubkeyHash1
|
64 bytes | Stores an additional PKC public-key hash when PKC key revocation is enabled. |
PkcPubkeyHash2
|
64 bytes | Stores the final pre-provisioned PKC public-key hash. This slot cannot be revoked. |
SecureBootKey
|
32 bytes | Stores the SBK used for encrypted bootloader components. |
OemK1
|
32 bytes | Stores an OEM symmetric key used by selected EKB-related features. |
OemK2
|
32 bytes | Stores an OEM symmetric key used by selected Platform Vendor features. |
OptInEnable
|
4 bytes in XML | Enables PKC key revocation when that feature is used. |
BootSecurityInfo
|
4 bytes | Selects the Secure Boot configuration, including algorithm and encryption mode. |
SecurityMode
|
4 bytes in XML | Places the device into production mode and restricts further fuse programming. |
Public Key Hash
The PublicKeyHash fuse stores the SHA-512 hash associated with the trusted PKC public key. During boot, the BootROM uses this value as the hardware Root of Trust for authenticating the signed boot-chain components.
The private key and the complete public key are not programmed into the device. Only the public-key hash generated in the NVIDIA fuse format is written to the PublicKeyHash fuse.
Execution Environment
Generate the public-key hash on the trusted signing or provisioning host. Use the version of tegrasign_v3.py supplied with the Jetson Linux release selected for the product.
In a standard NVIDIA BSP installation, the script is normally available under:
<Linux_for_Tegra>/bootloader/tegrasign_v3.py
The exact location may differ in a Yocto or meta-tegra workspace. Use the signing tool staged by the same BSP release used to generate the target images.
A suitable workspace layout is:
<provisioning-workspace>/ ├── keys/ │ └── pkc.pem ├── generated/ │ ├── pkc.pubkey │ └── pkc.hash └── fuseblob.xml
The pkc.pem file is a private-key input and must remain protected on the trusted host.
Generate the Hash
Run the following command from the directory containing tegrasign_v3.py, or replace the script name with its absolute path:
./tegrasign_v3.py \
--pubkeyhash <provisioning-workspace>/generated/pkc.pubkey \
<provisioning-workspace>/generated/pkc.hash \
--key <provisioning-workspace>/keys/pkc.pem
This is a shell command executed on the trusted host.
The command uses and generates the following files:
| File | Direction | Purpose |
|---|---|---|
pkc.pem
|
Input | PKC private key used to derive the corresponding public key. |
pkc.pubkey
|
Output | Public-key representation generated by tegrasign_v3.py.
|
pkc.hash
|
Output | Public-key hash generated by the NVIDIA signing tool. |
The command also reports the hash using the byte order required by the Tegra fuse configuration. Locate the output identified as:
tegra-fuse format (big-endian)
The hexadecimal value reported in this format is the value that must be placed in the PublicKeyHash entry of fuseblob.xml.
Do not copy an unrelated digest, the PEM file contents, or the value from a generic hashing command into the fuse XML.
Add the Hash to the Fuse XML
The following line is XML file content. Add it inside the genericfuse element of the reviewed fuseblob.xml file:
<fuse name="PublicKeyHash"
size="64"
value="0x<64-byte-sha-512-public-key-hash>"/>
Replace the placeholder with the complete hexadecimal value reported by tegrasign_v3.py. Do not include angle brackets in the final XML.
For a 64-byte value, the text following the 0x prefix must contain 128 hexadecimal characters.
The resulting entry should have the following form:
<fuse name="PublicKeyHash" size="64" value="0x0123456789abcdef..."/>
The abbreviated value above is only a format example and must not be used for provisioning.
Verify the Key Relationship
Before approving the fuse configuration, confirm that:
pkc.pemis the production PKC key selected for the device population;- the key algorithm and size match the selected
BootSecurityInfoconfiguration; - the hash was generated using the
tegrasign_v3.pyversion associated with the selected Jetson Linux release; - the complete value from
tegra-fuse format (big-endian)was copied intofuseblob.xml; - the Yocto build or post-build signing workflow uses the same
pkc.pem; - the generated files and command results are associated with the correct product and hardware configuration;
- the approved hash is recorded without exposing the PKC private key.
PKC Key Revocation
When PKC key revocation is enabled, additional public-key hashes must be generated from the corresponding fallback PKC keys and included in the fuse configuration:
<fuse name="PkcPubkeyHash1"
size="64"
value="0x<64-byte-public-key-hash-1>"/>
<fuse name="PkcPubkeyHash2"
size="64"
value="0x<64-byte-public-key-hash-2>"/>
Generate each hash separately with the appropriate private key. Record which key corresponds to each fuse slot and verify that:
- all required PKC hashes are provisioned during manufacturing;
- all PKC keys use the algorithm and key size required by the selected configuration;
OptInEnableis included when required;PkcPubkeyHash2is treated as the final non-revocable key slot;- the selected
BootSecurityInfovalue supports the intended revocation configuration.
Secure Boot Key Fuse
The Secure Boot Key (SBK) is a 256-bit symmetric key used to encrypt supported Jetson boot-chain components. When the device is configured for SBKPKC Secure Boot, the same SBK must be used during image generation, flashing, and fuse provisioning.
The SecureBootKey fuse stores the device-side copy of this key. During boot, the hardware uses the fused SBK to decrypt the protected boot components before they are authenticated and executed.
SBK Representations
The same SBK appears in different parts of the provisioning workflow:
| Representation | Location | Purpose |
|---|---|---|
sbk.key
|
Trusted build or signing host | Input used to encrypt supported boot components. |
TEGRA_SIGNING_SBK
|
Yocto ${BUILDDIR}/conf/local.conf
|
Provides the path of sbk.key to the validated meta-tegra build.
|
-v <sbk.key>
|
NVIDIA signing or flashing command | Provides the SBK to NVIDIA's signing tools. |
SecureBootKey
|
Fuse configuration XML | Defines the SBK value that will be permanently programmed into the device. |
These entries must all refer to the same 256-bit key.
SBK Key File
The sbk.key file is created and stored on the trusted signing or provisioning host. Its exact text format depends on the NVIDIA signing tools and Jetson Linux release used by the project.
Some NVIDIA workflows represent the SBK as eight 32-bit big-endian words, while the fuse XML represents it as one continuous 32-byte hexadecimal value.
A key file may therefore use a structure similar to:
<32-bit-word-0> <32-bit-word-1> <32-bit-word-2> <32-bit-word-3> <32-bit-word-4> <32-bit-word-5> <32-bit-word-6> <32-bit-word-7>
This block only illustrates the possible structure. Generate and format the actual key according to the documentation and tooling for the selected Jetson Linux release.
Yocto Build Relationship
For the validated meta-tegra workflow, the SBK key file is referenced from the active Yocto build configuration:
TEGRA_SIGNING_SBK = "/absolute/path/to/secure-boot-keys/sbk.key"
This assignment belongs in:
${BUILDDIR}/conf/local.conf
The path identifies a file on the build host. It is not a path on the Jetson device.
Other meta-tegra branches may pass the key directly through the NVIDIA signing arguments:
TEGRA_SIGNING_ARGS = "-u /absolute/path/to/pkc.pem -v /absolute/path/to/sbk.key"
The -v option provides the SBK to the NVIDIA signing tools. The -u option supplies the PKC private key used for authentication.
Add the SBK to the Fuse XML
The following line is XML file content. Add it inside the genericfuse element of the reviewed fuseblob.xml file:
<fuse name="SecureBootKey"
size="32"
value="0x<32-byte-sbk-value>"/>
Replace the placeholder with the continuous hexadecimal representation required by the fuse configuration format. Do not include angle brackets in the final XML.
A 32-byte SBK contains 64 hexadecimal characters after the 0x prefix.
The resulting entry has the following structure:
<fuse name="SecureBootKey" size="32" value="0x0123456789abcdef..."/>
The abbreviated value above is only a format example. It is not a valid production SBK and must not be used for fuse programming.
When to Include SecureBootKey
Include the SecureBootKey fuse only when the product security configuration uses SBKPKC and requires encryption of supported boot components.
For a PKC-only configuration:
- omit the
SecureBootKeyentry from the fuse XML; - omit
TEGRA_SIGNING_SBKfrom the Yocto configuration; - do not pass the
-voption to the NVIDIA signing tools.
Do not program an empty, demonstration, zero-filled, or placeholder SBK into a production device.
Validation
Before approving the fuse configuration, confirm that:
- the SBK contains exactly 256 bits of cryptographically generated key material;
- the key-file format is accepted by the selected NVIDIA signing tools;
- the fuse XML contains the correct 32-byte representation;
- the byte order matches the target Tegra SoC fuse specification;
TEGRA_SIGNING_SBKor the-vargument references the intended key file;- the XML value and
sbk.keyrepresent exactly the same key; BootSecurityInfoselects a configuration compatible with SBK encryption;- the complete signing and provisioning workflow has been tested before enabling production mode;
- the approved key identifier is recorded without recording the raw SBK in public manufacturing logs.
Mismatch Behavior
If boot components are encrypted using an SBK that does not match the value programmed into the device, the BootROM cannot correctly decrypt the protected components. The boot process stops before the affected component can be executed.
Common causes include:
- using a different
sbk.keyduring image generation and fuse provisioning; - incorrectly converting the key into the fuse XML representation;
- using the wrong byte order;
- flashing artifacts generated for a different device population;
- enabling SBK enforcement while using images generated without the intended SBK.
Because the SBK fuse cannot be corrected after production security fuses are locked, validate the complete workflow on development or sacrificial hardware before provisioning production devices.
Boot Security Information
The BootSecurityInfo fuse defines the Secure Boot configuration for the device. Its value selects the authentication algorithm and other security options used by the BootROM and subsequent boot stages.
Example values from Jetson Orin Secure Boot configurations include:
| Configuration | Example BootSecurityInfo
|
Related Entries |
|---|---|---|
| RSA-3K PKC | 0x1
|
PublicKeyHash, SecurityMode
|
| ECDSA P-256 PKC | 0x2
|
PublicKeyHash, SecurityMode
|
| XMSS PKC | 0x5
|
PublicKeyHash, SecurityMode
|
ECDSA P-521 with SBK and OemK1
|
0x20b
|
PublicKeyHash, SecureBootKey, OemK1, SecurityMode
|
Secure storage example with OemK1 and RPMB
|
0x200
|
OemK1, RPMB provisioning element
|
These values are configuration-specific and should not be modified arbitrarily.
Production Mode
Production mode permanently locks the Jetson security-fuse configuration after the required Secure Boot keys and security options have been provisioned and validated.
On Jetson Orin, production mode is enabled by programming the SecurityMode fuse. Once enabled, additional fuse programming is blocked except for selected ODM fuse fields supported by the target platform.
SecurityMode Fuse Entry
The following line is XML file content. Add it inside the genericfuse element of the reviewed fuseblob.xml file:
<fuse name="SecurityMode" size="4" value="0x1"/>
This line is not a shell command, BitBake configuration, or tool output.
The SecurityMode entry should normally be the final security fuse entry in the XML:
<genericfuse MagicId="0x45535546" version="1.0.0">
<!-- PKC, SBK, OEM, and security-option entries -->
<fuse name="BootSecurityInfo"
size="4"
value="0x<selected-boot-security-configuration>"/>
<!-- Enable production mode only after validating every previous entry. -->
<fuse name="SecurityMode" size="4" value="0x1"/>
</genericfuse>
The block above illustrates the expected placement. It is not a complete production fuse configuration. Replace all placeholders and verify the required programming order against the documentation for the selected Tegra SoC and Jetson Linux release.
What Production Mode Does
Programming SecurityMode:
- places the device into its production security state;
- prevents additional programming of protected security fuses;
- preserves only the explicitly supported ODM fuse-programming mechanisms;
- makes the provisioned Root of Trust and key configuration permanent.
Programming SecurityMode does not generate keys, sign images, encrypt boot components, or correct an incomplete fuse configuration. Those operations must be completed before production mode is enabled.
Development and Production Configurations
During development, maintain two reviewed fuse configurations:
| Configuration | SecurityMode | Purpose |
|---|---|---|
| Development validation | Omitted | Validates fuse values, signing inputs, provisioning tools, and boot artifacts without intentionally closing the device. |
| Production provisioning | 0x1
|
Programs the approved security configuration and permanently places the device into production mode. |
Do not add SecurityMode automatically to every development fuse XML. Its presence must be an explicit and reviewed production decision.
Production Readiness Review
Before adding SecurityMode to the production XML, confirm that:
- the exact Jetson module, board configuration, Tegra SoC, and Jetson Linux release are identified;
- the PKC private key used for image signing matches the fused
PublicKeyHash; - the SBK used for image generation matches
SecureBootKey, when SBK encryption is enabled; - all required OEM keys have been generated and reviewed;
BootSecurityInfomatches the selected PKC algorithm and security features;- the fuse value sizes, hexadecimal formats, and byte order are correct;
- optional features such as key revocation have all required fuse entries;
- the image-signing and flashing workflows use the approved production keys;
- the fuse XML has passed the provisioning tool's test or dry-run mode;
- the resulting signed images have successfully booted on representative validation hardware;
- the factory provisioning procedure has been tested from beginning to end;
- a recovery and failure-handling process exists for devices that fail provisioning;
- the final XML and key identifiers have received the required production approval.
Provisioning Order
Use the following high-level order:
- Generate and approve the production key material.
- Generate the PKC public-key hash and other required derived values.
- Assemble the fuse XML without
SecurityMode. - Validate the XML and provisioning inputs in test mode.
- Validate image signing, optional encryption, flashing, and boot behavior.
- Produce the final reviewed XML containing
SecurityMode. - Run the production provisioning procedure.
- Verify all readable fuse values and boot behavior.
- Archive the provisioning evidence.
The exact fuse-programming order is platform- and release-specific. Follow the reference fuse configuration and provisioning documentation for the selected Jetson Linux release.
Post-Provisioning Verification
After production provisioning, record:
- device serial number or manufacturing identifier;
- Jetson module and board information;
- Jetson Linux and
meta-tegraversions; - approved fuse-configuration revision;
- non-secret key identifiers or fingerprints;
- provisioning tool version;
- provisioning command result and exit status;
- readable fuse values;
- Secure Boot validation result;
- final boot-test result.
Secret values such as SecureBootKey, OemK1, and OemK2 must not appear in manufacturing logs.
Image Signing Workflow
After the Jetson Linux build process generates the boot components and images, the signing workflow prepares them for use on a Secure Boot-enabled device.
During signing:
- Each boot component is processed.
- A cryptographic hash is generated.
- The hash is signed with the PKC private key.
- If SBK encryption is enabled, selected components are encrypted.
- The signed components and metadata are packaged into flashing artifacts.
The following command syntax is used by the Jetson flashing tools to sign and optionally encrypt images:
sudo ./l4t_initrd_flash.sh -u <pkc_keyfile or pkc_keylist> -v <sbk_keyfile> <target_config> <rootdev>
Where:
-uspecifies the PKC key file or PKC key list.-vspecifies the SBK key file.<target_config>selects the Jetson device and carrier board configuration.<rootdev>selects the root filesystem device.
If -v is used, -u must also be specified. If -v is omitted, images are not encrypted. If -u is omitted, boot images are generated without PKC signing.
Signed artifacts may also be generated without immediately flashing a device by using a no-flash workflow. The target can later be programmed using a flash-only workflow that reuses the previously generated artifacts.
Factory Secure Key Provisioning
Factory Secure Key Provisioning (FSKP) is a secure manufacturing mechanism that allows sensitive fuse values to be programmed onto Jetson devices without exposing raw fuse data on the factory floor.
In an FSKP workflow, the approved fuse configuration is processed in a trusted environment to generate an encrypted and signed provisioning blob. The manufacturing environment receives only the protected blob and uses it to program devices.
This separates the workflow into two trust domains:
| Environment | Responsibility | Secret Exposure |
|---|---|---|
| Secure engineering or HSM environment | Generate the protected provisioning blob from approved fuse data. | Has access to production fuse values according to the security policy. |
| Manufacturing environment | Program devices using the protected provisioning blob. | Does not require access to raw fuse values. |
FSKP can protect fuse values such as:
- PKC public-key hashes;
- SBK values;
- OEM key values;
- security configuration fields;
- production-mode settings.
FSKP Workflow
At a high level, FSKP consists of three phases:
- Request and receive FSKP material.
- Generate a protected provisioning blob in a trusted environment.
- Program devices using the protected provisioning blob.
The FSKP workflow may include materials such as:
- OEM one-time RSA key pair;
- FSKP expansion keys;
fskp_conf.txt;- approved fuse XML;
- encrypted and signed provisioning blob.
The manufacturing environment should not modify the fuse XML or regenerate the provisioning blob. Any change to the fuse configuration must be reviewed and regenerated in the trusted provisioning environment.
Fuse Programming Test Mode
Before permanently programming fuses, validate the process in test mode. Test mode checks the fuse configuration and provisioning workflow without burning fuses.
Example command:
sudo ./fskp_fuseburn.py \
--board-spec orin-agx-board-spec.txt \
-f fuseblob.xml \
-i 62 \
--test \
--key-exp fskp_ak.bin fskp_ek.bin \
--fskpcfg fskp_conf.txt \
-g out/ \
-c 0x23 \
-B <top>/jetson-agx-orin-devkit.conf
The command validates the inputs and may generate an output directory containing encrypted and signed blob files. When the tool is executed with --test, no fuses are permanently programmed.
Fuse Programming Burn Mode
After the test workflow succeeds, burn mode permanently programs the fuses.
Example command:
sudo ./fskp_fuseburn.py \
--board-spec orin-agx-board-spec.txt \
-f fuseblob.xml \
-i 62 \
-b \
--key-exp fskp_ak.bin fskp_ek.bin \
--fskpcfg fskp_conf.txt \
-g out/ \
-c 0x23 \
-B <top>/jetson-agx-orin-devkit.conf
To program a device using a previously generated provisioning blob:
sudo ./fskp_fuseburn.py \
--board-spec orin-agx-board-spec.txt \
-P ./out \
-c 0x23 \
-B <top>/jetson-agx-orin-devkit.conf
The -P option tells the tool to use the protected provisioning blob from the specified output directory.
Mass Fuse Programming
For manufacturing workflows that need to provision multiple devices with the same configuration, the fskp_massfuseburn.py utility can be used.
Example command:
sudo python3 ./fskp_massfuseburn.py \
--skipconfirmation \
--burnfuse \
--board-spec orin-agx-board-spec.txt \
-P ./out \
-c 0x23 \
-B ../../../../jetson-agx-orin-devkit.conf
All connected devices must use the same board configuration and fuse configuration. Devices with different hardware configurations or fuse requirements must be provisioned separately.
Verification
After fuse programming is complete and the device boots, readable fuse values can be checked from Linux using nv_fuse_read.sh:
sudo nv_fuse_read.sh <fuse_name>
The reported value should be compared with the expected fuse configuration for readable fuses.
When SecurityMode=1, only public hash values are readable through the normal fuse-read interface. Secret fuse values such as SecureBootKey, OemK1, and OemK2 are masked and their raw values are not exposed.
Failure Behavior
SoC Secure Boot depends on successful authentication of every required boot component. If any verification step fails, the boot process is halted.
Common causes include:
- missing or invalid image signatures;
- images modified after signing;
- images signed with a PKC key that does not match the fused public key hash;
- incorrect SBK used for encrypted bootloader components;
- incorrect
BootSecurityInfo; - invalid or incomplete fuse configuration;
- attempting to boot unsigned images on a Secure Boot-enabled device.
Common Mistakes
Common Secure Boot provisioning mistakes include:
- using demonstration keys or sample fuse values on production devices;
- using a fuse configuration for the wrong SoC or Jetson platform;
- treating a reference fuse file as a mandatory checklist;
- programming fuse entries in the wrong order;
- programming
SecurityModebefore validation is complete; - generating
PublicKeyHashfrom one PKC key while signing images with another; - using a different SBK for flashing than the one programmed into fuses;
- enabling PKC key revocation without provisioning all required key slots;
- using a
BootSecurityInfovalue that does not match the selected configuration; - using the wrong board specification, board configuration, or Tegra SoC chip ID;
- attempting to reprogram fuses that have already been burned.