I am using U-Boot 2020.04 to port ubuntu core on imx8m.
I have read https://ograblog.wordpress.com/2017/06/13/patching-u-boot-for-use-in-an-ubuntu-core-gadget-snap/ and it is written in this blog that CONFIG_SYS_REDUNDAND_ENVIRONMENT and CONFIG_ENV_IS_IN_FAT both need to be enabled in the U-Boot config, however below is the entry of SYS_REDUNDAND_ENVIRONMENT in Kconfig
config SYS_REDUNDAND_ENVIRONMENT bool "Enable redundant environment support" depends on ENV_IS_IN_EEPROM || ENV_IS_IN_FLASH || ENV_IS_IN_MMC || \ ENV_IS_IN_NAND || ENV_IS_IN_SPI_FLASH || ENV_IS_IN_UBI
This means that CONFIG_SYS_REDUNDAND_ENVIRONMENT can not be enabled with CONFIG_ENV_IS_IN_FAT. I have checked the U-Boot code for dragonboard also and it has the same Kconfig.
Am I missing anything?