Do we have a software shutdown procedure that will not damage the file system when we shut down the computer?

Hi, all:
Do we have a software shutdown procedure that will not damage the file system when we shut down the computer?

sudo shutdown -h now 

would do the work.

Hi, WayneWWW:
Under the above premise, if I do not disconnect the power, it will start again. Is there any way for me to prevent it from starting?

For which Jetpack release and board are you talking about here?
That sounds more like a bug.

hi WayneWWW:

robot@tegra:~$ more /etc/nv_tegra_release
# R35 (release), REVISION: 4.1, GCID: 33958178, BOARD: t186ref, EABI: aarch64, DATE: Tue Aug  1 19:57:35 UTC 2023
robot@tegra:~$

JP5.1.2

The board is custom made.

Also, do we have any documentation on the shutdown process?

Could you try jp5.1.4 and NV devkit first?

The same phenomenon will occur again after a while.

robot@tegra:~$ more /etc/nv_tegra_release
# R35 (release), REVISION: 6.0, GCID: 37391689, BOARD: t186ref, EABI: aarch64, DATE: Wed Aug 28 09:12:27 UTC 2024
robot@tegra:~$

Is this on NV devkit or your board?

I make my own boards.

Normally the “-h” (“halt”) shutdown should stop the system. I suspect there is something not quite right in the power setup hardware or firmware (device tree). I have no way to speculate on the actual problem other than “halt is designed to stop instead of reboot, so it isn’t the command”.