im8mn: Loading U-Boot via serial download mode
Fabio Estevam
festevam at gmail.com
Wed Apr 20 22:02:40 CEST 2022
Hi Adam,
On Wed, Apr 20, 2022 at 4:49 PM Adam Ford <aford173 at gmail.com> wrote:
> I had to set the environmental variable for ENV is nowhere. There was
> a bunch of discussion about the fact that the 8MN and 8MP have some
> special code which makes the environmental variable location depend on
> the boot device. A few of us went a few rounds, but Marek didn't like
> our solution.
>
> Set CONFIG_ENV_IS_NOWHERE=y and rebuild. It will likely boot.
Yes, I confirm that only adding CONFIG_ENV_IS_NOWHERE=y allows
the board to boot via "sudo uuu flash.bin"
diff --git a/configs/imx8mn_ddr4_evk_defconfig
b/configs/imx8mn_ddr4_evk_defconfig
index 917cdb5aa9d9..4252036df770 100644
--- a/configs/imx8mn_ddr4_evk_defconfig
+++ b/configs/imx8mn_ddr4_evk_defconfig
@@ -48,6 +48,7 @@ CONFIG_CMD_EXT4_WRITE=y
CONFIG_OF_CONTROL=y
CONFIG_SPL_OF_CONTROL=y
CONFIG_ENV_OVERWRITE=y
+CONFIG_ENV_IS_NOWHERE=y
CONFIG_ENV_IS_IN_MMC=y
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_SYS_MMC_ENV_DEV=1
More information about the U-Boot
mailing list