commit | 5de83b1e4749c27ffa771f5827907da68bc0633d | [log] [tgz] |
---|---|---|
author | Marti Bolivar <marti@foundries.io> | Wed Sep 05 15:00:39 2018 -0400 |
committer | Fabio Utzig <utzig@utzig.org> | Wed Sep 05 20:30:01 2018 -0300 |
tree | ab130de02f1cdae6dd1b968d0024c7dd8de0249d | |
parent | 0e259097fb9a9df32502ab6a10748c81568bf13f [diff] |
zephyr: config-rsa.h: remove copypasta MCUboot doesn't need mbedTLS's entropy code (you don't need random numbers to check a digital signature), but it enables it. This causes really scary warnings when building entropy.c, since the test entropy source is enabled: [113/197] Building C object zephyr/ext/lib/crypto/mbedtls/CMakeFiles/ext__lib__crypto__mbedtls.dir/library/entropy.c.obj /home/mbolivar/src/zephyr/ext/lib/crypto/mbedtls/library/entropy.c:31:2: warning: #warning "**** WARNING! MBEDTLS_TEST_NULL_ENTROPY defined! " [-Wcpp] #warning "**** WARNING! MBEDTLS_TEST_NULL_ENTROPY defined! " ^~~~~~~ /home/mbolivar/src/zephyr/ext/lib/crypto/mbedtls/library/entropy.c:32:2: warning: #warning "**** THIS BUILD HAS NO DEFINED ENTROPY SOURCES " [-Wcpp] #warning "**** THIS BUILD HAS NO DEFINED ENTROPY SOURCES " ^~~~~~~ /home/mbolivar/src/zephyr/ext/lib/crypto/mbedtls/library/entropy.c:33:2: warning: #warning "**** THIS BUILD IS *NOT* SUITABLE FOR PRODUCTION USE " [-Wcpp] #warning "**** THIS BUILD IS *NOT* SUITABLE FOR PRODUCTION USE " ^~~~~~~ Delete the bits of the mbedTLS configuration that compile this file (along with some testing code we don't care about either) to clean up the warning. This looks like copy/paste code from the initial mbedTLS config import into MCUboot. Signed-off-by: Marti Bolivar <marti@foundries.io>
This is mcuboot, version 1.2.0
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 easy software upgrade.
MCUboot is operating system and hardware independent, and relies on hardware porting layers from the operating system it works with. 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 on Jira. To participate please visit:
https://runtimeco.atlassian.net/projects/MCUB/summary
Information and documentation on the bootloader is stored within the source, and on confluence:
https://runtimeco.atlassian.net/wiki/discover/all-updates
For more information in the source, here are some pointers:
Developers welcome!