You could run the following command to check the retry count, which is derived from scratch register.
$ nvbootctrl -t rootfs dump-slots-info
Let me share the logic for retry count as following:
- boot up to L4TLauncher → initialize the retry_count
a. if cold boot: retry_count=MAX
b. if warm boot: retry_count=value in Scratch register - retry_count-- (in Scratch register) in L4TLauncher
- boot to kernel successfully, the background service<nv-l4t-bootloader-config.service> clear the retry_count value in Scratch register
If you perform power off during boot up, it is the case as cold boot so that it will configure the retry_count to MAX.