After reading the Drive docs and forum posts on safe shutdown of DPX2 (https://devtalk.nvidia.com/default/topic/1016349/ and https://devtalk.nvidia.com/default/topic/1029601/), I have the following questions:
(1) Should I execute the “shutdown -h now” command on both Tegra A and Tegra B?
(2) How exactly is the “power [a|b|ab] off” command executed through Aurix different from the “shutdown -h now” command executed on the Tegra devices?
(3) Is there also a guideline to safely turn off the Aurix device? Or do I just turn off the power supply?
(1) Should I execute the “shutdown -h now” command on both Tegra A and Tegra B?
(2) How exactly is the “power [a|b|ab] off” command executed through Aurix different from the “shutdown -h now” command executed on the Tegra devices?
(3) Is there also a guideline to safely turn off the Aurix device? Or do I just turn off the power supply?
Here’s how I suggest turning off the power.
Yes, execute “shutdown -h now” command on both Tegra A and Tegra B.
On Aurix console, shell>power ab off : Even if you did the above, the actual TegraA&B will not be turned off. Therefore, turn off the TegraA&B in the second way.
But this seems kind of wasteful in terms of the peripherals I need to attach to the dev kit for a safe power down sequence, isn’t it? Because this would require that I connect USB3.0 hubs (mouse+kb) for both Tegra cores, as also displays. So here is a query - hot-swap the USB3.0 hub and the HDMI cable from the Tegra A ports to the Tegra B ports, after I execute shutdown on Tegra A? Just wondering…
I am trying your recommendations without any cameras connected to my DPX2.
When I execute the shutdown command for Tegra A/B via Minicom, everything else looks alright, but the final three lines of the output show something like this:
[ XYZ.ABCDEF] reboot: Power down
Warn: TIMEOUT waiting for SCE Acknowledgement
Warn: Unclean SCE reset
During shutdown, BPMP(Boot and Power Management Processor) server tries to get SCE acknowledgement by sending a mailbox interrupt.
This handshake was meant to ensure graceful shutdown of camera firmware.
Since safety firmware running in SCE doesn’t have a shutdown sequence, mailbox interrupt is ignored.
This leads to the error message in bug description.
I don’t exactly know what SCE refers to, but I will find out. In the meantime, thank you for your help on this topic; I am marking this thread as RESOLVED.