I can understand the failsafe mechanism, but why we just reboot device(retry)?
Or hangs and report, then we can use the external device and make it work.
It happens about once a month(different SOM), and we need to reflash the qspi using L4T.
We still can’t find the root cause of this issue, it make us feel unconfident for publishing this product.
Because some of our customer won’t use L4T to develop, they will struggle on recovering the qspi.
How can we avoid or skip this mechanism, or disable the OTA/ AB partition.
Or there is a way to build an OTA server to reflash the qspi automatically once it happends?
If does, how can we trigger this issue and test?
You should just make sure nv-l4t-bootloader-config.service is ready before you run the reboot command.
What’s you use case for your product?
Are you doing successive reboot for your product?
Even if you run into recovery boot, you could switch back to normal boot w/o reflash QSPI.
Please check if the nv-l4t-bootloader-config.service is ready before you run reboot command in your test.
Please don’t disable this service.
It’s a fail-over mechanism, change the OS chain A status would make your board knows that the slot-A is working fine, and it would try to boot from it.
Does this count still stacks even I boot successfully into prompt?
If does, how can I check and clear it?
We tried to disable and stop this service and create this issue. But failed.
How can I manually trigger this issue and continue debug(not change UEFI → OS chain A status)?
I want to test how “frequently” does this issue happens, and what cause this,
Then we can set the criteria of ‘reboot test’ .
Or even create a ‘save reboot’ mechanism to prevent this.
This behavior is caused from you run reboot command before nv-l4t-bootloader-config.service gets ready so that if you check the state of this service ready in your reboot test and you won’t hit this issue.