New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MCUboot as application for ESP32xx #54835
MCUboot as application for ESP32xx #54835
Conversation
2af4567
to
fdcf93f
Compare
f7a4576
to
fafd16a
Compare
0cd1f1b
to
c8ab1db
Compare
ff3ecad
to
eab746c
Compare
ebb611d
to
d6409dc
Compare
bc3b7db
to
32a4bfc
Compare
32a4bfc
to
137c68c
Compare
2e4c744
to
3a757ae
Compare
5538230
to
cfdb4d8
Compare
This make MCUboot build as Zephyr application. Providing optinal 2nd stage bootloader to the IDF bootloader, which is used by default. This provides more flexibility when building and loading multiple images and aims to brings better DX to users by using the sysbuild. MCUboot and applications has now separate linker scripts. Signed-off-by: Marek Matej <marek.matej@espressif.com>
Make use of the IDF partition table only if asked to. Signed-off-by: Marek Matej <marek.matej@espressif.com>
Allow builds which has CONFIG_MULTITHREADING disabled. This is reduce code footprint which is handy for constrained targets as bootloaders. Signed-off-by: Marek Matej <marek.matej@espressif.com>
Allow builds which has CONFIG_MULTITHREADING disabled. This is reduce code footprint which is handy for constrained targets as bootloaders. Signed-off-by: Marek Matej <marek.matej@espressif.com>
Cover the 2nd stage bootloader options and the extend the application build instructions to include sysbuild. Signed-off-by: Marek Matej <marek.matej@espressif.com>
Update to support latest features. Signed-off-by: Marek Matej <marek.matej@espressif.com>
cfdb4d8
to
b8352a8
Compare
I just noticed the merging of this PR added commit f0b458a to |
I'm not talking about "arch: xtensa: Enable builds without the I'm talking about "arch: riscv: Enable builds without the multithreading" |
@npitre in the context of the whole PR and the ESP32 RISCV chips, it is actually useful and it allows us to disable the |
I'm sorry but this doesn't make any sense. Even if that were true for
Esp32, this is a regression (footprint and runtime) for everybody else.
So please consider another solution that would satisfy Esp32's needs.
|
This work provides MCUboot as default 2nd stage bootloader for ESP32xx targets, replacing/complementing currently used IDF bootloader.
Currently supported SoCs are: