How to get boot reason in uefi?

hi nvidia:

how to get boot reason in uefi ?

Hi helianyi1,

Are you using the devkit or custom board for Thor?
What’s the Jetpack version in use?

What do you mean about the “boot reason”?

Based my experience, it could be found in serial console log of MB1 as following.

[0035.593] C> rst_source: 0x0, rst_level: 0x0

hi nvidia:

custom board for Thor

jetpack7.1

boot reason mean

1. press the power key
2.press the reset key
3.system reset
4. watch dog reset
5. kernel panic

These 2 should be the same as kernel panic may be reset by watchdog timer.

They might be the same and treated as cold boot.

Sorry that there’s no boot reason in UEFI currently
Please refer to the log in MB1 for the rst_source or check them through sysfs node after boot up.

OK, Thanks!