You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/01/05 13:01:12 UTC

[GitHub] [incubator-nuttx] gustavonihei opened a new pull request #5173: espressif: Fix build system issues related to Flash Encryption

gustavonihei opened a new pull request #5173:
URL: https://github.com/apache/incubator-nuttx/pull/5173


   ## Summary
   This PR intends to fix two build system issues related to the recently added feature of **Flash Encryption** on Espressif chips.
   Commit 23dec090 prevents the build system from resetting the chip on the make flash command when Flash Encryption is select for build.
   It also requires the manual flashing of the bootloader image, as already done when **Secure Boot** is enabled.
   This approach is necessary for bringing in the user's attention, since it involves the activation of some irreversible security features of the chip.
   
   Commit c8f069db fixes the alignment of the trailer area of the application image (MCUboot format). Espressif chips (ESP32, ESP32-S2 and ESP32-C3) require a minimum write alignment of 32 bytes when Flash Encryption is enabled, so it is important to consider this restriction when creating the binary image in MCUboot-format with imgtool.
   
   ## Impact
   Platforms containing Espressif chips with Flash Encryption feature enabled.
   No impact otherwise.
   
   ## Testing
   - `esp32-etherkit-kit`
   - `esp32s2-saola-1`
   - `esp32c3-devkit`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] acassis merged pull request #5173: espressif: Fix build system issues related to Flash Encryption

Posted by GitBox <gi...@apache.org>.
acassis merged pull request #5173:
URL: https://github.com/apache/incubator-nuttx/pull/5173


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org