If esptool is limited to 115200 bps when flashing your firmware to an ESP8266, you can try to increase the bitrate by following the steps below.
- Locate
esptool.pyfor your installation. On Debian and Ubuntu, this file is located in/usr/share/esptool. - Edit
esptool.pyand change the value on the line starting withESP_ROM_BAUDfrom 115200 to the maximum of 921600 or your preferred baud rate.