hello acro,
please access Jetson Xavier NX Developer Kit User Guide,
you may enable J12, 40-pin expansion header with pin-8, and pin-10 for setting UART communication.
BTW,
we had a success by shutdown Xavier NX via ubuntu power-menu, and power on by plug-in power jack,
there’s no issue from our side.
thanks