Nvidia Xavier NX EMMC reset

I wanted to add a SSD to Xavier NX and install Ubuntu on it. However, the EMMC seems messed up and it could not boot up after powered. Is there tutorial to do this?