esp8266 flashing with nodemcu firmware (linux debian testing)

flashing the ESP-01 using node MCU

i use this thread

kadamski « lead the way »

download esp open sdk

first clone the esp open sdk and compile it standalone (take a while), without root because i have access to this
cd /opt/Espressif/nodemcu
git clone
cd /opt/Espressif/nodemcu/esp-open-sdk
take a coffee 🙂 after that modify your path env variable
export PATH=/opt/Espressif/nodemcu/esp-open-sdk/xtensa-lx106-elf/bin:$PATH
after that download nodemcu
cd /opt/Espressif/nodemcu/nodemcu-firmware
git clone

compile nodemcu

compile  nodemcu using the compiler
cd /opt/Espressif/nodemcu/nodemcu-firmware

upload nodemcu to the ESP-01

prepare the firmware and download it
cd /opt/Espressif/nodemcu/nodemcu-firmware elf2image app/.output/eagle/debug/image/ write_flash 0x00000 app/.output/eagle/debug/image/ 0x10000 app/.output/eagle/debug/image/
connect minicom to the card (9600baud 8N1) and then reboot the ESP , if its ok you will see that prompt
>NodeMCU 0.9.5 build 20150213 powered by Lua 5.1.4
lua: cannot open init.lua

upload init.lua file

works very well