Description
TLDR - provide bins with the bootloader included
see https://discord.com/channels/473448917040758787/718943978636050542/1329058575112212501
Provide factory images for initial flashing (a binary where all is merged to one image). So it is guaranteed that the correct bootloader is used.
For OTA updates, the firmware as it is still can be used.
The needed factory image can easily build during build with a Platformio script
Since we do (EspEasy, Tasmota), no issues from users with flashing.
And do not provide bootloaders anymore!
There are too many to choose the correct one!
Example of scripts to build an factory image
https://github.com/letscontrolit/ESPEasy/blob/mega/tools/pio/post_esp32.py
https://github.com/arendst/Tasmota/blob/development/pio-tools/post_esp32.py