mcu-tools/mcuboot

GitHub: mcu-tools/mcuboot

面向32位微控制器的开源安全引导加载程序,提供固件签名验证和安全升级的通用基础设施。

Stars: 1884 | Forks: 920

# [MCUboot](http://mcuboot.com/) [![PyPI 上的包](https://img.shields.io/pypi/v/imgtool.svg)][pypi] [![Coverity 扫描构建状态](https://scan.coverity.com/projects/12307/badge.svg)][coverity] [![构建状态 (Sim)](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/f6c328a510153059.svg)][sim] [![构建状态 (Mynewt)](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/2c37d65c62153100.svg)][mynewt] [![构建状态 (Espressif)](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/6da4d2c0fe153101.svg)][espressif] [![发布状态 (imgtool)](https://static.pigsec.cn/wp-content/uploads/repos/2026/05/5362529527153103.svg)][imgtool] [![构建状态 (Travis CI)](https://img.shields.io/travis/mcu-tools/mcuboot/main.svg?label=travis-ci)][travis] [![Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)][license] 这是 MCUboot 2.4.0 版本 MCUboot 是一个用于 32 位微控制器的安全 bootloader。它为微控制器系统上的 bootloader 和系统 flash 布局定义了通用基础设施,并提供了一个安全的 bootloader 来实现轻松的软件升级。 MCUboot 不依赖于任何特定的操作系统和硬件,而是依赖于与其协同工作的操作系统提供的硬件移植层。目前,MCUboot 可在以下操作系统和 SoC 上运行: - [Zephyr](https://www.zephyrproject.org/) - [Apache Mynewt](https://mynewt.apache.org/) - [Apache NuttX](https://nuttx.apache.org/) - [RIOT](https://www.riot-os.org/) - [Mbed OS](https://os.mbed.com/) - [Espressif](https://www.espressif.com/) - [Cypress/Infineon](https://www.cypress.com/) RIOT 仅作为启动目标被支持。一旦社区贡献的新移植足够成熟,我们就会予以接纳。 ## MCUboot 指南 有关在不同操作系统和 SoC 上使用 MCUboot 的说明,请参阅以下页面: - [Zephyr](docs/readme-zephyr.md) - [Apache Mynewt](docs/readme-mynewt.md) - [Apache NuttX](docs/readme-nuttx.md) - [RIOT](docs/readme-riot.md) - [Mbed OS](docs/readme-mbed.md) - [Espressif](docs/readme-espressif.md) - [Cypress/Infineon](boot/cypress/README.md) 此外,还有关于 [模拟器](sim/README.rst) 的说明。 ## 路线图 正在计划和进行中的问题使用 GitHub issues 进行跟踪。如需提供您的意见,请访问 [MCUboot GitHub Issues](https://github.com/mcu-tools/mcuboot/issues)。 ## 源文件 您可以在源文件中找到有关 bootloader 的更多文档。有关更多信息,请使用以下链接: - [boot/bootutil](https://github.com/mcu-tools/mcuboot/tree/main/boot/bootutil) - bootloader 本身的核心。 - [boot/boot\_serial](https://github.com/mcu-tools/mcuboot/tree/main/boot/boot_serial) - 支持在 bootloader 本身进行串行升级。 - [boot/zephyr](https://github.com/mcu-tools/mcuboot/tree/main/boot/zephyr) - bootloader 向 Zephyr 的移植。 - [boot/mynewt](https://github.com/mcu-tools/mcuboot/tree/main/boot/mynewt) - 用于 Apache Mynewt 的 bootloader 应用程序。 - [boot/nuttx](https://github.com/mcu-tools/mcuboot/tree/main/boot/nuttx) - 用于 Apache NuttX 的 bootloader 应用程序和 MCUboot 接口移植。 - [boot/mbed](https://github.com/mcu-tools/mcuboot/tree/main/boot/mbed) - bootloader 向 Mbed OS 的移植。 - [boot/espressif](https://github.com/mcu-tools/mcuboot/tree/main/boot/espressif) - 用于 Espressif SoC 的 bootloader 应用程序和 MCUboot 移植。 - [boot/cypress](https://github.com/mcu-tools/mcuboot/tree/main/boot/cypress) - 用于 Cypress/Infineon SoC 的 bootloader 应用程序和 MCUboot 移植。 - [imgtool](https://github.com/mcu-tools/mcuboot/tree/main/scripts/imgtool.py) - 用于安全签署固件映像以供 MCUboot 引导的工具。 - [sim](https://github.com/mcu-tools/mcuboot/tree/main/sim) - 用于测试和回归的 bootloader 模拟器。 ## 加入项目 欢迎开发者加入! 使用以下链接加入或了解更多关于项目的信息: * [我们的开发者邮件列表](https://groups.io/g/MCUBoot) * [我们的 Discord 频道](https://discord.com/channels/1106321706588577904/1106322802308550716)
获取 [您的邀请](https://discord.com/invite/5PpXhvda5p)
标签:32位微控制器, Apache Mynewt, Bootloader, Espressif, Mbed OS, MCU, MCUboot, NuttX, OTA更新, RIOT, Zephyr, 加密验证, 固件升级, 安全启动, 客户端加密, 嵌入式开发, 嵌入式系统, 开源硬件, 引导加载程序, 物联网安全, 物联网操作系统, 硬件安全, 逆向工具