But for real: try ceating the partition table before flashing, and try different cable/usb port/host Os/img even with one basic flash parameter just to be sure they are not the problem, and if it has anything to do with this you can try rd-mode too.