docker-nodemcu-build icon indicating copy to clipboard operation
docker-nodemcu-build copied to clipboard

Please combine the built spiffs image into the final .bin file

Open pjsg opened this issue 8 years ago • 5 comments

There is a commit about to be merged into nodemcu-firmware:dev that automates the building of the spiffs image containing files. Could you please add this file into the single .bin file that your build script generates?

-> https://github.com/nodemcu/nodemcu-firmware/pull/1064

pjsg avatar Feb 18 '16 23:02 pjsg

Should this be optional or mandatory?

TerryE avatar Feb 19 '16 10:02 TerryE

I'll add it to https://github.com/marcelstoer/docker-nodemcu-build#options I guess.

marcelstoer avatar Feb 19 '16 10:02 marcelstoer

Will be implemented when https://github.com/nodemcu/nodemcu-firmware/pull/1064 and/or https://github.com/nodemcu/nodemcu-firmware/issues/1164 are merged.

Just to be clear, the aim is to use srec_cat in Dockerfile to combine and pad the .bins so that the SPIFFS image ends up at 0x78000, right? I keep learning new stuff around you guys all the time :wink:.

marcelstoer avatar Apr 03 '16 19:04 marcelstoer

My (not yet a PR) nodemcu/nodemcu-firmware#1164 generates either one or two spiffs image files. One is to fit in a small flash (512k) and the other into a large flash (4M). The problem is that you don't want to flash the small one into a large flash as that limits the amount of free disk space. Flashing the large one takes a long time. I've switched over to the Cesanta flasher: flasher -- you just want the modified esptool.py. This goes significantly faster -- it takes me around 9 seconds to flash a 512k image.

Figuring out what people actually want with regard to this is a challenge.

pjsg avatar Apr 03 '16 19:04 pjsg

Any progress on this? Is it still relevant?

mk-pmb avatar Dec 31 '19 15:12 mk-pmb