prepare flash binary