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

Customize esp32c6-bootloader for rust-based bare-metal firmware #739

Open
frabervo opened this issue Feb 3, 2025 · 1 comment
Open

Customize esp32c6-bootloader for rust-based bare-metal firmware #739

frabervo opened this issue Feb 3, 2025 · 1 comment

Comments

@frabervo
Copy link

frabervo commented Feb 3, 2025

Hello,

I want to implement a secure update process for a Rust-based firmware. To do this, I want to play with the second-stage bootloader.

Is it possible to find out how the esp32c6's bootloader in the repository-ressources was built in order to reproduce it and perhaps adapt it to my needs?

Thanks for you responses.

@MabezDev
Copy link
Member

MabezDev commented Feb 3, 2025

The bootloader currently comes from esp-idf: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/bootloader.html. You'll need to clone and build the bootloader (see https://github.com/espressif/esp-idf/tree/master/components/bootloader). Once you've customized it, you can use your custom bootloader by using the --bootloader flag with espflash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants