The procedure works when you have functioning U-Boot. If you don’t have that, goto Disaster recovery.
On RESET their will be a short time that U-Boot activates the DFU loader. Either Flashall or Flash Tool Lite will detect that and start uploading.
You need to connect the Edison Arduino using 2 USB cables and the switch in the position as in the picture below.
Connect the first USB cable to the USB port marked as 3 in the photograph below.
This cable will be your serial connection to the Edison. To connect to the edison you might use a terminal emulator like gtkterm. The serial port is probably /dev/ttyUSB0 and the baud rate is 115200 with parity none. If you prefer the command line you can use screen /dev/ttyUSB0 115200.

On Ubuntu you might need to install the package dfu-util.
Flashall or Flash Tool Lite.Change to the directory holding the flash-able image out/linux64/build/toFlash/ and run flashall.sh. Press the Edison Arduino RESET button when instructed to plug the cable:
./flashall.sh
Note 1: If you have not followed the instructions in Avoiding Permissions Issues, you will need to invoke flashall.sh as root (i.e. sudo ./flashall.sh)
Note 2: Many people have been reporting that the windows version flashall.bat is not working on Windows 10. In any case, it has not been updated and will install the wrong image.
Note 3: During uploading first U-Boot and it’s environment are flashed, then the Edison is rebooted. If you are in a virtual machine, make sure that it will automatically “plug” the USB devices again when they appear (Virtualbox can do that). Or be very quick to do that manually. Or finish the whole procedure manually by :
<ESC>)U-boot run do_flashdfu-util -v -d 8087:0a99 --alt boot -D "edison-image-edison.hddimg" anddfu-util -v -d 8087:0a99 --alt home -D "edison-image-edison.btrfs" -R commands.Flash Tool Lite for your platform (Google to find them f.i. on github).
note on ubuntu: sudo apt-get install libusb-0.1-4 is required to runStart as root using sudo platformflashtoollite, then select the json file in the out/linux64/build/toFlash/ directory. 
Click the Start to flash button. 
Press the Edison Arduino RESET button. 

© 2018 Ferry Toth