Reset Timing of Boot Retry Count

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:

  1. 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
  2. retry_count-- (in Scratch register) in L4TLauncher
  3. 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.