How to restore the EVK to be the original state

I have tried several attempts to flash different OS, such as Android image, Ubuntu image.
Eventually the EVK encountered some unexpected issue, such as can’t be flash for Ubuntu image into eMMC, can’t bring up successfully by SDCard image (Latest Ubuntu image), etc.
My question is how to restore everything to be the original state just like the EVK I first open it?

Please don’t post duplicate topic. Will follow up at topic: