marcelstoer / docker-nodemcu-build

Docker image to build NodeMCU firmware for the ESP8266 on your machine
https://hub.docker.com/r/marcelstoer/nodemcu-build/
MIT License
131 stars 63 forks source link

Resulting image not starting correctly #1

Closed Ampakinetic closed 8 years ago

Ampakinetic commented 8 years ago

Hi Marcel,

Thank you for making this excellent tool. I have got it to run and complile the binary files without any visible issues on my x64 Win7 setup, however after burning the integer version of dev140 to a 4Mb flash NodeMcu PCB I get the following out of the serial port but Lua doesn't start up at 9600 baud. I've used your build tool to make dev140 on the same board without any trouble yesterday.

 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 28296, room 16 

tail 8

chksum 0xfd

load 0x00010003, len 131075, room 0 
marcelstoer commented 8 years ago

I'm afraid I won't be of much help here as I don't have a Windows system for testing. Besides, since I have no idea what you changed in the firmware code you cloned from GitHub before you triggered the build I'd need a crystal ball to figure out what the root cause is. However, in order to verify things are setup properly you could do the following:

I don't know how familiar you are with the technologies involved here so forgive if this is all very obvious.

Ampakinetic commented 8 years ago

Thank you very much for your response, I did exactly as you suggested, and to my surprise found that the cloud build (which is about 300 bytes different, probably because of the slightly larger welcome message) wouldn't run either.

So the problem ended up being that esptool.py (which I normally don't use, but was using your suggested command line) was flashing the blue status light and returning success, but was burning both firmware versions incorrectly somehow.

I could get both my custom build and the cloud build to run properly as soon as I used the NodeMcu .exe - so yay, I'm very happy I can do these custom builds now as I want to try adding support for the RC522 RFID module to Lua.