Skip to content
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

Simple boot support for Espressif SoCs #70505

Merged
merged 9 commits into from Apr 8, 2024

Conversation

marekmatej
Copy link

@marekmatej marekmatej commented Mar 20, 2024

This PR includes changes, which bring simple boot support for the ESP32 SoCs:

  • add the Simple Boot option for building applications without the need of 2nd stage bootloader
  • optimized linker scripts for the default application and the MCUboot (Zephyr port)
  • optimized memory usage for simple boot and the MCUboot+Application
  • updated building instructions for all Espressif boards
  • remove multiple binary builds from Espressif boards
  • remove ESP_IDF bootloader builds/binaries
  • fixes the console output during the booting on some targets

depends on #68760

@zephyrbot
Copy link
Collaborator

zephyrbot commented Mar 20, 2024

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff
hal_espressif zephyrproject-rtos/hal_espressif@742df6b zephyrproject-rtos/hal_espressif@dddb7cf (zephyr) zephyrproject-rtos/hal_espressif@742df6bf..dddb7cf3

Note: This message is automatically posted and updated by the Manifest GitHub Action.

sylvioalves
sylvioalves previously approved these changes Apr 5, 2024
sylvioalves
sylvioalves previously approved these changes Apr 5, 2024
LucasTambor
LucasTambor previously approved these changes Apr 5, 2024
Marek Matej added 7 commits April 7, 2024 21:29
Update hal_espressif to support the simple boot.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
Remove ESP_IDF bootloader option.
Default boot method is simple boot.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
- update the console configuration defines references
- add missing header file with flash capabilities
- replace all console wait-until-ready calls by single one

Signed-off-by: Marek Matej <marek.matej@espressif.com>
Add simplistic booting method which allows to load without 2nd stage
bootloader.
Update common architecture loader to support all build scenarios.

- simple boot: using single binary application without bootloader
- mcuboot: zephyr port of MCUboot
- application: loaded by the MCUboot

Signed-off-by: Marek Matej <marek.matej@espressif.com>
Add simplistic booting method which allows to run
applications without the 2nd stage bootloader.

- introduce memory layout header file
- update and optimize default and mcuboot linker scripts
- remove building multiple binaries during the application build

Signed-off-by: Marek Matej <marek.matej@espressif.com>
Add simplistic booting method which allows to run
applications without the 2nd stage bootloader.

- introduce memory layout header file
- update and optimize default and mcuboot linker scripts
- remove building multiple binaries during the application build

Signed-off-by: Marek Matej <marek.matej@espressif.com>
Add simplistic booting method which allows to run
applications without the 2nd stage bootloader.

- introduce memory layout header file
- update and optimize default and mcuboot linker scripts
- remove building multiple binaries during the application build

Signed-off-by: Marek Matej <marek.matej@espressif.com>
Marek Matej added 2 commits April 7, 2024 21:30
Add simplistic booting method which allows to run
applications without the 2nd stage bootloader.

- introduce memory layout header file
- update and optimize default and mcuboot linker scripts
- remove building multiple binaries during the application build

Signed-off-by: Marek Matej <marek.matej@espressif.com>
Update the note on the booting method for all ESP32 related boards.

Signed-off-by: Marek Matej <marek.matej@espressif.com>
@nashif nashif merged commit c086603 into zephyrproject-rtos:main Apr 8, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants