davids5 opened a new pull request #4702:
URL: https://github.com/apache/incubator-nuttx/pull/4702
## Summary
When NuttX is booted from a foreign (non NuttX)
bootloader. There as a possibility that the
bootloader configured the MPU, in an
incompatible way for the NuttX memory usage.
The option to reset the MPU before it is initialized
may not succeed if the bss and data initialization
code violated the previous MPU configurations.
Added herein are ARM_MPU_RESET and
ARM_MPU_EARLY_RESET. The former can be used
If the system is capable of booting and running
NuttX MPU configuration code without an MPU
violation. The latter is used if the system can
not run the bss and data initialization code.
These are options so that a NuttX may be configured to
not clobber a bootloader MPU configuration in a system
that is architected to share the MPU configuration task.
## Impact
Allows systems with bootloader that configures MPU to boot NuttX.
No impact on existing system as settings Kconfig.
## Testing
PX4:
cuav_nora
cuav_x7pro
cubepilot_cubeorange
holybro_durandal-v1
mro_ctrl-zero-h7-oem
mro_ctrl-zero-h7
mro_pixracerpro
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]