perhaps esptool.py doesn't know how to read sizes which are not multiple of 4 bytes?
no it's the compiled bin ...
i need to turn the elf into a bin or something right?
oh, darn, you're right. it's the size being reported by the IDE which is off the mark :)
rather than just grabbing the bin file from home/vic/.arduino15/packages/esp8266/hardware/esp8266/1.6.5-947-g39819f0/bootloaders/eboot/eboot.elf -bo /tmp/build6389748398816362263.tmp/sketch_oct05b.cpp.bin -bm dio -bf 40 -bz 2M -bs .text -bp 4096 -ec -eo /tmp/build6389748398816362263.tmp/sketch_oct05b.cpp.elf -bs .irom0.text -bs .text -bs .data -bs .rodata -bc -ec
the bin there is 211424 bytes
it doesn't account for the sector which contains eboot, and some additional padding
so you should read 211424. sorry, forgot about that...