Is there a way to check the failed boot reason?

I have devices A/B rootfs enabled. We found that a small portion of the devices went on the the B rootfs by itself. I guess it failed 2 (which is specified during flash) consecutive boot on chain A and automatically switched to B.

I have 2 questions.

  1. Is there a way to check the failed boot log/reason from Linux?
  2. Is there a way to turn off automatic switch to the other rootfs/bootchain?

Thanks in advance

Please use the serial console log to check.

@WayneWWW thanks for the prompt reply. I guess you answered my first question which actually confirmed what I was expecting. Could you please also answer my 2nd question? I know there is a way we can pass in flag during ./flash.sh, just curious if there is another way to do it deeper in the structure to completely turn it off. Thanks

What is the expected behavior that you want to see after this A/B mechanism is disabled?

Maybe B bootloader loads rootfs A?

Is this still an issue to support? Any result can be shared?

We can close this for now. I’m suspecting it maybe similar to ASSERT TerminalConIn.c(2078): ((BOOLEAN)(0==1)) - #26 by WayneWWW and debugging accordingly

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