Clean OS/Factory Reset of Software Possible?

Clean OS/Factory Reset of Software Possible?

I have purchased a used Kona Micro that was probably used for mining in the past.  I recently updated it to BSP 4.0.3.  I want to actually completely wipe the OS and any settings/files put on it by the previous owner and restore it to factory setup.

How can I do this?