commit | e933e586ec179789d98d10821226533586577460 | [log] [tgz] |
---|---|---|
author | Sigvart Hovland <sigvart.hovland@nordicsemi.no> | Fri Aug 06 10:32:49 2021 +0200 |
committer | David Brown <davidb@davidb.org> | Thu Aug 12 15:23:04 2021 -0600 |
tree | a6dec34aa9c643c12d536d3ff5ca31f97ce949f4 | |
parent | 4a4d1acec38f27e1d2190d88040df93e5b8b7937 [diff] |
boot: zephyr: Do not use `irq_lock()` if using arm cleanup `irq_lock()` sets `BASEPRI_MAX` aka. the `BASEPRI` mask to whatever zephyr has configured it to be by the value of `_EXC_IRQ_DEFAULT_PRIO`. However by calling arm_cleanup() we also do the call to `__disable_irq()` setting the PRIMASK to 1. Meaning the only exceptions we can recive is fault exceptions. Masking out more exceptions does not really make sense. Sometimes applications booted by MCUBoot will not expect the `BASEPRI` to be set to something else than 0(No effect). Meaning if they depend on using some exception which now is masked out by `BASEPRI` they will fail. Signed-off-by: Sigvart Hovland <sigvart.hovland@nordicsemi.no>
This is mcuboot version 1.8.0-dev
MCUboot is a secure bootloader for 32-bit MCUs. The goal of MCUboot is to define a common infrastructure for the bootloader, system flash layout on microcontroller systems, and to provide a secure bootloader that enables simple software upgrades.
MCUboot is operating system and hardware independent and relies on hardware porting layers from the operating. Currently, mcuboot works with both the Apache Mynewt and Zephyr operating systems, but more ports are planned in the future. RIOT is currently supported as a boot target with a complete port planned.
Instructions for different operating systems can be found here:
The issues being planned and worked on are tracked using GitHub issues. To participate please visit:
Issues were previously tracked on MCUboot JIRA , but it is now deprecated.
Information and documentation on the bootloader are stored within the source.
It was previously also documented on confluence: MCUBoot Confluence however, it is now deprecated and not currently maintained
For more information in the source, here are some pointers:
Developers welcome!