I am trying to implement A/B partition scheme for OTA updates. The partition structure could look like this:
1. uboot partition 1
2. uboot partition 2
3 rootfs 1 (includes kernel and dtb)
4 rootfs 2 (includes kernel and dtb)
I am trying to understand how does the i.MX 8MM "knows" where to load the bootloader from ? Is there a way to tell the firmware to load the bootloader (u-boot) from a different partition ?
I could go with a simpler approach where I have one u-boot partition and two rootfs. However this comes with a risk of breakage if an OTA update of the u-boot partition goes bad due to some reason. Hence I was wondering if it's possible to have bootloader redundancy in the iMX platform ?