I discovered an alternative solution.
Connect your edison to a computer through two usb cables. Extract the yocto image files to EDISON drive located under "my computer" folder. Open the edison arduino software and just run the blink example. Put "system("reboot ota");" command into the loop function. Upload the project and than edison is gonig to be flashed.