I have code signed everything on my computer. python, the arduino IDE, the ota script. in every case the output from codesign -dvvv is this
Executable=/Users/amelvin/Arduino/esp8266/tools/espota.py
Identifier=espota
Format=generic
CodeDirectory v=20100 size=115 flags=x0(none) hashes=1+2 location=embedded
Hash type=sha1 size=20
CDHash=c6c79c6ddb2ddc59f050130c279bff6e82f63da7
Signature size=1501
Authority=mycodesigning
Signed Time=3 Nov 2015, 14:28:47
Info.plist=not bound
TeamIdentifier=not set
Sealed Resources=none
Internal requirements count=2 size=136
none of it makes any difference. the cert mycodesigning is trusted for everything. i've restarted my machine.. from what i can see this should work...
Unpack the tool into `tools` directory (the path will look like `<home_dir>/Arduino/tools/ESP8266FS/tool/esp8266fs.jar`)
/code
[SPIFFS] data : /Users/waldemar/Documents/Arduino/WordClock/data
[SPIFFS] size : 3052
[SPIFFS] page : 256
[SPIFFS] block : 8192
/data.img
[SPIFFS] upload : /var/folders/_n/sy8p0xjs0dlffvp139xmn9qm0000gn/T/build7861671219293661246.tmp/WordClock.spiffs.bin
[SPIFFS] reset : nodemcu
[SPIFFS] port : /dev/cu.SLAB_USBtoUART
[SPIFFS] speed : 115200
[SPIFFS] address: 0x100000
Uploading 3125248 bytes from /var/folders/_n/sy8p0xjs0dlffvp139xmn9qm0000gn/T/build7861671219293661246.tmp/WordClock.spiffs.bin to flash at 0x00100000
warning: espcomm_send_command: didn't receive command response
warning: espcomm_send_command(FLASH_DOWNLOAD_BEGIN) failed
SPIFFS Upload failed!
weppage.espfs
into a different location
FLASH_DOWNLOAD_BEGIN failed
error once in a while, but usually giving it another attempt helps
PROVIDE ( _SPIFFS_start = 0x40300000 );
PROVIDE ( _SPIFFS_end = 0x405FB000 );
PROVIDE ( _SPIFFS_start = 0x4026B000 );
PROVIDE ( _SPIFFS_end = 0x4027B000 );
-eo "{runtime.platform.path}/bootloaders/eboot/eboot.elf" -bo "{build.path}/{build.project_name}.bin" -bm {build.flash_mode} -bf {build.flash_freq} -bz {build.flash_size} -bs .text -bp 4096 -ec -eo "{build.path}/{build.project_name}.elf" -bs .irom0.text -bs .text -bs .data -bs .rodata -bc -ec
.text
segment of bootloader, padded to 4096 bytes, and then .irom0.text
, .text
, .data
, .rodata
segments of the application