# Generate the capsule

The capsule generation tools are specialized utilities designed to create capsule files, which are essential for performing firmware updates on various devices. These tools streamline the process of packaging firmware updates into a format that’s deployed and applied to the device hardware.
You can run the tools on both Linux and Windows environments, providing flexibility for different development setups. By using OpenSSL for certificate generation and signing, the tools ensure that the firmware updates are secure and authenticated.

**Prerequisites to run the capsule**

Before you begin, do the following:

- Generate the capsule. For scripts and instructions, see: [https://github.com/quic/cbsp-boot-utilities/tree/main/uefi_capsule_generation](https://github.com/quic/cbsp-boot-utilities/tree/main/uefi_capsule_generation).
- Obtain the git clone link `cbsp-boot-utilities/uefi_capsule_generation/` directory at [https://github.com/quic/cbsp-boot-utilities.git](https://github.com/quic/cbsp-boot-utilities.git).

For Linux and Windows, the following tools are required.

| Linux | Windows |
| --- | --- |
| <ul class="simple"><br><li><p>OpenSSL: A toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols.</p></li><br><li><p>Python3: A programming language that’s widely used for scripting and automation.</p></li><br><li><p>Git: Version control system.</p></li><br></ul> | <ul class="simple"><br><li><p>OpenSSL: A toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols.</p></li><br><li><p>Python3: A programming language that’s widely used for scripting and automation.</p></li><br><li><p>Visual Studio with C++ Development Tool: An integrated development environment (IDE) from Microsoft, which includes tools for C++ development.</p></li><br><li><p>Git: Version control system.</p></li><br></ul> |

Last Published: Jun 25, 2025

[Previous Topic
Update capsule and trialboot rollback in base and advance variants](https://docs.qualcomm.com/bundle/publicresource/80-70020-4/topics/capsule-update-for-base-and-advance-variants.md) [Next Topic
Boot interfaces overview](https://docs.qualcomm.com/bundle/publicresource/80-70020-4/topics/interfaces.md)