Under what circumstances does UEFI start recovery mode

Today I conducted an experiment where the factory product requires the removal of the Linux version number. During the reboot test, I restarted several times and UEFI entered recovery mode. Is this related to the Linux version I changed

連續數次開不進rootfs並且讓某個systemd service 正確執行的話就會進Recovery image.

另外, 這模式不是recovery mode.

和我去掉的linux版本号有关系吗

得看之前開機失敗的log才能知道

我重新刷了一遍镜像,内核版本退回去了,晚上再做做自动reboot测试,看看会不会出

做了实验,连续reboot重启,第四次就会进入这个异常模式,哪里是不是有限制,不让重复重启?

reboot时,并未发现异常

連續數次開不進rootfs並且讓某個systemd service 正確執行的話就會進Recovery image.

如果你有看懂我這句的意思的話, 現在這個狀況聽起來是這個systemd service沒有正確執行
或是還沒執行就被你重開機了

請你確認 nv-l4t-bootloader-config.service的status都有執行完之後再進行reboot.

对于我现在处于ramdisk的这种状态,如何在不刷新镜像的前提下,快速让正常启动

→ Q: My device got stuck in “recovery boot”. How to recover without reflashing?

原因知道了,那么对于这种处于ramdisk的状态下,如何快速修复呢

只有上面提到的方法.

如何关闭这个功能

  1. If you want to disable the feature of “rootfs check to enter into recovery boot”, you can comment out the calling of function ValidateRootfsStatus()
    (i.e. from line 1697 to 1700 in the following link)
    edk2-nvidia/Silicon/NVIDIA/Application/L4TLauncher/L4TLauncher.c at r35.4.1 · NVIDIA/edk2-nvidia · GitHub

  2. There would be side effect after disabling this. Your image based OTA will not work.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.