-->
Page 1 of 4

Making a single file firmware.

PostPosted: Sat Mar 07, 2015 7:45 pm
by chadouming
Hi,
I’ve built a custom firmware based of the 0.9.6 branch of nodemcu. I have the 0x00000.bin and 0x10000.bin files in my bin folder and i’d like to merge them to have a single file. Anybody has an idea on how to do it ? I’ve tried to cat them together but it doesnt works when flashed on my board. Flashing the file seperatly works fine. Thanks !

Re: Making a single file firmware.

PostPosted: Mon Mar 09, 2015 2:26 am
by laurynas
i haven't tried it, but in theory you should add zeros to 0x00000.bin till it's 65k(<=0x10000) long and only then cat them.
maybe someone will share their script to do it.

Re: Making a single file firmware.

PostPosted: Mon Mar 09, 2015 7:27 am
by chadouming
It does make sense, thank, can't wait to try if it works.

If it does, I'll have daily build here :

https://github.com/chadouming/nodemcu-firmware

Re: Making a single file firmware.

PostPosted: Mon Mar 09, 2015 8:35 am
by MK1888
I think it's 0xFF. The blank.bin file contains all 0xFF.