Jetson TK1 flash all.img

Does anybody know how to restore all.img to Jetson?
The image file created using
sudo ./nvflash --rawdeviceread 0 3849216 all.img --bl ardbeg/fastboot.bin --go

which is from here:
http://elinux.org/Jetson/Cloning

rawdevicewrite shall be what you want.

nvflash --rawdevicewrite S N --bl --go

used to write filename into N sectors of media starting from sector S to
already flashed device