How to get reboot reason in cboot ?

After entering the command ‘reboot update’ or ‘reboot recovery’ to restart the system, how to get the reboot reason in cboot ?


What are those commands for? It looks like “reboot recovery” would cause some the signed kernel image fails to pass the verification.

Hi WayneWWW,
I checked the file nvidia/drivers/platform/tegra/reboot-t18x.c.
The system upport four reboot commands:
reboot recovery
reboot bootloader
reboot forced-recovery
reboot update

Do you know what these commands do?

May I know why do you need to search such information? Actually, not every command here is under maintained. I believed only reboot forced-recovery is working.

I want to load different root filesystems depending on the reboot reason.