How to boot from inactive bootchain automatically in case active bootchain presents error

Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.10.0
DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
2.1.0
1.9.3.10904
other

Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

Hi,

Currently, I made some modifications to my active partition, and its not booting (currently being on kernel panic). I want to know if there is a way to set the board to boot automatically on the inactive partition after not being able to boot from the active bootchain.

Thanks.

Dear @ricardo.gonzalez1,
AFAIK, we need to manually set the default bootchain using setdfltbtchain and use aurixreset

Hi @SivaRamaKrishnaNV I know it can be done by manually setting the default chain into the other one on the aurix port. My question goes on how to perform this without human intervention. For instance check the following image:


Figure taken from: Triggering Recovery Mechanism by Loader section

It seems like there is a way to do this automatically.