Hi @JorgeCas
We are currently using a setup where both the eMMC and SD card have been flashed with bootable images. The board is configured to boot from eMMC by default, and once deployed, it will be enclosed in a plastic casing with no access to the boot mode switches.
In this scenario, we would like to ensure that if the boot process from eMMC fails (e.g., due to a corrupted bootloader or missing files), the board should automatically attempt to boot from the SD card without requiring any manual intervention or change to the boot configuration switches.
Could you please advise on how this fallback mechanism can be implemented in U-Boot or the boot ROM? Specifically, we are looking for a method to configure the boot process to first try eMMC, and upon failure, seamlessly fall back to the SD card.
Thank you for your support.