How to reset PX2 to the factory setting?

ubuntu 16.04 breaks down on my PX2, so I’m thinking about either reinstall ubuntu, or reset it to its original settings. Which one is more convenient?

Dear luwen,
You need to flash the board. For latest version on PX2, please use sdkmanagaer from https://developer.nvidia.com/drive/downloads/

Thanks so much!