FWIW: If using esptool on a Raspberry Pi using the GPIO serial interface at /dev/serial0 you have to disable the login shell being available on that device. You can disable this in the interface ...